/*
Theme Name: Forward Edu - Official Portal
Theme URI: https://forward.edu.vn
Description: Trung tâm Ngoại ngữ Forward - Du học Đài Loan (Since 1999) - 馥華全球教育機構.
Version: 2.0.0
Text Domain: forward-edu
*/

/* --- SELF-HOSTED ZERO-FOUT UNIFIED WEB FONTS (BE VIETNAM PRO + PLUS JAKARTA SANS + COLOR FLAGS + CJK) --- */
@font-face {
  font-family: 'Twemoji Country Flags';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/twemoji-country-flags.woff2') format('woff2');
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
}
@font-face {
  font-family: 'Twemoji Country Flags';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/twemoji-country-flags.woff2') format('woff2');
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
}
@font-face {
  font-family: 'Forward CJK';
  font-style: normal;
  font-weight: 100 600;
  src: local('PingFang TC'), local('Noto Sans TC'), local('Microsoft JhengHei'), local('Heiti TC');
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3200-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
@font-face {
  font-family: 'Forward CJK';
  font-style: normal;
  font-weight: 700 900;
  src: local('PingFang TC Semibold'), local('PingFang TC'), local('Noto Sans TC Bold'), local('Noto Sans TC'), local('Microsoft JhengHei');
  unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3200-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
  size-adjust: 101.8%;
  ascent-override: 101.9%;
  descent-override: 21.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Be Vietnam Pro Fallback';
  src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
  size-adjust: 102.5%;
  ascent-override: 99.8%;
  descent-override: 26.0%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-700-italic.woff2') format('woff2');
}

/* --- CSS RESET & TOKENS --- */
:root {
  /* ========================================================
     OFFICIAL FORWARD BRAND GUIDELINE SYSTEM
     馥華全球教育機構 - FORWARD INTERNATIONAL LEARNING ACADEMY
     5 Core Guideline Swatches:
     1. Sky Blue:     #0393d8 (Cerulean / Primary Active Blue)
     2. Lime Green:   #aecf04 (Mascot E-BO / Growth / Visa 99%)
     3. Navy Blue:    #171c60 (Midnight Academic / Prestige Anchor)
     4. Crimson Red:  #eb0012 (Taiwan Flag / Hot / Urgency)
     5. Warm Orange:  #f99c2e (High-Converting CTA / Amber Energy)
     ======================================================== */
  --guideline-sky: #0393d8;
  --guideline-lime: #aecf04;
  --guideline-navy: #171c60;
  --guideline-crimson: #eb0012;
  --guideline-orange: #f99c2e;

  /* Brand Primary Scales */
  --forward-blue: #0e65ad;           /* Core Forward Royal Blue */
  --forward-blue-hover: #0b5491;
  --forward-blue-dark: #073a64;      /* Deep Oceanic Academic Blue */
  --forward-blue-soft: #e8f3fc;      /* Soft sky-tinted background */
  
  --forward-sky: var(--guideline-sky);
  --forward-sky-hover: #0280bc;
  --forward-sky-soft: #eef7fd;
  
  --forward-navy: var(--guideline-navy);
  --forward-navy-dark: #0f1240;
  --forward-navy-soft: #edeef7;
  
  --forward-lime: var(--guideline-lime);
  --forward-lime-dark: #728c00;
  --forward-lime-soft: #f4fadc;
  
  --forward-crimson: var(--guideline-crimson);
  --forward-crimson-hover: #c4000f;
  --forward-crimson-soft: #fef0f1;

  --forward-orange: var(--guideline-orange);
  --forward-orange-hover: #e5871a;
  --forward-orange-dark: #cc7005;
  --forward-orange-soft: #fef6ec;
  
  --forward-gold: #c39b53;           /* Forward Academic Seal Gold */
  --forward-gold-hover: #ab8441;
  --forward-gold-soft: #fbf6ee;
  --forward-gold-accent: #ffd277;
  
  --forward-emerald: #13a86c;        /* Shield Disc Green */
  --forward-emerald-soft: #e8f8f1;

  /* Semantic Component Aliases */
  --primary-navy: var(--forward-navy);
  --primary-navy-dark: var(--forward-navy-dark);
  --primary-sky: var(--forward-sky);
  --primary-sky-light: var(--forward-sky-soft);
  
  --coral: var(--forward-orange);
  --coral-hover: var(--forward-orange-hover);
  --coral-soft: var(--forward-orange-soft);
  
  --green: var(--forward-lime);
  --green-dark: var(--forward-lime-dark);
  --green-soft: var(--forward-lime-soft);
  
  --yellow: var(--forward-gold);
  --yellow-soft: var(--forward-gold-soft);
  
  --ink: #0c233c;
  --ink-soft: #334e68;
  --ink-muted: #627d98;
  --ink-light: #9fb3c8;
  
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f8fc;
  --surface-warm: #f6fafd;
  
  --line: #e2ecf5;
  --line-strong: #cbdcf0;
  
  --shadow-xs: 0 1px 3px rgba(14, 101, 173, 0.04);
  --shadow-sm: 0 4px 14px rgba(14, 101, 173, 0.08);
  --shadow-md: 0 12px 28px rgba(14, 101, 173, 0.10);
  --shadow-lg: 0 24px 48px rgba(14, 101, 173, 0.14);
  --shadow-hover: 0 14px 30px rgba(14, 101, 173, 0.22);

  --font-display: 'Twemoji Country Flags', 'Be Vietnam Pro', 'Be Vietnam Pro Fallback', 'Forward CJK', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: var(--font-display);
  --font-body: 'Twemoji Country Flags', 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', 'Forward CJK', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-tc: 'Twemoji Country Flags', 'Plus Jakarta Sans', 'Forward CJK', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', 'Heiti TC', sans-serif;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 86px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(14, 101, 173, 0.32) transparent;
  }
}

@media (hover: hover) and (pointer: fine) {
  html {
    scrollbar-gutter: stable;
  }
}

/* Zero-CLS Layout Stability Guards */
#homeUniGrid {
  min-height: 620px;
}
.fw-view-count {
  font-variant-numeric: tabular-nums;
}

/* MODERN SLENDER SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(14, 101, 173, 0.32);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 101, 173, 0.62);
  border: 1px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
  background: var(--forward-blue);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Internal smooth scrollbars for menus/modals */
.primary-nav::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar,
.mega-menu::-webkit-scrollbar,
.modal::-webkit-scrollbar {
  width: 5px;
}

.primary-nav::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb,
.mega-menu::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb {
  background: rgba(14, 101, 173, 0.22);
  border-radius: 99px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--surface-warm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

html:has(body.is-locked),
html.is-locked {
  overflow: hidden;
}

body.is-locked {
  overflow: visible;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

/* --- TYPOGRAPHY & UTILITIES --- */

/* BRAND DOTS HELPER */
.brand-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}
.b-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.b-dot--cyan { background: var(--guideline-sky); }
.b-dot--lime { background: var(--guideline-lime); }
.b-dot--navy { background: var(--guideline-navy); }
.b-dot--crimson { background: var(--guideline-crimson); }
.b-dot--gold { background: var(--guideline-orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin: 0 0 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.section-pad {
  padding: 84px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--forward-navy);
  margin: 0;
}

.section-head h2 em,
.section-head--center h2 em,
.hero__title em,
.intro-band h2 em,
.about-lead h2 em,
.language h2 em,
.testimonial__header h2 em,
.testimonial h2 em,
.contact-info h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  padding-block: 0.12em;
  margin-block: -0.12em;
}

.section-head__desc {
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 440px;
  line-height: 1.65;
  margin: 0;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: var(--transition);
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s;
}

.button:hover span {
  transform: translateX(3px);
}

.button--primary {
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 101, 173, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button--primary:hover {
  background: linear-gradient(135deg, var(--forward-blue-hover) 0%, var(--forward-sky-hover) 100%);
  box-shadow: 0 8px 24px rgba(14, 101, 173, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.button--coral {
  background: linear-gradient(135deg, var(--forward-orange) 0%, #f37300 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(249, 156, 46, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.button--coral:hover {
  background: linear-gradient(135deg, #faa845 0%, #e66500 100%);
  box-shadow: 0 10px 28px rgba(249, 156, 46, 0.52);
  transform: translateY(-2px);
  color: #ffffff;
}

.button--navy {
  background: var(--forward-navy);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(23, 28, 96, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.button--navy:hover {
  background: var(--forward-navy-dark);
  box-shadow: 0 8px 24px rgba(23, 28, 96, 0.42);
  transform: translateY(-2px);
  color: #ffffff;
}

.button--gold {
  background: linear-gradient(135deg, var(--forward-gold) 0%, #dfa838 100%);
  color: #062846;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(195, 155, 83, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button--gold:hover {
  background: linear-gradient(135deg, #b88f44 0%, #ce9829 100%);
  box-shadow: 0 6px 22px rgba(195, 155, 83, 0.48);
  transform: translateY(-2px);
}

.button--dark {
  background: var(--primary-navy);
  color: #fff;
}

.button--dark:hover {
  background: var(--primary-navy-dark);
}

.button--outline {
  border-color: var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
}

.button--outline:hover {
  background: var(--primary-navy);
  color: #fff;
}

.button--small {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}

.button--large {
  padding: 14px 26px;
  font-size: 14.5px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.pill-tag--hot {
  background: var(--forward-crimson-soft);
  color: var(--forward-crimson);
  border: 1px solid #fed2d5;
}

.pill-tag--salary {
  background: var(--forward-lime-soft);
  color: #556b00;
  border: 1px solid #d9eda3;
}

.pill-tag--scholarship {
  background: var(--forward-orange-soft);
  color: #b45309;
  border: 1px solid #fed7aa;
}

.pill-tag--tech {
  background: var(--forward-navy-soft);
  color: var(--forward-navy);
  border: 1px solid #d5d8f0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-navy);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--coral);
}

/* --- TOP ANNOUNCEMENT BAR (LIGHT MODE) --- */
.announcement {
  min-height: 38px;
  height: auto;
  background: #f0f7fe;
  color: var(--ink-soft);
  font-size: 12px;
  border-bottom: 1px solid #d9e8f6;
  position: relative;
  z-index: 91;
}

.announcement__inner {
  min-height: 38px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  white-space: nowrap;
}

.announcement__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.announcement__group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.announcement__badge {
  background: linear-gradient(135deg, var(--forward-orange) 0%, var(--forward-crimson) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(249, 156, 46, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement__link {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.announcement__link b {
  color: var(--forward-blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.announcement__link:hover {
  color: var(--forward-blue-hover);
}

.announcement__divider {
  color: #cbd5e1;
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.announcement__time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.dot-live {
  width: 7px;
  height: 7px;
  background: var(--forward-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(174, 207, 4, 0.35);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(174, 207, 4, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(174, 207, 4, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(174, 207, 4, 0); }
}

.announcement__cta {
  color: var(--forward-blue);
  font-weight: 700;
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement__cta:hover {
  color: var(--forward-orange);
  text-decoration: underline;
}

/* Responsive Announcement Bar */
@media (max-width: 1240px) {
  .announcement__time {
    display: none;
  }
}

@media (max-width: 1080px) {
  .announcement__cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .announcement {
    height: auto;
    min-height: 38px;
  }

  .announcement__inner {
    height: auto;
    min-height: 38px;
    padding: 5px 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .announcement__left,
  .announcement__group {
    gap: 6px;
    font-size: 11.5px;
  }

  .announcement__badge {
    font-size: 9.5px;
    padding: 2px 7px;
  }
}

/* --- SITE HEADER --- */
.site-header,
.site-header.is-scrolled {
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  background: #ffffff;
  border-bottom: 1px solid rgba(14, 101, 173, 0.1);
  box-shadow: 0 4px 20px rgba(9, 38, 68, 0.06);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.admin-bar .site-header,
body.admin-bar .site-header.is-scrolled {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .site-header.is-scrolled {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .site-header,
  body.admin-bar .site-header.is-scrolled {
    top: 0;
  }
}

.site-header .container {
  width: min(1460px, calc(100% - 40px));
  max-width: 1460px;
  margin: 0 auto;
  padding: 0;
}

.nav-wrap {
  height: 100%;
  position: relative; /* Container boundary for centered mega-menu */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo-img,
.site-header.is-scrolled .brand__logo-img {
  height: 44px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
}

/* PRIMARY NAVIGATION - Spread out comfortably with elegant spacing & larger readable typography */
.primary-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  margin: 0 clamp(8px, 1.4vw, 24px);
  gap: 3px;
  font-size: 16px;
  font-weight: 600;
}

.nav-item,
.nav-dropdown__trigger {
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  gap: 6px;
  transition: color 0.2s ease;
  padding: 0 7px;
  position: relative;
  white-space: nowrap; /* Prevent multi-line word wrapping */
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Smooth Underline Active Indicator for all Nav items */
.nav-item::after,
.nav-dropdown__trigger::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 6px;
  right: 6px;
  height: 2.5px;
  background: var(--forward-blue);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item:hover,
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown.is-open .nav-dropdown__trigger {
  color: var(--forward-blue);
}

.nav-item:hover::after,
.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown.is-open .nav-dropdown__trigger::after {
  opacity: 1;
  transform: translateY(0);
}

.chevron {
  width: 9px;
  height: 9px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s;
  flex-shrink: 0;
  margin-left: 2px;
  color: var(--ink-muted);
}

.nav-dropdown:hover .chevron,
.nav-dropdown.is-open .chevron {
  transform: rotate(180deg);
  color: var(--forward-blue);
}

/* DROPDOWN & MEGA MENU ARCHITECTURE */
.nav-dropdown {
  height: 100%;
  position: relative;
}

/* Make Mega-Menu relative to the container nav-wrap to prevent off-screen clipping */
.nav-dropdown--mega {
  position: static;
}

.dropdown-menu,
.mega-menu {
  position: absolute;
  top: 100%;
  background: #ffffff;
  border: 1px solid rgba(14, 101, 173, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -6px rgba(9, 38, 68, 0.14), 0 2px 8px rgba(14, 101, 173, 0.04);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.22s;
  z-index: 100;
  pointer-events: none;
}

/* Invisible hover bridge pseudo-element: prevents cursor dropout when navigating between button and menu */
.dropdown-menu::before,
.mega-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:hover .mega-menu,
.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* REGULAR DROPDOWN MENU */
.dropdown-menu {
  left: 0;
  transform: translateY(8px);
  width: 396px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 12px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.dropdown-item:hover {
  background: #f0f7fe;
  border-color: #dbeafe;
  transform: translateX(3px);
}

.dropdown-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--forward-navy);
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.18s;
  text-wrap: balance;
}

.dropdown-item:hover strong {
  color: var(--forward-blue);
}

.dropdown-item small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.45;
  margin-top: 3px;
  font-weight: 400;
  text-wrap: pretty;
}

/* CUSTOMIZED RICH DROPDOWNS: LANGUAGE & JOURNAL */
.dropdown-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dropdown-item__header strong {
  margin: 0;
}

.dropdown-item--sub {
  padding: 8px 11px;
  border-radius: 6px;
}

.dropdown-item--sub strong {
  font-size: 13.5px;
  font-weight: 600;
  text-wrap: balance;
}

.dropdown-item--sub small {
  font-size: 12px;
  margin-top: 2px;
  text-wrap: pretty;
}

/* Pill Tags */
.pill-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 7px;
  border-radius: 99px;
  display: inline-block;
  white-space: nowrap;
  line-height: 1.35;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.pill-tag--new { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.pill-tag--exam { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.pill-tag--hot { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.pill-tag--work { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
.pill-tag--cost { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.pill-tag--culture { background: #ccfbf1; color: #0f766e; border: 1px solid #99f6e4; }
.pill-tag--visa { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.pill-tag--gold { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }

@media (min-width: 1025px) {
  /* Dropdown for Học tiếng Trung */
  .nav-dropdown--language .dropdown-menu {
    width: 412px;
  }

  /* 2-Column Dropdown for Học tiếng Trung */
  .dropdown-menu--language-2col {
    width: 750px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
  }

  .nav-dropdown--language:hover .dropdown-menu--language-2col,
  .nav-dropdown--language.is-open .dropdown-menu--language-2col {
    transform: translateX(-50%) translateY(0);
  }

  /* Dropdown for Cẩm nang du học */
  .dropdown-menu--journal {
    width: 385px;
    right: 0;
    left: auto;
  }
}

.dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-col--library {
  background: #fbfdff;
  border: 1px solid rgba(14, 101, 173, 0.08);
  border-radius: 10px;
  padding: 8px;
}

.dropdown-col__header {
  padding: 4px 8px 8px;
  border-bottom: 1px solid rgba(14, 101, 173, 0.08);
  margin-bottom: 4px;
}

.dropdown-col-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dropdown-col-tag--gold {
  color: #b45309;
}

.dropdown-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--forward-navy);
  text-wrap: balance;
}

.dropdown-col-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-col__items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* MEGA MENU STYLING */
.mega-menu {
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(1240px, calc(100% - 32px));
  max-width: 1240px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 220px 1.12fr 1.38fr;
  gap: 22px;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .mega-menu {
    width: min(1040px, calc(100% - 24px));
    grid-template-columns: 200px 1fr 1.25fr;
    gap: 18px;
    padding: 20px 20px;
  }
}

.nav-dropdown--mega:hover .mega-menu,
.nav-dropdown--mega.is-open .mega-menu {
  transform: translateX(-50%) translateY(0);
}

.mega-menu__intro {
  padding-right: 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.badge-tag {
  display: inline-block;
  background: var(--forward-blue-soft);
  color: var(--forward-blue);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  width: fit-content;
  border: 1px solid rgba(14, 101, 173, 0.15);
}

.mega-menu__intro h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--forward-navy);
  margin: 0 0 10px;
  text-wrap: balance;
}

.mega-menu__intro h3 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-block: 0.08em;
  margin-block: -0.08em;
}

.mega-menu__intro p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0 0 14px;
  text-wrap: pretty;
}

.mega-menu__mascot-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f9fd;
  border: 1px solid #dbeafe;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-top: auto;
  margin-bottom: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mega-menu__mascot-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 101, 173, 0.12);
}

.mega-menu__mascot-preview img {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.mega-menu__mascot-preview small {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.mega-menu__intro .text-link {
  font-size: 13px;
  color: var(--forward-blue);
}

.mega-menu__intro .text-link:hover {
  color: var(--forward-blue-hover);
}

/* MEGA MENU SECTION HEADERS */
.mega-menu__col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.mega-menu__col-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega-col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--forward-blue);
  flex-shrink: 0;
}

.mega-col-icon svg {
  display: block;
  stroke: var(--forward-blue);
}

.mega-menu__col-title {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--forward-navy);
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

.mega-menu__col-subtitle {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.35;
  text-wrap: pretty;
}

.mega-menu__quick-link {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--forward-blue);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  background: var(--forward-blue-soft);
  transition: all 0.2s;
  white-space: nowrap;
}

.mega-menu__quick-link:hover {
  background: var(--forward-blue);
  color: #fff;
}

/* PROGRAMS LIST IN MEGA MENU */
.mega-programs-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-item {
  display: block;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-bottom: 2px;
}

.mega-item:hover {
  background: #f0f7fe;
  border-color: #dbeafe;
  transform: translateX(3px);
}

.mega-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mega-item strong {
  font-size: 13.8px;
  color: var(--ink);
  font-weight: 700;
  transition: color 0.18s;
  text-wrap: balance;
}

.mega-item:hover strong {
  color: var(--forward-blue);
}

.mega-item small {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.38;
  text-wrap: pretty;
}

.pill-tag--language {
  background: #eef7fd;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.pill-tag--overseas {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

/* GEOGRAPHIC REGION SECTION (18 PROVINCES & CITIES) */
/* GEOGRAPHIC MASTER-DETAIL HOVER SECTION (18 PROVINCES & CITIES) */
.mega-geo-master {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  margin-bottom: 8px;
  min-height: 220px;
}

.mega-geo-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.geo-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.geo-nav-item:hover {
  background: #f0f7fe;
  border-color: #bfdbfe;
  transform: translateX(2px);
}

.geo-nav-item.is-active {
  background: #ffffff;
  border-color: var(--forward-blue);
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.1);
}

.geo-nav-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.geo-nav-bullet--north { background: var(--forward-blue); }
.geo-nav-bullet--central { background: var(--forward-gold); }
.geo-nav-bullet--south { background: var(--forward-emerald); }
.geo-nav-bullet--east { background: var(--forward-sky); }

.geo-nav-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.geo-nav-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--forward-navy);
  font-family: var(--font-display);
  line-height: 1.25;
}

.geo-nav-item.is-active .geo-nav-title {
  color: var(--forward-blue);
}

.geo-nav-meta {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.25;
  margin-top: 2px;
}

.geo-nav-chevron {
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  transition: transform 0.18s, color 0.18s;
  flex-shrink: 0;
}

.geo-nav-item:hover .geo-nav-chevron,
.geo-nav-item.is-active .geo-nav-chevron {
  color: var(--forward-blue);
  transform: translateX(2px);
}

/* DYNAMIC HOVER DISPLAY PANES */
.mega-geo-display {
  position: relative;
  min-height: 100%;
}

.geo-pane {
  display: none;
  height: 100%;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  animation: fadeInGeoPane 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.geo-pane.is-active {
  display: flex;
}

@keyframes fadeInGeoPane {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.geo-pane__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.geo-pane__title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}

.geo-region-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
}

.geo-region-tag--north { background: #e0f2fe; color: #0284c7; }
.geo-region-tag--central { background: #fef3c7; color: #b45309; }
.geo-region-tag--south { background: #dcfce7; color: #15803d; }
.geo-region-tag--east { background: #e0e7ff; color: #4338ca; }

.geo-pane__count {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
}

.geo-pane__hint {
  font-size: 10px;
  color: #94a3b8;
  font-style: italic;
}

.geo-pane__desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0 0 10px;
  text-wrap: pretty;
}

.geo-pane__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.geo-city-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.16s ease;
  line-height: 1.25;
}

.geo-city-chip:hover {
  background: #eff6ff;
  color: var(--forward-blue);
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(14, 101, 173, 0.12);
}

.geo-pane__view-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 6px 10px;
  background: #f0f7fe;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--forward-blue);
  text-decoration: none;
  transition: all 0.18s ease;
}

.geo-pane__view-btn:hover {
  background: var(--forward-blue);
  color: #ffffff;
}

.geo-pane__view-btn .btn-arrow {
  transition: transform 0.18s ease;
}

.geo-pane__view-btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* GEO FOOTER TOOL */
.mega-geo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0f7fe 0%, #e6f2fc 100%);
  border: 1px solid #bfdbfe;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-top: 2px;
}

.mega-geo-footer:hover {
  background: linear-gradient(135deg, #e4f0fc 0%, #d5e9fa 100%);
  border-color: var(--forward-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 101, 173, 0.12);
}

.mega-geo-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: var(--forward-blue);
  flex-shrink: 0;
}

.mega-geo-footer__icon svg {
  display: block;
  stroke: var(--forward-blue);
}

.mega-geo-footer__content {
  flex: 1;
  min-width: 0;
}

.mega-geo-footer__content strong {
  display: block;
  font-size: 13.5px;
  color: var(--forward-navy);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.mega-geo-footer__content small {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.35;
  margin-top: 2px;
  text-wrap: pretty;
}

.mega-geo-footer__arrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--forward-blue);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.mega-geo-footer:hover .mega-geo-footer__arrow {
  transform: translate(2px, -2px);
}

/* MOBILE SWITCHER */
.mega-mobile-switcher {
  display: none;
}

/* ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-actions .button--small {
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: var(--surface-alt);
  color: var(--coral);
}

.icon-search {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.icon-search::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 2px;
  background: currentColor;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --- HERO SECTION --- */
.hero {
  background: radial-gradient(circle at 85% 15%, rgba(0, 149, 217, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(195, 155, 83, 0.09) 0%, transparent 40%),
              linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
  padding: 50px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 145, 210, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.kicker-badge {
  background: var(--forward-navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(23, 28, 96, 0.25);
}

.kicker-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-navy);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--primary-navy);
  margin: 0 0 22px;
}

.hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 34px;
}

.hero__lead b {
  color: var(--primary-navy);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-pill__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-pill:hover .trust-pill__icon {
  transform: scale(1.08);
}

.trust-pill__icon--blue {
  background: var(--forward-lime-soft);
  color: #556b00;
  border: 1px solid #d9eda3;
  box-shadow: 0 2px 8px rgba(174, 207, 4, 0.18);
}

.trust-pill__icon--gold {
  background: var(--forward-orange-soft);
  color: var(--forward-orange-dark);
  border: 1px solid #fed7aa;
  box-shadow: 0 2px 8px rgba(249, 156, 46, 0.18);
}

.trust-pill__icon--emerald {
  background: var(--forward-sky-soft);
  color: var(--forward-sky);
  border: 1px solid #bae6fd;
  box-shadow: 0 2px 8px rgba(3, 147, 216, 0.18);
}

.trust-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
}

.trust-pill small {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

/* HERO VISUAL & VECTOR ASIA CAMPUS MAP */
.hero__visual {
  position: relative;
  width: 100%;
}

.hero-map-frame {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid rgba(14, 101, 173, 0.16);
  box-shadow: 0 16px 40px rgba(14, 101, 173, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  user-select: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-map-frame:hover {
  box-shadow: 0 22px 50px rgba(14, 101, 173, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(3, 147, 216, 0.35);
}

/* VECTOR SVG MAP PROPORTIONS & ELEMENTS */
.hero-map-svg {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1024 / 808;
}

/* Country hover effects */
.country-shape {
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.country-group {
  cursor: pointer;
}

.country-group:hover .country-shape {
  filter: brightness(1.08) drop-shadow(0 0 8px rgba(3, 147, 216, 0.5));
}

/* Callout Badge interactive hover */
.badge-group {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.badge-group:hover {
  transform: scale(1.05);
  filter: brightness(1.05) drop-shadow(0 4px 14px rgba(14, 101, 173, 0.4));
}

/* Typography on Map */
.label-en {
  font-family: var(--font-display), "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  fill: var(--forward-navy);
  letter-spacing: 0.6px;
}

.label-zh-city {
  font-family: var(--font-tc), "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-weight: 600;
  font-size: 22.5px;
  fill: #22374c;
  letter-spacing: 1px;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.badge-text {
  font-family: var(--font-tc), "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-weight: 700;
  font-size: 23px;
  fill: #ffffff;
  text-anchor: middle;
  letter-spacing: 1.5px;
}

.badge-text-en {
  font-family: var(--font-display), var(--font-tc), "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 21.5px;
  fill: #ffffff;
  text-anchor: middle;
  letter-spacing: 0.6px;
}

/* Hoang Sa & Truong Sa styling */
.archipelago-group {
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.archipelago-group:hover {
  filter: drop-shadow(0 0 8px rgba(3, 147, 216, 0.85));
}

.archipelago-zone {
  fill: rgba(3, 147, 216, 0.12);
  stroke: var(--guideline-sky);
  stroke-width: 1.2;
  stroke-dasharray: 3.5 2.5;
}

.archipelago-island {
  fill: var(--guideline-sky);
  stroke: #0a739d;
  stroke-width: 0.5;
}

.archipelago-title {
  font-family: var(--font-display), var(--font-tc), "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  fill: #064b73;
  paint-order: stroke;
  stroke: rgba(237, 248, 254, 0.95);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.archipelago-sub {
  font-family: var(--font-display), var(--font-tc), "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  fill: var(--forward-crimson);
  paint-order: stroke;
  stroke: rgba(237, 248, 254, 0.95);
  stroke-width: 2.8px;
  stroke-linejoin: round;
}

html[lang="zh-TW"] .archipelago-title,
html[lang="zh"] .archipelago-title {
  font-size: 12.5px;
  letter-spacing: 0.5px;
}

html[lang="zh-TW"] .archipelago-sub,
html[lang="zh"] .archipelago-sub {
  font-size: 11px;
}

@keyframes mapPulseRing {
  0% { r: 3.5px; opacity: 0.88; }
  100% { r: 12px; opacity: 0; }
}

.pulse-circle {
  fill: none;
  stroke: var(--forward-crimson);
  stroke-width: 1.3;
  animation: mapPulseRing 2.2s infinite ease-out;
}

/* INTERACTIVE TOOLTIP */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(23, 28, 96, 0.95);
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 8px;
  font-family: var(--font-body), sans-serif;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(9, 38, 68, 0.3);
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.18s ease;
  z-index: 40;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-tooltip.is-visible {
  opacity: 1;
}

/* HERO MASCOT E-BO POSITIONED ELEGANTLY AT BOTTOM CORNER */
.hero-mascot-wrapper {
  position: absolute;
  right: -16px;
  bottom: -20px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  animation: floatMascot 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-mascot-wrapper .mascot-speech {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--forward-sky);
  padding: 5px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(3, 147, 216, 0.2);
  margin-bottom: 2px;
  margin-right: 12px;
  text-align: right;
  position: relative;
  white-space: nowrap;
}

.hero-mascot-wrapper .mascot-speech::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 25px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--forward-sky);
}

.hero-mascot-wrapper .mascot-speech span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--forward-blue);
  line-height: 1.25;
}

.hero-mascot-wrapper .mascot-speech small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--forward-navy);
  line-height: 1.25;
}

.hero-mascot {
  width: 165px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(2, 63, 106, 0.22));
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.hero-mascot-wrapper:hover .hero-mascot {
  transform: scale(1.04) rotate(2deg);
}

/* RESPONSIVE HERO MAP OVERRIDES */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__visual {
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-mascot-wrapper {
    right: -10px;
    bottom: -16px;
  }

  .hero-mascot {
    width: 130px;
  }
}

@media (max-width: 640px) {
  .hero-map-frame {
    border-radius: 16px;
  }

  .hero-mascot-wrapper {
    right: -6px;
    bottom: -12px;
  }

  .hero-mascot-wrapper .mascot-speech {
    display: none;
  }

  .hero-mascot {
    width: 95px;
  }
}

/* HERO STATS STRIP (LIGHT MODE) */
.hero-stats-strip {
  margin-top: 50px;
  background: #ffffff;
  color: var(--ink);
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(14, 101, 173, 0.06);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--forward-blue);
  line-height: 1;
  text-shadow: none;
  transition: transform 0.25s ease;
}

.stat-item:hover .stat-number {
  transform: translateY(-2px);
}

.stat-item:nth-child(1) .stat-number { color: #e67e17; }
.stat-item:nth-child(2) .stat-number { color: var(--forward-navy); }
.stat-item:nth-child(3) .stat-number { color: var(--forward-sky); }
.stat-item:nth-child(4) .stat-number { color: var(--forward-blue); }
.stat-item:nth-child(5) .stat-number { color: #556b00; }

.stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- SECTION 1: ABOUT FORWARD (#about) --- */
.intro-band {
  background: #fff;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: flex-start;
}

.about-lead h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--primary-navy);
  margin: 0 0 20px;
}

.about-lead__desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 24px;
}

.about-quote {
  background: var(--surface-warm);
  border-left: 4px solid var(--forward-blue); box-shadow: 0 4px 14px rgba(14, 101, 173, 0.06);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 0 0 32px;
  position: relative;
}

.quote-symbol {
  font-family: Georgia, serif;
  font-size: 42px;
  color: var(--coral);
  line-height: 0.5;
  display: block;
  margin-bottom: 6px;
}

.about-quote blockquote {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.about-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.campuses-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 20px;
}

.about-campuses {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.campus-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
}

.campus-card:hover {
  background: #fff;
  border-color: var(--primary-sky);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.campus-card--taiwan {
  background: linear-gradient(135deg, #fdfbf7 0%, #f6f0e4 100%);
  border: 1.5px solid var(--forward-gold);
  box-shadow: 0 4px 14px rgba(195, 155, 83, 0.15);
}

.campus-card__badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-navy);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.campus-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

.campus-card p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  line-height: 1.4;
}

.campus-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--forward-blue);
}
.campus-card__meta a {
  color: var(--forward-blue);
}
.campus-card__meta a:hover {
  color: var(--forward-sky);
}

.campus-card__meta a:hover {
  text-decoration: underline;
}

/* --- SECTION 2: DU HỌC ĐÀI LOAN (#programs) --- */
.programs {
  background: var(--surface-warm);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.14);
  border-color: var(--forward-blue);
}

.program-card--featured {
  border: 2px solid var(--forward-blue);
  box-shadow: 0 12px 28px rgba(14, 101, 173, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f2f8fd 100%);
}

.program-card--blue {
  border-top: 4px solid var(--forward-blue);
}
.program-card--emerald {
  border-top: 4px solid var(--forward-lime);
}
.program-card--sky {
  border-top: 4px solid var(--forward-sky);
}
.program-card--gold {
  border-top: 4px solid var(--forward-orange);
}
.program-card--cyan {
  border-top: 4px solid var(--forward-navy);
}
.program-card--warm {
  border-top: 4px solid var(--forward-crimson);
}

.program-card--blue:hover { border-color: var(--forward-blue); }
.program-card--emerald:hover { border-color: var(--forward-lime); }
.program-card--sky:hover { border-color: var(--forward-sky); }
.program-card--gold:hover { border-color: var(--forward-orange); }
.program-card--cyan:hover { border-color: var(--forward-navy); }
.program-card--warm:hover { border-color: var(--forward-crimson); }

.program-card__icon--blue { color: var(--forward-blue); }
.program-card__icon--emerald { color: #556b00; }
.program-card__icon--sky { color: var(--forward-sky); }
.program-card__icon--gold { color: var(--forward-orange-dark); }
.program-card__icon--cyan { color: var(--forward-navy); }
.program-card__icon--warm { color: var(--forward-crimson); }

.program-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.program-number {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-muted);
}

.program-card--dark .program-number {
  color: rgba(255, 255, 255, 0.4);
}

.program-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--primary-navy);
}

.program-card--featured .program-tag {
  background: var(--forward-blue);
  color: #ffffff;
}

.program-tag--hot {
  background: linear-gradient(135deg, var(--forward-orange) 0%, var(--forward-crimson) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(249, 156, 46, 0.35);
}

.program-card__icon {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 8px;
  line-height: 1.25;
}

.program-card__sub {
  font-size: 12px;
  color: var(--coral);
  margin: 0 0 16px;
}

.program-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-card__features li {
  font-size: 13px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.program-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--forward-blue);
}
.card-link:hover {
  color: var(--forward-sky);
}


.card-link b {
  transition: transform 0.2s;
}

.program-card:hover .card-link b {
  transform: translate(3px, -3px);
}

.programs__helper {
  margin-top: 40px;
}

.helper-box {
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 50%, #eff6ff 100%);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(14, 101, 173, 0.08);
  border: 1.5px solid #bae6fd;
  border-left: 6px solid var(--forward-blue);
}

.helper-box .button--coral {
  background: linear-gradient(135deg, var(--forward-orange) 0%, #f37300 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(249, 156, 46, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.helper-box .button--coral:hover {
  background: linear-gradient(135deg, #faa845 0%, #e66500 100%);
  box-shadow: 0 8px 26px rgba(249, 156, 46, 0.5);
}

.helper-mascot {
  width: 90px;
  height: auto;
  flex-shrink: 0;
}

.helper-content {
  flex: 1;
}

.helper-content h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--forward-navy);
  margin: 0 0 6px;
}

.helper-content p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 768px) {
  .helper-box {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px 20px;
  }
  .helper-mascot {
    width: 80px;
    margin: 0 auto;
  }
  .helper-box .button--coral {
    width: 100%;
    justify-content: center;
  }
}

/* --- SECTION 3: DỊCH VỤ DU HỌC (#services) --- */
.services {
  background: #fff;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--forward-blue);
  box-shadow: 0 10px 24px rgba(14, 101, 173, 0.12);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--forward-blue);
  background: var(--forward-blue-soft);
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}

.step-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 8px;
}

.step-card p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* Guarantees styled in Service Section (#services-guarantees) */

/* --- SECTION 4: BẢN ĐỒ CÁC TRƯỜNG ĐẠI HỌC (#map) - 100% LIGHT THEME --- */
.map-section {
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 50%, #f0f7fe 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

.map-header .eyebrow {
  color: var(--forward-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.map-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--forward-navy);
  margin: 0 0 16px;
}

.map-header h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-block: 0.12em;
  margin-block: -0.12em;
}

.map-header p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0;
  line-height: 1.6;
}

.region-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.region-tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--forward-navy);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.region-tab:hover,
.region-tab.is-active {
  background: linear-gradient(135deg, #0095d9 0%, #0e65ad 100%);
  color: #ffffff;
  border-color: #0095d9;
  box-shadow: 0 4px 14px rgba(0, 149, 217, 0.3);
}

.uni-cards-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #ddecfa;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(14, 101, 173, 0.06);
}

.uni-cards-search {
  flex: 1.4 1 330px;
  min-width: 250px;
  position: relative;
  display: flex;
  align-items: center;
}

.uni-cards-search svg {
  position: absolute;
  left: 14px;
  color: var(--forward-blue);
  pointer-events: none;
}

.uni-cards-search input {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 40px;
  border-radius: 12px;
  border: 1px solid #d5e4f2;
  background: #f8fbff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forward-navy);
  transition: var(--transition);
}

.uni-cards-search input:focus {
  outline: none;
  background: #ffffff;
  border-color: #0095d9;
  box-shadow: 0 0 0 3px rgba(0, 149, 217, 0.14);
}

.uni-cards-search__clear {
  position: absolute;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: #e2ecf6;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.uni-cards-search__clear:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.uni-cards-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.uni-cards-filters select {
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d5e4f2;
  background: #f8fbff;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--forward-navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.uni-cards-filters select:focus {
  outline: none;
  border-color: #0095d9;
  background: #ffffff;
}

.uni-cards-reset-btn {
  height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.uni-cards-reset-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.uni-cards-map-btn {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f2d52 0%, #0e65ad 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 101, 173, 0.22);
  transition: var(--transition);
}

.uni-cards-map-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 101, 173, 0.32);
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.uni-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #dfebf6;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 6px 20px rgba(14, 101, 173, 0.05);
}

.uni-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(14, 101, 173, 0.13);
  border-color: #93c5fd;
}

.uni-card__cover {
  position: relative;
  height: 132px;
  width: 100%;
  background: linear-gradient(135deg, #0c4675 0%, #1167aa 60%, #349fda 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.uni-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.uni-card:hover .uni-card__cover img {
  transform: scale(1.06);
}

.uni-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.45) 0%, rgba(10, 25, 47, 0.08) 50%, rgba(10, 25, 47, 0.55) 100%);
  pointer-events: none;
}

.uni-card__cover-top {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.uni-card__city-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.uni-card__sector-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.uni-card__sector-pill--public {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
}

.uni-card__sector-pill--private {
  background: rgba(17, 103, 170, 0.92);
  color: #ffffff;
}

.uni-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.uni-card__brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.uni-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #ddeaf6;
  background: #ffffff;
  padding: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.08);
}

.uni-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.uni-card__logo-fallback {
  font-size: 11px;
  font-weight: 800;
  color: var(--forward-navy);
  text-align: center;
  line-height: 1.1;
}

.uni-card__title-wrap {
  flex: 1;
  min-width: 0;
}

.uni-card h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 3px;
  color: var(--forward-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uni-card__sub {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.uni-zh {
  font-family: var(--font-tc);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--forward-blue);
  margin: 0;
}

.uni-abbr-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 5px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.uni-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.uni-features li {
  font-size: 12.5px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uni-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--forward-blue);
  font-weight: 800;
}

.uni-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf3f9;
}

.uni-card__tags {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}

.uni-card__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--forward-blue-soft);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--forward-blue);
  white-space: nowrap;
}

.uni-card__tag--more {
  background: #f1f5f9;
  color: #475569;
}

.uni-card__map-link {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #0e65ad;
  background: #f0f7fe;
  border: 1px solid #cde3f8;
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.uni-card__map-link:hover {
  background: #0e65ad;
  border-color: #0e65ad;
  color: #ffffff;
}

.uni-cards-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid #dfebf6;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(14, 101, 173, 0.04);
}

.uni-cards-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.uni-cards-page-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.uni-page-btn,
.uni-page-num {
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid #d5e4f2;
  background: #f8fbff;
  color: var(--forward-navy);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.uni-page-btn:hover:not(:disabled),
.uni-page-num:hover:not(.is-active) {
  background: #e6f3fc;
  border-color: #7cc4f5;
  color: #0e65ad;
}

.uni-page-num.is-active {
  background: linear-gradient(135deg, #0095d9 0%, #0e65ad 100%);
  color: #ffffff;
  border-color: #0095d9;
  box-shadow: 0 4px 12px rgba(0, 149, 217, 0.28);
}

.uni-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.uni-page-dots {
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  padding: 0 4px;
  user-select: none;
}

.map-cta {
  text-align: center;
  margin-top: 38px;
}

.map-cta p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 auto 16px;
  max-width: 640px;
}

.map-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.map-cta__explore-btn {
  max-width: 100%;
}

.map-cta__explore-btn svg {
  flex-shrink: 0;
}

.map-cta__btn-text {
  font-weight: 800;
}

/* Laptop & Tablet Responsive Tuning for University Section (#map) */
@media (max-width: 1260px) {
  .uni-cards-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .uni-cards-search {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
  .uni-cards-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
    gap: 8px;
    width: 100%;
  }
  .uni-cards-filters select {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1150px) {
  .university-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }
  .uni-cards-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .uni-cards-map-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .region-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 28px 8px 2px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
  }
  .region-tabs::-webkit-scrollbar {
    display: none;
  }
  .region-tab {
    padding: 8px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }
  .uni-cards-toolbar {
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .uni-cards-search input {
    font-size: 16px;
    height: 42px;
  }
  .uni-cards-filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .uni-cards-filters #home-uni-track {
    grid-column: 1 / -1;
  }
  .uni-cards-reset-btn,
  .uni-cards-map-btn {
    grid-column: 1 / -1;
    height: 40px;
  }
  .university-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }
  .uni-card__cover {
    height: 128px;
  }
  .uni-card__body {
    padding: 14px 15px 15px;
  }
  .uni-cards-pagination {
    flex-direction: column;
    align-items: center;
    padding: 12px 14px;
    gap: 10px;
    text-align: center;
  }
  .uni-page-btn,
  .uni-page-num {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }
  .map-cta {
    margin-top: 28px;
  }
  .map-cta__explore-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 12px 16px;
    font-size: 13.5px;
  }
}

@media (max-width: 420px) {
  .uni-cards-filters {
    grid-template-columns: 1fr;
  }
  .uni-card__footer {
    flex-wrap: wrap;
  }
  .uni-card__map-link {
    margin-left: auto;
  }
}

/* --- SECTION 5: HỌC TIẾNG TRUNG (#language) --- */
.language {
  background: var(--surface-warm);
}

.language__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.language__visual {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  align-self: start;
  border-radius: var(--radius-lg);
}

.language__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 42, 72, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  color: #fff;
  z-index: 2;
}

.language__label span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #ffd277;
  letter-spacing: 0.1em;
}

