/* Bổ sung riêng cho bản PHP (thiết kế gốc dùng React, không có sẵn các phần này) */
.hv3-field__error{display:block;margin-top:6px;color:#d4351c;font-size:13px;line-height:1.35}
.hv3-field.is-invalid input,.hv3-consent.is-invalid{outline:2px solid #d4351c;outline-offset:2px;border-radius:12px}
.hv3-done__note{margin:0;font-size:14px;color:#555}
.hv3-done__note a{color:#0c7844;font-weight:700}
.hv3-search[hidden]{display:none}
.hv3-nav .hv3-mega{display:none}
.hv3-nav li.is-open>.hv3-mega{display:block}
.hv3-news__empty{padding:32px 0;text-align:center;color:#666}
.hv3-pager a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.hv3-news__filter a{text-decoration:none}
.hv3-consent{flex-wrap:wrap}
.hv3-consent .hv3-field__error{flex:0 0 100%;margin-top:4px}
.hv3-consent.is-invalid{outline:none}
.hv3-consent.is-invalid input{outline:2px solid #d4351c;outline-offset:2px}
.hv3 [hidden]{display:none!important}
.hv3-consent .hv3-field__error{grid-column:1/-1;flex-basis:auto}
/* nút phóng to đặt góc trên-trái để không che chữ ở góc dưới-phải của banner ("TÌM HIỂU NGAY", pill đỏ...) */
.hv4-banner .hv4-banner__zoom{top:12px;left:12px;bottom:auto;right:auto}

/* QA 13/11: phân trang Tin tức — số trang là thẻ <a> nên phải có khung nút như <button> (trước đó chỉ là chữ trần ~10px) */
.hv3 .hv3-pager a{min-width:46px;height:46px;padding:0 12px;border:2px solid var(--hv3-leaf-500);border-radius:999px;background:#fff;color:var(--hv3-leaf-700);font-size:17px;font-weight:800;transition:background-color .15s ease-out,color .15s ease-out}
.hv3 .hv3-pager a:hover{background:var(--hv3-lime-100)}
.hv3 .hv3-pager a.is-active{background:var(--hv3-leaf-500);color:#fff}
.hv3 .hv3-pager span{min-width:24px;height:46px;display:inline-flex;align-items:center;justify-content:center;color:var(--hv3-ink-400);font-weight:800}
/* QA 13/11: tìm kiếm trên mobile (<=560px nút kính lúp ở header bị ẩn vì hết chỗ) → đưa vào cuối menu */
.hv3-nav__msearch{display:none}
@media (width<=560px){
  .hv3-nav>ul>li.hv3-nav__msearch{display:block}
  .hv3-nav__msearch a{display:flex;align-items:center;justify-content:space-between;color:var(--hv3-leaf-700);font-weight:800}
  /* QA 13/11: hàng filter Học phí cuộn ngang → mờ dần 2 mép để người dùng thấy còn chip phía ngoài */
  .hv3-fee__filters{-webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--hv3-gutter),#000 calc(100% - var(--hv3-gutter)),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--hv3-gutter),#000 calc(100% - var(--hv3-gutter)),transparent)}
}
/* QA 13/11: nút Lên đầu trang — nhỏ lại, sát góc, chỉ hiện khi cuộn lên (JS), không che nút gửi form */
.hv-back-to-top{position:fixed;right:20px;bottom:24px;width:45px;height:45px;border-radius:50%;background:#EA351A;color:#fff;border:0;cursor:pointer;font-size:20px;z-index:50;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.hv-back-to-top.is-on{opacity:1;visibility:visible;transform:none}
@media (width<=560px){.hv-back-to-top{right:12px;bottom:16px;width:40px;height:40px;font-size:18px;opacity:.9}.hv-back-to-top:not(.is-on){opacity:0}}
/* Banner nổi bật do admin quản lý: biểu tượng phóng to chỉ hiện trên thẻ đang ở giữa */
.hv4-banner:not(.is-main) .hv4-banner__zoom{display:none}
