/* =====================================================================
   ISEE v2 – giao diện mới (Claude Design 09/2026)
   Nạp sau CSS Flatsome, mọi selector có tiền tố .iv- để không đụng Flatsome
   ===================================================================== */
:root {
  --iv-blue: #006ab3;
  --iv-blue-d: #005a99;
  --iv-navy: #004a80;
  --iv-navy-d: #003a66;
  --iv-yellow: #f9e932;
  --iv-yellow-h: #ffef3d;
  --iv-yellow-s: #d9c91c;
  --iv-ink: #1f2d3a;
  --iv-body: #34414d;
  --iv-muted: #5b6b7a;
  --iv-line: #e3eaf2;
  --iv-line-2: #dfe7ef;
  --iv-line-3: #eef2f6;
  --iv-input: #d6e0ea;
  --iv-bg: #f5f7fa;
  --iv-tint: #eef5fb;
  --iv-field: #f8fafc;
  --iv-shadow: 0 2px 10px rgba(0, 40, 80, .06);
  --iv-shadow-h: 0 10px 28px rgba(0, 40, 80, .12);
  --iv-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Nền tảng ---------- */
html body.iv-site { overflow-x: hidden; text-align: left; margin: 0; background: var(--iv-bg); font-family: var(--iv-font); color: var(--iv-ink); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.iv-site *, body.iv-site *::before, body.iv-site *::after { box-sizing: border-box; }
body.iv-site a { color: var(--iv-blue); text-decoration: none; }
body.iv-site a:hover { color: var(--iv-navy); }
body.iv-site h1, body.iv-site h2, body.iv-site h3, body.iv-site h4, body.iv-site h5, body.iv-site h6 { font-family: var(--iv-font); letter-spacing: 0; text-transform: none; }
/* Ghi đè CSS tuỳ biến cũ (Customizer: h1-h6,p,a dùng Noto Sans; body justify) */
body.iv-site p, body.iv-site a, body.iv-site li, body.iv-site label, body.iv-site summary, body.iv-site td, body.iv-site th { font-family: var(--iv-font); }
body.iv-site img { max-width: 100%; }
.iv-content img { height: auto; }
.iv-site .iv-card, .iv-site .iv-card h5, .iv-site .iv-card p, .iv-site .iv-footer, .iv-site .iv-article, .iv-site .iv-aside, .iv-site .iv-panel { text-align: left; }
body.iv-site button, body.iv-site input, body.iv-site select, body.iv-site textarea { font-family: var(--iv-font); }
.iv-main { display: block; }
.iv-container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.iv-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; padding: 8px 14px; }
.iv-skip:focus { left: 8px; top: 8px; }
.iv-bar { display: block; width: 32px; height: 3px; background: var(--iv-yellow); border-radius: 2px; flex: none; }
.iv-bar--lg { width: 48px; height: 4px; margin-top: 14px; }
.iv-bar--sm { margin: 6px 0 16px; }
.iv-clamp-2, .iv-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.iv-clamp-2 { -webkit-line-clamp: 2; }
.iv-clamp-3 { -webkit-line-clamp: 3; }
.iv-noimg { display: block; width: 100%; height: 100%; background: var(--iv-tint); }

/* Thiết kế gốc dùng box-sizing mặc định (content-box) cho các phần tử có kích thước cố định */
body.iv-site .iv-round, body.iv-site .iv-logos__item, body.iv-site .iv-aside__img,
body.iv-site .iv-form input.wpcf7-form-control:not([type=submit]):not([type=radio]):not([type=checkbox]),
body.iv-site .iv-form .wpcf7-list-item label, body.iv-site .iv-form .wpcf7-list-item-label::before { box-sizing: content-box; }
body.iv-site .iv-form input.wpcf7-form-control:not([type=submit]):not([type=radio]):not([type=checkbox]) { width: calc(100% - 30px); }

/* ---------- Topbar ---------- */
.iv-top { background: var(--iv-blue); color: #fff; font-size: 13px; line-height: 1.6; position: relative; z-index: 6; }
.iv-top__in { height: 40px; display: flex; align-items: center; gap: 28px; }
body.iv-site .iv-top__item { color: #fff; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
body.iv-site .iv-top__item:hover { color: #fff; opacity: .9; }
.iv-top__item img { width: 14px; height: 14px; filter: brightness(0) invert(1); flex: none; }
body.iv-site .iv-top__hot { color: var(--iv-yellow); font-weight: 600; }
body.iv-site .iv-top__hot:hover { color: var(--iv-yellow); }
.iv-top__social { margin-left: auto; display: flex; gap: 8px; }
body.iv-site .iv-soc { width: 26px; height: 26px; border-radius: 50%; display: block; flex: none; line-height: 0; transition: transform .2s, box-shadow .2s; }
body.iv-site .iv-soc img { width: 100%; height: 100%; display: block; border-radius: 50%; }
body.iv-site .iv-soc:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
body.iv-site .iv-soc--lg { width: 36px; height: 36px; }

/* ---------- Header ---------- */
.iv-header { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 40, 80, .05); position: relative; z-index: 5; }
.iv-header__in { height: 84px; display: flex; align-items: center; gap: 24px; }
.iv-logo { flex: none; display: flex; }
.iv-logo img { height: 44px; width: auto; display: block; }
.iv-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.iv-nav__item { position: relative; }
body.iv-site .iv-nav__link { display: block; padding: 8px 12px; border-radius: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--iv-ink); white-space: nowrap; transition: background .15s, color .15s; }
body.iv-site .iv-nav__link:hover, .iv-nav__item:hover > .iv-nav__link, .iv-nav__item:focus-within > .iv-nav__link { background: var(--iv-tint); color: var(--iv-blue); }
body.iv-site .iv-nav__link.is-active { background: var(--iv-blue); color: #fff; }
body.iv-site .iv-nav__link.iv-nav__home
{
    font-size:1.25rem;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    /* line-height: 0; */
}
.iv-nav__toggle { display: none; }
.iv-nav__txt { display: none; }
.iv-nav__sub { position: absolute; top: 100%; left: 0; min-width: 230px; margin-top: 6px; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 40, 80, .16); border: 1px solid var(--iv-line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 30; }
.iv-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.iv-nav__item:hover > .iv-nav__sub, .iv-nav__item:focus-within > .iv-nav__sub { opacity: 1; visibility: visible; transform: none; }
body.iv-site .iv-nav__sub a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--iv-ink); white-space: nowrap; }
body.iv-site .iv-nav__sub a:hover, body.iv-site .iv-nav__sub a.is-active { background: var(--iv-tint); color: var(--iv-blue); }
body.iv-site .iv-btn-cta { flex: none; background: var(--iv-yellow); color: var(--iv-navy-d); font-weight: 700; font-size: 14px; line-height: 1.6; padding: 11px 20px; border-radius: 999px; box-shadow: 0 2px 0 var(--iv-yellow-s); white-space: nowrap; transition: background .15s; }
body.iv-site .iv-btn-cta:hover { background: var(--iv-yellow-h); color: var(--iv-navy-d); }
.iv-burger { display: none; }

/* ---------- Sections chung ---------- */
.iv-sec { display: block; }
.iv-sec--white { background: #fff; }
.iv-sec--line { border-top: 1px solid var(--iv-line-3); }
.iv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
body.iv-site .iv-head h3, body.iv-site .iv-head h4 { flex: 0 1 auto; min-width: 0; width: auto; margin: 0; font-size: 28px; line-height: 1.6; font-weight: 700; color: var(--iv-blue); }
.iv-head__line, .iv-head--line::after { flex: 1; height: 1px; background: var(--iv-line-2); }
.iv-head--line::after { content: ""; }
body.iv-site .iv-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.iv-block--events { padding-top: 56px; padding-bottom: 24px; }
.iv-block--news { padding-top: 40px; padding-bottom: 72px; }
.iv-block--last { padding-bottom: 72px; }
.iv-block--list { padding-top: 32px; }
.iv-grid { display: grid; gap: 24px; }
.iv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.iv-grid--2 { grid-template-columns: 1fr 1fr; gap: 20px; }
.iv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Card ---------- */
body.iv-site .iv-card { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--iv-shadow); color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
body.iv-site .iv-card:hover { box-shadow: var(--iv-shadow-h); transform: translateY(-2px); color: inherit; }
.iv-card__img { position: relative; background: var(--iv-tint); overflow: hidden; }
.iv-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-r-16-9 { aspect-ratio: 16/9; }
.iv-r-16-10 { aspect-ratio: 16/10; }
.iv-r-21-9 { aspect-ratio: 21/9; }
.iv-card__body { padding: 20px 24px 24px; }
body.iv-site .iv-card h5 { margin: 0 0 8px; font-size: 21px; line-height: 1.35; font-weight: 700; color: var(--iv-ink); }
body.iv-site .iv-card p { margin: 0; color: var(--iv-muted); }
.iv-card__body--sm { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
body.iv-site .iv-card__body--sm h5 { margin: 0; font-size: 14.5px; line-height: 1.45; }
body.iv-site .iv-card__body--sm p { font-size: 13px; line-height: 1.6; }
body.iv-site .iv-card--h { display: grid; grid-template-columns: 44% 1fr; }
.iv-card--h .iv-card__img { height: 100%; }
.iv-card--h .iv-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
body.iv-site .iv-card--h h5 { margin: 0; font-size: 15.5px; line-height: 1.4; }
body.iv-site .iv-card--h p { font-size: 13.5px; }

/* ---------- Trang chủ: hero ---------- */
.iv-hero { padding-top: 28px; padding-bottom: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; }
.iv-slider { min-width: 0; width: 100%; align-self: start; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1400/720; background: var(--iv-tint); box-shadow: 0 6px 24px rgba(0, 40, 80, .1); }
.iv-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.iv-slider__slide.is-active { opacity: 1; z-index: 1; }
.iv-slider__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
body.iv-site .iv-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--iv-blue); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); display: grid; place-items: center; }
.iv-slider__prev { left: 14px; }
.iv-slider__next { right: 14px; }
.iv-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
body.iv-site .iv-slider__dots button { width: 8px; height: 8px; min-height: 0; margin: 0; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .8); cursor: pointer; transition: width .3s; }
body.iv-site .iv-slider__dots button.is-active { width: 28px; background: var(--iv-yellow); }