.language__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
}

.language__hanzi-stack {
  position: absolute;
  top: 20px;
  left: 20px;
  opacity: 0.2;
  font-family: var(--font-tc);
  font-weight: 900;
  color: #fff;
  line-height: 0.8;
  pointer-events: none;
}

.language__hanzi {
  font-size: 240px;
  display: block;
}

.language__hanzi--small {
  font-size: 120px;
  display: block;
  transform: translateX(100px);
}

.language__mascot-spot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.language__mascot-img {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
}

.language__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #fff;
  z-index: 3;
}

.language__label span {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.language__label strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.language__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--primary-navy);
  margin: 0 0 18px;
}

.language__copy>p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 28px;
}

.language__course-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.course-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: var(--transition);
}

.course-item:hover {
  border-color: var(--forward-orange);
  box-shadow: 0 10px 24px rgba(14, 101, 173, 0.08);
  transform: translateX(4px);
}

.course-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  line-height: 1.2;
}

.course-badge--hot {
  color: var(--forward-crimson);
  background: var(--forward-crimson-soft);
  border: 1px solid #fed2d5;
}

.course-badge--green {
  color: #556b00;
  background: var(--forward-lime-soft);
  border: 1px solid #d9eda3;
}

.course-badge--blue {
  color: var(--forward-sky);
  background: var(--forward-sky-soft);
  border: 1px solid #bae6fd;
}

.course-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 6px;
}

.course-item p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}

.language__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* THƯ VIỆN HỌC LIỆU SHOWCASE BOX */
.language__library-box {
  margin-top: 24px;
  margin-bottom: 28px;
  background: #f8fbfe;
  border: 1px solid rgba(14, 101, 173, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.language__library-header {
  margin-bottom: 18px;
}

.language__library-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--forward-navy);
  margin: 6px 0 4px;
}

.language__library-header p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}

.language__library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.library-card {
  background: #ffffff;
  border: 1px solid rgba(14, 101, 173, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
  scroll-margin-top: 100px;
}

.library-card:hover {
  border-color: var(--forward-blue);
  box-shadow: 0 4px 14px rgba(14, 101, 173, 0.08);
  transform: translateY(-2px);
}

.library-card__icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.library-card__body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--forward-navy);
  line-height: 1.35;
}

.library-card__body small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.45;
  margin-top: 3px;
}

/* Smooth anchor offset */
.course-item,
.journal-card {
  scroll-margin-top: 100px;
}

/* Highlight target anchor */
.course-item:target,
.library-card:target,
.journal-card:target {
  border-color: var(--forward-blue);
  box-shadow: 0 0 0 3px rgba(14, 101, 173, 0.18), 0 8px 24px rgba(14, 101, 173, 0.12);
  animation: pulseTarget 1.5s ease-out;
}

@keyframes pulseTarget {
  0% { transform: scale(1.02); }
  50% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* --- SECTION 6: CẨM NANG DU HỌC (#journal) --- */
.journal {
  background: #fff;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
  align-items: stretch;
}

/* Base Journal Card */
.journal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(12, 35, 64, 0.03);
}

.journal-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px rgba(14, 101, 173, 0.1);
}

/* Featured Lead Card (Left) */
.journal-card--featured {
  flex-direction: column;
}

.journal-card__thumb-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f1f5f9;
}

.journal-card--featured .journal-card__thumb-box {
  aspect-ratio: 16 / 10;
}

.journal-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

.journal-card:hover .journal-card__img {
  transform: scale(1.05);
}

.journal-thumb-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.journal-thumb-badge--gold {
  background: linear-gradient(135deg, #c39b53, #dfa938);
}

.journal-card--featured .journal-card__content {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.journal-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.journal-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
}
a.journal-tag {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}
a.journal-tag:hover {
  opacity: 0.85;
}
.journal-tag--gold { background: #fef3c7; color: #b45309; }
.journal-tag--blue { background: #e0f2fe; color: #0284c7; }
.journal-tag--emerald { background: #dcfce7; color: #15803d; }
.journal-tag--coral { background: #ffedd5; color: #c2410c; }

.journal-date {
  font-size: 12px;
  color: var(--ink-muted);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  line-height: 1.4;
}

.journal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.journal-meta-sep {
  color: var(--ink-light);
}

.journal-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  line-height: 1.35;
}

.journal-card--featured .journal-card__title {
  font-size: 21px;
  font-weight: 700;
}

.journal-card__title a {
  color: var(--forward-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.journal-card__title a:hover {
  color: var(--forward-blue);
}

.journal-card__excerpt {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card--featured .journal-card__excerpt {
  -webkit-line-clamp: 3;
  margin-bottom: 18px;
}

.journal-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journal-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--forward-blue);
  text-decoration: none;
  transition: all 0.2s;
}

.journal-readmore:hover {
  color: var(--forward-navy);
  transform: translateX(2px);
}

.journal-author {
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* Side Articles Column (Right) */
.journal-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journal-card--side {
  display: grid;
  grid-template-columns: 216px 1fr;
  align-items: center;
  padding: 12px 16px 12px 12px;
  gap: 16px;
  flex: 1 1 0;
  min-height: 0;
}

.journal-card__thumb-box--side {
  position: relative;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  border-radius: 10px;
}

.journal-card--side .journal-card__content {
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journal-card--side .journal-card__meta {
  margin-bottom: 6px;
}

.journal-card--side .journal-card__title {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card--side .journal-card__excerpt {
  font-size: 12px;
  margin: 0 0 6px;
  -webkit-line-clamp: 2;
  line-height: 1.45;
}

.journal-card--side .journal-readmore {
  margin-top: auto;
}

/* Responsive Journal */
@media (max-width: 1024px) {
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .journal-side {
    gap: 20px;
  }
  .journal-card--side {
    flex: initial;
    min-height: auto;
    grid-template-columns: 216px 1fr;
    padding: 12px 16px 12px 12px;
    gap: 16px;
  }
  .journal-card--side .journal-card__content {
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .journal-card--side {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .journal-card__thumb-box--side {
    aspect-ratio: 16 / 10;
    border-radius: 0;
    min-height: auto;
    height: auto;
  }
  .journal-card--side .journal-card__content {
    padding: 14px 16px;
  }
  .journal-card--featured .journal-card__title {
    font-size: 18px;
  }
}

/* --- TESTIMONIALS (LIGHT MODE) --- */
.testimonial {
  background: #f8fafc;
  color: var(--ink);
  padding: 78px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonial__header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
}

.testimonial__header .eyebrow {
  color: var(--forward-blue);
}

.testimonial__header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.018em;
  color: var(--forward-navy);
  margin: 0;
}

.testimonial__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2ecf5;
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(14, 101, 173, 0.05);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(14, 101, 173, 0.12);
  border-color: #bae6fd;
}

.testimonial-stars {
  color: #f59d2f;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-style: italic;
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forward-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}

.testimonial__avatar--blue { background: var(--forward-sky); }
.testimonial__avatar--green { background: var(--forward-emerald); }

.testimonial__person strong {
  display: block;
  font-size: 14px;
  color: var(--forward-navy);
}

.testimonial__person span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

/* --- SECTION 7: LIÊN HỆ & TƯ VẤN (#contact) --- */
.contact-cta {
  background: var(--surface-warm);
  padding: 84px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--primary-navy);
  margin: 0 0 18px;
}

.contact-info>p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 28px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.contact-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-feature-item:hover .feature-icon {
  transform: scale(1.08);
}

.feature-icon--blue {
  background: var(--forward-sky-soft);
  color: var(--forward-sky);
  border: 1px solid #bae6fd;
  box-shadow: 0 2px 8px rgba(3, 147, 216, 0.15);
}

.feature-icon--emerald {
  background: var(--forward-lime-soft);
  color: #556b00;
  border: 1px solid #d9eda3;
  box-shadow: 0 2px 8px rgba(174, 207, 4, 0.15);
}

.feature-icon--gold {
  background: var(--forward-orange-soft);
  color: var(--forward-orange-dark);
  border: 1px solid #fed7aa;
  box-shadow: 0 2px 8px rgba(249, 156, 46, 0.15);
}

.contact-hotline-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.hotline-item small {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
}

.hotline-item a {
  font-size: 15px;
  font-weight: 700;
  color: var(--forward-blue);
}
.hotline-item a:hover {
  color: var(--forward-sky);
}

.hotline-item a:hover {
  text-decoration: underline;
}

/* FORM WRAPPER */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3.5px solid var(--forward-blue);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.12);
  scroll-margin-top: 100px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-form-wrap.is-form-highlighted {
  border-color: var(--forward-sky);
  box-shadow: 0 0 0 4px rgba(3, 147, 216, 0.18), 0 18px 40px rgba(14, 101, 173, 0.18);
}

.consultation-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 6px;
}

.form-desc {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.required {
  color: var(--coral);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 63, 106, 0.1);
}

.button--submit {
  width: 100%;
  padding: 15px;
  font-size: 15px;
  margin-top: 8px;
}

.form-notice {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
}

.form-notice--success {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid #c5e1a5;
}

.form-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-notice--loading {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.form-notice a.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  padding: 8px 16px;
}

.form-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin: 10px 0 0;
  text-align: center;
}

.form-secure-note svg {
  color: #4e6300;
  flex-shrink: 0;
}

/* --- RECRUITMENT SECTION (#recruitment) --- */
.recruitment {
  background: linear-gradient(180deg, #f8fbfd 0%, #edf5fc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recruitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  width: 100%;
  max-width: 100%;
}

.job-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.12);
  border-color: rgba(14, 101, 173, 0.3);
}

.job-card--featured {
  border-color: var(--forward-orange);
  box-shadow: 0 10px 28px rgba(249, 156, 46, 0.16);
  border-width: 1.5px;
}

.job-card__badge {
  display: inline-block;
  background: #e0f2fe;
  color: var(--forward-sky);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  border: 1px solid #bae6fd;
}

.job-card__badge--hot {
  background: var(--forward-crimson-soft);
  color: var(--forward-crimson);
  border-color: #fed2d5;
}

.job-card h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--forward-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}

.job-card__meta {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.job-card__list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.job-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #556b00;
  font-weight: 800;
}

.job-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.recruitment-banner {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--forward-blue);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-xs);
}

.recruitment-banner h4 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--forward-navy);
  margin: 0 0 6px;
}

.recruitment-banner p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* --- SITE FOOTER (LIGHT CORPORATE THEME) --- */
.site-footer {
  background: #f8fafc;
  color: var(--ink-soft);
  padding: 44px 0 20px;
  border-top: 3px solid var(--forward-blue);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.22fr 0.86fr 0.92fr 1.9fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 24px;
}

.brand--footer {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.brand--footer .brand__logo-img {
  height: 46px;
  width: auto;
  margin-bottom: 0;
}

.footer__brand-creds {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.footer__since {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--forward-blue);
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.4;
  color: var(--forward-orange);
  font-weight: 700;
  margin: 0 0 6px;
}

.footer__tagline b {
  font-size: 13.5px;
  color: var(--forward-navy);
  display: block;
  margin-top: 3px;
}

.footer__slogan {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.5;
}

.footer__socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__socials a {
  font-size: 12px;
  font-weight: 700;
  color: var(--forward-blue);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer__socials a:hover {
  background: var(--forward-orange);
  color: #ffffff;
  border-color: var(--forward-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 156, 46, 0.35);
}

.footer__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forward-navy);
  margin: 0 0 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--forward-blue);
  border-radius: 2px;
}

.footer__col--links a {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer__col--links a:last-child {
  margin-bottom: 0;
}

.footer__col--links a:hover {
  color: var(--forward-blue);
  transform: translateX(4px);
}

.footer__locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.location-item {
  font-size: 12px;
  color: var(--ink-soft);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 0;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.location-item b,
.location-item__name {
  color: var(--forward-navy);
  font-weight: 700;
  font-size: 12px;
}

.location-item__addr {
  color: var(--ink-soft);
}

.location-item__tel {
  color: var(--ink-muted);
  font-size: 11.5px;
  margin-top: 2px;
}

.location-item a {
  color: var(--forward-blue);
  font-weight: 600;
}

.location-item a:hover {
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  padding-right: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  color: var(--ink-muted);
}

.footer__copyright,
.footer__hours {
  margin: 0;
  line-height: 1.5;
}

.footer__bottom a {
  color: var(--forward-blue);
  font-weight: 600;
}

.back-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: var(--forward-blue);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
}

.back-top:hover {
  background: var(--forward-blue);
  color: #ffffff;
  border-color: var(--forward-blue);
}

/* --- FLOATING E-BO HELPER WIDGET (Tier 1: Large Desktop > 1440px — Pill Launcher CRO v12) --- */
.floating-ebo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.floating-ebo__toggle {
  height: 60px;
  padding: 6px 18px 6px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #003b71 0%, #0269b0 58%, #0284c7 100%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 59, 113, 0.34), 0 3px 10px rgba(2, 132, 199, 0.22);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-radius 0.2s ease, padding 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .floating-ebo__toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 59, 113, 0.42), 0 4px 12px rgba(2, 132, 199, 0.28);
  }
}

.floating-ebo__toggle:active {
  transform: scale(0.97);
}

.floating-ebo__avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.floating-ebo__img {
  width: 34px;
  height: auto;
  display: block;
}

.floating-ebo__online-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.floating-ebo__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.18;
  padding-right: 2px;
}

.floating-ebo__label-main {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.floating-ebo__label-sub {
  font-size: 11px;
  font-weight: 600;
  color: #bae6fd;
  white-space: nowrap;
}

.floating-ebo__badge {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.45);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-ebo__badge.is-read,
.floating-ebo.is-chat-open .floating-ebo__badge {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.floating-ebo__ping {
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(56, 189, 248, 0.72);
  border-radius: 999px;
  animation: fwEboPillPing 4.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes fwEboPillPing {
  0% { transform: scale(1); opacity: 0.7; }
  45%, 100% { transform: scale(1.12); opacity: 0; }
}

.floating-ebo__menu {
  position: absolute;
  bottom: 94px;
  right: 0;
  width: 348px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.floating-ebo.is-active .floating-ebo__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ebo-menu-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.ebo-menu-head img {
  width: 48px;
  height: auto;
}

.ebo-menu-head strong {
  display: block;
  font-size: 16px;
  color: var(--primary-navy);
}

.ebo-menu-head small {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.ebo-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ebo-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11.5px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s;
  text-align: left;
}

.ebo-link:hover {
  background: var(--surface);
}

.ebo-link--call { color: var(--coral); }
.ebo-link--zalo { color: #0284c7; }
.ebo-link--ai { color: #7c3aed; }

/* --- MODALS --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(2, 63, 106, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(2, 63, 106, 0.3);
  width: min(600px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 34px 36px;
  margin: auto;
  animation: modal-enter 0.25s ease-out;
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 26px;
  color: var(--ink-muted);
  line-height: 1;
}

.modal__close:hover {
  color: var(--coral);
}

/* LEAD SUCCESS POPUP MODAL */
.lead-success-panel {
  max-width: 480px;
  text-align: center;
  padding: 38px 28px 30px;
  border-radius: 20px;
}

.lead-success-mascot {
  margin-bottom: 14px;
}

.lead-success-mascot img {
  width: 110px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(239, 90, 42, 0.28));
  animation: mascot-bounce 1.6s ease-in-out infinite alternate;
}

@keyframes mascot-bounce {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.03); }
}

.lead-success-badge {
  display: inline-block;
  background: rgba(239, 90, 42, 0.12);
  color: var(--coral, #EF5A2A);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.lead-success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy, #023F6A);
  margin: 0 0 10px;
  line-height: 1.3;
}

.lead-success-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 22px;
}

.lead-success-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  text-align: left;
}

.lead-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}

.lead-success-row:last-child {
  margin-bottom: 0;
}

.lead-success-row .label {
  color: #64748b;
}

.lead-success-row .val {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-success-row .status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-weight: 600;
  font-size: 12px;
}

.lead-success-row .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lead-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-modal-action-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14.5px;
  text-decoration: none;
  font-weight: 600;
}

.lead-modal-dismiss-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
  margin-top: 2px;
  transition: color 0.2s;
}

.lead-modal-dismiss-btn:hover {
  color: var(--primary-navy, #023F6A);
}

/* SEARCH MODAL */
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--primary-navy);
  padding: 12px 0;
  margin: 20px 0 16px;
}

.search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 18px;
  color: var(--ink);
  background: transparent;
}

.search-form kbd {
  font-size: 11px;
  font-family: var(--font-display);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--ink-muted);
}

.search-suggestions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.search-suggestions span {
  font-size: 12px;
  color: var(--ink-muted);
}

.search-pill {
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  transition: var(--transition);
}

.search-pill:hover {
  background: var(--primary-sky-light);
  border-color: var(--primary-sky);
  color: var(--primary-navy);
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.search-result-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.search-result-item:hover {
  background: #fff;
  border-color: var(--coral);
  box-shadow: var(--shadow-xs);
}

.search-result-item strong {
  display: block;
  font-size: 14px;
  color: var(--primary-navy);
}

.search-result-item small {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 769px) {
  /* Announcement bar already shows VI | 中文 | EN cleanly above 768px; remove duplicate header dropdown */
  .nav-actions .lang-switch-dropdown {
    display: none;
  }
}

@media (min-width: 1161px) and (max-height: 760px) {
  .hero {
    padding: 32px 0 24px;
  }
  .hero__title {
    margin-bottom: 14px;
  }
  .hero__lead {
    margin-bottom: 20px;
  }
  .hero__actions {
    margin-bottom: 22px;
  }
  .hero-stats-strip {
    margin-top: 26px;
    padding: 20px 0;
  }
}

@media (max-width: 1150px) and (min-width: 961px) {
  .hero {
    padding: 44px 0 32px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
  }
  .hero__title {
    font-size: clamp(30px, 3.2vw, 48px);
  }
  .hero__lead {
    font-size: 15.5px;
    margin-bottom: 24px;
  }
  .hero__actions {
    margin-bottom: 28px;
  }
  .hero__trust {
    gap: 12px;
  }
  .trust-pill strong {
    font-size: 14px;
    white-space: nowrap;
  }
  .trust-pill small {
    font-size: 10.5px;
    white-space: nowrap;
  }
  .hero__visual {
    min-height: 360px;
  }
  .hero-photo-wrap {
    height: auto;
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__lead {
    max-width: 100%;
  }
  .hero__visual {
    min-height: 340px;
  }
  .hero-photo-wrap {
    left: 12px;
    right: 12px;
    height: auto;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-stats-grid .stat-item:last-child {
    grid-column: 1 / -1;
  }
  .hero-stats-grid .stat-item:nth-child(even)::after,
  .hero-stats-grid .stat-item:last-child::after {
    display: none;
  }
}

@media (max-width: 1150px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .university-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__top {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px 28px;
  }
  .footer__col--locations {
    grid-column: 1 / -1;
  }
  .footer__locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }
}

@media (max-width: 1150px) and (min-width: 1001px) {
  .service-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  .step-card {
    padding: 20px 14px;
  }
}

@media (max-width: 1000px) {
  .service-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1150px) and (min-width: 901px) {
  .recruitment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .recruitment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive Desktop Header Tuning (graceful fluid scaling across laptop viewports 1161px - 1380px) */
@media (max-width: 1380px) and (min-width: 1161px) {
  .site-header .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }

  .nav-wrap {
    gap: 10px;
  }

  .brand__logo-img,
  .site-header.is-scrolled .brand__logo-img {
    height: 38px;
    max-width: 145px;
  }

  .primary-nav {
    margin: 0 4px;
    font-size: 14.5px;
    gap: 2px;
  }

  .nav-item,
  .nav-dropdown__trigger {
    padding: 0 6px;
    gap: 4px;
    font-size: 14.5px;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 6px;
    margin-left: auto;
  }

  .nav-actions .button--small {
    padding: 7px 11px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .lang-switch-btn {
    padding: 5px 10px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 1220px) and (min-width: 1161px) {
  .site-header .container {
    padding: 0 10px;
  }

  .brand__logo-img,
  .site-header.is-scrolled .brand__logo-img {
    height: 36px;
    max-width: 138px;
  }

  .primary-nav {
    margin: 0 2px;
    font-size: 13.5px;
    gap: 1px;
  }

  .nav-item,
  .nav-dropdown__trigger {
    padding: 0 4px;
    gap: 3px;
    font-size: 13.5px;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .nav-tocfl-btn {
    display: none;
  }

  .nav-actions .button--small {
    padding: 7px 11px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .lang-switch-btn {
    padding: 5px 8px;
    font-size: 12.5px;
    white-space: nowrap;
  }
}

.mobile-nav-backdrop,
.mobile-nav-ctas {
  display: none;
}

@media (max-width: 1160px) {
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(12, 35, 60, 0.52);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 70px;
    min-height: 70px;
    max-height: 70px;
  }

  body.is-nav-open-scrolled {
    padding-top: 70px;
  }

  .site-header.is-scrolled.is-nav-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
  }

  body.admin-bar .site-header.is-scrolled.is-nav-open {
    top: 32px;
  }
  
  .nav-toggle {
    display: flex;
    order: 3;
  }
  
  .primary-nav {
    position: fixed;
    top: var(--fw-mobile-nav-top, 70px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    height: auto;
    max-height: calc(100vh - var(--fw-mobile-nav-top, 70px));
    max-height: calc(100dvh - var(--fw-mobile-nav-top, 70px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(12, 35, 60, 0.22);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 28px;
    gap: 0;
    display: none;
  }
  
  .primary-nav.is-open {
    display: flex;
  }
  
  .nav-item,
  .nav-dropdown__trigger {
    height: 54px;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    padding: 0 6px;
    font-size: 16.5px;
    font-weight: 600;
  }

  .nav-item::after,
  .nav-dropdown__trigger::after {
    display: none;
  }
  
  .nav-dropdown {
    height: auto;
  }
  
  .dropdown-menu,
  .mega-menu {
    position: static;
    transform: none !important;
    width: 100% !important;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu::before,
  .mega-menu::before {
    display: none;
  }
  
  .nav-dropdown.is-open .dropdown-menu,
  .nav-dropdown.is-open .mega-menu {
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu--language-2col {
    display: none;
    flex-direction: column !important;
    width: 100% !important;
    transform: none !important;
    left: 0 !important;
    gap: 16px !important;
    padding: 12px 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: 1px solid var(--line) !important;
    box-sizing: border-box !important;
  }

  .nav-dropdown.is-open .dropdown-menu--language-2col {
    display: flex !important;
  }

  .dropdown-col {
    width: 100%;
    box-sizing: border-box;
  }

  .dropdown-col--library {
    background: #f8fbfe !important;
    border: 1px solid rgba(14, 101, 173, 0.12) !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    margin-top: 6px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .dropdown-menu--journal {
    width: 100% !important;
    right: auto !important;
    left: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: 1px solid var(--line) !important;
    box-sizing: border-box !important;
  }
  
  .mega-menu__intro {
    display: none;
  }

  /* Mobile Mega Menu Switcher & Panels */
  .mega-mobile-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #e9f2fa;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .mega-switcher-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-muted);
    border-radius: 8px;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .mega-switcher-btn.is-active {
    background: #ffffff;
    color: var(--forward-blue);
    box-shadow: 0 2px 6px rgba(14, 101, 173, 0.12);
  }

  .mega-menu__column {
    display: none;
  }

  .mega-menu__column.is-mobile-active {
    display: block;
    animation: fadeInMenu 0.2s ease;
  }

  @keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mega-geo-master {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    margin-bottom: 12px;
  }

  .mega-geo-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .geo-nav-item {
    padding: 8px 8px;
  }

  .nav-dropdown.is-open .mega-menu {
    display: flex;
    flex-direction: column;
    padding-bottom: 32px;
  }
  
  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav-actions .button--small {
    padding: 7px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .nav-actions .nav-tocfl-btn {
    display: none;
  }

  .mobile-nav-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-ctas .button--small {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .nav-actions .button--small {
    display: none;
  }
}

@media (max-width: 380px) {
  .mobile-nav-ctas {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header.is-scrolled.is-nav-open {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .site-header.is-scrolled.is-nav-open {
    top: 0;
  }
}

/* ========================================================
   ENRICHED COMPONENTS & FORWARD BRAND EXTENSIONS
   ======================================================== */

/* Trust Pill Icon Highlights */
.trust-pill__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-pill__icon--blue { background: #e8f3fc; color: var(--forward-blue); }
.trust-pill__icon--gold { background: #fbf6ee; color: var(--forward-gold); }
.trust-pill__icon--emerald { background: #e8f8f1; color: var(--forward-emerald); }

.card-icon--gold { background: #fbf6ee; color: var(--forward-gold); }
.card-icon--blue { background: #e8f3fc; color: var(--forward-blue); }

/* About Section Country Presence & Kicker */
.about-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.kicker-badge--gold {
  background: linear-gradient(135deg, #c39b53, #e5b244);
  color: #fff;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(195, 155, 83, 0.3);
}
.about-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}
.country-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.country-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--forward-blue);
  color: var(--forward-blue);
}
.country-tag--tw {
  border-color: rgba(14, 101, 173, 0.35);
  background: #f0f7fe;
  color: var(--forward-blue);
  font-weight: 700;
}
.country-tag--vn {
  border-color: rgba(19, 168, 108, 0.35);
  background: #f0fbf6;
  color: #0d8353;
  font-weight: 700;
}

/* About Mascot Bio Card */
.about-mascot-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f9fe 100%);
  border: 1px solid #d2e6f9;
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 28px 0;
  box-shadow: 0 8px 24px rgba(14, 101, 173, 0.08);
  position: relative;
  overflow: hidden;
}
.about-mascot-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 149, 217, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-mascot-img {
  width: 95px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(14, 101, 173, 0.15));
  transition: transform 0.35s ease;
}
.about-mascot-card:hover .about-mascot-img {
  transform: scale(1.08) rotate(4deg);
}
.about-mascot-content {
  flex: 1;
}
.about-mascot-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forward-blue);
  background: #e1f0fc;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}
.about-mascot-content h4 {
  font-size: 18px;
  color: var(--forward-navy);
  margin: 0 0 6px;
  font-weight: 700;
}
.about-mascot-content p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.mascot-skills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mascot-skills > span {
  font-size: 12px;
  color: var(--forward-blue);
  background: #fff;
  border: 1px solid #dbeafe;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.mascot-skills > span b {
  color: #c39b53;
  margin-right: 4px;
}

/* Why Choose Forward Section */
.why-forward {
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 50%, #f0f7fe 100%);
  position: relative;
}
.section-head--center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 820px;
  margin: 0 auto 48px;
}
.section-head--center .section-head__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--forward-navy);
  box-shadow: var(--shadow-xs);
  margin-bottom: 16px;
}
.section-head--center h2 {
  text-align: center;
  margin-bottom: 16px;
}
.section-head--center .section-head__desc {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.why-card {
  background: #fff;
  border: 1px solid #e1ecf6;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(14, 101, 173, 0.05);
  display: flex;
  flex-direction: column;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.12);
  border-color: var(--forward-blue);
}
.why-card__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #e2ecf5;
  line-height: 1;
}
.why-card:hover .why-card__num {
  color: #cbdff3;
}
.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}
.why-card:hover .why-card__icon {
  transform: scale(1.12);
}
.why-card__icon--blue { background: var(--forward-blue-soft); color: var(--forward-blue); border: 1px solid #c7e2f9; }
.why-card__icon--gold { background: var(--forward-lime-soft); color: #556b00; border: 1px solid #d9eda3; }
.why-card__icon--sky { background: var(--forward-sky-soft); color: var(--forward-sky); border: 1px solid #bae6fd; }
.why-card__icon--emerald { background: var(--forward-orange-soft); color: #b45309; border: 1px solid #fed7aa; }
.why-card__icon--navy { background: var(--forward-crimson-soft); color: var(--forward-crimson); border: 1px solid #fed2d5; }
.why-card__icon--lime { background: var(--forward-navy-soft); color: var(--forward-navy); border: 1px solid #d5d8f0; }

.why-card:nth-child(1):hover { border-color: var(--forward-blue); }
.why-card:nth-child(2):hover { border-color: var(--forward-lime); }
.why-card:nth-child(3):hover { border-color: var(--forward-sky); }
.why-card:nth-child(4):hover { border-color: var(--forward-orange); }
.why-card:nth-child(5):hover { border-color: var(--forward-crimson); }
.why-card:nth-child(6):hover { border-color: var(--forward-navy); }
.why-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--forward-navy);
  margin: 0 0 10px;
  line-height: 1.4;
}
.why-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* Why Banner with Soaring Mascot - LIGHT THEME */
.why-banner {
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 50%, #eff6ff 100%);
  border: 1.5px solid #bae6fd;
  border-left: 6px solid var(--forward-blue);
  border-radius: var(--radius-lg);
  padding: 38px 44px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.08);
  overflow: hidden;
}
.why-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(0, 149, 217, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.why-banner__mascot-wrap {
  text-align: center;
}
.why-banner__mascot {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(14, 101, 173, 0.18));
  animation: floatMascot 4s ease-in-out infinite;
}
@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.why-banner__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.why-banner__copy h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--forward-navy);
  font-style: italic;
}
.why-banner__copy p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.why-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Program Card Highlights & Mini Mascot Badges */
.program-card__badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.program-card__mascot-mini {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(14, 101, 173, 0.2));
  transition: transform 0.3s ease;
}
.program-card:hover .program-card__mascot-mini {
  transform: scale(1.18) rotate(6deg);
}
.program-card__icon--blue { background: #e8f3fc; color: var(--forward-blue); }
.program-card__icon--emerald { background: #e8f8f1; color: var(--forward-emerald); }
.program-card__icon--sky { background: #eef7fd; color: var(--forward-sky); font-weight: 700; font-family: var(--font-tc); font-size: 20px; }
.program-card__icon--gold { background: #fbf6ee; color: var(--forward-gold); }
.program-card__icon--cyan { background: #e0f2fe; color: #0284c7; }
.program-card__icon--warm { background: #fdf2f2; color: #d9383a; }

.program-card--blue { border-top: 4px solid var(--forward-blue); }
.program-card--emerald { border-top: 4px solid var(--forward-emerald); }
.program-card--sky { border-top: 4px solid var(--forward-sky); }
.program-card--cyan { border-top: 4px solid var(--forward-sky); }
.program-card--gold { border-top: 4px solid var(--forward-gold); }
.program-card--warm { border-top: 4px solid #d9383a; }

.helper-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffd277;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* --- SERVICE GUARANTEES & MASCOT PLEDGE (BENTO TRUST SHOWCASE) --- */
.service-guarantees-wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

/* Left Card: 3 Guarantees */
.service-guarantees {
  background: #ffffff;
  border: 1.5px solid #dce8f5;
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 10px 30px rgba(14, 101, 173, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guarantees-header {
  margin-bottom: 18px;
}

.guarantees-header .kicker-badge {
  background: var(--forward-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guarantees-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--forward-navy);
  margin: 8px 0 0;
  line-height: 1.3;
}

.guarantees-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantee-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 14px;
  background: #fbfdff;
  border: 1px solid #e3effa;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guarantee-card:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: var(--forward-blue);
  box-shadow: 0 6px 18px rgba(14, 101, 173, 0.09);
}

.guarantee-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.guarantee-card:hover .guarantee-card__icon {
  transform: scale(1.08);
}

.guarantee-card--sky .guarantee-card__icon {
  background: rgba(3, 147, 216, 0.12);
  color: var(--guideline-sky);
}

.guarantee-card--lime .guarantee-card__icon {
  background: rgba(174, 207, 4, 0.18);
  color: #5d7500;
}

.guarantee-card--orange .guarantee-card__icon {
  background: rgba(249, 156, 46, 0.15);
  color: #e67e17;
}

.guarantee-card__body {
  flex: 1;
  min-width: 0;
}

.guarantee-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.guarantee-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--forward-navy);
  letter-spacing: -0.01em;
}

.guarantee-card__desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

.guarantee-chip {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.guarantee-chip--sky {
  background: rgba(3, 147, 216, 0.1);
  color: var(--guideline-sky);
}

.guarantee-chip--lime {
  background: rgba(174, 207, 4, 0.18);
  color: #4e6300;
}

.guarantee-chip--orange {
  background: rgba(249, 156, 46, 0.15);
  color: #c86300;
}

/* Right Card: Mascot E-BO Pledge */
.service-mascot-pledge {
  background: linear-gradient(150deg, #f0f7fe 0%, #e6f3fd 50%, #d8ecfc 100%);
  border: 1.5px solid #b8dafc;
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(14, 101, 173, 0.08);
  position: relative;
}

.pledge-mascot-wrap {
  margin-bottom: 10px;
  position: relative;
}

.pledge-mascot {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(14, 101, 173, 0.22));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-mascot-pledge:hover .pledge-mascot {
  transform: scale(1.08) translateY(-4px);
}

.pledge-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pledge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forward-blue);
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.08);
  margin-bottom: 8px;
}

.pledge-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--forward-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}

.pledge-quote-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 101, 173, 0.14);
  border-radius: 12px;
  padding: 11px 15px;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(14, 101, 173, 0.04);
  width: 100%;
}

.pledge-quote-card p {
  font-size: 12px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.pledge-footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pledge-hotline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

.pledge-hotline b {
  color: var(--forward-navy);
  font-weight: 700;
}
.step-card__icon--blue { background: #e8f3fc; color: var(--forward-blue); }
.step-card__icon--emerald { background: #e8f8f1; color: var(--forward-emerald); }
.step-card__icon--gold { background: #fbf6ee; color: var(--forward-gold); }
.step-card__icon--sky { background: #eef7fd; color: var(--forward-sky); }
.step-card__icon--navy { background: #e6ebf1; color: var(--forward-navy); }

/* Language Section Enhanced Visual & 4 Skills (LIGHT THEME) */
.language__mascot-card {
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 50%, #f6fafd 100%);
  border: 1.5px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.08);
  position: relative;
  overflow: hidden;
}
.language__mascot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.language__mascot-card-header .badge-tag {
  background: var(--forward-blue-soft);
  color: var(--forward-blue);
  font-weight: 700;
  border: 1px solid #bfdbfe;
}
.language__hanzi-badge {
  display: flex;
  gap: 6px;
}
.zh-char {
  width: 32px;
  height: 32px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-tc);
  font-size: 16px;
  font-weight: 700;
}
.language__mascot-center {
  text-align: center;
  margin: 12px 0 24px;
  position: relative;
}
.language__mascot-hero {
  width: 160px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(14, 101, 173, 0.15));
  transition: transform 0.3s ease;
}
.language__mascot-card:hover .language__mascot-hero {
  transform: scale(1.05);
}
.language__mascot-bubble {
  background: #ffffff;
  color: var(--forward-navy);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: inline-block;
  box-shadow: 0 4px 14px rgba(14, 101, 173, 0.1);
  border: 1px solid #e2ecf5;
  font-size: 13px;
  margin-top: 10px;
}
.language__mascot-bubble b {
  color: var(--forward-blue);
  display: block;
}
.language__mascot-bubble small {
  color: var(--ink-muted);
  font-size: 11px;
}
.language__skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.skill-item {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.04);
  transition: var(--transition);
}
.skill-item:hover {
  background: #ffffff;
  border-color: var(--forward-blue);
  box-shadow: 0 4px 14px rgba(14, 101, 173, 0.12);
  transform: translateY(-2px);
}
.skill-char {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-tc);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.skill-char--blue { color: var(--forward-blue); background: #e8f3fc; }
.skill-char--sky { color: var(--forward-sky); background: #eef7fd; }
.skill-char--emerald { color: var(--forward-emerald); background: #e8f8f1; }
.skill-char--gold { color: var(--forward-gold); background: #fbf6ee; }
.skill-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: var(--forward-navy);
}
.skill-item small {
  font-size: 11px;
  color: var(--ink-muted);
  display: block;
}

/* FAQ Accordion Section */
.faq {
  background: #f7fafd;
}
.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}
.faq-mascot-card {
  background: #fff;
  border: 1px solid #d2e6f9;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(14, 101, 173, 0.08);
  position: sticky;
  top: 100px;
}
.faq-mascot-img {
  width: 140px;
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 6px 16px rgba(14, 101, 173, 0.2));
  transition: transform 0.3s ease;
}
.faq-mascot-card:hover .faq-mascot-img {
  transform: scale(1.06) rotate(-3deg);
}
.faq-mascot-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forward-blue);
  background: #e8f3fc;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.faq-mascot-card h4 {
  font-size: 18px;
  color: var(--forward-navy);
  margin: 0 0 8px;
}
.faq-mascot-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 20px;
}
.faq-list,
.fw-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e1ecf6;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.faq-item[open] {
  border-color: var(--forward-blue);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--forward-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question:hover {
  color: var(--forward-blue);
}
.faq-icon {
  font-size: 22px;
  font-weight: 400;
  color: var(--forward-blue);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  border-top: 1px dashed #e6eff7;
  margin-top: 4px;
  padding-top: 16px;
}
.faq-answer p {
  margin: 0;
}

/* Recruitment Banner with Career Mascot E-BO - LIGHT THEME */
.recruitment-banner {
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 50%, #eff6ff 100%);
  border: 1.5px solid #bfdbfe;
  border-left: 6px solid var(--forward-blue);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(14, 101, 173, 0.08);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.recruitment-banner__mascot-spot {
  flex-shrink: 0;
}
.recruitment-mascot {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(14, 101, 173, 0.15));
  transition: transform 0.3s ease;
}
.recruitment-banner:hover .recruitment-mascot {
  transform: scale(1.1) rotate(4deg);
}
.recruitment-banner__content {
  flex: 1;
}
.recruitment-banner__content h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin: 6px 0 6px;
  color: var(--forward-navy);
}
.recruitment-banner__content p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* Contact Mascot Badge */
.contact-mascot-pledge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #d2e6f9;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 20px 0 24px;
  box-shadow: var(--shadow-xs);
}
.contact-pledge-img {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}
.contact-mascot-pledge strong {
  display: block;
  font-size: 14px;
  color: var(--forward-navy);
}
.contact-mascot-pledge small {
  font-size: 12px;
  color: var(--ink-muted);
}
.feature-icon--blue { background: #e8f3fc; color: var(--forward-blue); }
.feature-icon--emerald { background: #e8f8f1; color: var(--forward-emerald); }
.feature-icon--gold { background: #fbf6ee; color: var(--forward-gold); }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .about-grid,
  .language__grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .language__visual {
    position: static;
  }
  
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .why-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }
  
  .why-banner__mascot {
    width: 140px;
    margin: 0 auto;
  }
  
  .why-banner__actions {
    justify-content: center;
  }
  
  .faq-layout {
    grid-template-columns: 1fr;
  }
  
  .faq-mascot-card {
    position: static;
  }
  
  .service-guarantees-wrap {
    grid-template-columns: 1fr;
  }
  
  .journal-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial__slider {
    grid-template-columns: 1fr;
  }
  
  .service-guarantees {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .announcement {
    height: auto;
    min-height: 0;
    padding: 6px 0;
    background: linear-gradient(180deg, #f3f9ff 0%, #eaf4fe 100%);
  }

  .container.announcement__inner {
    width: calc(100% - 24px);
    height: auto;
    min-height: 0;
    padding: 0;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    white-space: normal;
  }

  .announcement__right {
    display: none;
  }

  .announcement__left {
    width: 100%;
    flex-shrink: 1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 6px;
    white-space: normal;
  }

  .announcement__group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 6px;
    flex-shrink: 1;
    max-width: 100%;
  }

  .announcement__divider {
    display: none;
  }

  .announcement__badge {
    font-size: 9.5px;
    line-height: 1.2;
    padding: 4px 8px;
    letter-spacing: 0.05em;
  }

  .announcement__link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3.5px 9px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #cfe2f5;
    border-radius: var(--radius-pill);
    font-size: 11px;
    line-height: 1.25;
    color: var(--ink-soft);
    box-shadow: 0 1px 2px rgba(14, 101, 173, 0.06);
    -webkit-tap-highlight-color: transparent;
  }

  .announcement__link b {
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .announcement__link:hover,
  .announcement__link:active {
    background: #ffffff;
    border-color: var(--forward-blue);
    color: var(--forward-blue);
  }
}

@media (max-width: 560px) {
  .announcement {
    padding: 6px 0 7px;
  }

  .announcement__left {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .announcement__group {
    width: 100%;
    gap: 5px 6px;
  }
}

@media (max-width: 380px) {
  .container.announcement__inner {
    width: calc(100% - 16px);
  }

  .announcement__badge {
    font-size: 9px;
    padding: 3.5px 7px;
  }

  .announcement__group {
    gap: 4px 5px;
  }

  .announcement__link {
    padding: 3px 7px;
    font-size: 10.5px;
    gap: 2.5px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .announcement {
    padding: 4px 0;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
  }

  body.is-nav-open-scrolled {
    padding-top: 60px;
  }

  .brand__logo-img,
  .site-header.is-scrolled .brand__logo-img {
    max-height: 36px;
    width: auto;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 16px;
  }

  .trust-divider {
    display: none;
  }

  .trust-pill {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    min-width: 0;
  }

  .trust-pill__icon {
    width: 32px;
    height: 32px;
  }

  .trust-pill strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .trust-pill small {
    font-size: 10.5px;
    line-height: 1.3;
    word-break: break-word;
  }

  .hero__visual {
    min-height: auto;
  }

  .hero-photo-wrap {
    left: 0;
    right: 0;
    height: auto;
  }

  .hero-mascot {
    width: 96px;
  }
  
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stat-item::after {
    display: none !important;
  }
  
  .why-grid,
  .program-grid,
  .service-steps,
  .university-grid,
  .recruitment-grid {
    grid-template-columns: 1fr;
  }
  
  .language__skills-grid {
    grid-template-columns: 1fr;
  }
  
  .recruitment-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .form-row,
  .contact-hotline-box {
    grid-template-columns: 1fr;
  }
  
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    padding-bottom: 20px;
  }

  .footer__col--brand,
  .footer__col--locations {
    grid-column: 1 / -1;
  }

  .footer__locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
    padding-top: 14px;
    padding-right: 78px;
  }
}

@media (max-width: 560px) {
  .footer__locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FORWARD PRICING SHOWCASE (BẢNG CHI PHÍ DU HỌC ĐÀI LOAN - MENTOR 14.000.000 VNĐ & TIÊU CHUẨN 1.600 USD)
   Sampled directly from official Forward infographic & brand guidelines
   ========================================================================== */
.pricing-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 70px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(14, 101, 173, 0.06);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(14, 101, 173, 0.12);
}

/* MENTOR PACKAGE (14.000.000 VNĐ) */
.pricing-card--standard {
  border-top: 5px solid var(--forward-blue);
}

/* STANDARD FEATURED PACKAGE (1.600 USD) - 100% LIGHT THEME */
.pricing-card--vip {
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 40%, #ffffff 100%);
  color: var(--ink);
  border: 2px solid #f59d2f;
  box-shadow: 0 12px 36px rgba(245, 157, 47, 0.12), 0 4px 16px rgba(14, 101, 173, 0.05);
  position: relative;
  overflow: hidden;
}

.pricing-card--vip:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(245, 157, 47, 0.22), 0 6px 20px rgba(14, 101, 173, 0.08);
  border-color: #e0881b;
}

.pricing-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pricing-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
}

.pricing-tag--blue {
  background: var(--forward-blue-soft);
  color: var(--forward-blue);
}

.pricing-tag--gold {
  background: linear-gradient(135deg, #f59d2f 0%, #e0881b 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(245, 157, 47, 0.35);
}

.pricing-tag--crimson {
  background: var(--forward-crimson);
  color: #ffffff;
  animation: pulseBadge 2s infinite ease-in-out;
}

.pricing-subtag {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.pricing-mascot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 101, 173, 0.08);
  border: 1px solid rgba(14, 101, 173, 0.18);
  padding: 3px 10px 3px 6px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--forward-blue);
  margin-left: auto;
}

.pricing-mascot-pill--vip {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #b45309;
}

.pricing-mascot-mini {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.pricing-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--forward-navy);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 20px;
}

/* PRICE DISPLAY BOX */
.pricing-card__price-box {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.pricing-card__price-box--vip {
  background: #fffbf2;
  border: 1.5px solid #fed7aa;
  border-left: 5px solid #f59d2f;
  box-shadow: 0 2px 8px rgba(245, 157, 47, 0.08);
}

.pricing-card__price-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.pricing-card__price-kicker--gold {
  color: #b45309;
}

.pricing-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-val {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--forward-blue);
  line-height: 1;
}

.price-val--crimson {
  color: var(--forward-crimson) !important;
  font-weight: 900;
}

.price-val--gold {
  color: #d97706;
  text-shadow: 0 2px 10px rgba(217, 119, 6, 0.18);
}

.price-val--mentor {
  font-size: clamp(28px, 2.9vw, 36px);
  letter-spacing: -0.02em;
}

.pricing-card__price-row--std {
  flex-wrap: wrap;
  row-gap: 4px;
}

.price-val--std {
  font-size: clamp(26px, 2.75vw, 35px);
  letter-spacing: -0.02em;
}

.price-usd-sub {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 4px;
  white-space: nowrap;
}

.price-curr {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--forward-navy);
}

.price-curr--gold {
  color: #b45309;
}

.price-note {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 600;
  margin-top: 4px;
}

.price-note--gold {
  color: #92400e;
}

/* 3 PAYMENT MILESTONES (STANDARD PACKAGE INFOGRAPHIC) */
.milestones-block {
  background: var(--forward-blue-soft);
  border: 1px solid rgba(14, 101, 173, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.milestones-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--forward-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.milestone-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 101, 173, 0.1);
  box-shadow: 0 2px 6px rgba(14, 101, 173, 0.04);
}

.milestone-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: var(--forward-sky);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.milestone-text {
  flex: 1;
}

.milestone-text__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.milestone-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--forward-navy);
}

.milestone-amount {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 900;
  color: var(--forward-crimson);
  letter-spacing: -0.01em;
}

.milestone-text p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 3px 0 0;
  line-height: 1.4;
}

/* VIP MILESTONES BLOCK (SYMMETRIC TO STANDARD MILESTONES) */
.milestones-block--vip {
  background: #fffdf5;
  border: 1px solid #fed7aa;
}

.milestones-title--vip {
  color: #c2410c;
}

.milestone-step--vip {
  border-color: rgba(245, 157, 47, 0.2);
  box-shadow: 0 2px 6px rgba(245, 157, 47, 0.06);
}

.milestone-num--vip {
  background: linear-gradient(135deg, #f59d2f 0%, #ea580c 100%);
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}

.milestone-amount--green {
  color: #16a34a !important;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.milestone-amount--blue {
  color: var(--forward-blue);
  font-size: 12px;
  font-weight: 800;
  background: rgba(14, 101, 173, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* SPECIAL GIFT BOX (VIP PACKAGE) - LIGHT THEME (LEGACY / FALLBACK) */
.vip-gift-box {
  background: linear-gradient(135deg, #f7fee7 0%, #f0fdf4 100%);
  border: 1.5px solid #a3e635;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.2);
  position: relative;
}

.vip-gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #aecf04;
  color: #171c60;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.vip-gift-spark {
  color: #e70012;
  font-size: 13px;
}

.vip-gift-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vip-gift-mascot {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.vip-gift-copy h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--forward-navy);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.vip-gift-copy p {
  font-size: 12.5px;
  color: #334155;
  margin: 0;
  line-height: 1.45;
}

/* PRICING BREAKDOWN LISTS */
.pricing-breakdown {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  flex: 1;
}

.breakdown-group h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 6px;
}

.breakdown-group--included h4 {
  background: linear-gradient(135deg, #0095d9 0%, #1467b3 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 149, 217, 0.25);
}

.breakdown-group--excluded h4 {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

.breakdown-group--vip h4 {
  background: linear-gradient(135deg, #f59d2f 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(245, 157, 47, 0.3);
  font-size: 11.5px;
}

.breakdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
  padding-left: 20px;
}

.pricing-card--vip .breakdown-list li {
  color: var(--ink);
}

.breakdown-group--included .breakdown-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forward-emerald);
  font-weight: 800;
}

.breakdown-group--excluded .breakdown-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--ink-muted);
  font-weight: 800;
}

.breakdown-list--subtle li,
.pricing-card--vip .breakdown-list--subtle li {
  color: var(--ink-soft);
}

.breakdown-list--vip li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forward-emerald);
  font-weight: 800;
}

.text-lime-vip {
  color: #15803d !important;
  font-weight: 800;
}

/* PRICING NOTICE */
.pricing-notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0095d9;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.pricing-notice--vip {
  background: #fffdf8;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59d2f;
}

.notice-tag {
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  background: #0095d9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.notice-tag--gold {
  background: #f59d2f;
  color: #ffffff;
}

.pricing-notice p {
  font-size: 12px;
  color: #0c4a6e;
  line-height: 1.55;
  margin: 0;
}

.pricing-notice--vip p {
  color: #78350f;
}

/* CTAS */
.pricing-card__cta {
  margin-top: auto;
}

.button--block {
  width: 100%;
  display: flex;
  justify-content: center;
}

.button--vip-gold {
  background: linear-gradient(135deg, #f59d2f 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(245, 157, 47, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button--vip-gold:hover {
  background: linear-gradient(135deg, #e0881b 0%, #c2410c 100%);
  box-shadow: 0 12px 30px rgba(245, 157, 47, 0.45);
  transform: translateY(-2px);
}

/* SERVICES PROCESS WRAPPER */
.services-process-wrap {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.process-subhead {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.process-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forward-blue);
  background: var(--forward-blue-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 10px;
}

.process-subhead h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--forward-navy);
  margin: 0 0 8px;
}

.process-subhead p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* RESPONSIVE FOR PRICING */
@media (max-width: 960px) {
  .pricing-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ANCHOR SCROLL OFFSET */
#about,
#journey,
#why-choose-us,
#programs,
#services,
#service-pricing,
#services-steps,
#services-guarantees,
#language,
#faq,
#recruitment,
#contact {
  scroll-margin-top: 110px;
}

/* ========================================================
   SECTION 1B: HÀNH TRÌNH PHÁT TRIỂN (#journey)
   100% LIGHT MODE · INTERACTIVE 3-TIER SERPENTINE ROADMAP
   ======================================================== */
.journey-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 50%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.journey-interactive {
  max-width: 1180px;
  margin: 0 auto;
}

/* 1. SUBBAR: COUNTER, NAVIGATION & AUTOPLAY */
.journey-subbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #f0f7fe;
  border-radius: var(--radius-pill);
  border: 1px solid #dbeafe;
  margin-bottom: 24px;
}

.journey-counter-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.counter-nums b {
  color: var(--forward-blue);
  font-size: 16px;
  font-weight: 800;
}

.counter-year {
  background: var(--forward-blue);
  color: #ffffff;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.journey-controls-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.journey-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--forward-blue);
  cursor: pointer;
  transition: var(--transition);
}

.journey-nav-btn:hover:not(:disabled) {
  background: var(--forward-blue);
  color: #ffffff;
  border-color: var(--forward-blue);
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.2);
}