.iv-panel { border-radius: 12px; background: #fff; border: 1px solid var(--iv-line); box-shadow: 0 6px 24px rgba(0, 40, 80, .08); overflow: hidden; display: flex; flex-direction: column; }
.iv-panel__head { background: var(--iv-blue); color: #fff; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; }
body.iv-site .iv-panel__head h2 { margin: 0; font-size: 20px; line-height: 1.6; color: #fff; font-weight: 700; }
.iv-panel__body { flex: 1; padding: 16px 22px 18px; display: flex; flex-direction: column; }
.iv-panel__body > .iv-form { flex: 1; display: flex; flex-direction: column; }

/* ---------- Logo đối tác ---------- */
.iv-logos { padding-top: 36px; padding-bottom: 44px; display: flex; align-items: center; gap: 16px; }
body.iv-site .iv-round { flex: none; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 1px solid var(--iv-input); background: #fff; color: var(--iv-blue); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
body.iv-site .iv-round:hover { background: var(--iv-tint); }
.iv-logos__track { --n: 6; --g: 16px; flex: 1; display: flex; gap: var(--g); overflow: hidden; scroll-behavior: smooth; }
body.iv-site .iv-logos__item { flex: 0 0 calc((100% - (var(--n) - 1) * var(--g)) / var(--n)); height: 96px; border-radius: 10px; border: 1px solid #edf1f5; background: #fff; display: grid; place-items: center; padding: 14px 18px; transition: box-shadow .2s, border-color .2s, transform .45s; }
body.iv-site .iv-logos__item:hover { border-color: #cfe1f1; box-shadow: 0 4px 14px rgba(0, 40, 80, .08); }
.iv-logos__item img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }

/* ---------- Trang chủ: sự kiện ---------- */
.iv-events { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
.iv-events__side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }

/* ---------- Page head ---------- */
.iv-pagehead { background: #fff; border-bottom: 1px solid var(--iv-line); }
.iv-pagehead__in { padding-top: 28px; padding-bottom: 36px; }
.iv-pagehead__in--tabs { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.iv-crumb { font-size: 13px; line-height: 1.6; color: var(--iv-muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.iv-crumb__cur { color: var(--iv-ink); font-weight: 600; }
body.iv-site .iv-pagehead__title { margin: 0; font-size: 36px; line-height: 1.2; color: var(--iv-navy); font-weight: 700; }
body.iv-site .iv-pagehead__title--long { font-size: 34px; line-height: 1.25; }
.iv-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 999px; background: var(--iv-tint); font-size: 13.5px; font-weight: 600; line-height: 1.6; }
body.iv-site .iv-tabs a { padding: 8px 16px; border-radius: 999px; color: var(--iv-ink); white-space: nowrap; }
body.iv-site .iv-tabs a:hover { background: #fff; color: var(--iv-ink); }
body.iv-site .iv-tabs a.is-active { background: var(--iv-blue); color: #fff; }

/* ---------- Layout 2 cột ---------- */
.iv-layout { padding-top: 40px; padding-bottom: 24px; display: grid; gap: 28px; align-items: start; }
.iv-layout--340 { grid-template-columns: minmax(0, 1fr) 340px; }
.iv-layout--320 { grid-template-columns: minmax(0, 1fr) 320px; }
.iv-layout--left260 { grid-template-columns: 260px minmax(0, 1fr); }
.iv-layout--single { padding-top: 32px; }
.iv-layout.iv-block--last { padding-bottom: 72px; }
.iv-block--list { padding-top: 32px; }
.iv-aside { position: sticky; top: 20px; display: grid; gap: 20px; }
.admin-bar .iv-aside { top: 52px; }
.iv-aside__img { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 14px; aspect-ratio: 4/3; display: grid; place-items: center; }
.iv-aside__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.iv-article { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 32px 36px; font-size: 16px; line-height: 1.8; color: var(--iv-body); min-width: 0; }

/* CTA card (sidebar) */
.iv-cta-card { border-radius: 12px; background: var(--iv-blue); color: #fff; padding: 22px 24px; }
.iv-cta-card__title { font-size: 18px; line-height: 1.6; font-weight: 700; color: #fff; }
body.iv-site .iv-btn-yellow { display: inline-block; text-align: center; background: var(--iv-yellow); color: var(--iv-navy-d); font-weight: 700; padding: 12px; border-radius: 8px; line-height: 1.6; transition: background .15s; }
body.iv-site .iv-btn-yellow:hover { background: var(--iv-yellow-h); color: var(--iv-navy-d); }
.iv-btn-block { display: block !important; width: 100%; }
body.iv-site .iv-cta-card__tel { display: block; text-align: center; margin-top: 12px; color: #fff; font-weight: 600; }
body.iv-site .iv-cta-card__tel:hover { color: var(--iv-yellow); }

/* Danh sách con (tiểu bang) */
.iv-chips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
body.iv-site .iv-chip { border-radius: 10px; background: #fff; border: 1px solid var(--iv-line); padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--iv-ink); transition: all .2s; }
body.iv-site .iv-chip h5 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: inherit; }
.iv-chip span { opacity: .5; }
body.iv-site .iv-chip:hover { background: var(--iv-blue); border-color: var(--iv-blue); color: #fff; box-shadow: 0 6px 16px rgba(0, 106, 179, .25); }
.iv-sec .iv-block--last .iv-head { margin-bottom: 24px; }

/* ---------- Tiếng Anh du học ---------- */
.iv-sidenav { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 10px; }
.iv-sidenav__title { padding: 8px 12px 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--iv-muted); line-height: 1.6; }
body.iv-site .iv-sidenav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--iv-ink); }
.iv-sidenav a span { opacity: .5; }
body.iv-site .iv-sidenav a:hover { background: var(--iv-tint); color: var(--iv-blue); }
body.iv-site .iv-sidenav a.is-active { background: var(--iv-blue); color: #fff; }
.iv-hotcard { border-radius: 12px; background: var(--iv-blue); color: #fff; padding: 20px 22px; }
.iv-hotcard__lbl { font-size: 13px; opacity: .85; }
body.iv-site .iv-hotcard a { font-size: 22px; font-weight: 800; color: var(--iv-yellow); line-height: 1.6; }
.iv-stack { display: grid; gap: 24px; min-width: 0; }
.iv-content--exam { font-size: 15.5px; line-height: 1.75; color: var(--iv-body); }
.iv-content--visa { gap: 16px; font-size: 15px; line-height: 1.75; color: var(--iv-body); }

/* ---------- Visa ---------- */
.iv-banner-wrap { padding-top: 24px; }
.iv-banner { position: relative; border-radius: 12px; overflow: hidden; height: 340px; background: #cfe1f1; box-shadow: 0 6px 24px rgba(0, 40, 80, .1); }
.iv-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iv-banner__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 40, 80, .7), rgba(0, 40, 80, 0) 60%); }
.iv-banner__text { position: absolute; left: 36px; bottom: 30px; right: 36px; color: #fff; }
.iv-banner .iv-crumb { color: #dbe8f4; margin-bottom: 8px; }
body.iv-site .iv-banner .iv-crumb a { color: #dbe8f4; }
.iv-banner .iv-crumb__cur { color: #fff; }
body.iv-site .iv-banner__title { margin: 0; font-size: 52px; line-height: 1; font-weight: 800; color: #fff; text-transform: uppercase; }
.iv-banner-intro { padding-top: 28px; padding-bottom: 36px; }
body.iv-site .iv-banner-intro p { margin: 0; font-size: 16.5px; line-height: 1.8; color: var(--iv-body); max-width: 960px; }
.iv-aside--blue { border-radius: 12px; background: var(--iv-blue); color: #fff; padding: 24px; display: block; }
.iv-bar--visa { margin: 6px 0 16px; }
.iv-aside__lbl { font-size: 13px; opacity: .85; }
body.iv-site .iv-aside__big { font-size: 24px; font-weight: 800; color: var(--iv-yellow); line-height: 1.6; }
.iv-aside__ext { font-size: 13px; margin-bottom: 18px; opacity: .9; }

/* Accordion (nội dung trang visa) */
.iv-acc { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); overflow: hidden; }
.iv-acc > summary { list-style: none; width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: #fff; cursor: pointer; text-align: left; font: 700 19px/1.6 var(--iv-font); color: var(--iv-navy); }
.iv-acc > summary::-webkit-details-marker { display: none; }
.iv-acc > summary::after { content: "+"; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--iv-blue); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 400; line-height: 1; flex: none; }
.iv-acc[open] > summary { background: var(--iv-tint); }
.iv-acc[open] > summary::after { content: "−"; }
.iv-acc__body { padding: 6px 28px 28px; }
body.iv-site .iv-acc__body > p { margin: 16px 0; }
body.iv-site .iv-acc__body > p:first-child { margin-top: 16px; }

/* ---------- Nội dung (post_content) ---------- */
body.iv-site .iv-content > :first-child { margin-top: 0; }
body.iv-site .iv-content > :last-child, body.iv-site .iv-acc__body > :last-child, body.iv-site .iv-box > :last-child, body.iv-site .iv-mini > :last-child { margin-bottom: 0; }
body.iv-site .iv-content h2 { margin: 0 0 18px; font-size: 22px; line-height: 1.4; color: var(--iv-blue); font-weight: 700; }
body.iv-site .iv-content h3 { margin: 0 0 16px; font-size: 21px; line-height: inherit; color: var(--iv-blue); font-weight: 700; }
body.iv-site .iv-content h4 { font-size: 17px; line-height: inherit; color: var(--iv-navy); font-weight: 700; }
body.iv-site .iv-content p { margin: 0 0 16px; }
.iv-content strong, .iv-content b { font-weight: 700; }
.iv-content h1 strong, .iv-content h2 strong, .iv-content h3 strong, .iv-content h4 strong { font-weight: 800; }
.iv-article > p:last-child { margin-bottom: 0; }
.iv-content img { border-radius: 8px; }
.iv-content .iv-box img, .iv-content .iv-imgbox img { border-radius: 0; }
.iv-content ul, .iv-content ol { margin: 0 0 16px; padding-left: 20px; }
.iv-content li { margin: 0; }
body.iv-site .iv-content a:not([class]) { text-decoration: none; }
.iv-content table { border-collapse: collapse; width: 100%; }
.iv-content table td, .iv-content table th { border: 1px solid var(--iv-line); padding: 8px 12px; }
.iv-content iframe, .iv-content video { max-width: 100%; }

/* Thành phần dùng trong nội dung (class trong post_content) */
.iv-box { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 28px 32px; }
.iv-box--split { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: center; }
.iv-box--split img { width: 100%; }
.iv-box--split p { margin: 0 0 12px !important; }
.iv-box--split p:last-child { margin-bottom: 0 !important; }
.iv-box--sm { padding: 24px 26px; font-size: 14.5px; }
body.iv-site .iv-box--sm h3 { font-size: 19px; margin-bottom: 10px; }
.iv-box--sm p { margin: 0 0 10px !important; }
.iv-box--sm p:last-child { margin-bottom: 0 !important; }
.iv-note { border-radius: 12px; background: #fffbd6; border: 1px solid #f3e67a; padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.iv-note__ic { width: 28px; height: 28px; border-radius: 50%; background: var(--iv-yellow); color: var(--iv-navy-d); display: grid; place-items: center; font-weight: 800; flex: none; }
.iv-note strong { color: var(--iv-ink); }
.iv-fee { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.iv-fee__l { background: var(--iv-tint); padding: 26px 28px; }
.iv-fee__lbl { font-size: 13px; font-weight: 700; color: var(--iv-muted); margin-bottom: 6px; }
.iv-fee__val { font-size: 30px; font-weight: 800; color: var(--iv-blue); line-height: 1.2; }
.iv-fee__sub { font-size: 14px; margin-top: 4px; }
.iv-fee__date { font-size: 12.5px; color: var(--iv-muted); margin-top: 8px; }
.iv-fee__r { padding: 24px 28px; font-size: 14.5px; }
.iv-fee__r p { margin: 0 0 10px !important; }
.iv-fee__r p:last-child { margin-bottom: 0 !important; }
.iv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.iv-cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.iv-mini { border-radius: 10px; border: 1px solid var(--iv-line); padding: 18px 20px; }
body.iv-site .iv-mini h4 { margin: 0 0 6px; font-size: 17px; color: var(--iv-navy); }
.iv-mini p { margin: 0 !important; font-size: 14.5px; }
.iv-imgbox { border-radius: 10px; background: var(--iv-tint); overflow: hidden; min-height: 200px; }
.iv-imgbox img { width: 100%; display: block; }
.iv-content .iv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ivs; }
.iv-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; counter-increment: ivs; }
.iv-steps li::before { content: counter(ivs); width: 28px; height: 28px; border-radius: 50%; background: var(--iv-tint); color: var(--iv-blue); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.iv-steps__txt { padding-top: 2px; }
body.iv-site .iv-btn-outline { display: inline-block; border: 1px solid var(--iv-blue); border-radius: 8px; padding: 9px 14px; font-weight: 600; font-size: 13.5px; line-height: 1.6; }
body.iv-site .iv-btn-outline:hover { background: var(--iv-tint); }
.iv-rows { border-radius: 10px; border: 1px solid var(--iv-line); overflow: hidden; margin-bottom: 16px; }
.iv-rows > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 16px; }
.iv-rows > div:first-child { background: var(--iv-field); border-bottom: 1px solid var(--iv-line); }
.iv-rows small { color: var(--iv-muted); font-size: 13px; }
.iv-rows .iv-hl { color: var(--iv-blue); }
.iv-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.iv-checks > div { display: flex; gap: 10px; padding: 10px 14px; border-radius: 8px; background: var(--iv-tint); font-size: 14px; line-height: 1.75; }
.iv-checks > div::before { content: "✓"; color: var(--iv-blue); font-weight: 800; }
.iv-content .iv-foot { margin: 0; padding: 14px 0 0 20px; border-top: 1px solid var(--iv-line); font-size: 13px; color: var(--iv-muted); }
.iv-acc__body ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.iv-acc__body ul li { display: list-item; }
.iv-acc__body ul li::before { content: none; }
.iv-acc__body sup { font-size: 75%; }

/* Danh sách chấm vàng (bài viết) */
.iv-post__body ul:not([class]) { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.iv-post__body ul:not([class]) > li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; }
.iv-post__body ul:not([class]) > li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--iv-yellow); outline: 2px solid var(--iv-blue); outline-offset: -2px; margin-top: 10px; }
.iv-post__body .iv-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.iv-post__body .iv-dots > li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; }
.iv-post__body .iv-dots > li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--iv-yellow); outline: 2px solid var(--iv-blue); outline-offset: -2px; margin-top: 10px; }
.iv-sectn > h3 { margin-bottom: 12px !important; }
.iv-sectn--pros > h3 { margin-bottom: 14px !important; }
.iv-pros { display: grid; gap: 12px; counter-reset: ivp; }
.iv-pros > div { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 18px; border-radius: 10px; background: #f5f8fb; counter-increment: ivp; }
.iv-pros > div::before { content: counter(ivp); width: 32px; height: 32px; border-radius: 50%; background: var(--iv-blue); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.iv-pros h4 { margin: 0 0 2px !important; font-size: 16px !important; color: var(--iv-ink) !important; line-height: 1.8 !important; }
.iv-pros p { margin: 0 !important; font-size: 15px; }
.iv-uni { border-radius: 12px; border: 1px solid var(--iv-line); overflow: hidden; }
.iv-uni__head { padding: 16px 22px; background: var(--iv-tint); border-bottom: 1px solid var(--iv-line); }
body.iv-site .iv-uni__head h3 { margin: 0; font-size: 19px; color: var(--iv-navy); line-height: inherit; }
.iv-uni > p { margin: 0 !important; padding: 16px 22px 6px; }
.iv-uni > figure, .iv-uni > .iv-uni__img { margin: 0; padding: 10px 22px 0; }
.iv-uni > figure img, .iv-uni__img img { width: 100%; border-radius: 8px; display: block; }
.iv-post__body .iv-uni > ul { list-style: disc; display: block; margin: 0; padding: 6px 22px 20px 42px; font-size: 15px; }
.iv-post__body .iv-uni > ul > li { display: list-item; padding: 3px 0; }
.iv-post__body .iv-uni > ul > li::before { content: none; }
.iv-contact { border-radius: 12px; background: var(--iv-blue); color: #fff; padding: 22px 26px; }
.iv-contact p { margin: 0 0 10px !important; }
.iv-contact p:last-child { margin: 0 !important; color: #e3eef8; }
.iv-contact .iv-y { color: var(--iv-yellow); font-weight: 700; }

/* Flatsome accordion trong nội dung cũ: trình bày giống accordion thiết kế */
.iv-content .accordion { margin: 0; display: grid; gap: 16px; }
.iv-content .accordion-item { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); overflow: hidden; margin: 0; border: 0; }
body.iv-site .iv-content .accordion-title { display: flex !important; align-items: center; gap: 14px; padding: 20px 24px !important; margin: 0; border: 0 !important; background: #fff; font: 700 19px/1.6 var(--iv-font); color: var(--iv-navy) !important; text-transform: none; }
body.iv-site .iv-content .accordion-title::after { content: "+"; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--iv-blue); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 400; line-height: 1; flex: none; }
body.iv-site .iv-content .accordion-title.active { background: var(--iv-tint); }
body.iv-site .iv-content .accordion-title.active::after { content: "−"; }
.iv-content .accordion-title .toggle { display: none !important; }
.iv-content .accordion-inner { padding: 6px 28px 28px !important; }
.iv-content .accordion-inner > :first-child { margin-top: 16px; }
body.iv-site .iv-acc-empty { margin: 16px 0 0; padding: 14px 18px; border-radius: 10px; background: var(--iv-tint); color: var(--iv-body); font-size: 14.5px; }
body.iv-site .iv-acc-empty a { font-weight: 700; white-space: nowrap; }

/* ---------- Giới thiệu / đội ngũ ---------- */
.iv-content--about { padding-top: 40px; }
.iv-box--about { padding: 36px 44px; font-size: 16.5px; line-height: 1.85; color: var(--iv-body); }
.iv-box--about p { margin: 0 0 16px; }
.iv-box--about p.iv-quote, .iv-quote { margin: 0 !important; padding: 18px 22px; border-radius: 10px; background: var(--iv-tint); border-left: 4px solid var(--iv-yellow); color: var(--iv-navy); font-weight: 600; }
body.iv-site .iv-box--about p:nth-last-child(2) { margin-bottom: 20px; }
body.iv-site .iv-content .iv-head h3, body.iv-site .iv-content .iv-head h4 { margin: 0; line-height: 1.6; }
.iv-content--about .iv-two { margin-top: 40px; }
.iv-mv { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 32px 36px; }
.iv-mv--blue { background: var(--iv-blue); color: #fff; box-shadow: 0 10px 30px rgba(0, 106, 179, .2); }
body.iv-site .iv-mv h3 { margin: 0; font-size: 26px; line-height: 1.6; color: var(--iv-navy); }
body.iv-site .iv-mv--blue h3 { color: #fff; }
.iv-mv h3::after { content: ""; display: block; width: 40px; height: 4px; background: var(--iv-yellow); border-radius: 2px; margin: 12px 0 18px; }
.iv-mv p { margin: 0 !important; font-size: 16px; line-height: 1.8; color: var(--iv-body); }
.iv-mv--blue p { color: #e3eef8; }
.iv-team { display: grid; gap: 44px; }
.iv-team__group .iv-head { margin-bottom: 20px; }
body.iv-site .iv-team__group .iv-head h3 { font-size: 22px; }
.iv-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.iv-person { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--iv-shadow); transition: box-shadow .2s, transform .2s; }
.iv-person:hover { box-shadow: var(--iv-shadow-h); transform: translateY(-2px); }
.iv-person__img { aspect-ratio: 4/5; background: var(--iv-tint); overflow: hidden; }
.iv-person__img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
body.iv-site .iv-person h4 { margin: 0; padding: 14px 16px; font-size: 16px; line-height: 1.6; font-weight: 700; text-align: center; color: var(--iv-ink); border-top: 3px solid var(--iv-yellow); }
.iv-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.iv-reason { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 28px 32px; font-size: 15.5px; line-height: 1.75; color: var(--iv-body); }
.iv-reason__num { width: 40px; height: 40px; border-radius: 50%; background: var(--iv-blue); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
body.iv-site .iv-reason h3 { margin: 0 0 10px; font-size: 20px; color: var(--iv-navy); }
.iv-reason p { margin: 0 !important; }

/* ---------- Danh sách bài viết ---------- */
.iv-featured { padding-top: 40px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 24px; }
.iv-featured__item--main { grid-row: 1 / span 2; }
.iv-card__body--feat { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
body.iv-site .iv-card__body--feat h5 { margin: 0; font-size: 16px; line-height: 1.4; }
body.iv-site .iv-featured__item--main .iv-card__body--feat h5 { font-size: 22px; }
body.iv-site .iv-card__body--feat p { font-size: 13.5px; }
.iv-card__cats { font-size: 11.5px; font-weight: 700; color: var(--iv-blue); letter-spacing: .03em; }
.iv-date { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 8px; width: 52px; padding: 6px 0; text-align: center; line-height: 1.1; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.iv-date b { display: block; font-size: 20px; font-weight: 800; color: var(--iv-blue); }
.iv-date i { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--iv-muted); }
.iv-date--sm { left: 10px; top: 10px; border-radius: 6px; width: 42px; padding: 4px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.iv-date--sm b { font-size: 16px; }
.iv-date--sm i { font-size: 10px; font-weight: 400; }
.iv-band { border-radius: 14px; background: var(--iv-blue); color: #fff; padding: 30px 36px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: center; box-shadow: 0 10px 30px rgba(0, 106, 179, .25); }
body.iv-site .iv-band h3 { margin: 0 0 4px; font-size: 26px; line-height: 1.6; color: #fff; }
body.iv-site .iv-band p { margin: 0; color: #dbe8f4; }
.iv-block--others { padding-top: 56px; padding-bottom: 72px; }
body.iv-site .iv-block--others .iv-head h3 { font-size: 26px; }
body.iv-site .iv-card--row { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
.iv-card--row .iv-card__img { min-height: 130px; }
.iv-card--row .iv-card__img > img, .iv-card--row .iv-card__img > .iv-noimg { position: absolute; inset: 0; }
.iv-card__body--row { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
body.iv-site .iv-card__body--row h5 { margin: 0; font-size: 14.5px; line-height: 1.45; }
body.iv-site .iv-card__body--row p { font-size: 13px; }
.iv-pages { margin-top: 32px; }
.iv-pages ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; justify-content: center; }
body.iv-site .iv-pages a, .iv-pages span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--iv-line); font-weight: 600; color: var(--iv-ink); }
.iv-pages .current { background: var(--iv-blue); border-color: var(--iv-blue); color: #fff; }

/* ---------- Bài viết ---------- */
.iv-article--post { padding: 0; overflow: hidden; }
.iv-post__head { padding: 30px 36px 24px; }
.iv-post__head .iv-crumb { margin-bottom: 16px; }
body.iv-site .iv-post__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; font-size: 12px; font-weight: 600; line-height: 1.6; }
body.iv-site .iv-post__cats a { padding: 4px 10px; border-radius: 999px; background: var(--iv-tint); }
body.iv-site .iv-post__title { margin: 0 0 12px; font-size: 32px; line-height: 1.3; color: var(--iv-navy); font-weight: 700; }
.iv-post__date { font-size: 13px; color: var(--iv-muted); line-height: 1.6; }
.iv-post__cover { aspect-ratio: 2/1; background: var(--iv-tint); }
.iv-post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-post__body { padding: 32px 36px 36px; font-size: 16px; line-height: 1.8; color: var(--iv-body); }
.iv-post__body.iv-grid-flow { display: grid; gap: 30px; }
.iv-post__body > .iv-flow { display: grid; gap: 30px; }
.iv-post__body > .iv-flow > * { margin: 0; }
.iv-recent { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 18px 18px 8px; }
.iv-recent__title { font-size: 17px; font-weight: 700; color: var(--iv-navy); line-height: 1.6; }
.iv-recent .iv-bar { margin: 6px 0 10px; }
body.iv-site .iv-recent a { display: block; padding: 11px 0; border-top: 1px solid var(--iv-line-3); font-size: 13.5px; line-height: 1.45; font-weight: 600; color: var(--iv-ink); }
body.iv-site .iv-recent a:hover { color: var(--iv-blue); }

/* ---------- Form Contact Form 7 ---------- */
.iv-form .wpcf7 { margin: 0; }
.iv-form .wpcf7-form { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.iv-form .wpcf7-form > div[style*="display: none"], .iv-form .wpcf7-form > div[style*="display:none"] { display: none !important; }
.iv-form .wpcf7-form p { margin: 0; display: contents; }
.iv-form .iv-f__fields { display: flex; flex-direction: column; gap: 10px; }
.iv-form .wpcf7-form-control-wrap { display: block; position: relative; }
body.iv-site .iv-form input.wpcf7-form-control:not([type=submit]):not([type=radio]):not([type=checkbox]) { display: block; width: calc(100% - 30px); height: 40px; margin: 0; padding: 0 14px; border: 1px solid var(--iv-input); border-radius: 8px; font: inherit; font-size: 14px; line-height: normal; color: var(--iv-ink); background: var(--iv-field); box-shadow: none; outline-color: var(--iv-blue); transition: border-color .15s, background .15s; }
body.iv-site .iv-form input.wpcf7-form-control:focus { border-color: var(--iv-blue); background: #fff; }
body.iv-site .iv-form input::placeholder { color: #75828f; opacity: 1; }
.iv-f__label { font-size: 13px; font-weight: 600; color: var(--iv-ink); margin: 2px 0 10px; line-height: 1.6; }
.iv-form .wpcf7-radio, .iv-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 6px; }
body.iv-site .iv-form .wpcf7-list-item { margin: 0 !important; display: block; }
body.iv-site .iv-form .wpcf7-list-item label { width: auto; display: flex; align-items: center; gap: 8px; height: 32px; margin: 0; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--iv-input); background: #fff; cursor: pointer; font-size: 13px; font-weight: 400; line-height: 1; white-space: nowrap; color: var(--iv-ink); transition: border-color .15s, background .15s; }
.iv-form .wpcf7-list-item input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.iv-form .wpcf7-list-item-label { display: flex; align-items: center; gap: 8px; margin: 0; }
.iv-form .wpcf7-list-item-label::after { content: none !important; display: none; }
.iv-form .wpcf7-list-item-label::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--iv-input); flex: none; box-sizing: border-box; background: radial-gradient(circle, transparent 0 3px, transparent 3px); }
.iv-form .wpcf7-list-item.is-checked label, .iv-form .wpcf7-list-item label:has(input:checked) { border-color: var(--iv-blue); background: var(--iv-tint); }
.iv-form .wpcf7-list-item input:checked + .wpcf7-list-item-label::before { border-color: var(--iv-blue); background: radial-gradient(circle, var(--iv-blue) 0 3px, transparent 3.5px); }
.iv-form .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label::before { outline: 2px solid var(--iv-blue); outline-offset: 2px; }
.iv-form .iv-f__submit { margin-top: auto; }
body.iv-site .iv-form input.wpcf7-submit { display: block; width: 100%; height: 44px; min-height: 0; margin: 0; padding: 0 20px; border: 0; border-radius: 8px; background: var(--iv-blue); color: #fff; font: 700 15px/1 var(--iv-font); text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; transition: background .15s; }
body.iv-site .iv-form input.wpcf7-submit:hover, body.iv-site .iv-form input.wpcf7-submit:focus { background: var(--iv-blue-d); color: #fff; }
body.iv-site .iv-form input.wpcf7-submit:focus-visible { outline: 2px solid var(--iv-navy); outline-offset: 2px; }
.iv-form .ajax-loader, .iv-form .wpcf7-spinner { position: absolute; margin: 0; }
.iv-form .iv-f__submit { position: relative; }
.iv-form .iv-f__submit .ajax-loader { right: 12px; top: 14px; }
body.iv-site .iv-form .wpcf7-not-valid-tip::before, body.iv-site .iv-form .wpcf7-not-valid-tip::after { display: none !important; }
body.iv-site .iv-form input.wpcf7-not-valid { border-color: #d93025 !important; }
body.iv-site .iv-form .wpcf7-not-valid-tip { position: static; display: block; width: auto; font-size: 12px; line-height: 1.4; margin: 4px 0 0; padding: 0; background: none; border: 0; color: #d93025; }
.iv-form .wpcf7-response-output { margin: 4px 0 0 !important; padding: 8px 12px !important; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.iv-form .wpcf7-response-output:empty, .iv-form .wpcf7-display-none { display: none; }
/* Hero: form giãn hết chiều cao khung */
.iv-form--hero, .iv-form--hero .wpcf7, .iv-form--hero .wpcf7-form { flex: 1; display: flex; flex-direction: column; }
.iv-form--hero .iv-f__topics { margin-top: 0; }
.iv-form--hero .iv-f__label { margin-bottom: 10px; }
.iv-form--hero .iv-f__submit { margin-top: auto; padding-top: 0; }
/* Popup */
.iv-form--modal .wpcf7-form, .iv-form--modal .iv-f__fields { gap: 12px; }
body.iv-site .iv-form--modal input.wpcf7-form-control:not([type=submit]):not([type=radio]):not([type=checkbox]) { height: 44px; }
body.iv-site .iv-form--modal .wpcf7-list-item label { height: 34px; padding: 0 14px 0 10px; font-size: 13.5px; }
.iv-form--modal .iv-f__label { margin-bottom: 12px; }
.iv-form--modal .iv-f__submit { margin-top: 8px; }
body.iv-site .iv-form--modal input.wpcf7-submit { height: 46px; }
/* Band ngang (Học bổng) */
.iv-form--inline .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px 10px; align-items: start; }
.iv-form--inline .iv-f__fields { display: contents; }
.iv-form--inline .iv-f__submit { grid-column: 4; grid-row: 1; margin: 0; }
.iv-form--inline .iv-f__topics { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.iv-form--inline .wpcf7-response-output { grid-column: 1 / -1; }
body.iv-site .iv-form--inline input.wpcf7-form-control:not([type=submit]):not([type=radio]):not([type=checkbox]) { height: 44px; border: 0; background: #fff; }
body.iv-site .iv-form--inline input.wpcf7-submit { height: 44px; width: auto; padding: 0 20px; background: var(--iv-yellow); color: var(--iv-navy-d); font-size: 14px; white-space: nowrap; }
body.iv-site .iv-form--inline input.wpcf7-submit:hover, body.iv-site .iv-form--inline input.wpcf7-submit:focus { background: var(--iv-yellow-h); color: var(--iv-navy-d); }
.iv-form--inline .iv-f__label { margin: 0 4px 0 0; color: #dbe8f4; font-weight: 400; font-size: 13px; }
.iv-form--inline .wpcf7-radio { gap: 8px; }
body.iv-site .iv-form--inline .wpcf7-list-item label { height: auto; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font-weight: 600; font-size: 13px; line-height: 1.6; }
.iv-form--inline .wpcf7-list-item-label::before { display: none; }
.iv-form--inline .wpcf7-list-item-label { gap: 0; }
.iv-form--inline .wpcf7-list-item.is-checked label, body.iv-site .iv-form--inline .wpcf7-list-item label:has(input:checked) { background: #fff; color: var(--iv-blue); border-color: rgba(255, 255, 255, .5); }
.iv-form--inline .wpcf7-not-valid-tip { color: #ffe0e0; }
.iv-form--inline .wpcf7-response-output { color: #fff; border-color: rgba(255, 255, 255, .6) !important; }

/* ---------- Popup ---------- */
.iv-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 40px; }
.iv-modal[hidden] { display: none; }
.iv-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 30, 60, .55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.iv-modal__box { position: relative; width: 440px; max-width: 100%; max-height: calc(100vh - 40px); overflow: auto; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(0, 20, 50, .35); animation: ivPop .2s ease-out; }
@keyframes ivPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
body.iv-site .iv-modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center; font-size: 18px; line-height: 1; cursor: pointer; }
body.iv-site .iv-modal__close:hover { background: rgba(255, 255, 255, .3); }
.iv-panel__head--modal { display: block; padding: 22px 26px; }
body.iv-site .iv-panel__head--modal h2 { font-size: 22px; }
.iv-panel__head--modal .iv-bar { width: 36px; margin-top: 10px; }
.iv-modal__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.iv-modal__hot { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--iv-muted); margin-top: 4px; }
body.iv-site .iv-modal__hot a { font-weight: 700; }
html.iv-lock, html.iv-lock body { overflow: hidden; }

/* ---------- Footer ---------- */
.iv-footer { background: var(--iv-navy); color: #e3eef8; font-size: 15px; line-height: 1.6; }
.iv-footer__in { padding-top: 56px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.iv-footer__logo { height: 48px; width: auto; margin-bottom: 18px; display: inline; vertical-align: baseline; }
body.iv-site .iv-footer__title { margin: 0 0 20px; font-size: 22px; line-height: 1.6; color: #fff; font-weight: 700; }
.iv-footer__list { display: grid; gap: 14px; font-size: 14.5px; }
.iv-footer__row { display: flex; gap: 12px; align-items: flex-start; }
.iv-footer__ico { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.iv-footer__ico img { width: 16px; height: 16px; }
.iv-footer strong { color: #fff; }
body.iv-site .iv-footer a { color: #e3eef8; }
body.iv-site .iv-footer a.iv-footer__hot { color: var(--iv-yellow); font-weight: 700; }
body.iv-site .iv-footer a.iv-soc { color: #fff; }
body.iv-site .iv-footer a.iv-soc:hover { color: var(--iv-navy); }
.iv-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.iv-footer__embed { position: relative; border-radius: 10px; background: rgba(255, 255, 255, .06); min-height: 300px; display: grid; place-items: center; color: #a9c3da; font-size: 13px; text-align: center; overflow: hidden; }
.iv-footer__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.iv-footer__embed.is-fb iframe { left: 50%; right: auto; transform: translateX(-50%); }
.iv-footer__embed.is-loaded { background: #fff; }
.iv-footer__fb, .iv-footer__map { height: 330px; min-height: 0; align-self: start; }
.iv-footer__embed.is-loaded .iv-footer__ph { visibility: hidden; }
body.iv-site .iv-float-event { position: fixed; left: 20px; bottom: 20px; z-index: 20; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--iv-navy); padding: 6px 16px 6px 6px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.6; box-shadow: 0 6px 20px rgba(0, 40, 80, .2); }
body.iv-site .iv-float-event:hover { color: var(--iv-blue); }
.iv-float-event img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--iv-yellow); }

/* Search (404) */
.iv-search { display: flex; gap: 10px; max-width: 520px; margin-top: 12px; }
body.iv-site .iv-search input { flex: 1; height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--iv-input); border-radius: 8px; box-shadow: none; }
body.iv-site .iv-search button { height: 44px; margin: 0; padding: 0 20px; border: 0; border-radius: 8px; background: var(--iv-blue); color: #fff; font-weight: 700; text-transform: none; }

/* ---------- Ẩn phần tử Flatsome không dùng trong giao diện mới ---------- */
.iv-site #header, .iv-site .header-wrapper, .iv-site #footer.footer-wrapper, .iv-site .absolute-footer { display: none !important; }


/* ---------- Du học quốc gia: bổ sung ---------- */
body.iv-site .iv-content p.iv-lead { font-size: 17px; line-height: 1.75; color: var(--iv-navy); font-weight: 600; padding: 18px 22px; margin: 0 0 24px; border-radius: 10px; background: var(--iv-tint); border-left: 4px solid var(--iv-yellow); }
body.iv-site .iv-article > h3 { margin: 28px 0 12px; font-size: 20px; line-height: 1.5; }
body.iv-site .iv-article > h3:first-child { margin-top: 0; }
.iv-article > ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.iv-article > ul > li { display: grid; grid-template-columns: 20px 1fr; gap: 6px; }
.iv-article > ul > li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--iv-yellow); outline: 2px solid var(--iv-blue); outline-offset: -2px; margin-top: 11px; }
.iv-content .iv-figure, .iv-content figure.wp-block-image { margin: 8px 0 24px; border-radius: 10px; overflow: hidden; background: var(--iv-tint); }
.iv-content .iv-figure img, .iv-content figure.wp-block-image img { display: block; width: 100%; height: auto; border-radius: 0; }
.iv-logobox { border-radius: 12px; background: #fff; box-shadow: var(--iv-shadow); padding: 18px 18px 14px; }
.iv-logobox .iv-bar { margin: 6px 0 12px; }
.iv-logobox__grid { display: grid; gap: 10px; }
.iv-logobox__item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--iv-line); border-radius: 10px; }
.iv-logobox__img { flex: none; width: 96px; height: 52px; display: grid; place-items: center; }
.iv-logobox__img img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.iv-logobox__name { font-size: 14px; font-weight: 700; color: var(--iv-ink); line-height: 1.4; }
.iv-card--place .iv-card__body--sm h5 { font-size: 17px; }
.iv-card--place .iv-card__body--sm p { font-size: 13.5px; }
.iv-more { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--iv-blue); }
.iv-card--place:hover .iv-more { color: var(--iv-navy); }


/* ---------- Trang tổng (Du học / Visa) & ảnh bài du học ---------- */
.iv-layout--hub { display: block; padding-bottom: 40px; }
body.iv-site .iv-hub__intro { margin: 0 0 24px; max-width: 960px; font-size: 16.5px; line-height: 1.8; color: var(--iv-body); }
.iv-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
body.iv-site .iv-hubcard { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--iv-shadow); color: var(--iv-ink); transition: box-shadow .2s, transform .2s; }
body.iv-site .iv-hubcard:hover { box-shadow: var(--iv-shadow-h); transform: translateY(-2px); color: var(--iv-blue); }
.iv-hubcard__img { display: block; aspect-ratio: 16/10; background: var(--iv-tint); overflow: hidden; }
.iv-hubcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.iv-hubcard:hover .iv-hubcard__img img { transform: scale(1.04); }
.iv-hubcard__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; font-size: 15px; font-weight: 700; line-height: 1.4; border-top: 3px solid var(--iv-yellow); }
.iv-hubcard__go { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--iv-tint); color: var(--iv-blue); display: grid; place-items: center; font-size: 16px; font-weight: 400; transition: background .2s, color .2s; }
.iv-hubcard:hover .iv-hubcard__go { background: var(--iv-blue); color: #fff; }
.iv-aside__photo { border-radius: 12px; overflow: hidden; background: var(--iv-tint); box-shadow: var(--iv-shadow); aspect-ratio: 4/3; }
.iv-aside__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) { .iv-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .iv-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .iv-hubcard__title { padding: 12px 12px; font-size: 13.5px; } }

/* ---------- Visa: tiêu đề gọn + slider ảnh kéo được ---------- */
.iv-pagehead--visa .iv-pagehead__in { padding-bottom: 28px; }
body.iv-site .iv-pagehead__intro { margin: 16px 0 0; max-width: 960px; font-size: 15.5px; line-height: 1.75; color: var(--iv-body); }
.iv-gal { position: relative; border-radius: 12px; overflow: hidden; background: var(--iv-tint); box-shadow: var(--iv-shadow); }
.iv-gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; cursor: grab; touch-action: pan-y pinch-zoom; overscroll-behavior-x: contain; }
.iv-gal__track::-webkit-scrollbar { display: none; }
.iv-gal.is-dragging .iv-gal__track { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
body.iv-site .iv-gal__slide { flex: 0 0 100%; margin: 0; aspect-ratio: 21/9; scroll-snap-align: start; user-select: none; }
.iv-gal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; pointer-events: none; }

/* =====================================================================
   Responsive (thiết kế gốc desktop 1280px; bổ sung tablet / mobile)
   ===================================================================== */
@media (max-width: 1199px) {
  .iv-header__in { gap: 16px; }
  body.iv-site .iv-nav__link { padding: 8px 8px; font-size: 13px; }
  .iv-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  body.iv-site .iv-top__addr { display: none; }
  .iv-top__in { gap: 18px; }
  .iv-header__in { height: 68px; }
  .iv-logo img { height: 36px; }
  .iv-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; min-height: 0; margin: 0 0 0 12px; padding: 0 10px; border: 1px solid var(--iv-line); border-radius: 10px; background: #fff; cursor: pointer; order: 3; }
  .iv-burger span { display: block; height: 2px; background: var(--iv-navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .iv-nav-open .iv-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .iv-nav-open .iv-burger span:nth-child(2) { opacity: 0; }
  .iv-nav-open .iv-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.iv-site .iv-btn-cta { order: 2; margin-left: auto; padding: 9px 16px; font-size: 13px; }
  .iv-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); margin: 0; padding: 76px 16px 24px; background: #fff; box-shadow: -12px 0 40px rgba(0, 30, 60, .2); flex-direction: column; align-items: stretch; gap: 4px; overflow-y: auto; display: none; z-index: 1000; }
  .iv-nav-open .iv-nav { display: flex; animation: ivSlide .25s ease; }
  @keyframes ivSlide { from { transform: translateX(100%); } to { transform: none; } }
  .iv-nav-open .iv-burger { position: fixed; top: 14px; right: 16px; z-index: 1001; }
  .iv-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 30, 60, .45); z-index: 999; }
  .iv-nav-open .iv-header { z-index: 1000; }
  .iv-nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .iv-nav__txt { display: inline; }
  body.iv-site .iv-nav__link { padding: 11px 12px; font-size: 14px; }
  .iv-nav__toggle { display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .iv-nav__toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--iv-muted); border-bottom: 2px solid var(--iv-muted); transform: rotate(45deg); transition: transform .2s; }
  .iv-nav__item.is-open .iv-nav__toggle::before { transform: rotate(-135deg); }
  .iv-nav__sub { position: static; grid-column: 1 / -1; min-width: 0; margin: 0 0 6px; padding: 4px 0 4px 12px; border: 0; border-left: 2px solid var(--iv-line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .iv-nav__item.is-open > .iv-nav__sub { display: block; }
  .iv-nav__item:hover > .iv-nav__sub { display: none; }
  .iv-nav__item.is-open:hover > .iv-nav__sub { display: block; }
  body.iv-site .iv-nav__sub a { white-space: normal; }
}
@media (max-width: 1023px) {
  .iv-hero { grid-template-columns: 1fr; }
  .iv-events { grid-template-columns: 1fr; }
  .iv-grid--4, .iv-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iv-logos__track { --n: 4; }
  .iv-layout--340, .iv-layout--320, .iv-layout--left260 { grid-template-columns: 1fr; }
  .iv-aside { position: static; }
  .iv-layout--left260 .iv-aside { order: 2; }
  .iv-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .iv-featured { grid-template-columns: 1fr; }
  .iv-featured__item--main { grid-row: auto; }
  .iv-band { grid-template-columns: 1fr; gap: 18px; }
  .iv-grid--2 { grid-template-columns: 1fr; }
  .iv-footer__in { grid-template-columns: 1fr 1fr; }
  .iv-footer__info { grid-column: 1 / -1; }
  .iv-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iv-pagehead__in--tabs { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  body.iv-site .iv-top__item:not(.iv-top__hot) { display: none; }
  .iv-hero { padding-top: 16px; padding-bottom: 24px; }
  body.iv-site .iv-head h3, body.iv-site .iv-head h4 { font-size: 22px; }
  .iv-block--events { padding-top: 36px; }
  .iv-block--news, .iv-block--last, .iv-layout.iv-block--last, .iv-block--others { padding-bottom: 48px; }
  body.iv-site .iv-pagehead__title, body.iv-site .iv-pagehead__title--long { font-size: 26px; }
  .iv-pagehead__in { padding-top: 20px; padding-bottom: 24px; }
  .iv-layout { padding-top: 24px; gap: 20px; }
  .iv-article { padding: 22px 20px; }
  .iv-post__head { padding: 22px 20px 18px; }
  .iv-post__body { padding: 22px 20px 26px; }
  body.iv-site .iv-post__title { font-size: 24px; }
  .iv-box, .iv-box--about, .iv-mv, .iv-reason { padding: 22px 20px; }
  .iv-box--split, .iv-fee, .iv-two, .iv-cols2, .iv-checks, .iv-reasons { grid-template-columns: 1fr; }
  .iv-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .iv-box--split img { max-width: 220px; }
  .iv-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iv-logos__track { --n: 3; --g: 10px; }
  .iv-logos { gap: 8px; }
  .iv-banner { height: 240px; }
  .iv-banner__text { left: 20px; bottom: 20px; }
  body.iv-site .iv-banner__title { font-size: 36px; }
  body.iv-site .iv-gal__slide { aspect-ratio: 16/10; }
  .iv-acc > summary { padding: 16px 18px; font-size: 17px; }
  .iv-acc__body { padding: 4px 18px 20px; }
  .iv-band { padding: 22px 20px; }
  .iv-form--inline .wpcf7-form { grid-template-columns: 1fr; }
  .iv-form--inline .iv-f__submit { grid-column: 1; grid-row: auto; }
  .iv-form--inline .iv-f__topics { grid-row: auto; }
  body.iv-site .iv-form--inline input.wpcf7-submit { width: 100%; }
  .iv-footer__in { grid-template-columns: 1fr; padding-top: 40px; }
  .iv-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .iv-modal { padding: 16px; }
  body.iv-site .iv-float-event { left: 12px; bottom: 12px; padding: 4px 12px 4px 4px; font-size: 13px; }
  .iv-float-event img { width: 32px; height: 32px; }
}
@media (max-width: 479px) {
  body.iv-site .iv-btn-cta { display: none; }
  body.iv-site .iv-burger { margin-left: auto; }
  .iv-grid--4, .iv-grid--3 { grid-template-columns: 1fr; }
  body.iv-site .iv-card--h { grid-template-columns: 40% 1fr; }
  body.iv-site .iv-card--row { grid-template-columns: 120px minmax(0, 1fr); }
  .iv-logos__track { --n: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .iv-slider__slide, body.iv-site .iv-card, .iv-logos__item, .iv-nav { transition: none !important; }
}