.journey-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.journey-autoplay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--forward-blue);
  cursor: pointer;
  transition: var(--transition);
}

.journey-autoplay-toggle:hover {
  border-color: var(--forward-blue);
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.15);
}

.journey-autoplay-toggle.is-playing {
  background: #ecfdf5;
  border-color: #86efac;
  color: #15803d;
}

/* 2. DESKTOP SERPENTINE ROADMAP BOARD (FAITHFUL TO INFOGRAPHIC) */
.journey-serpentine-desktop {
  margin-bottom: 32px;
}

.serpentine-board-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1.5px solid #c7e2f9;
  border-radius: 28px;
  padding: 34px 34px 28px;
  box-shadow: 0 16px 48px rgba(14, 101, 173, 0.08), 0 2px 6px rgba(14, 101, 173, 0.03);
  position: relative;
  overflow: visible;
  background-image: 
    radial-gradient(#d0e4f7 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  background-size: 24px 24px, 100% 100%;
}

.serpentine-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.board-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forward-blue);
  background: var(--forward-blue-soft);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  border: 1px solid #bae6fd;
}

.board-title {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  color: var(--forward-navy);
  margin: 0 0 4px;
  line-height: 1.3;
}

.board-subtitle {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* HIGH-IMPACT CELEBRATION EMBLEM */
.celebration-emblem {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 20px;
  padding: 12px 20px;
  box-shadow: 0 8px 24px rgba(14, 101, 173, 0.1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.celebration-emblem::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.celebration-arrow-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0e65ad 0%, #00b4d8 100%);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(14, 101, 173, 0.35);
  flex-shrink: 0;
}

.celebration-info strong {
  display: block;
  font-size: 14.5px;
  color: var(--forward-navy);
  font-weight: 800;
  margin-bottom: 4px;
}

.celebration-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.c-pill {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
}

/* CANVAS FOR WINDING ROADMAP */
.serpentine-canvas {
  position: relative;
  width: 100%;
  height: 560px;
  margin: 16px 0 12px;
}

.serpentine-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* CONTINUOUS ANIMATED ENERGY STREAM */
@keyframes energyFlow {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

.energy-stream {
  animation: energyFlow 2.8s linear infinite;
  opacity: 0.85;
}

/* MOVING MASCOT TRAVELER PIN (E-BO) */
.serpentine-traveler {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  transition: left 0.75s cubic-bezier(0.34, 1.3, 0.64, 1), top 0.75s cubic-bezier(0.34, 1.3, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* When milestone is in row 1 or 2: cards are ABOVE the road, traveler sits below star */
.serpentine-traveler.traveler--below {
  transform: translate(-50%, 26px);
}

/* When milestone is in row 3: cards are BELOW the road, traveler sits above star */
.serpentine-traveler.traveler--above {
  transform: translate(-50%, calc(-100% - 78px));
}

@keyframes travelerBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.traveler-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: travelerBob 2.4s ease-in-out infinite;
}

.traveler-avatar {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(14, 101, 173, 0.35));
}

.traveler-speech {
  background: var(--forward-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 3px;
  box-shadow: 0 4px 12px rgba(9, 38, 68, 0.25);
  border: 1px solid #38bdf8;
}

.traveler--above .traveler-speech {
  order: -1;
  margin-top: 0;
  margin-bottom: 3px;
}

/* STATIONS ALONG THE WINDING ROAD */
.station-node {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

.station-node:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

/* 3D EMERALD STAR BADGE & RADIANT PULSE RING */
.station-star-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.station-star {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #16a34a;
  color: #16a34a;
  font-size: 15px;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transition: all 0.25s ease;
}

.station-node:hover .station-star,
.station-node.is-active .station-star {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.28);
  transform: scale(1.15);
}

.station-node.is-passed .station-star {
  background: #dcfce7;
  color: #15803d;
}

@keyframes activePulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.85); opacity: 0; }
}

.station-node.is-active .station-star-wrap::before {
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.45);
  animation: activePulse 1.8s ease-out infinite;
  pointer-events: none;
}

.station-star--present {
  border-color: #f59e0b;
  color: #d97706;
}

.station-node:hover .station-star--present,
.station-node.is-active .station-star--present {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.3);
}

.station-node.station-node--present.is-active .station-star-wrap::before {
  background: rgba(245, 158, 11, 0.45);
}

/* STATION CARDS */
.station-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 10px 14px;
  width: 194px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(14, 101, 173, 0.08);
  transition: all 0.25s ease;
  position: relative;
}

.station-card--above {
  margin-bottom: 12px;
}

.station-card--above::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: #cbd5e1;
  transition: background 0.25s ease;
}

.station-card--below {
  margin-top: 12px;
}

.station-card--below::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: #cbd5e1;
  transition: background 0.25s ease;
}

.station-node:hover .station-card,
.station-node.is-active .station-card {
  border-color: var(--forward-blue);
  box-shadow: 0 12px 28px rgba(14, 101, 173, 0.18);
  transform: translateY(-2px);
  background: #ffffff;
}

.station-node.is-active .station-card {
  border: 2px solid var(--forward-blue);
  background: #ffffff;
}

.station-node.is-active .station-card--above::after,
.station-node.is-active .station-card--below::before {
  background: var(--forward-blue);
}

.station-card--present {
  width: 206px;
  border-color: #fde68a;
  background: #fffdf8;
}

.station-node.is-active .station-card--present {
  border-color: #f59e0b;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.22);
}

.station-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  gap: 8px;
}

.station-country-badge {
  font-size: 10px;
  font-weight: 800;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.station-country-badge--present {
  color: #b45309;
  background: #fef3c7;
}

.station-year-num {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--forward-blue);
  white-space: nowrap;
}

.station-year-num--present {
  color: #d97706;
}

.station-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--forward-navy);
  line-height: 1.35;
  margin-bottom: 3px;
}

.station-sub {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* 3. MOBILE VERTICAL SERPENTINE TRACK */
.journey-serpentine-mobile {
  display: none;
}

@media (max-width: 992px) {
  .journey-serpentine-desktop {
    display: none;
  }

  .journey-serpentine-mobile {
    display: block;
    margin-bottom: 28px;
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    box-shadow: 0 10px 28px rgba(14, 101, 173, 0.05);
  }

  .mobile-serpentine-header {
    margin-bottom: 20px;
  }

  .m-mascot-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.5px solid #bae6fd;
    border-radius: 18px;
    padding: 12px 16px;
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
  }

  .m-mascot-avatar {
    width: 46px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(14, 101, 173, 0.25));
    flex-shrink: 0;
  }

  .mobile-serpentine-header h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--forward-navy);
    margin: 4px 0 2px;
  }

  .mobile-serpentine-header p {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 0;
  }

  .mobile-serpentine-track {
    position: relative;
    padding: 16px 0 20px;
    max-width: 480px;
    margin: 0 auto;
  }

  .mobile-serpentine-track::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: linear-gradient(180deg, #0e65ad 0%, #0095d9 50%, #10b981 100%);
    border-radius: 999px;
    z-index: 1;
  }

  .m-step-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .m-step-item:active {
    transform: scale(0.98);
  }

  .m-step-item--left {
    justify-content: flex-end;
    padding-right: 50%;
  }

  .m-step-item--left .m-step-star-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .m-step-item--left .m-step-card {
    margin-right: 22px;
    text-align: right;
  }

  .m-step-item--right {
    justify-content: flex-start;
    padding-left: 50%;
  }

  .m-step-item--right .m-step-star-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .m-step-item--right .m-step-card {
    margin-left: 22px;
    text-align: left;
  }

  .m-step-item--final {
    justify-content: center;
    padding: 0;
    margin-top: 14px;
    flex-direction: column;
    gap: 8px;
  }

  .m-step-star-wrap {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
  }

  .m-step-star {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #16a34a;
    color: #16a34a;
    font-size: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.22);
    transition: all 0.25s ease;
  }

  .m-step-item.is-active .m-step-star {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.3);
  }

  .m-step-item.is-active .m-step-star-wrap::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.45);
    animation: activePulse 1.8s ease-out infinite;
    pointer-events: none;
  }

  .m-step-star--present {
    border-color: #f59e0b;
    color: #d97706;
  }

  .m-step-item.is-active .m-step-star--present {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.35);
  }

  .m-step-card {
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    padding: 9px 12px;
    box-shadow: 0 3px 10px rgba(14, 101, 173, 0.06);
    transition: all 0.25s ease;
    width: 155px;
  }

  .m-step-item.is-active .m-step-card {
    border-color: var(--forward-blue);
    background: #f0f9ff;
    box-shadow: 0 8px 18px rgba(14, 101, 173, 0.14);
  }

  .m-step-tag {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 800;
    color: #0369a1;
    background: #e0f2fe;
    padding: 2px 6px;
    border-radius: 999px;
    margin-bottom: 3px;
  }

  .m-step-tag--present {
    color: #b45309;
    background: #fef3c7;
  }

  .m-step-year {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--forward-blue);
    margin-bottom: 2px;
  }

  .m-step-year--present {
    color: #d97706;
  }

  .m-step-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--forward-navy);
    margin: 0 0 2px;
    line-height: 1.3;
  }

  .m-step-loc {
    font-size: 10.5px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.25;
  }

  .m-step-card--present {
    border-color: #fde68a;
    background: #fffdf8;
    text-align: center;
    width: 220px;
  }
}

/* 4. SPOTLIGHT DETAIL CARD */
.journey-spotlight-wrap {
  position: relative;
}

.journey-card {
  background: #ffffff;
  border: 2px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 32px 38px;
  box-shadow: 0 16px 40px rgba(14, 101, 173, 0.08);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-card::after {
  content: attr(data-watermark);
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: 150px;
  font-weight: 900;
  color: rgba(14, 101, 173, 0.035);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.journey-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.journey-card__year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(14, 101, 173, 0.25);
}

.journey-card__year-star {
  color: #fef08a;
  font-size: 14px;
}

.journey-card__tag {
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #fde68a;
}

.journey-card__location {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--forward-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.journey-card__body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.journey-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--forward-navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.journey-card__subhead {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--forward-blue);
  margin: 0 0 12px;
}

.journey-card__desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 18px;
}

.journey-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.j-feat {
  background: #f1f5f9;
  color: var(--forward-navy);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.journey-card__mascot-side {
  text-align: center;
}

.journey-mascot-box {
  display: inline-block;
  text-align: center;
}

.journey-mascot-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(14, 101, 173, 0.15));
  transition: transform 0.3s ease;
}

.journey-mascot-box:hover .journey-mascot-img {
  transform: scale(1.08) rotate(2deg);
}

.journey-mascot-bubble {
  background: #f0f7fe;
  border: 1px solid #bfdbfe;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--forward-navy);
  margin-top: 10px;
  font-style: italic;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.06);
}

@media (max-width: 768px) {
  .journey-card {
    padding: 22px 18px;
  }

  .journey-card__header {
    gap: 10px;
    margin-bottom: 14px;
  }

  .journey-card__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .journey-card__mascot-side {
    margin-top: 6px;
    text-align: left;
  }

  .journey-mascot-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0f7fe;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    text-align: left;
    width: 100%;
  }

  .journey-mascot-img {
    width: 65px;
    height: auto;
    flex-shrink: 0;
  }

  .journey-mascot-bubble {
    margin-top: 0;
    background: #ffffff;
    border: 1px solid #dbeafe;
    font-size: 12px;
    flex: 1;
  }

  .journey-card__location {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
    font-size: 13px;
  }

  .journey-card__title {
    font-size: 19px;
    line-height: 1.35;
  }

  .journey-card__subhead {
    font-size: 13.5px;
    margin-bottom: 8px;
  }

  .journey-card__desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .j-feat {
    font-size: 11px;
    padding: 5px 10px;
  }

  .journey-subbar {
    padding: 8px 14px;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .counter-nums b {
    font-size: 13.5px;
  }

  .journey-nav-btn {
    padding: 4px 10px;
    font-size: 11px;
  }

  .journey-autoplay-toggle {
    padding: 4px 10px;
    font-size: 11px;
  }
}

/* ========================================================
   FORWARD ACTIVITY & MOMENTS GALLERY (#gallery)
   Uniform Grid, Filter Tabs, Pagination & High-Res Lightbox
   ======================================================== */
.forward-gallery {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 40%, #f1f7fc 100%);
  position: relative;
  overflow: hidden;
}

.forward-gallery::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(3, 147, 216, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.forward-gallery::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(174, 207, 4, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-head--center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.section-head--center .eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  text-align: center;
}

.section-head--center h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.25;
  margin: 12px 0 16px;
  color: var(--forward-navy);
}

.section-head--center h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-block: 0.12em;
  margin-block: -0.12em;
}

.section-head--center .section-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* FILTER TABS */
.gallery-filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.gallery-filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 40px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body, inherit);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.gallery-tab:hover {
  color: var(--forward-blue);
  background: rgba(3, 147, 216, 0.06);
}

.gallery-tab.is-active {
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(3, 147, 216, 0.35);
  transform: translateY(-1px);
}

.gallery-tab .tab-icon {
  font-size: 15px;
  line-height: 1;
}

.gallery-tab .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.07);
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.gallery-tab.is-active .tab-count {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
  min-height: 380px;
}

.gallery-card {
  position: relative;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: scale(1);
}

.gallery-card.is-hidden {
  display: none !important;
}

.gallery-card.is-page-hidden {
  display: none !important;
}

.gallery-card__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.gallery-card:hover .gallery-card__inner {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.12);
  border-color: rgba(3, 147, 216, 0.35);
}

.gallery-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8f1f8;
}

.gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.05);
}

.gallery-card__floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-badge--blue {
  background: rgba(3, 147, 216, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-badge--gold {
  background: rgba(249, 156, 46, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-badge--coral {
  background: rgba(235, 0, 18, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-badge--green {
  background: rgba(120, 150, 0, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--forward-navy);
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  font-size: 13px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.gallery-card:hover .gallery-zoom-btn {
  transform: translateY(0);
}

.gallery-zoom-btn:hover {
  background: #ffffff;
  color: var(--forward-blue);
  transform: translateY(0) scale(1.04);
}

.gallery-card__meta {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--forward-navy);
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  transition: color 0.2s ease;
}

.gallery-card:hover .gallery-card__title {
  color: var(--forward-blue);
}

.gallery-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.gallery-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
  margin-top: auto;
}

.gallery-view-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--forward-sky);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gallery-card:hover .gallery-view-link {
  color: var(--forward-blue);
  transform: translateX(2px);
}

/* GALLERY PAGINATION */
.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 14px 18px;
  position: relative;
  z-index: 2;
}

.gallery-pagination.is-hidden {
  display: none !important;
}

.gallery-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--forward-navy);
  font-family: var(--font-body, inherit);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.gallery-page-btn:hover:not(:disabled) {
  background: var(--forward-blue-soft);
  color: var(--forward-blue);
  border-color: rgba(3, 147, 216, 0.35);
  transform: translateY(-1px);
}

.gallery-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f8fafc;
  color: var(--ink-soft);
  border-color: rgba(226, 232, 240, 0.6);
  transform: none;
}

.gallery-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gallery-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--ink-soft);
  font-family: var(--font-body, inherit);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.gallery-page-num:hover:not(.is-active) {
  background: rgba(3, 147, 216, 0.08);
  color: var(--forward-blue);
  border-color: rgba(3, 147, 216, 0.3);
}

.gallery-page-num.is-active {
  background: linear-gradient(135deg, var(--forward-blue) 0%, var(--forward-sky) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(3, 147, 216, 0.35);
  transform: scale(1.05);
}

.gallery-page-status {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.gallery-page-info {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.04);
}

/* GALLERY BOTTOM CTA - LIGHT THEME */
.gallery-bottom-cta {
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

.gallery-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 50%, #eff6ff 100%);
  border: 1.5px solid #bae6fd;
  border-left: 6px solid var(--forward-blue);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(14, 101, 173, 0.08);
  position: relative;
  overflow: hidden;
}

.gallery-cta-box::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gallery-cta-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.gallery-cta-text h3 {
  color: var(--forward-navy);
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 8px;
}

.gallery-cta-text p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

.gallery-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-cta-actions .button--outline {
  border: 1.5px solid #93c5fd;
  color: var(--forward-blue);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.06);
}

.gallery-cta-actions .button--outline:hover {
  background: var(--forward-blue);
  color: #ffffff;
  border-color: var(--forward-blue);
}

/* LIGHTBOX MODAL */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1060px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #101827;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.is-open .gallery-lightbox__dialog {
  transform: scale(1);
}

.gallery-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.gallery-lightbox__close:hover {
  background: var(--guideline-crimson);
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}

.gallery-lightbox__nav {
  position: absolute;
  top: calc(50% - 35px);
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.gallery-lightbox__nav:hover {
  background: var(--guideline-sky);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox__nav--prev {
  left: 16px;
}

.gallery-lightbox__nav--next {
  right: 16px;
}

.gallery-lightbox__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.gallery-lightbox__figure {
  width: 100%;
  height: 60vh;
  min-height: 300px;
  max-height: 64vh;
  background: #080c14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.gallery-lightbox__caption {
  padding: 18px 24px;
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gallery-lightbox__info {
  flex-grow: 1;
}

.gallery-lightbox__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(3, 147, 216, 0.25);
  color: #38bdf8;
  margin-bottom: 6px;
}

.gallery-lightbox__title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.gallery-lightbox__desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.gallery-lightbox__counter {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

/* RESPONSIVE GALLERY */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .gallery-lightbox__dialog {
    width: 95%;
  }
  .gallery-lightbox__figure {
    height: 52vh;
  }
}

@media (max-width: 768px) {
  .gallery-filter-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 24px;
    padding: 0 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .gallery-filter-wrap::-webkit-scrollbar {
    display: none;
  }
  .gallery-filter-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    border-radius: 50px;
    padding: 5px 8px;
    gap: 6px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
  }
  .gallery-tab {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-cta-box {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-cta-actions {
    width: 100%;
  }
  .gallery-cta-actions .button {
    width: 100%;
  }
  .gallery-pagination {
    gap: 8px;
    padding: 12px 0;
  }
  .gallery-page-btn {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  .gallery-page-num {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .gallery-lightbox__figure {
    height: 44vh;
  }
  .gallery-lightbox__caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
  }
  .gallery-lightbox__counter {
    align-self: flex-end;
  }
  .gallery-lightbox__nav {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
}

/* ========================================================
   MULTILINGUAL LANGUAGE SWITCHER SYSTEM (VI, ZH, EN)
   ======================================================== */
html[lang="zh-TW"],
html[lang="zh"],
html[lang="zh-TW"] body,
html[lang="zh"] body {
  font-family: var(--font-body), var(--font-tc);
}

html[lang="zh-TW"] .hero__title,
html[lang="zh"] .hero__title,
html[lang="zh-TW"] h1, html[lang="zh-TW"] h2, html[lang="zh-TW"] h3, html[lang="zh-TW"] h4,
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] h4 {
  font-family: var(--font-display), var(--font-tc);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

/* 1. Header Desktop Language Dropdown */
.lang-switch-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

.lang-switch-btn:hover,
.lang-switch-dropdown:hover .lang-switch-btn,
.lang-switch-dropdown.is-open .lang-switch-btn,
.lang-switch-dropdown:focus-within .lang-switch-btn {
  background: #ffffff;
  border-color: var(--forward-blue);
  color: var(--forward-blue);
  box-shadow: 0 4px 14px rgba(14, 101, 173, 0.14);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-current-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-switch-btn .chevron {
  transition: transform 0.2s ease;
  color: var(--ink-muted);
}

.lang-switch-dropdown:hover .lang-switch-btn .chevron,
.lang-switch-dropdown.is-open .lang-switch-btn .chevron,
.lang-switch-dropdown:focus-within .lang-switch-btn .chevron {
  transform: rotate(180deg);
  color: var(--forward-blue);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 101, 173, 0.16);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(14, 101, 173, 0.18);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.18s;
  z-index: 1200;
}

/* Invisible hover bridge to eliminate cursor dropout over the gap */
.lang-switch-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  pointer-events: auto;
}

.lang-switch-dropdown:hover .lang-switch-menu,
.lang-switch-dropdown.is-open .lang-switch-menu,
.lang-switch-dropdown:focus-within .lang-switch-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-switch-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.lang-switch-option:hover {
  background: var(--forward-blue-soft);
}

.lang-switch-option.is-active {
  background: rgba(14, 101, 173, 0.08);
}

.lang-opt-flag {
  font-size: 18px;
  line-height: 1;
}

.lang-opt-text {
  display: flex;
  flex-direction: column;
}

.lang-opt-text strong {
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
}

.lang-opt-text small {
  font-size: 11px;
  color: var(--ink-muted);
}

.lang-check {
  margin-left: auto;
  color: var(--forward-blue);
  font-weight: 800;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lang-switch-option.is-active .lang-check {
  opacity: 1;
}

/* 2. Top Announcement Bar Language Selector */
.announcement__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid #cbdcf0;
}

.announcement__lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.announcement__lang-btn:hover {
  color: var(--forward-blue);
  background: rgba(14, 101, 173, 0.08);
  border-color: rgba(14, 101, 173, 0.15);
}

.announcement__lang-btn.is-active {
  color: var(--forward-blue);
  background: rgba(14, 101, 173, 0.12);
  border-color: rgba(14, 101, 173, 0.22);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .announcement__lang {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 900px) {
  .announcement__lang {
    gap: 2px;
  }

  .announcement__lang-btn {
    font-size: 11px;
    padding: 2px 5px;
  }
}

/* 3. Mobile Navigation Language Bar */
.mobile-lang-bar {
  display: none;
}

@media (max-width: 1160px) {
  .mobile-lang-bar {
    display: block;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
  }

  .mobile-lang-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
  }

  .mobile-lang-options {
    display: flex;
    gap: 6px;
  }

  .mobile-lang-btn {
    flex: 1;
    padding: 9px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-lang-btn.is-active {
    background: var(--forward-blue);
    border-color: var(--forward-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(14, 101, 173, 0.25);
  }
}

/* 4. Footer Language Bar */
.footer-lang-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.footer-lang-title {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
  margin-right: 4px;
}

.footer-lang-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.footer-lang-btn:hover {
  background: #f1f5f9;
  border-color: var(--forward-sky);
  color: var(--forward-blue);
}

.footer-lang-btn.is-active {
  background: var(--forward-sky);
  border-color: var(--forward-sky);
  color: #ffffff;
  font-weight: 700;
}

/* ========================================================
   SMOOTH SCROLLING STABILITY
   ======================================================== */






/* ==========================================================================
   FORWARD EDU - EDITORIAL ARTICLE, ARCHIVE & CATEGORY PORTAL UI (v2.5)
   ========================================================================== */

/* 1. Hero Header for Single Articles, Pages & Category Archives (Soft Light Sky-Blue Academic Theme) */
.fw-article-hero,
.fw-archive-hero {
  position: relative;
  background: linear-gradient(135deg, #eef6ff 0%, #f8fbff 52%, #e6f2fe 100%);
  color: var(--ink, #0c233c);
  padding: 34px 0 38px;
  overflow: hidden;
  border-bottom: 1.5px solid #dbeafe;
}

.fw-article-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(14, 165, 233, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 86% 78%, rgba(249, 156, 46, 0.1) 0%, transparent 48%);
  pointer-events: none;
}

.fw-article-hero__inner,
.fw-archive-hero__inner {
  position: relative;
  z-index: 2;
}

.fw-article-hero__inner {
  max-width: 1040px;
}

.fw-archive-hero__inner {
  max-width: 1280px;
}

/* Breadcrumbs */
.fw-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dbeafe;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(14, 101, 173, 0.04);
}

.fw-breadcrumbs a {
  color: var(--forward-blue, #0e65ad);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.fw-breadcrumbs a:hover {
  color: var(--forward-navy, #171c60);
  text-decoration: underline;
}

.fw-breadcrumbs__sep {
  color: #94a3b8;
}

.fw-breadcrumbs__current {
  color: #334155;
  font-weight: 600;
}

/* Category Badges in Hero */
.fw-article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.fw-article-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fw-article-badge--primary {
  background: linear-gradient(135deg, var(--forward-orange, #f99c2e) 0%, #f37300 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(243, 115, 0, 0.22);
}

.fw-article-badge--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(243, 115, 0, 0.34);
  color: #ffffff;
}

.fw-article-badge--secondary {
  background: #ffffff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  box-shadow: 0 2px 6px rgba(14, 101, 173, 0.05);
}

.fw-article-badge--secondary:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #075985;
}

.fw-article-title,
.fw-archive-hero__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: clamp(1.55rem, 2.35vw, 2.05rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--forward-navy, #171c60);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

.fw-article-lead,
.fw-archive-hero__desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #334e68;
  margin: 0 0 18px;
  max-width: 860px;
}

.fw-archive-hero__desc p {
  margin: 0;
}

/* Article Meta Bar */
.fw-article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  box-shadow: 0 8px 24px -10px rgba(14, 101, 173, 0.08);
  backdrop-filter: blur(8px);
}

.fw-article-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fw-article-author__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #0e65ad 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(14, 101, 173, 0.18);
  border: 2px solid #bae6fd;
  overflow: hidden;
  flex-shrink: 0;
}

.fw-article-author__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fw-article-author__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.fw-article-author__text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
}

.fw-article-author__text span {
  font-size: 12.5px;
  color: #64748b;
}

.fw-article-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fw-article-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334e68;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  padding: 5px 12px;
  border-radius: 999px;
}

.fw-article-stat svg {
  color: #0284c7;
  flex-shrink: 0;
}

/* Archive Hero Top & Filter Pills */
.fw-archive-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.fw-archive-hero__eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0369a1;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
}

.fw-archive-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #fde68a;
}

.fw-subcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed #cbd5e1;
}

.fw-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334e68;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.fw-subcat-pill small {
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.fw-subcat-pill:hover {
  background: #f0f9ff;
  border-color: #7dd3fc;
  color: var(--forward-blue, #0e65ad);
  transform: translateY(-1px);
}

.fw-subcat-pill.is-active {
  background: linear-gradient(135deg, #0ea5e9 0%, var(--forward-blue, #0e65ad) 100%);
  color: #ffffff;
  border-color: var(--forward-blue, #0e65ad);
  box-shadow: 0 4px 14px rgba(14, 101, 173, 0.28);
}

.fw-subcat-pill.is-active small {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* 2. Main Article 2-Column Layout */
.fw-article-section,
.fw-archive-section {
  background: #f8fafc;
  padding: 40px 0 68px;
}

.fw-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 32px;
  align-items: start;
}

.fw-article-main {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 38px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px -12px rgba(15, 23, 42, 0.06);
}

.fw-article-featured-media {
  margin: 0 0 26px;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.fw-article-featured-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  background: #f8fafc;
}

/* Table of Contents Box */
.fw-toc-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
  border: 1px solid #bae6fd;
  border-left: 4px solid #0284c7;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 26px;
}

.fw-toc-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fw-toc-box__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0c4a6e;
}

.fw-toc-box__toggle {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fw-toc-box__toggle:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.fw-toc-box__list {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.fw-toc-box.is-collapsed .fw-toc-box__list {
  display: none;
}

.fw-toc-box__item {
  font-size: 14px;
  line-height: 1.5;
  color: #0369a1;
  list-style: none;
}

.fw-toc-box__num {
  display: inline-block;
  min-width: 22px;
  font-weight: 800;
  color: #0284c7;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}

.fw-toc-box__item--h3 {
  margin-left: 0;
  padding-left: 20px;
  font-size: 13.2px;
  list-style: none;
  position: relative;
}

.fw-toc-box__item--h3::before {
  content: '•';
  position: absolute;
  left: 6px;
  top: 0;
  color: #38bdf8;
  font-weight: 800;
}

.fw-toc-box__item a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.fw-toc-box__item--h3 a {
  font-weight: 500;
  color: #334155;
}

.fw-toc-box__item a:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* 3. Rich Editorial Prose Typography (.fw-article-prose) */
.fw-article-prose {
  min-width: 0;
  max-width: 100%;
  font-size: 15.5px;
  line-height: 1.75;
  color: #1e293b;
  overflow-wrap: break-word;
}

.fw-article-prose > *:first-child {
  margin-top: 0;
}

.fw-article-prose p {
  margin: 0 0 1.15em;
  color: #334155;
}

.fw-article-prose h2,
.fw-article-prose .wp-block-heading {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: clamp(1.18rem, 1.55vw, 1.38rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 1.75em 0 0.75em;
  padding: 8px 14px;
  border-left: 4px solid #0284c7;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.08) 0%, rgba(248, 250, 252, 0) 100%);
  border-radius: 0 10px 10px 0;
  scroll-margin-top: 100px;
}

.fw-article-prose h3 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 700;
  color: #0c4a6e;
  line-height: 1.38;
  margin: 1.45em 0 0.55em;
  padding-left: 0;
  border-left: none;
  background: none;
  scroll-margin-top: 100px;
}

.fw-article-prose h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 1.2em 0 0.45em;
}

.fw-article-prose strong,
.fw-article-prose b {
  color: #0f172a;
  font-weight: 700;
}

.fw-article-prose a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fw-article-prose a:hover {
  color: #0369a1;
}

.fw-article-prose ul,
.fw-article-prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  color: #334155;
}

.fw-article-prose li {
  margin-bottom: 0.45em;
  line-height: 1.72;
}

.fw-article-prose ul > li::marker {
  color: #0284c7;
  font-size: 1.1em;
}

.fw-article-prose ol > li::marker {
  color: #0284c7;
  font-weight: 700;
}

.fw-article-prose blockquote,
.fw-article-prose .wp-block-quote {
  margin: 1.5em 0;
  padding: 16px 22px;
  font-size: 15px;
  line-height: 1.68;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 0 16px 16px 0;
  color: #78350f;
  font-style: normal;
  font-weight: 500;
}

.fw-article-prose blockquote p:last-child {
  margin-bottom: 0;
}

.fw-article-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 24px auto;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.fw-article-prose figure.wp-block-image {
  margin: 26px 0 30px;
  text-align: center;
}

.fw-article-prose figure.wp-block-image img {
  margin: 0 auto 10px;
  max-height: 540px;
  width: auto;
}

.fw-article-prose figure.wp-block-image a {
  display: inline-block;
  max-width: 100%;
}

.fw-article-prose figure.wp-block-image.fw-infographic-figure a,
.fw-article-prose figure.wp-block-image.fw-study-card-figure a {
  display: block;
  width: 100%;
}

.fw-article-prose figure.wp-block-image.fw-infographic-figure img,
.fw-article-prose figure.wp-block-image.fw-study-card-figure img {
  max-height: none;
  width: 100%;
  height: auto;
}

.fw-article-prose figure.wp-block-image figcaption {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.fw-article-prose hr,
.fw-article-prose .wp-block-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
  margin: 32px 0;
}

/* Gutenberg Columns & Groups inside Article Prose */
.fw-article-prose .wp-block-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 24px 0;
}

.fw-article-prose .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.fw-article-prose .wp-block-column {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
}

/* Styled Responsive Data Tables in Articles */
.fw-table-wrap,
.fw-article-prose .wp-block-table {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  background: #ffffff;
}

.fw-content-table,
.fw-article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.2px;
  line-height: 1.55;
  min-width: 520px;
}

.fw-content-table th,
.fw-article-prose table th,
.fw-content-table thead td,
.fw-article-prose table thead td {
  background: #0a2540;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 2px solid #0284c7;
  vertical-align: middle;
}

.fw-content-table th p,
.fw-content-table th strong,
.fw-content-table th b,
.fw-content-table th span,
.fw-content-table thead td p,
.fw-content-table thead td strong,
.fw-content-table thead td b,
.fw-content-table thead td span,
.fw-article-prose table:not(.fw-tuition-table) th p,
.fw-article-prose table:not(.fw-tuition-table) th strong,
.fw-article-prose table:not(.fw-tuition-table) th b,
.fw-article-prose table:not(.fw-tuition-table) th span,
.fw-article-prose table:not(.fw-tuition-table) thead td p,
.fw-article-prose table:not(.fw-tuition-table) thead td strong,
.fw-article-prose table:not(.fw-tuition-table) thead td b,
.fw-article-prose table:not(.fw-tuition-table) thead td span {
  color: #ffffff !important;
  margin: 0 !important;
}

.fw-content-table td,
.fw-article-prose table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: top;
}

.fw-content-table td p:last-child,
.fw-article-prose table td p:last-child {
  margin-bottom: 0;
}

.fw-content-table tr:nth-child(even) td,
.fw-article-prose table tr:nth-child(even) td {
  background: #f8fafc;
}

.fw-content-table tr:hover td,
.fw-article-prose table tr:hover td {
  background: #f0f9ff;
}

/* First row of tables without <thead> */
.fw-content-table:not(:has(thead)) tbody tr:first-child td strong,
.fw-article-prose table:not(:has(thead)) tbody tr:first-child td b {
  color: #0f172a;
}

/* Album Photo Gallery Grid inside Articles */
.album-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.album-photo-item {
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  aspect-ratio: 4 / 3;
}

.album-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.35s ease;
}

.album-photo-item:hover img {
  transform: scale(1.05);
}

/* Video Embed inside Articles */
.video-embed {
  position: relative;
  max-width: 420px;
  margin: 28px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  border: 1px solid #cbd5e1;
  background: #000000;
}

.video-embed iframe {
  width: 100%;
  min-height: 580px;
  display: block;
  border: 0;
}

/* 4. Unified Button Alias (.btn) & In-Article Consultation CTA Banner */
.btn,
.button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1.5px solid transparent;
}

.btn:hover,
.button--ghost:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--forward-orange, #f99c2e) 0%, #f37300 100%);
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(243, 115, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #faa845 0%, #e66500 100%);
  box-shadow: 0 10px 24px rgba(243, 115, 0, 0.42);
  color: #ffffff !important;
}

.btn--ghost,
.button--ghost {
  background: #ffffff;
  color: var(--forward-blue, #0e65ad) !important;
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(14, 101, 173, 0.06);
}

.btn--ghost:hover,
.button--ghost:hover {
  background: #f0f9ff;
  border-color: var(--forward-blue, #0e65ad);
  color: var(--forward-blue-dark, #073a64) !important;
  box-shadow: 0 6px 16px rgba(14, 101, 173, 0.14);
}

.fw-article-cta-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 50%, #eff6ff 100%);
  border-radius: 20px;
  padding: 26px 30px;
  color: var(--ink, #0c233c);
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 22px;
  align-items: center;
  box-shadow: 0 14px 34px -10px rgba(14, 101, 173, 0.12);
  border: 1.5px solid #bae6fd;
  border-left: 6px solid var(--forward-blue, #0e65ad);
  position: relative;
  overflow: hidden;
}

.fw-article-cta-banner__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.fw-article-cta-banner__content h3 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin: 0 0 10px;
  line-height: 1.35;
}

.fw-article-cta-banner__content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft, #334e68);
  margin: 0 0 18px;
}

.fw-article-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.fw-article-cta-banner__phone {
  color: var(--forward-blue, #0e65ad) !important;
  border-color: #93c5fd !important;
  background: #ffffff !important;
}

.fw-article-cta-banner__phone:hover {
  background: var(--forward-blue, #0e65ad) !important;
  color: #ffffff !important;
  border-color: var(--forward-blue, #0e65ad) !important;
}

.fw-article-cta-banner__mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  padding: 6px;
}

.fw-article-cta-banner__mascot img {
  width: 102px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 16px rgba(14, 101, 173, 0.18));
  transition: transform 0.3s ease;
}

.fw-article-cta-banner:hover .fw-article-cta-banner__mascot img {
  transform: scale(1.06) rotate(-3deg);
}

/* 5. Article Footer Bar & Prev/Next Post Navigation */
.fw-article-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.fw-article-footer-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fw-article-footer-tags__label {
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
}

.fw-tag-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fw-tag-chip:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.fw-article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
}

.fw-share-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fw-share-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Prev / Next Navigation Cards */
.fw-post-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.fw-post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fw-post-nav-card--next {
  text-align: right;
}

.fw-post-nav-card:hover {
  background: #f0f9ff;
  border-color: #7dd3fc;
  transform: translateY(-2px);
}

.fw-post-nav-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0284c7;
}

.fw-post-nav-card__title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 6. Sticky Article Sidebar */
.fw-article-sidebar {
  min-width: 0;
  max-width: 100%;
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fw-sidebar-cta-card {
  background: linear-gradient(155deg, #f0f7fe 0%, #ffffff 54%, #e8f3fc 100%);
  color: var(--ink, #0c233c);
  border-radius: 20px;
  padding: 22px 20px;
  border: 1.5px solid #bae6fd;
  border-top: 5px solid var(--forward-blue, #0e65ad);
  box-shadow: 0 12px 30px -8px rgba(14, 101, 173, 0.12);
}

.fw-sidebar-cta-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.fw-sidebar-cta-card h3 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin: 0 0 10px;
  line-height: 1.35;
}

.fw-sidebar-cta-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft, #334e68);
  margin: 0 0 16px;
}

.fw-sidebar-cta-card__checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13.3px;
  color: #1e293b;
  font-weight: 600;
}

.fw-sidebar-cta-card__checks li {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 9px 12px;
  line-height: 1.45;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(14, 101, 173, 0.04);
}

.fw-sidebar-cta-card__checks li a {
  color: #0f172a;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fw-sidebar-cta-card__checks li a:hover {
  color: var(--forward-blue, #0e65ad);
  transform: translateX(3px);
}

.fw-sidebar-cta-card__btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 13px 20px;
}

.btn--chat-ebo {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 8px 20px -6px rgba(2, 132, 199, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn--chat-ebo:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -6px rgba(2, 132, 199, 0.52);
  }
}

.btn--chat-ebo-outline {
  width: 100%;
  margin-top: 10px;
  background: #ffffff;
  color: #0369a1 !important;
  border: 1.5px solid #38bdf8;
  border-radius: 12px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn--chat-ebo-outline:hover {
    background: #e0f2fe;
    border-color: #0284c7;
  }
}

.fw-tocfl-chat-cta {
  margin-top: 12px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1.5px solid #0284c7;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .fw-tocfl-chat-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -4px rgba(2, 132, 199, 0.45);
  }
}

.fw-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px;
  border: 1.5px solid #dbeafe;
  box-shadow: 0 12px 28px -10px rgba(14, 101, 173, 0.08);
}

.fw-sidebar-card__title {
  position: relative;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fw-sidebar-card__title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 99px;
  background: linear-gradient(180deg, #0ea5e9 0%, #0e65ad 100%);
  flex-shrink: 0;
}

.fw-sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fw-sidebar-post-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.22s ease;
}

.fw-sidebar-post-item:last-child {
  padding-bottom: 11px;
  border-bottom: 1px solid #dbeafe;
}

.fw-sidebar-post-item:hover {
  background: #ffffff;
  border-color: #7dd3fc;
  box-shadow: 0 10px 22px -8px rgba(14, 101, 173, 0.16);
  transform: translateY(-2px);
}

.fw-sidebar-post-item__thumb {
  width: 88px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.fw-sidebar-post-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.fw-sidebar-post-item:hover .fw-sidebar-post-item__thumb img {
  transform: scale(1.06);
}

.fw-sidebar-post-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fw-sidebar-post-item__cat {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 5px;
  line-height: 1.3;
}

.fw-sidebar-post-item__info h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.38;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s ease;
}

.fw-sidebar-post-item:hover .fw-sidebar-post-item__info h4 {
  color: var(--forward-blue, #0e65ad);
}

.fw-sidebar-post-item__info time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.fw-sidebar-cat-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fw-sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.fw-sidebar-cat-link:hover {
  background: var(--forward-blue, #0e65ad);
  border-color: var(--forward-blue, #0e65ad);
  color: #ffffff;
  transform: translateX(3px);
}

.fw-sidebar-cat-count {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
}

.fw-sidebar-cat-link:hover .fw-sidebar-cat-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* 7. Archive & Related 3-Column Card Grid (.fw-archive-grid & .fw-post-card) */
.fw-related-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #e2e8f0;
}

.fw-related-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.fw-related-section__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0284c7;
  margin-bottom: 6px;
}

.fw-related-section__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.fw-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.fw-post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 10px 26px -10px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.fw-post-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 20px 38px -12px rgba(2, 132, 199, 0.2);
}

.fw-post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0a2540 0%, #0284c7 100%);
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.fw-post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.45s ease;
}

.fw-post-card:hover .fw-post-card__img {
  transform: scale(1.06);
}

.fw-post-card__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.fw-post-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 37, 64, 0.88);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fw-post-card__readtime {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.fw-post-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fw-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
}

.fw-post-card__meta-cat {
  color: #0284c7;
}

.fw-post-card__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fw-post-card__title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fw-post-card:hover .fw-post-card__title a {
  color: #0284c7;
}

.fw-post-card__excerpt {
  font-size: 13.8px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fw-post-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fw-post-card__views {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 600;
}

.fw-post-card__more {
  font-size: 13.5px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.fw-post-card:hover .fw-post-card__more {
  color: #0369a1;
  transform: translateX(3px);
}

/* 8. Pagination & Empty State */
.fw-pagination-wrap {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.fw-pagination-wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fw-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fw-pagination-wrap .page-numbers:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.fw-pagination-wrap .page-numbers.current {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.fw-empty-state {
  background: #ffffff;
  border-radius: 20px;
  padding: 56px 28px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.fw-archive-cta {
  margin-top: 56px;
}

/* 9. Homepage Dynamic Latest Posts Block (#journal extension) */
.fw-home-latest-wrap {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.fw-home-latest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.fw-home-latest-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0284c7;
  margin-bottom: 4px;
}

.fw-home-latest-head h3 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.fw-home-latest-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fw-home-latest-cats .fw-subcat-pill {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
  padding: 6px 14px;
  font-size: 13px;
}

.fw-home-latest-cats .fw-subcat-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.journal-card__thumb-box > a {
  display: block;
  width: 100%;
  height: 100%;
}

.job-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.job-card h3 a:hover {
  color: var(--forward-blue);
}

/* 10. Responsive Breakpoints for Article & Archive Views */
@media (max-width: 1080px) {
  .fw-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .fw-article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  }

  .fw-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fw-article-hero,
  .fw-archive-hero {
    padding: 28px 0 32px;
  }

  .fw-article-main {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .fw-article-cta-banner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }

  .fw-article-cta-banner__actions {
    justify-content: center;
  }

  .fw-article-cta-banner__mascot {
    display: none;
  }

  .fw-post-nav-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fw-archive-grid {
    grid-template-columns: 1fr;
  }

  .fw-article-hero,
  .fw-archive-hero {
    padding: 20px 0 24px;
  }

  .fw-archive-hero__title {
    font-size: 24px;
  }

  .fw-article-title {
    font-size: clamp(1.38rem, 5.8vw, 1.75rem);
    line-height: 1.28;
    margin-bottom: 10px;
  }

  .fw-article-lead {
    font-size: 0.94rem;
    line-height: 1.58;
    margin-bottom: 14px;
  }

  .fw-breadcrumbs {
    font-size: 12px;
    padding: 5px 11px;
    margin-bottom: 12px;
  }

  .fw-article-badges {
    gap: 6px;
    margin-bottom: 10px;
  }

  .fw-article-badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .fw-subcat-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    padding-right: 28px;
    margin-top: 14px;
    padding-top: 14px;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
  }

  .fw-subcat-pills::-webkit-scrollbar {
    display: none;
  }

  .fw-subcat-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 13px;
    font-size: 13px;
  }
}

/* 11. Professional Stroke SVG Icon System (.fw-icon) */
.fw-icon {
  display: inline-block;
  vertical-align: -0.16em;
  flex-shrink: 0;
  stroke: currentColor;
}

.fw-archive-hero__count,
.fw-post-card__meta > span,
.fw-post-card__views,
.fw-post-card__more,
.journal-meta-item,
.journal-author,
.job-card__meta > span,
.campus-card__meta a,
.campus-card__meta a > span,
.c-pill,
.j-feat,
.station-country-badge,
.m-step-tag,
.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fw-post-card__meta .fw-icon {
  color: #0284c7;
}

.fw-post-card__views .fw-icon {
  color: #64748b;
}

.fw-post-card__more .fw-icon {
  transition: transform 0.2s ease;
}

.fw-post-card:hover .fw-post-card__more .fw-icon {
  transform: translateX(2px);
}

.gallery-tab .tab-icon,
.ebo-link > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 12. Popup Consultation Form Modal (#consult-modal for Subpages - Compact Zero-Scroll UI) */
.consult-modal-panel {
  width: min(640px, 95vw);
  max-width: 640px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border-radius: 22px;
  border: 1.5px solid #bae6fd;
  background: #ffffff;
  box-shadow: 0 28px 64px -12px rgba(9, 38, 68, 0.36);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.consult-modal-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 55%, #e8f3fc 100%);
  border-bottom: 1.5px solid #dbeafe;
  flex-shrink: 0;
}

.consult-modal-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  box-shadow: 0 6px 14px rgba(14, 101, 173, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px;
}

.consult-modal-mascot {
  width: 46px;
  height: auto;
  display: block;
}

.consult-modal-head__text {
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.consult-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0369a1;
  background: #ffffff;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
  box-shadow: 0 2px 6px rgba(14, 101, 173, 0.06);
}

.consult-modal-head__text h3 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin: 0 0 2px;
  line-height: 1.25;
}

.consult-modal-head__text .form-desc {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}

.consult-modal-close {
  position: static;
  flex-shrink: 0;
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.consult-modal-close:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}

.consult-modal-body {
  padding: 18px 24px 20px;
  margin: 0;
  flex: 1 1 auto;
  overflow-y: auto;
}

.consult-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: end;
}

.consult-modal-panel .form-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.consult-modal-panel .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consult-modal-panel .form-group input,
.consult-modal-panel .form-group select {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background-color: #f8fafc;
  font-size: 13.5px;
  color: #0f172a;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.consult-modal-panel .form-group select {
  appearance: auto;
  -webkit-appearance: menulist;
  padding-right: 10px;
  background-image: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.consult-modal-panel .form-group input:hover,
.consult-modal-panel .form-group select:hover {
  border-color: #94a3b8;
  background-color: #ffffff;
}

.consult-modal-panel .form-group input:focus,
.consult-modal-panel .form-group select:focus {
  border-color: var(--forward-blue, #0e65ad);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 101, 173, 0.12);
}

.consult-modal-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.consult-modal-panel .button--submit {
  width: 100%;
  height: 45px;
  padding: 0 24px;
  margin: 0;
  border-radius: 12px;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.consult-modal-panel .form-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  margin: 8px 0 0;
  text-align: center;
}

@media (max-height: 700px) {
  .modal {
    padding: 12px;
  }

  .modal__panel {
    max-height: calc(100dvh - 24px);
    padding: 24px 28px;
  }

  .consult-modal-panel {
    max-height: calc(100dvh - 24px);
    padding: 0;
  }

  .consult-modal-head {
    padding: 14px 20px;
  }

  .consult-modal-avatar {
    width: 50px;
    height: 50px;
  }

  .consult-modal-mascot {
    width: 40px;
  }

  .consult-modal-head__text h3 {
    font-size: 1.15rem;
  }

  .consult-modal-body {
    padding: 14px 20px 16px;
  }

  .consult-form-grid {
    gap: 10px 14px;
  }

  .consult-modal-panel .form-group input,
  .consult-modal-panel .form-group select {
    height: 39px;
  }

  .consult-modal-footer {
    margin-top: 12px;
    padding-top: 12px;
  }

  .consult-modal-panel .button--submit {
    height: 42px;
  }
}

@media (max-width: 640px) {
  .modal {
    padding: 12px;
  }

  .modal__panel {
    padding: 24px 20px;
  }

  .consult-modal-panel {
    max-height: calc(100dvh - 24px);
    padding: 0;
  }

  .consult-modal-head {
    padding: 14px 16px;
    gap: 12px;
  }

  .consult-modal-avatar {
    width: 48px;
    height: 48px;
  }

  .consult-modal-mascot {
    width: 38px;
  }

  .consult-modal-body {
    padding: 14px 16px 16px;
  }

  .consult-form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* 13. Article Comments & Q&A Section (#comments) */
.fw-comments-area {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1.5px solid #e2e8f0;
}

.fw-comments-head {
  margin-bottom: 24px;
}

.fw-comments-head__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fw-comments-head__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--forward-blue, #0e65ad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #7dd3fc;
}

.fw-comments-head__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fw-comments-count {
  font-size: 12.5px;
  font-weight: 800;
  background: var(--forward-blue, #0e65ad);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 999px;
}

.fw-comments-head__sub {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.fw-comment-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fw-comment-list .children {
  list-style: none;
  margin: 12px 0 0 28px;
  padding: 0 0 0 18px;
  border-left: 2px solid #bae6fd;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fw-comment-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.fw-comment-item--staff > .fw-comment-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #7dd3fc;
  box-shadow: 0 6px 16px -6px rgba(14, 101, 173, 0.12);
}

.fw-comment-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #0e65ad 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid #bae6fd;
  flex-shrink: 0;
}

.fw-comment-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fw-comment-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.fw-comment-card__author-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fw-comment-card__author {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
}

.fw-comment-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  padding: 2px 9px;
  border-radius: 999px;
}

.fw-comment-card__date {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.fw-comment-card__moderation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 5px 12px;
  border-radius: 8px;
  margin: 4px 0 8px;
}

.fw-comment-card__content {
  font-size: 14.5px;
  line-height: 1.65;
  color: #1e293b;
}

.fw-comment-card__content p {
  margin: 0 0 8px;
}

.fw-comment-card__content p:last-child {
  margin-bottom: 0;
}

.fw-comment-card__actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.fw-comment-card__actions a {
  color: var(--forward-blue, #0e65ad);
  font-weight: 700;
  text-decoration: none;
}

.fw-comment-card__actions a:hover {
  text-decoration: underline;
}

/* Comment Form Box */
.fw-comment-respond {
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 65%, #eff6ff 100%);
  border: 1.5px solid #bae6fd;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 10px 26px -12px rgba(14, 101, 173, 0.1);
}

.fw-comment-reply-title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fw-cancel-reply a {
  font-size: 12.5px;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
}

.fw-comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fw-comment-form .logged-in-as {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
}

.fw-comment-form .logged-in-as a {
  color: var(--forward-blue, #0e65ad);
  font-weight: 700;
  text-decoration: none;
}

.fw-comment-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fw-comment-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fw-comment-form__field label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.fw-comment-form__field label .required {
  color: #ef4444;
}

.fw-comment-form__field input,
.fw-comment-form__field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 14px;
  color: #0f172a;
  padding: 10px 14px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.fw-comment-form__field input {
  height: 42px;
}

.fw-comment-form__field input:focus,
.fw-comment-form__field textarea:focus {
  outline: none;
  border-color: var(--forward-blue, #0e65ad);
  box-shadow: 0 0 0 3px rgba(14, 101, 173, 0.12);
}

.fw-comment-form .form-submit {
  margin: 4px 0 0;
}

.fw-comment-submit {
  cursor: pointer;
}

@media (max-width: 640px) {
  .fw-comment-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fw-comment-list .children {
    margin-left: 12px;
    padding-left: 12px;
  }

  .fw-comment-respond {
    padding: 18px;
  }
}

/* ========================================================
   CHINESE COURSE PAGES UI: HSK, TOCFL & CORPORATE TRAINING
   Pricing Tables, Combo Cards, Privilege Banner & Staircase
   Multi-Device Responsive (PC, Laptop, Tablet, Mobile)
   ======================================================== */
.fw-article-layout--course {
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 28px;
}

.fw-article-layout--course .fw-article-main {
  padding: 34px 38px;
  border-radius: 22px;
}

.fw-course-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 30px;
}

.fw-course-highlight-card {
  background: linear-gradient(155deg, #f4f9ff 0%, #ffffff 65%, #f0f9ff 100%);
  border: 1.5px solid #bae6fd;
  border-top: 4px solid #0284c7;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 20px -10px rgba(14, 101, 173, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fw-course-highlight-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  border-top-color: #0e65ad;
  box-shadow: 0 14px 28px -12px rgba(14, 101, 173, 0.18);
}

.fw-course-highlight-card__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.fw-course-highlight-card__title,
.fw-course-highlight-card h3 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--forward-navy, #171c60) !important;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
  display: block;
}

.fw-article-prose .fw-course-highlight-card p {
  font-size: 13.5px !important;
  line-height: 1.58 !important;
  color: #475569 !important;
  margin: 0 !important;
}

/* Pricing Panel & High-Specificity Table Overrides */
.fw-pricing-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1.5px solid #93c5fd;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px -12px rgba(14, 101, 173, 0.14);
  margin: 18px 0 30px;
}

.fw-pricing-panel__head {
  background: linear-gradient(135deg, #0c4a6e 0%, #0e65ad 55%, #0284c7 100%);
  color: #ffffff;
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.fw-pricing-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.3;
}

.fw-pricing-panel__sub {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  background: #fef08a;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1.25;
  white-space: nowrap;
}

.fw-tuition-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fw-article-prose table.fw-tuition-table,
.fw-tuition-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin: 0 !important;
  font-size: 14.5px;
  line-height: 1.45;
}

.fw-article-prose table.fw-tuition-table thead th,
.fw-tuition-table thead th {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: #0c4a6e !important;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-weight: 800 !important;
  font-size: 12.5px !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 13px 14px !important;
  text-align: center !important;
  vertical-align: middle !important;
  border-bottom: 2px solid #93c5fd !important;
  border-right: 1px solid #bfdbfe !important;
}

.fw-article-prose table.fw-tuition-table thead th:last-child,
.fw-tuition-table thead th:last-child {
  border-right: none !important;
}

.fw-article-prose table.fw-tuition-table thead th small,
.fw-tuition-table thead th small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #0369a1;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 3px;
  line-height: 1.3;
}

.fw-article-prose table.fw-tuition-table tbody tr,
.fw-tuition-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s ease;
}

.fw-article-prose table.fw-tuition-table tbody tr:last-child,
.fw-tuition-table tbody tr:last-child {
  border-bottom: none;
}

.fw-article-prose table.fw-tuition-table tbody tr:nth-child(even) td,
.fw-tuition-table tbody tr:nth-child(even) td {
  background: #f8fbff !important;
}

.fw-article-prose table.fw-tuition-table tbody tr:hover td,
.fw-tuition-table tbody tr:hover td {
  background: #eff6ff !important;
}

.fw-article-prose table.fw-tuition-table tbody td,
.fw-tuition-table tbody td {
  padding: 12px 14px !important;
  text-align: center !important;
  vertical-align: middle !important;
  color: #1e293b !important;
  font-weight: 600;
  border-right: 1px solid #eef2f6 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.fw-article-prose table.fw-tuition-table tbody td:last-child,
.fw-tuition-table tbody td:last-child {
  border-right: none !important;
}

.fw-article-prose table.fw-tuition-table tbody td.fw-tuition-td--left,
.fw-tuition-table tbody td.fw-tuition-td--left {
  text-align: left !important;
  font-weight: 500;
  line-height: 1.55;
}

.fw-tuition-course-name {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-weight: 800;
  color: #0c4a6e;
  font-size: 15px;
  white-space: nowrap;
}

.fw-tuition-nowrap {
  white-space: nowrap;
}

.fw-tuition-price {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-weight: 800;
  font-size: 15px;
  color: #0e65ad;
  background: #f0f9ff;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  display: inline-block;
  white-space: nowrap;
}

.fw-tuition-fasttrack {
  color: #15803d;
  font-weight: 800;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  display: inline-block;
  white-space: nowrap;
}

/* Sunshine Privilege Banner */
.fw-privilege-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 55%, #fde68a 100%);
  border-top: 1.5px solid #fcd34d;
  padding: 15px 22px;
  color: #78350f;
}

.fw-privilege-banner__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f59e0b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.fw-privilege-banner__text {
  font-size: 14px;
  line-height: 1.5;
  color: #78350f;
}

.fw-article-prose .fw-privilege-banner__text strong {
  color: #92400e !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

/* Combo & Flexible Course Cards Grid */
.fw-combo-section-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #7dd3fc;
  color: #0369a1;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.fw-combo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 30px;
  align-items: stretch;
}

.fw-combo-card {
  position: relative;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid #93c5fd;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 22px -10px rgba(14, 101, 173, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fw-combo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(14, 101, 173, 0.22);
}

.fw-combo-card__head {
  padding: 13px 10px;
  min-height: 76px;
  text-align: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-bottom: 1.5px solid #7dd3fc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.fw-combo-card__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 13.8px;
  font-weight: 800;
  color: #0c4a6e;
  line-height: 1.25;
  text-transform: uppercase;
  display: block;
}

.fw-combo-card__sub {
  display: block;
  font-size: 11.2px;
  font-weight: 600;
  color: #0369a1;
  line-height: 1.3;
}

.fw-combo-card--lime {
  border-color: #84cc16;
}

.fw-combo-card--lime .fw-combo-card__head {
  background: linear-gradient(135deg, #ecfccb 0%, #d9f99d 100%);
  border-bottom-color: #a3e635;
}

.fw-combo-card--lime .fw-combo-card__title {
  color: #14532d;
}

.fw-combo-card--lime .fw-combo-card__sub {
  color: #15803d;
}

.fw-combo-card--featured {
  background: linear-gradient(180deg, #0c4a6e 0%, #072f49 100%);
  border: 2px solid #f59e0b;
  color: #ffffff;
  box-shadow: 0 14px 32px -10px rgba(12, 74, 110, 0.35);
}

.fw-combo-card--featured .fw-combo-card__head {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-bottom: 1.5px solid rgba(254, 240, 138, 0.35);
}

.fw-combo-card--featured .fw-combo-card__title {
  color: #fef08a;
  font-size: 14px;
}

.fw-combo-card--featured .fw-combo-card__sub {
  color: #e0f2fe;
}

.fw-combo-card__crown {
  display: inline-block;
  font-size: 9.8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fef08a;
  color: #78350f;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.25;
}

.fw-combo-card__body {
  padding: 15px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.fw-combo-card__sessions {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.fw-combo-card--featured .fw-combo-card__sessions {
  color: #ffffff !important;
}

.fw-combo-card__hours {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.3;
}

.fw-article-prose .fw-combo-card__hours strong {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.fw-combo-card--featured .fw-combo-card__hours {
  background: rgba(255, 255, 255, 0.14);
  color: #e0f2fe;
}

.fw-article-prose .fw-combo-card--featured .fw-combo-card__hours strong {
  color: #fef08a !important;
  font-weight: 800 !important;
}

.fw-combo-card__old-price {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 1.5px;
  margin-top: 2px;
  white-space: nowrap;
}

.fw-combo-card--featured .fw-combo-card__old-price {
  color: #cbd5e1;
}

.fw-combo-card__price {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 18px;
  font-weight: 900;
  color: #0e65ad;
  line-height: 1.2;
  white-space: nowrap;
}

.fw-combo-card--lime .fw-combo-card__price {
  color: #15803d;
}

.fw-combo-card--featured .fw-combo-card__price {
  color: #0f172a !important;
  background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 17.5px;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.fw-combo-card__save {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 2px;
  white-space: nowrap;
  line-height: 1.3;
}

.fw-combo-card--lime .fw-combo-card__save {
  color: #15803d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.fw-combo-card--featured .fw-combo-card__save {
  color: #fef08a;
  background: rgba(254, 240, 138, 0.14);
  border-color: rgba(254, 240, 138, 0.35);
}

.fw-combo-card__dual-item {
  width: 100%;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 9px 8px;
}

.fw-combo-card__dual-item + .fw-combo-card__dual-item {
  margin-top: 6px;
}

.fw-combo-card__dual-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2px;
}

/* Visual Staircase Chart (HSK 3.0 9 Levels & TOCFL 6 Levels) */
.fw-staircase-card {
  background: linear-gradient(160deg, #f4f9ff 0%, #ffffff 55%, #eef6ff 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 22px;
  padding: 24px 24px 26px;
  margin: 18px 0 30px;
  box-shadow: 0 12px 30px -12px rgba(14, 101, 173, 0.12);
}

.fw-staircase-card__header {
  margin-bottom: 16px;
}

.fw-staircase-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, #0c4a6e 0%, #0e65ad 100%);
  color: #ffffff;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.fw-article-prose .fw-staircase-card__desc {
  font-size: 14px !important;
  color: #334155 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

.fw-staircase-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.fw-staircase-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #dbeafe;
  padding: 4px 11px;
  border-radius: 999px;
}

.fw-staircase-legend__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fw-staircase-legend__dot--green { background: #16a34a; }
.fw-staircase-legend__dot--blue { background: #0284c7; }
.fw-staircase-legend__dot--purple { background: #7c3aed; }

.fw-staircase-bars {
  display: grid;
  gap: 8px;
  align-items: end;
  height: 285px;
  padding: 32px 6px 0;
  border-bottom: 3px solid #cbd5e1;
}

.fw-staircase-bars--hsk {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.fw-staircase-bars--tocfl {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.fw-stair-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}

.fw-stair-words {
  font-size: 10.5px;
  font-weight: 800;
  color: #0c4a6e;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 2px 6px;
  margin-bottom: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
  line-height: 1.3;
}

.fw-stair-pillar {
  width: 100%;
  border-radius: 11px 11px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 3px;
  color: #ffffff;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -4px rgba(15, 23, 42, 0.18);
  position: relative;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.fw-stair-col:hover .fw-stair-pillar {
  transform: translateY(-3px);
}

.fw-stair-cefr {
  font-size: 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.25;
}

.fw-stair-level {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}

.fw-stair-pillar--c1 { background: linear-gradient(180deg, #84cc16 0%, #65a30d 100%); height: 32%; --bar-w: 42%; }
.fw-stair-pillar--c2 { background: linear-gradient(180deg, #22c55e 0%, #15803d 100%); height: 40%; --bar-w: 49%; }
.fw-stair-pillar--c3 { background: linear-gradient(180deg, #10b981 0%, #047857 100%); height: 48%; --bar-w: 56%; }
.fw-stair-pillar--c4 { background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%); height: 56%; --bar-w: 64%; }
.fw-stair-pillar--c5 { background: linear-gradient(180deg, #0ea5e9 0%, #0369a1 100%); height: 65%; --bar-w: 71%; }
.fw-stair-pillar--c6 { background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%); height: 74%; --bar-w: 78%; }
.fw-stair-pillar--c7 { background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%); height: 83%; --bar-w: 85%; }
.fw-stair-pillar--c8 { background: linear-gradient(180deg, #6366f1 0%, #4338ca 100%); height: 91%; --bar-w: 92%; }
.fw-stair-pillar--c9 { background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%); height: 100%; --bar-w: 100%; }

.fw-staircase-bars--tocfl .fw-stair-col:nth-child(1) .fw-stair-pillar { height: 34%; --bar-w: 45%; }
.fw-staircase-bars--tocfl .fw-stair-col:nth-child(2) .fw-stair-pillar { height: 46%; --bar-w: 56%; }
.fw-staircase-bars--tocfl .fw-stair-col:nth-child(3) .fw-stair-pillar { height: 59%; --bar-w: 67%; }
.fw-staircase-bars--tocfl .fw-stair-col:nth-child(4) .fw-stair-pillar { height: 72%; --bar-w: 78%; }
.fw-staircase-bars--tocfl .fw-stair-col:nth-child(5) .fw-stair-pillar { height: 86%; --bar-w: 89%; }
.fw-staircase-bars--tocfl .fw-stair-col:nth-child(6) .fw-stair-pillar { height: 100%; --bar-w: 100%; }

/* Corporate Tailor-Made Curriculum Highlight Banner & Steps */
.fw-corp-tailor-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
  border: 2px solid #38bdf8;
  border-radius: 20px;
  padding: 24px 26px;
  margin: 0 0 28px;
  box-shadow: 0 12px 28px -10px rgba(14, 101, 173, 0.14);
}

.fw-corp-tailor-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: linear-gradient(135deg, #0e65ad 0%, #0284c7 100%);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.fw-corp-tailor-banner__title,
.fw-corp-tailor-banner h3 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--forward-navy, #171c60) !important;
  margin: 0 0 8px !important;
  line-height: 1.35 !important;
  display: block;
}

.fw-article-prose .fw-corp-tailor-banner p {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #1e293b !important;
  margin: 0 !important;
}

.fw-corp-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 30px;
}

.fw-corp-step-card {
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-left: 4px solid #0284c7;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fw-corp-step-card:hover {
  transform: translateY(-2px);
  border-color: #7dd3fc;
  border-left-color: #0e65ad;
}

.fw-corp-step-card__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.fw-corp-step-card__title,
.fw-corp-step-card h4 {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--forward-navy, #171c60) !important;
  margin: 0 0 6px !important;
  display: block;
  line-height: 1.35 !important;
}

.fw-article-prose .fw-corp-step-card p {
  font-size: 13.5px !important;
  line-height: 1.58 !important;
  color: #475569 !important;
  margin: 0 !important;
}

/* Contact Info Grid on Course Pages */
.fw-course-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 24px;
}

.fw-course-contact-item {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #1e293b;
}

.fw-course-contact-item__label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0284c7;
  margin-bottom: 4px;
}

/* Multi-Device Responsive Breakpoints for Course Pages */
@media (max-width: 1220px) {
  .fw-combo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .fw-combo-card__head {
    min-height: 68px;
    padding: 14px 14px;
  }

  .fw-combo-card__title {
    font-size: 15px;
  }

  .fw-combo-card__price {
    font-size: 20px;
  }
}

@media (max-width: 1080px) {
  .fw-article-layout--course {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .fw-course-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fw-corp-steps,
  .fw-course-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .fw-article-layout--course .fw-article-main {
    padding: 22px 18px;
  }

  .fw-pricing-panel__head {
    padding: 14px 16px;
  }

  .fw-pricing-panel__badge {
    font-size: 13.5px;
  }

  .fw-pricing-panel__sub {
    font-size: 11.5px;
    white-space: normal;
  }

  .fw-privilege-banner {
    padding: 14px 16px;
    gap: 12px;
  }

  .fw-privilege-banner__text {
    font-size: 13px;
  }

  .fw-combo-section-lead {
    border-radius: 14px;
    font-size: 13px;
    padding: 10px 14px;
  }

  /* Transform Staircase into Horizontal Progress Bars on Mobile */
  .fw-staircase-card {
    padding: 18px 16px 20px;
  }

  .fw-staircase-bars,
  .fw-staircase-bars--hsk,
  .fw-staircase-bars--tocfl {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 8px 0 0;
    border-bottom: none;
  }

  .fw-stair-col {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: auto;
  }

  .fw-stair-pillar,
  .fw-staircase-bars--tocfl .fw-stair-col:nth-child(n) .fw-stair-pillar {
    order: 1;
    height: 40px !important;
    width: var(--bar-w, 100%);
    min-width: 125px;
    border-radius: 10px;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 0 12px;
  }

  .fw-stair-words {
    order: 2;
    margin-bottom: 0;
    font-size: 11.5px;
    padding: 4px 10px;
  }
}

@media (max-width: 560px) {
  .fw-combo-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fw-corp-tailor-banner {
    padding: 18px 18px;
  }

  .fw-corp-tailor-banner__title,
  .fw-corp-tailor-banner h3 {
    font-size: 17.5px !important;
  }
}

/* Crisp Inline SVG Flag Icons for Language Switcher */
.fw-flag-svg {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 15px;
  border-radius: 2.5px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
  flex-shrink: 0;
}

.lang-flag,
.lang-opt-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lang-opt-flag .fw-flag-svg {
  width: 22px;
  height: 16.5px;
}

.announcement__lang-btn,
.mobile-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.announcement__lang-btn .fw-flag-svg {
  width: 16px;
  height: 12px;
}

/* Defensive Reset for Headings Inside Article Tables */
.fw-article-prose td h1,
.fw-article-prose td h2,
.fw-article-prose td h3,
.fw-article-prose td h4,
.fw-article-prose td h5,
.fw-article-prose td h6,
.fw-article-prose th h1,
.fw-article-prose th h2,
.fw-article-prose th h3,
.fw-article-prose th h4,
.fw-article-prose th h5,
.fw-article-prose th h6,
.fw-table-cell-line {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 2px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
}

.fw-article-prose td p:last-child,
.fw-article-prose th p:last-child {
  margin-bottom: 0;
}

/* ========================================================
   ABOUT PAGE (/gioi-thieu/) CUSTOM UI LAYOUT
   Open Letter, Video Showcase, E-BO Mascot, Awards Bento,
   Business Licenses & Filterable 12 Legal Certificates
   ======================================================== */
.fw-article-layout--about {
  grid-template-columns: 1fr !important;
}

.fw-article-layout--about .fw-article-main {
  padding: 34px 38px;
  border-radius: 22px;
}

/* 1. Top 4 Stat Cards */
.fw-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 34px;
}

.fw-about-stat-card {
  background: linear-gradient(155deg, #f4f9ff 0%, #ffffff 65%, #f0f9ff 100%);
  border: 1.5px solid #bae6fd;
  border-top: 4px solid #0e65ad;
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: 0 10px 24px -12px rgba(14, 101, 173, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.fw-about-stat-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 16px 30px -12px rgba(14, 101, 173, 0.2);
}

.fw-about-stat-card--lime {
  border-top-color: #65a30d;
}

.fw-about-stat-card--amber {
  border-top-color: #f59e0b;
}

.fw-about-stat-card--crimson {
  border-top-color: #e11d48;
}

.fw-about-stat-card__num {
  display: block;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--forward-navy, #171c60);
  line-height: 1.15;
  margin-bottom: 6px;
}

.fw-about-stat-card__label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0c4a6e;
  margin-bottom: 4px;
  line-height: 1.35;
}

.fw-about-stat-card__desc {
  display: block;
  font-size: 12.8px;
  color: #475569;
  line-height: 1.5;
}

/* 2. Open Letter & Brand Story 2-Column Grid */
.fw-about-letter-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 24px;
  margin: 16px 0 36px;
  align-items: stretch;
}

.fw-about-letter-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 22px;
  padding: 30px 32px;
  box-shadow: 0 14px 34px -14px rgba(14, 101, 173, 0.14);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fw-about-letter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0e65ad 0%, #009fe3 45%, #84cc16 100%);
}

.fw-about-letter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1.5px dashed #cbd5e1;
}

.fw-about-letter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.fw-about-letter-title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--forward-navy, #171c60);
  line-height: 1.25;
  display: block;
}

.fw-about-letter-crest {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fw-article-prose .fw-about-letter-body p {
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #1e293b !important;
  margin: 0 0 14px !important;
}

.fw-about-letter-salutation {
  font-weight: 800;
  color: #0c4a6e !important;
  font-size: 16px !important;
}

.fw-about-letter-sign {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fw-about-letter-sign__thanks {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 16px;
  font-weight: 800;
  font-style: italic;
  color: #0e65ad;
}

.fw-about-letter-sign__org {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.fw-about-letter-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.fw-about-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fw-about-pillar {
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-left: 4px solid #0e65ad;
  border-radius: 16px;
  padding: 15px 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.fw-about-pillar--lime {
  border-left-color: #65a30d;
}

.fw-about-pillar--amber {
  border-left-color: #f59e0b;
}

.fw-about-pillar__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0284c7;
  margin-bottom: 3px;
}

.fw-about-pillar__quote {
  display: block;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin-bottom: 4px;
  line-height: 1.3;
}

.fw-about-pillar__desc {
  display: block;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

/* Interactive Zoomable Card Base */
.fw-zoom-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.fw-zoom-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8 !important;
  box-shadow: 0 16px 32px -12px rgba(14, 101, 173, 0.22) !important;
}

.fw-zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 11px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.fw-zoom-card:hover .fw-zoom-hint {
  background: #0e65ad;
  color: #ffffff;
  border-color: #0e65ad;
}

.fw-about-original-letter {
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 20px -10px rgba(14, 101, 173, 0.12);
}

.fw-about-original-letter__img-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
  background: #f8fafc;
}

.fw-about-original-letter__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.35s ease;
}

.fw-about-original-letter:hover .fw-about-original-letter__img-wrap img {
  transform: scale(1.025);
}

.fw-about-original-letter__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* 3. Official Video Section — Cinema Showcase */
.fw-about-video-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(145deg, #07192f 0%, #0d2b4e 52%, #0c4a80 100%);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 24px;
  padding: 28px 30px;
  color: #ffffff;
  margin: 18px 0 38px;
  box-shadow: 0 22px 48px -16px rgba(7, 25, 47, 0.42);
}

.fw-about-video-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fw-about-video-head__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fw-about-video-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #bae6fd;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
}

.fw-about-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  border: 1.5px solid rgba(186, 230, 253, 0.28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
}

@supports not (aspect-ratio: 16 / 9) {
  .fw-about-video-frame {
    padding-bottom: 56.25%;
  }
}

.fw-about-video-frame iframe,
.fw-about-video-frame video.fw-vp-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #020617;
  margin: 0 !important;
  border-radius: 0 !important;
  cursor: pointer;
  display: block;
}

/* Custom Clean HTML5 Video Player (Cinema UI + Smooth Scrubbing) */
.fw-custom-player {
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.fw-custom-player:fullscreen,
.fw-custom-player:-webkit-full-screen,
.fw-custom-player.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  aspect-ratio: auto !important;
  padding-bottom: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  z-index: 999999 !important;
  background: #000000 !important;
}

/* Center Play Button Overlay */
.fw-vp-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.92);
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.95) 0%, rgba(2, 132, 199, 0.94) 55%, rgba(12, 74, 110, 0.95) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(56, 189, 248, 0.18);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, visibility 0.22s ease, box-shadow 0.24s ease;
}

.fw-vp-center-play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.fw-vp-center-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 18px 42px rgba(2, 132, 199, 0.65), 0 0 0 14px rgba(56, 189, 248, 0.26);
}

/* Strictly hide Center Play Button when video is playing */
.fw-custom-player.is-playing .fw-vp-center-play,
.fw-vp-center-play.is-hidden,
.fw-vp-center-play[hidden] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, -50%) scale(0.75) !important;
}

/* Hide legacy duplicate topbar if present */
.fw-vp-topbar {
  display: none !important;
}

/* Unified Bottom Cinema Control Bar */
.fw-vp-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.68) 58%, rgba(2, 6, 23, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 7;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

/* Before first play, keep bottom bar subtle unless hovered so poster subtitle is clear */
.fw-custom-player:not(.has-started):not(:hover) .fw-vp-controls {
  opacity: 0;
  transform: translateY(4px);
}

/* Auto-hide controls when playing and mouse is idle (so burned-in video subtitles are 100% clear) */
.fw-custom-player.is-playing.is-idle .fw-vp-controls {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.fw-custom-player.is-playing.is-idle video.fw-vp-video {
  cursor: none;
}

/* Interactive Progress / Seek Scrubber Track */
.fw-vp-progress-wrap {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}

.fw-vp-progress-track {
  position: relative;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: visible;
  transition: height 0.16s ease, background 0.16s ease;
}

.fw-vp-progress-wrap:hover .fw-vp-progress-track,
.fw-custom-player.is-scrubbing .fw-vp-progress-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.32);
}

.fw-vp-progress-buffer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--buffer-pct, 0%);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  pointer-events: none;
}

.fw-vp-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--seek-pct, 0%);
  background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 55%, #facc15 100%);
  border-radius: 999px;
  pointer-events: none;
}

.fw-vp-progress-thumb {
  position: absolute;
  top: 50%;
  left: var(--seek-pct, 0%);
  transform: translate(-50%, -50%) scale(0.85);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fw-vp-progress-wrap:hover .fw-vp-progress-thumb,
.fw-custom-player.is-scrubbing .fw-vp-progress-thumb {
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.28), 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* Native Range Input overlaid across full 20px height for 100% reliable click & drag scrubbing */
.fw-vp-seek {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 4;
  appearance: none;
  -webkit-appearance: none;
}

/* Bottom Controls Row */
.fw-vp-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.fw-vp-bar-left,
.fw-vp-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fw-vp-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 12px;
  font-weight: 700;
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease, color 0.18s ease;
}

.fw-vp-btn--icon {
  padding: 0;
  width: 34px;
}

.fw-vp-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
  pointer-events: none;
}

.fw-vp-btn:hover {
  background: rgba(14, 165, 233, 0.88);
  border-color: rgba(186, 230, 253, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}

.fw-vp-btn:active {
  transform: translateY(0);
}

/* Play / Pause SVG Icon toggling inside .fw-vp-play-btn */
.fw-vp-play-btn .fw-icon-pause {
  display: none;
}
.fw-custom-player.is-playing .fw-vp-play-btn .fw-icon-play {
  display: none;
}
.fw-custom-player.is-playing .fw-vp-play-btn .fw-icon-pause {
  display: block;
}

/* Mute / Unmute SVG Icon toggling inside .fw-vp-mute-btn */
.fw-vp-mute-btn .fw-icon-muted {
  display: none;
}
.fw-custom-player.is-muted .fw-vp-mute-btn .fw-icon-vol {
  display: none;
}
.fw-custom-player.is-muted .fw-vp-mute-btn .fw-icon-muted {
  display: block;
  color: #fca5a5;
}

/* Volume Slider Group */
.fw-vp-volume-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding-right: 9px;
}

.fw-vp-volume-group .fw-vp-mute-btn {
  border: 0;
  background: transparent;
}

.fw-vp-volume {
  width: 62px;
  height: 4px;
  accent-color: #38bdf8;
  cursor: pointer;
  margin: 0;
}

/* Time Counter */
.fw-vp-time {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f1f5f9;
  white-space: nowrap;
  padding: 0 6px;
  flex-shrink: 0;
}

/* Speed Pill */
.fw-vp-speed-btn {
  font-variant-numeric: tabular-nums;
  min-width: 44px;
  font-size: 11.5px;
  color: #bae6fd;
}

/* Fullscreen Expand / Shrink Buttons */
.fw-vp-btn-shrink {
  display: none !important;
}

.fw-custom-player:fullscreen .fw-vp-btn-expand,
.fw-custom-player:-webkit-full-screen .fw-vp-btn-expand,
.fw-custom-player.is-fullscreen .fw-vp-btn-expand {
  display: none !important;
}

.fw-custom-player:fullscreen .fw-vp-btn-shrink,
.fw-custom-player:-webkit-full-screen .fw-vp-btn-shrink,
.fw-custom-player.is-fullscreen .fw-vp-btn-shrink {
  display: inline-flex !important;
  background: rgba(220, 38, 38, 0.88);
  border-color: rgba(254, 202, 202, 0.6);
}

.fw-custom-player:fullscreen .fw-vp-btn-shrink:hover,
.fw-custom-player:-webkit-full-screen .fw-vp-btn-shrink:hover,
.fw-custom-player.is-fullscreen .fw-vp-btn-shrink:hover {
  background: #b91c1c;
}

/* Video Info & 3-Column Highlights below Player */
.fw-about-video-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fw-about-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(254, 240, 138, 0.16);
  border: 1px solid rgba(254, 240, 138, 0.45);
  color: #fef08a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}

.fw-about-video-title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.32;
  display: block;
}

.fw-article-prose .fw-about-video-card p,
.fw-article-prose .fw-about-video-info p,
.fw-article-prose .fw-about-video-head p {
  font-size: 14.2px !important;
  line-height: 1.62 !important;
  color: #e0f2fe !important;
  margin: 0 !important;
}

.fw-about-video-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2px;
}

.fw-about-video-point {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(186, 230, 253, 0.2);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 13.2px;
  color: #f8fafc;
  line-height: 1.5;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fw-about-video-point:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(125, 211, 252, 0.42);
  transform: translateY(-2px);
}

.fw-article-prose .fw-about-video-point strong {
  color: #fef08a !important;
  display: block;
  margin-bottom: 3px;
  font-size: 13.8px;
}

.fw-about-video-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 6px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fw-about-video-yt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.5);
  color: #ffffff !important;
}

/* 4. Mascot Spotlight Card (Anh Vũ E-BO) */
.fw-about-mascot-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 50%, #f0f9ff 100%);
  border: 2px solid #86efac;
  border-radius: 24px;
  padding: 30px 32px;
  margin: 16px 0 36px;
  box-shadow: 0 14px 34px -14px rgba(22, 163, 74, 0.14);
  align-items: center;
}

.fw-about-mascot-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.fw-about-mascot-main {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1.5px solid #bbf7d0;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px -10px rgba(22, 163, 74, 0.12);
}

.fw-about-mascot-main img {
  max-height: 230px;
  width: auto;
  object-fit: contain;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fw-about-mascot-subcard {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.fw-about-mascot-subcard img {
  height: 82px;
  width: auto;
  object-fit: contain;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fw-about-mascot-subcard span {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
}

.fw-about-mascot-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fw-about-mascot-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 13px;
  border-radius: 999px;
}

.fw-about-mascot-name {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 25px;
  font-weight: 900;
  color: var(--forward-navy, #171c60);
  line-height: 1.25;
  display: block;
}

.fw-about-mascot-story {
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  border-left: 4px solid #0284c7;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14.8px;
  line-height: 1.68;
  color: #1e293b;
}

.fw-about-mascot-traits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fw-about-mascot-trait {
  background: #ffffff;
  border: 1px solid #dcfce7;
  border-radius: 14px;
  padding: 12px 14px;
}

.fw-about-mascot-trait__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #15803d;
  margin-bottom: 3px;
}

.fw-about-mascot-trait__val {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

/* 5. Awards & Commendations Bento Showcase */
.fw-about-awards-bento {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin: 16px 0 36px;
  align-items: stretch;
}

.fw-about-award-hero {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border: 2px solid #fcd34d;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px -12px rgba(245, 158, 11, 0.2);
}

.fw-about-award-hero__img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #fde68a;
  margin-bottom: 16px;
  background: #ffffff;
}

.fw-about-award-hero__img img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.35s ease;
}

.fw-about-award-hero:hover .fw-about-award-hero__img img {
  transform: scale(1.025);
}

.fw-about-award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fw-about-award-item {
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.08);
}

.fw-about-award-item__img {
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #f1f5f9;
  margin-bottom: 10px;
}

.fw-about-award-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.35s ease;
}

.fw-about-award-item:hover .fw-about-award-item__img img {
  transform: scale(1.04);
}

.fw-zoom-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.fw-zoom-tag--blue {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #bae6fd;
}

.fw-zoom-tag--green {
  color: #15803d;
  background: #dcfce7;
  border-color: #86efac;
}

.fw-zoom-tag--purple {
  color: #6d28d9;
  background: #ede9fe;
  border-color: #ddd6fe;
}

.fw-zoom-title {
  display: block;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  line-height: 1.35;
  margin-bottom: 4px;
}

.fw-about-award-hero .fw-zoom-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.fw-zoom-desc {
  display: block;
  font-size: 12.8px;
  color: #475569;
  line-height: 1.5;
}

/* 6. Business License 4-Frame Showcase */
.fw-about-license-showcase {
  background: linear-gradient(160deg, #fffbeb 0%, #ffffff 55%, #f0f9ff 100%);
  border: 1.5px solid #fcd34d;
  border-radius: 22px;
  padding: 22px 24px;
  margin: 16px 0 36px;
  box-shadow: 0 12px 30px -12px rgba(14, 101, 173, 0.12);
}

.fw-about-license-banner {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #fde68a;
  background: #ffffff;
  padding: 12px;
  margin-bottom: 18px;
}

.fw-about-license-banner img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  border-radius: 10px !important;
}

.fw-about-license-banner__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.fw-about-license-frames {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fw-about-license-frame-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #f59e0b;
  border-radius: 14px;
  padding: 12px 14px;
}

.fw-about-license-frame-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  margin-bottom: 3px;
  line-height: 1.35;
}

.fw-about-license-frame-item span {
  display: block;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

/* 7. Filterable 12 Official Legal Decisions & Certificates */
.fw-cert-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px;
  padding: 8px;
  background: #f1f5f9;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.fw-cert-filter-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fw-cert-filter-btn:hover {
  background: #ffffff;
  color: #0e65ad;
}

.fw-cert-filter-btn.is-active {
  background: linear-gradient(135deg, #0e65ad 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 101, 173, 0.25);
}

.fw-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 36px;
}

.fw-cert-card {
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 22px -12px rgba(15, 23, 42, 0.08);
}

.fw-cert-card.is-cert-hidden {
  display: none !important;
}

.fw-cert-card__preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  aspect-ratio: 3 / 4.1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 12px;
}

.fw-cert-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.3s ease;
}

.fw-cert-card:hover .fw-cert-card__preview img {
  transform: scale(1.035);
}

.fw-cert-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.fw-cert-card__foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fw-cert-card__code {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Responsive Breakpoints for About Page */
@media (max-width: 1120px) {
  .fw-cert-grid,
  .fw-about-license-frames {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fw-about-letter-grid,
  .fw-about-video-card,
  .fw-about-mascot-card,
  .fw-about-awards-bento {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .fw-article-layout--about .fw-article-main {
    padding: 26px 22px;
  }

  .fw-about-stats,
  .fw-cert-grid,
  .fw-about-license-frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fw-about-video-points {
    grid-template-columns: 1fr;
  }

  .fw-vp-volume {
    display: none;
  }

  .fw-vp-volume-group {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .fw-article-layout--about .fw-article-main {
    padding: 20px 16px;
  }

  .fw-about-letter-badge {
    font-size: 10.5px;
    line-height: 1.45;
    padding: 6px 12px;
    border-radius: 12px;
    text-align: center;
    word-break: keep-all;
  }

  .fw-about-stats,
  .fw-about-mascot-traits,
  .fw-about-award-grid,
  .fw-cert-grid,
  .fw-about-license-frames {
    grid-template-columns: 1fr;
  }

  .fw-about-letter-card,
  .fw-about-mascot-card,
  .fw-about-video-card {
    padding: 20px 16px;
  }

  .fw-vp-center-play {
    width: 60px;
    height: 60px;
  }

  .fw-vp-center-play svg {
    width: 24px;
    height: 24px;
  }

  .fw-vp-controls {
    padding: 18px 10px 8px;
    gap: 5px;
  }

  .fw-vp-btn {
    height: 30px;
    min-width: 30px;
    padding: 0 7px;
    font-size: 11px;
  }

  .fw-vp-btn--icon {
    width: 30px;
  }

  .fw-vp-fs-label {
    display: none;
  }
}

/* ========================================================
   STUDY GUIDE & COST OF LIVING PAGE REFINEMENTS
   Clean Table Sub-labels, 2x2 Cards & Official Source Cards
   ======================================================== */
.fw-tuition-td--left .fw-tuition-course-name {
  white-space: normal;
  line-height: 1.35;
}

.fw-tuition-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.4;
}

.fw-tuition-total-row td {
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border-top: 1.5px solid #93c5fd !important;
}

/* 2-Column Spacious Variant for .fw-combo-grid inside Article Prose */
.fw-combo-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fw-combo-grid--2col .fw-combo-card__head {
  padding: 14px 16px;
  min-height: 70px;
}

.fw-combo-grid--2col .fw-combo-card__title {
  font-size: 15px;
}

.fw-combo-grid--2col .fw-combo-card__sub {
  font-size: 12px;
}

.fw-combo-grid--2col .fw-combo-card__body {
  padding: 18px 16px;
  gap: 8px;
}

.fw-combo-grid--2col .fw-combo-card__hours,
.fw-combo-grid--2col .fw-combo-card__price,
.fw-combo-grid--2col .fw-combo-card__save {
  white-space: normal;
  text-align: center;
}

/* 2x2 Statutory Legal & Insurance Fee Cards */
.fw-legal-fee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 26px;
}

.fw-legal-fee-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 22px -12px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fw-legal-fee-card:hover {
  transform: translateY(-2px);
  border-color: #7dd3fc;
  box-shadow: 0 12px 26px -12px rgba(14, 101, 173, 0.16);
}

.fw-legal-fee-card--highlight {
  background: linear-gradient(165deg, #f0f9ff 0%, #ffffff 65%);
  border-color: #7dd3fc;
}

.fw-legal-fee-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.fw-legal-fee-card__badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: 999px;
}

.fw-legal-fee-card__price {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 15.5px;
  font-weight: 900;
  color: #0e65ad;
  background: #f0f9ff;
  border: 1px solid #93c5fd;
  padding: 4px 12px;
  border-radius: 999px;
}

.fw-legal-fee-card--highlight .fw-legal-fee-card__price {
  color: #15803d;
  background: #f0fdf4;
  border-color: #86efac;
}

.fw-legal-fee-card__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  line-height: 1.35;
}

.fw-article-prose .fw-legal-fee-card p {
  font-size: 13.8px !important;
  line-height: 1.58 !important;
  color: #475569 !important;
  margin: 0 !important;
}

/* Minimum Wage & Part-Time Income Visual Comparison Cards */
.fw-wage-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 20px;
}

.fw-wage-card {
  background: #ffffff;
  border: 1.5px solid #93c5fd;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px -12px rgba(14, 101, 173, 0.14);
}

.fw-wage-card--dark {
  background: linear-gradient(165deg, #0c4a6e 0%, #082f49 100%);
  border-color: #f59e0b;
  color: #ffffff;
}

.fw-wage-card__head {
  padding: 15px 20px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-bottom: 1.5px solid #7dd3fc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fw-wage-card--dark .fw-wage-card__head {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-bottom-color: rgba(254, 240, 138, 0.3);
}

.fw-wage-card__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #0c4a6e;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fw-wage-card--dark .fw-wage-card__title {
  color: #fef08a;
}

.fw-wage-card__tag {
  font-size: 11px;
  font-weight: 800;
  color: #0369a1;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
}

.fw-wage-card--dark .fw-wage-card__tag {
  background: #fef08a;
  color: #78350f;
}

.fw-wage-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.fw-wage-item {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fw-wage-card--dark .fw-wage-item {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.fw-wage-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.fw-wage-item__label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.fw-wage-card--dark .fw-wage-item__label {
  color: #e0f2fe;
}

.fw-wage-item__val {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 16.5px;
  font-weight: 900;
  color: #0e65ad;
}

.fw-wage-item__val--green {
  color: #15803d;
}

.fw-wage-card--dark .fw-wage-item__val {
  color: #fef08a;
}

.fw-wage-item__sub {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

.fw-wage-card--dark .fw-wage-item__sub {
  color: #cbd5e1;
}

.fw-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 28px;
}

.fw-source-card {
  background: #f8fbff;
  border: 1.5px solid #dbeafe;
  border-left: 4px solid #0284c7;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fw-source-card:hover {
  background: #ffffff;
  border-color: #7dd3fc;
  border-left-color: #0e65ad;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(14, 101, 173, 0.16);
}

.fw-source-card--full {
  grid-column: 1 / -1;
}

.fw-source-card__top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fw-source-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 2px 9px;
  border-radius: 999px;
  line-height: 1.3;
}

.fw-source-card__title {
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: var(--forward-navy, #171c60);
  line-height: 1.35;
}

.fw-article-prose .fw-source-card p {
  font-size: 13.2px !important;
  line-height: 1.55 !important;
  color: #475569 !important;
  margin: 0 !important;
}

.fw-source-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: #0284c7 !important;
  text-decoration: none !important;
  background: #ffffff;
  border: 1px solid #bae6fd;
  padding: 4px 11px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.fw-source-card__link:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
}

@media (max-width: 860px) {
  .fw-source-grid,
  .fw-legal-fee-grid,
  .fw-wage-compare-grid,
  .fw-combo-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SILKY-SMOOTH CROSS-DOCUMENT VIEW TRANSITIONS (120FPS COMPOSITOR FADE)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 90ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE & RENDER PERFORMANCE OVERHAUL (2026)
   ========================================================================== */
/* 1. Offscreen section rendering deferral (excludes image-heavy #journey & #gallery so images never stall) */
.intro-band,
.programs,
.services,
.language,
.map-section,
.why-forward,
.journal,
.recruitment,
.contact-cta,
.fw-archive-cta,
.fw-related-section,
.fw-comments-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 680px;
}

.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 340px;
}

html.is-anchor-scrolling .intro-band,
html.is-anchor-scrolling .programs,
html.is-anchor-scrolling .services,
html.is-anchor-scrolling .language,
html.is-anchor-scrolling .map-section,
html.is-anchor-scrolling .why-forward,
html.is-anchor-scrolling .journal,
html.is-anchor-scrolling .recruitment,
html.is-anchor-scrolling .contact-cta,
html.is-anchor-scrolling .site-footer {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

/* 2. Click-to-Play YouTube Facade (~25 third-party requests deferred until play) */
.fw-yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #020617;
  cursor: pointer;
  display: block;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.fw-yt-facade[data-yt-loaded="1"] {
  cursor: default;
}

.fw-article-prose .fw-about-video-frame > .fw-yt-facade,
.fw-about-video-frame > .fw-yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

.fw-about-video-frame .fw-yt-facade__badge {
  display: none;
}

.fw-article-prose .fw-yt-facade img,
.fw-yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #020617;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.fw-yt-facade:hover img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.fw-yt-facade__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.fw-yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.94);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.fw-yt-facade:hover .fw-yt-facade__play,
.fw-yt-facade:focus-visible .fw-yt-facade__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #dc2626;
}

.fw-article-prose .fw-yt-facade iframe,
.fw-article-prose .fw-about-video-frame iframe,
.fw-yt-facade iframe,
.fw-about-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block;
}

/* 3. Prose Media, Table Scroll Wrapper & Album Gallery Cover Fix */
.fw-article-prose img,
.fw-article-prose video:not(.fw-vp-video) {
  max-width: 100%;
  height: auto;
}

.fw-article-prose iframe {
  max-width: 100%;
}

.fw-article-prose .video-embed iframe {
  width: 100%;
  min-height: 580px;
}

.fw-article-prose img {
  background: #f1f5f9;
}

/* Multi-Device Responsive Video Showcase (.fw-about-video-card & .fw-yt-facade) */
@media (max-width: 1280px) {
  .fw-about-video-card {
    padding: 24px 26px;
    gap: 18px;
  }

  .fw-about-video-title {
    font-size: 19.5px;
  }
}

@media (max-width: 860px) {
  .fw-about-video-card {
    padding: 22px 20px;
    gap: 16px;
    border-radius: 20px;
    margin: 16px 0 28px;
  }

  .fw-about-video-title {
    font-size: 18px;
  }

  .fw-about-video-frame {
    border-radius: 14px;
  }

  .fw-about-video-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fw-yt-facade__play {
    width: 62px;
    height: 44px;
    border-radius: 13px;
  }
}

@media (max-width: 560px) {
  .fw-about-video-card {
    padding: 18px 14px;
    gap: 14px;
    border-radius: 16px;
    margin: 14px 0 24px;
  }

  .fw-about-video-head__top {
    gap: 8px;
  }

  .fw-about-video-badge {
    font-size: 10px;
    padding: 4px 10px;
  }

  .fw-about-video-meta-pill {
    font-size: 10.5px;
    padding: 3.5px 9px;
  }

  .fw-about-video-title {
    font-size: 16.5px;
    line-height: 1.36;
  }

  .fw-article-prose .fw-about-video-card p,
  .fw-article-prose .fw-about-video-head p {
    font-size: 13.5px !important;
    line-height: 1.56 !important;
  }

  .fw-about-video-frame {
    border-radius: 12px;
  }

  .fw-yt-facade {
    border-radius: 12px;
  }

  .fw-yt-facade__play {
    width: 54px;
    height: 38px;
    border-radius: 11px;
  }

  .fw-yt-facade__play svg {
    width: 22px;
    height: 22px;
  }

  .fw-about-video-point {
    padding: 11px 13px;
    font-size: 13px;
    border-radius: 12px;
  }

  .fw-about-video-yt-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px 16px;
  }
}

.fw-article-prose pre {
  max-width: 100%;
  overflow-x: auto;
}

.fw-table-wrap,
.fw-tuition-table-wrap,
.fw-article-prose .wp-block-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.fw-table-wrap > table,
.fw-tuition-table-wrap > table,
.fw-article-prose .wp-block-table > table {
  display: table;
  width: 100%;
  min-width: 520px;
}

.fw-article-prose > table {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .fw-table-wrap,
  .fw-tuition-table-wrap {
    box-shadow: inset -14px 0 14px -14px rgba(14, 101, 173, 0.22);
  }

  .fw-table-wrap > table,
  .fw-tuition-table-wrap > table,
  .fw-article-prose .wp-block-table > table {
    min-width: 480px;
    font-size: 13.5px;
  }

  .fw-article-prose table th,
  .fw-article-prose table td {
    padding: 9px 11px;
  }
}

.fw-article-prose .album-gallery-grid .album-photo-item img,
.album-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.album-gallery-grid:has(> .album-photo-item:nth-child(4):last-child),
.album-gallery-grid:has(> .album-photo-item:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 560px) {
  .album-gallery-grid,
  .album-gallery-grid:has(> .album-photo-item:nth-child(4):last-child),
  .album-gallery-grid:has(> .album-photo-item:nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* 4. Standard Desktop/Laptop, Tablet & Mobile Floating E-BO Ergonomics (All-Device Pill Scale) */
@media (max-width: 1440px) {
  .floating-ebo {
    bottom: 20px;
    right: 20px;
  }

  .floating-ebo__toggle {
    height: 56px;
    padding: 5px 16px 5px 7px;
    gap: 9px;
  }

  .floating-ebo__avatar-wrap {
    width: 42px;
    height: 42px;
  }

  .floating-ebo__img {
    width: 32px;
  }

  .floating-ebo__label-main {
    font-size: 13.5px;
  }

  .floating-ebo__label-sub {
    font-size: 10.5px;
  }

  .floating-ebo__menu {
    bottom: 72px;
    width: 336px;
    padding: 17px;
  }

  .ebo-menu-head img {
    width: 45px;
  }

  .ebo-menu-head strong {
    font-size: 15.5px;
  }

  .ebo-menu-head small {
    font-size: 12px;
  }

  .ebo-link {
    padding: 11px 13.5px;
    font-size: 13.75px;
  }

  .site-footer {
    padding-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .floating-ebo {
    bottom: 18px;
    right: 18px;
  }

  .floating-ebo__toggle {
    height: 54px;
    padding: 5px 14px 5px 7px;
    gap: 8px;
  }

  .floating-ebo__avatar-wrap {
    width: 40px;
    height: 40px;
  }

  .floating-ebo__img {
    width: 30px;
  }

  .floating-ebo__menu {
    bottom: 68px;
    width: 324px;
    padding: 16px;
  }

  .ebo-menu-head img {
    width: 44px;
  }

  .ebo-menu-head strong {
    font-size: 15px;
  }

  .ebo-menu-head small {
    font-size: 12px;
  }

  .ebo-link {
    padding: 11px 13px;
    font-size: 13.5px;
  }

  .site-footer {
    padding-bottom: 20px;
  }
}

@media (min-width: 769px) and (max-height: 720px),
       (max-width: 1024px) and (min-width: 641px) and (max-height: 700px) {
  .floating-ebo.is-chat-open .floating-ebo__label {
    display: none;
  }

  .floating-ebo.is-chat-open .floating-ebo__toggle {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 768px) {
  .floating-ebo {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: 14px;
  }

  .floating-ebo__toggle {
    height: 48px;
    padding: 4px 14px 4px 6px;
    gap: 8px;
    border-width: 1.8px;
    box-shadow: 0 10px 24px rgba(0, 59, 113, 0.34);
  }

  .floating-ebo__avatar-wrap {
    width: 36px;
    height: 36px;
  }

  .floating-ebo__img {
    width: 28px;
    height: auto;
  }

  .floating-ebo__online-dot {
    width: 9px;
    height: 9px;
  }

  .floating-ebo__label-sub {
    display: none;
  }

  .floating-ebo__label-main {
    font-size: 13px;
  }

  .floating-ebo__badge {
    min-width: 19px;
    height: 19px;
    font-size: 10.5px;
    top: -4px;
    right: -3px;
  }

  .floating-ebo__ping {
    inset: -4px;
    border-width: 1.8px;
  }

  .floating-ebo__menu {
    bottom: 62px;
    right: 0;
    width: min(318px, calc(100vw - 28px));
    padding: 16px;
    border-radius: 18px;
  }

  .ebo-menu-head img {
    width: 44px;
  }

  .ebo-menu-head strong {
    font-size: 15px;
  }

  .ebo-menu-head small {
    font-size: 12px;
  }

  .ebo-link {
    padding: 11.5px 13px;
    font-size: 13.75px;
  }

  .site-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .floating-ebo {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    right: 10px;
  }

  .floating-ebo__toggle {
    height: 44px;
    padding: 4px 12px 4px 5px;
    gap: 7px;
  }

  .floating-ebo__avatar-wrap {
    width: 32px;
    height: 32px;
  }

  .floating-ebo__img {
    width: 25px;
  }

  .floating-ebo__label-main {
    font-size: 12.5px;
  }

  .floating-ebo__badge {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .floating-ebo__menu {
    bottom: 58px;
    width: calc(100vw - 20px);
    padding: 14px;
  }
}

@media (max-width: 932px) and (max-height: 500px) {
  .floating-ebo {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    right: 12px;
  }

  .floating-ebo__toggle {
    height: 42px;
    padding: 3px 12px 3px 5px;
    gap: 7px;
  }

  .floating-ebo__avatar-wrap {
    width: 32px;
    height: 32px;
  }

  .floating-ebo__img {
    width: 24px;
  }

  .floating-ebo__label-sub {
    display: none;
  }

  .floating-ebo__label-main {
    font-size: 12.5px;
  }
}

/* 5. Compact Mobile Journey Card Sizing & Clean Single-Spine Below 480px */
@media (max-width: 640px) {
  .m-step-card {
    width: calc(100% - 16px);
    max-width: 155px;
  }

  .m-step-item--left .m-step-card {
    margin-right: 14px;
  }

  .m-step-item--right .m-step-card {
    margin-left: 14px;
  }
}

@media (max-width: 480px) {
  .mobile-serpentine-track::before {
    left: 18px;
    transform: none;
  }

  .m-step-item--left,
  .m-step-item--right {
    justify-content: flex-start;
    padding-left: 44px;
    padding-right: 0;
  }

  .m-step-item--left .m-step-star-wrap,
  .m-step-item--right .m-step-star-wrap {
    left: 18px;
    transform: translateX(-50%);
  }

  .m-step-card,
  .m-step-card--present,
  .m-step-item--left .m-step-card,
  .m-step-item--right .m-step-card {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .m-step-item--final {
    align-items: flex-start;
    padding-left: 44px;
  }

  .m-step-item--final .m-step-star-wrap {
    position: absolute;
    left: 18px;
    transform: translateX(-50%);
  }

  .fw-comment-list .children {
    margin-left: 8px;
    padding-left: 8px;
  }

  .fw-comment-card {
    grid-template-columns: 32px 1fr;
    padding: 12px;
    gap: 10px;
  }

  .fw-comment-card__avatar {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
}

/* 5B. Article Prose FAQ Accordion Blocks */
.fw-article-prose .faq-list,
.fw-article-prose .fw-faq-list,
.fw-article-prose .fw-article-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 28px;
}

.fw-article-prose .faq-item,
.fw-article-prose details.wp-block-details {
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fw-article-prose details.wp-block-details:not(.faq-item) {
  margin: 0 0 14px;
}

.fw-article-prose h2 + details.wp-block-details:not(.faq-item),
.fw-article-prose h3 + details.wp-block-details:not(.faq-item) {
  margin-top: 18px;
}

.fw-article-prose .faq-item + .faq-item {
  margin-top: 14px;
}

.fw-article-prose :is(.faq-list, .fw-faq-list, .fw-article-faq) > .faq-item,
.fw-article-prose :is(.faq-list, .fw-faq-list, .fw-article-faq) > .faq-item + .faq-item,
.fw-article-prose :is(.faq-list, .fw-faq-list, .fw-article-faq) > details.wp-block-details {
  margin: 0;
}

.fw-article-prose .faq-item:hover,
.fw-article-prose details.wp-block-details:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}

.fw-article-prose .faq-item[open],
.fw-article-prose details.wp-block-details[open] {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.1);
}

.fw-article-prose .faq-question,
.fw-article-prose details.wp-block-details:not(.faq-item) > summary {
  padding: 16px 20px;
  font-family: var(--font-display, 'Be Vietnam Pro', sans-serif);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.fw-article-prose .faq-question::-webkit-details-marker,
.fw-article-prose .faq-question::marker,
.fw-article-prose details.wp-block-details:not(.faq-item) > summary::-webkit-details-marker,
.fw-article-prose details.wp-block-details:not(.faq-item) > summary::marker {
  display: none;
  content: '';
}

.fw-article-prose .faq-question strong,
.fw-article-prose details.wp-block-details > summary strong {
  color: inherit;
  font-weight: inherit;
}

.fw-article-prose .faq-question:hover,
.fw-article-prose .faq-item[open] .faq-question,
.fw-article-prose details.wp-block-details:not(.faq-item) > summary:hover,
.fw-article-prose details.wp-block-details:not(.faq-item)[open] > summary {
  color: #0284c7;
}

.fw-article-prose .faq-icon,
.fw-article-prose details.wp-block-details:not(.faq-item) > summary::after {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0284c7;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.fw-article-prose details.wp-block-details:not(.faq-item) > summary::after {
  content: '+';
}

.fw-article-prose .faq-item[open] .faq-icon,
.fw-article-prose details.wp-block-details:not(.faq-item)[open] > summary::after {
  transform: rotate(45deg);
  background: #0284c7;
  color: #ffffff;
}

.fw-article-prose .faq-answer,
.fw-article-prose details.wp-block-details:not(.faq-item) > summary + * {
  margin-top: 0;
  padding: 14px 20px 18px;
  font-size: 15px;
  line-height: 1.72;
  color: #334155;
  border-top: 1px dashed #dbeafe;
  background: #fcfdff;
}

.fw-article-prose details.wp-block-details:not(.faq-item) > *:not(summary) {
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 15px;
  line-height: 1.72;
  color: #334155;
  background: #fcfdff;
}

.fw-article-prose details.wp-block-details:not(.faq-item) > *:not(summary):last-child {
  padding-bottom: 18px;
}

.fw-article-prose .faq-answer p {
  margin: 0 0 0.75em;
  color: #334155;
}

.fw-article-prose .faq-answer p:last-child,
.fw-article-prose details.wp-block-details > *:not(summary):last-child {
  margin-bottom: 0;
}

/* 6. Multi-Device Typography & Element Scale Calibration (PC / Laptop / Tablet / Mobile) */
@media (max-width: 1280px) {
  .section-pad,
  .intro-band,
  .contact-cta,
  .testimonial {
    padding: 68px 0;
  }

  .section-head,
  .section-head--center {
    margin-bottom: 36px;
  }

  .hero__title {
    font-size: clamp(30px, 3vw, 42px);
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.62;
  }

  .button--large {
    padding: 13px 22px;
    font-size: 14px;
  }

  .section-head h2,
  .section-head--center h2,
  .about-lead h2,
  .map-header h2,
  .language__copy h2,
  .contact-info h2,
  .testimonial__header h2 {
    font-size: clamp(24px, 2.5vw, 32px);
  }

  .section-head__desc,
  .section-head--center .section-lead,
  .about-lead__desc,
  .map-header p,
  .language__copy > p,
  .contact-info > p {
    font-size: 15px;
  }

  .pricing-card {
    padding: 28px 26px;
  }

  .pricing-card__title {
    font-size: 22px;
  }

  .price-val {
    font-size: 34px;
  }

  .fw-article-hero,
  .fw-archive-hero {
    padding: 28px 0 32px;
  }

  .fw-article-title,
  .fw-archive-hero__title {
    font-size: clamp(1.42rem, 2.15vw, 1.82rem);
  }

  .fw-article-lead,
  .fw-archive-hero__desc {
    font-size: 15px;
    line-height: 1.62;
  }

  .fw-article-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 26px;
  }

  .fw-article-main,
  .fw-article-layout--course .fw-article-main,
  .fw-article-layout--about .fw-article-main {
    padding: 28px 30px;
  }

  .fw-article-prose {
    font-size: 15px;
    line-height: 1.74;
  }

  .fw-article-prose h2,
  .fw-article-prose .wp-block-heading {
    font-size: 1.22rem;
    padding: 8px 13px;
  }

  .fw-article-prose h3 {
    font-size: 1.08rem;
  }

  .fw-article-prose h4 {
    font-size: 0.98rem;
  }

  .fw-content-table,
  .fw-article-prose table {
    font-size: 13.8px;
  }
}

@media (max-width: 1080px) {
  .fw-article-layout,
  .fw-article-layout--course {
    grid-template-columns: minmax(0, 1fr);
  }

  .fw-article-section,
  .fw-archive-section {
    padding: 32px 0 56px;
  }

  .fw-article-main,
  .fw-article-layout--course .fw-article-main,
  .fw-article-layout--about .fw-article-main {
    padding: 26px 26px;
    border-radius: 20px;
  }

  .fw-archive-grid {
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .section-pad,
  .intro-band,
  .contact-cta,
  .testimonial {
    padding: 54px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-head__desc {
    max-width: 100%;
  }

  .section-head--center {
    margin-bottom: 30px;
  }

  .hero__title {
    font-size: clamp(28px, 4.2vw, 36px);
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .section-head h2,
  .section-head--center h2,
  .about-lead h2,
  .map-header h2,
  .language__copy h2,
  .contact-info h2,
  .testimonial__header h2 {
    font-size: clamp(23px, 3.4vw, 29px);
  }
}

@media (max-width: 768px) {
  .section-pad,
  .intro-band,
  .contact-cta,
  .testimonial {
    padding: 44px 0;
  }

  .site-footer {
    padding-top: 34px;
  }

  .fw-article-hero,
  .fw-archive-hero {
    padding: 20px 0 22px;
  }

  .fw-article-section,
  .fw-archive-section {
    padding: 22px 0 44px;
  }

  .fw-article-title,
  .fw-archive-hero__title {
    font-size: clamp(1.22rem, 5vw, 1.48rem);
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .fw-article-lead,
  .fw-archive-hero__desc {
    font-size: 14px;
    line-height: 1.56;
    margin-bottom: 14px;
  }

  .fw-article-meta-bar {
    padding: 10px 13px;
    gap: 10px;
    border-radius: 12px;
  }

  .fw-article-author__avatar {
    width: 36px;
    height: 36px;
    font-size: 12.5px;
  }

  .fw-article-author__text strong {
    font-size: 13.5px;
  }

  .fw-article-author__text span {
    font-size: 11.5px;
  }

  .fw-article-stat {
    font-size: 11.5px;
    padding: 4px 9px;
  }

  .fw-article-main,
  .fw-article-layout--course .fw-article-main,
  .fw-article-layout--about .fw-article-main {
    padding: 18px 15px;
    border-radius: 16px;
  }

  .fw-article-featured-media {
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .fw-toc-box {
    padding: 13px 15px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .fw-toc-box__title {
    font-size: 13.8px;
  }

  .fw-toc-box__toggle {
    font-size: 11.5px;
    padding: 3px 10px;
  }

  .fw-toc-box__list {
    margin-top: 10px;
    gap: 6px;
  }

  .fw-toc-box__item {
    font-size: 13.5px;
    line-height: 1.48;
  }

  .fw-toc-box__item--h3 {
    font-size: 12.8px;
    padding-left: 18px;
  }

  .fw-article-prose {
    font-size: 14.5px;
    line-height: 1.7;
  }

  .fw-article-prose p {
    margin: 0 0 1.05em;
  }

  .fw-article-prose h2,
  .fw-article-prose .wp-block-heading {
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 1.45em 0 0.65em;
    padding: 7px 12px;
    border-left-width: 3.5px;
  }

  .fw-article-prose h3 {
    font-size: 1rem;
    line-height: 1.38;
    margin: 1.25em 0 0.5em;
  }

  .fw-article-prose h4 {
    font-size: 0.95rem;
    margin: 1.1em 0 0.4em;
  }

  .fw-article-prose ul,
  .fw-article-prose ol {
    margin: 0 0 1.1em;
    padding-left: 1.25em;
  }

  .fw-article-prose li {
    margin-bottom: 0.4em;
    line-height: 1.66;
  }

  .fw-article-prose blockquote,
  .fw-article-prose .wp-block-quote {
    margin: 1.25em 0;
    padding: 13px 15px;
    font-size: 13.8px;
    line-height: 1.62;
  }

  .fw-article-prose img {
    margin: 16px auto;
    border-radius: 10px;
  }

  .fw-article-prose .wp-block-group,
  .fw-article-prose .wp-block-column {
    padding: 14px 15px;
    margin: 16px 0;
    border-radius: 12px;
  }

  .fw-article-prose .faq-list,
  .fw-article-prose .fw-faq-list,
  .fw-article-prose .fw-article-faq {
    gap: 12px;
    margin: 14px 0 22px;
  }

  .fw-article-prose details.wp-block-details:not(.faq-item) {
    margin: 0 0 12px;
  }

  .fw-article-prose .faq-item + .faq-item {
    margin-top: 12px;
  }

  .fw-article-prose :is(.faq-list, .fw-faq-list, .fw-article-faq) > .faq-item,
  .fw-article-prose :is(.faq-list, .fw-faq-list, .fw-article-faq) > .faq-item + .faq-item {
    margin: 0;
  }

  .fw-article-prose .faq-question,
  .fw-article-prose details.wp-block-details:not(.faq-item) > summary {
    padding: 13px 15px;
    font-size: 14.5px;
    gap: 10px;
  }

  .fw-article-prose .faq-icon,
  .fw-article-prose details.wp-block-details:not(.faq-item) > summary::after {
    width: 26px;
    height: 26px;
    font-size: 17px;
  }

  .fw-article-prose .faq-answer,
  .fw-article-prose details.wp-block-details:not(.faq-item) > summary + * {
    padding: 12px 15px 15px;
    font-size: 14.25px;
    line-height: 1.68;
  }

  .fw-article-prose details.wp-block-details:not(.faq-item) > *:not(summary) {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14.25px;
    line-height: 1.68;
  }

  .fw-article-prose details.wp-block-details:not(.faq-item) > *:not(summary):last-child {
    padding-bottom: 15px;
  }

  .fw-article-cta-banner {
    margin-top: 24px;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .fw-article-cta-banner__content h3 {
    font-size: 1.08rem;
  }

  .fw-article-cta-banner__content p {
    font-size: 13.5px;
    margin-bottom: 14px;
  }

  .fw-article-cta-banner__actions .btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 13.5px;
  }

  .fw-post-nav-card {
    padding: 14px 15px;
    border-radius: 13px;
  }

  .fw-post-nav-card__title {
    font-size: 13.8px;
  }

  .fw-sidebar-cta-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .fw-sidebar-cta-card h3 {
    font-size: 1.08rem;
  }

  .fw-sidebar-cta-card p {
    font-size: 13.2px;
  }

  .fw-sidebar-card {
    padding: 16px 15px;
    border-radius: 16px;
  }

  .fw-sidebar-card__title {
    font-size: 1rem;
  }

  .fw-post-card__body {
    padding: 16px 16px 18px;
  }

  .fw-post-card__title {
    font-size: 1rem;
  }

  .fw-post-card__excerpt {
    font-size: 13.5px;
    line-height: 1.58;
    margin-bottom: 14px;
  }

  .fw-related-section {
    margin-top: 40px;
    padding-top: 32px;
  }

  .fw-related-section__title {
    font-size: 1.25rem;
  }

  .fw-comments-area {
    margin-top: 28px;
    padding-top: 24px;
  }

  .fw-comments-head__title {
    font-size: 1.12rem;
  }

  .fw-comment-card__content {
    font-size: 13.8px;
    line-height: 1.6;
  }

  .fw-comment-respond {
    padding: 18px 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea,
  .consult-modal-panel .form-group input,
  .consult-modal-panel .form-group select,
  .fw-comment-form__field input,
  .fw-comment-form__field textarea,
  .search-form input {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .section-pad,
  .intro-band,
  .contact-cta,
  .testimonial {
    padding: 38px 0;
  }

  .section-head,
  .section-head--center {
    margin-bottom: 22px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero__kicker {
    font-size: 11px;
    padding: 4px 11px;
    margin-bottom: 12px;
  }

  .hero__title {
    font-size: clamp(24px, 6.5vw, 29px);
    line-height: 1.24;
    margin-bottom: 12px;
  }

  .hero__lead {
    font-size: 14.5px;
    line-height: 1.58;
    margin-bottom: 18px;
  }

  .hero__actions {
    gap: 10px;
    margin-bottom: 20px;
  }

  .button {
    padding: 11.5px 20px;
    font-size: 13.5px;
  }

  .button--large {
    padding: 12.5px 20px;
    font-size: 14px;
  }

  .button--small {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .hero-stats-strip {
    padding: 18px 0;
    margin-top: 18px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .section-head h2,
  .section-head--center h2,
  .about-lead h2,
  .map-header h2,
  .language__copy h2,
  .contact-info h2,
  .testimonial__header h2 {
    font-size: clamp(21px, 5.6vw, 25px);
    line-height: 1.28;
  }

  .section-head__desc,
  .section-head--center .section-lead,
  .about-lead__desc,
  .map-header p,
  .language__copy > p,
  .contact-info > p {
    font-size: 14px;
    line-height: 1.58;
  }

  .program-card,
  .why-card,
  .testimonial-card,
  .job-card,
  .helper-box,
  .why-banner,
  .language__mascot-card,
  .faq-mascot-card,
  .gallery-cta-box,
  .contact-form-wrap {
    padding: 20px 16px;
  }

  .program-card h3,
  .gallery-cta-text h3 {
    font-size: 17.5px;
  }

  .helper-content h4,
  .job-card h3 {
    font-size: 16.5px;
  }

  .consultation-form h3 {
    font-size: 18.5px;
  }

  .faq-question {
    font-size: 14.5px;
  }

  .testimonial-card blockquote {
    font-size: 14px;
    line-height: 1.6;
  }

  .pricing-card {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .pricing-card__title {
    font-size: 20px;
  }

  .pricing-card__price-box {
    padding: 13px 14px;
  }

  .price-val {
    font-size: 28px;
  }

  .price-val--mentor,
  .price-val--std {
    font-size: 23px;
  }

  .price-curr {
    font-size: 16px;
  }

  .price-usd-sub {
    font-size: 14px;
  }

  .process-subhead h3 {
    font-size: 19px;
  }

  .fw-comment-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 22px);
  }

  .hero-mascot {
    width: 82px;
  }

  .fw-article-main,
  .fw-article-layout--course .fw-article-main,
  .fw-article-layout--about .fw-article-main {
    padding: 16px 13px;
  }

  .fw-article-prose {
    font-size: 14.25px;
    line-height: 1.68;
  }

  .fw-article-title,
  .fw-archive-hero__title {
    font-size: 1.2rem;
  }
}

/* Smooth 90ms cross-document View Transitions paired with instant Speculation Rules / prefetch */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 90ms;
    animation-timing-function: ease-out;
  }
}









