/* ==========================================================================
   Creative Compass — main stylesheet.

   Sections 1–3 are the prototype's stylesheets (prototype/css/style.css,
   hero-v2.css, v3.css) with only mechanical changes:
     - the / prefixes removed (they were how the prototype
       layered feedback rounds; every rule now applies unconditionally),
     - Swiper class names replaced by the theme slider's (.slider__track,
       .slider__slide, .is-active, .slider-dots__dot),
     - image paths pointed at ../img/.
   Section 4 holds theme additions: the slider itself, WordPress specifics
   (admin bar, skip link, honeypot), and reading styles for news articles.
   ========================================================================== */

/* ==========================================================================
   1. Base, header, sections, footer, popup (from style.css)
   ========================================================================== */
/* ==========================================================================
   Creative Compass — landing page
   Built from Figma "Creative Compass" (frame 2001:3, 1440px desktop).
   ========================================================================== */

:root {
  --yellow: #fac414;
  --yellow-2: #ebc12f;
  --blue: #2d5aa8;
  --green: #91ad3d;
  --green-btn: #98a845;
  --amber: #f4a700;
  --orange: #e99700;
  --red: #ff0505;
  --ink: #000;
  --slate: #1e293b;
  --grey-card: #f2f2f2;
  --grey-field: #f9f9f9;
  --grey-text: #6b6b6b;
  --dot: #b7b7b7;
  --dot-active: #415d9a;

  /* titles & UI: Nunito Sans — body copy: Source Serif 4 (variable) */
  --font-title: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Set in <head> when the URL arrives with a #fragment, cleared on load, so the
   browser jumps straight to the anchor instead of sliding down to it.
   See cc_js_class() in inc/enqueue.php. */
html.no-smooth { scroll-behavior: auto; }
/* Set in <head>, cleared once main.js has settled the header against the real
   scroll position. Without it, a page opened already scrolled shows the bar
   morphing from its docked shape to the floating pill. See cc_js_class(). */
html.no-anim .header,
html.no-anim .header *,
html.no-anim .header *::before,
html.no-anim .header *::after { transition: none; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }

h1, h2 { text-wrap: balance; }

h1, h2, h3,
.btn,
.news__tab,
.nav, .lang, .burger,
.marquee__text,
.stat__num,
.testimonials__sub,
.testi-card__meta,
.slider-dots,
.form__status {
  font-family: var(--font-title);
  font-variation-settings: "YTLC" 500;
}

.c-blue { color: var(--blue); }
.c-green { color: var(--green); }
.c-amber { color: var(--amber); }
.c-orange { color: var(--orange); }

.br-lg { display: none; }
@media (min-width: 1100px) { .br-lg { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  filter: drop-shadow(10px 7px 8.5px rgba(45, 90, 168, 0.2));
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: drop-shadow(10px 10px 12px rgba(45, 90, 168, 0.28)); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--yellow); color: var(--ink); min-width: 235px; }
.btn--blue { background: var(--blue); color: #fff; width: 100%; }
.btn--blue:hover { background: #244c91; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ==========================================================================
   Header — floating "liquid glass" bar with dropdowns
   ========================================================================== */
.header {
  --bar-h: 64px;
  --gap-top: 12px;                   /* space between the bar and whatever is above it */
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--promo-offset, 48px) + var(--gap-top));   /* --promo-offset: visible promo-bar height, set by JS */
  z-index: 50;
  padding: 0 16px;
  pointer-events: none;              /* only the bar itself is interactive */
}

.header__bar {
  position: relative;
  max-width: 1200px;
  height: var(--bar-h);
  margin: 0 auto;
  padding: 0 10px 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  pointer-events: auto;
  --mx: 50%;                         /* specular highlight position (set by JS) */
}
/* The glass lives on a pseudo-element so the bar itself isn't a backdrop root —
   that keeps backdrop-filter working on the dropdown panels inside it. */
.header {
  --glass-bg:
    radial-gradient(120px 60px at var(--mx, 50%) 0%, rgba(255, 255, 255, .75), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .65));   /* opaque enough to stay legible where the blur is skipped (no GPU, some screenshot tools) */
  --glass-filter: blur(18px) saturate(180%) brightness(1.05);
  --glass-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .45),
    0 10px 30px rgba(20, 40, 90, .14),
    0 2px 6px rgba(20, 40, 90, .06);
}
.header__bar::before {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-filter);
          backdrop-filter: var(--glass-filter);
  box-shadow: var(--glass-shadow);
}
.header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transition: background-color .3s;
}
.header__bar::after {                /* thin glossy rim */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.15) 40%, rgba(255,255,255,.05) 60%, rgba(255,255,255,.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { --glass-bg: rgba(255, 255, 255, .95); }
}
@media (prefers-reduced-transparency: reduce) {
  .header { --glass-bg: rgba(255, 255, 255, .97); --glass-filter: none; }
}

.header__logo { flex: none; }
.header__logo img { width: 128px; height: auto; }

/* ---------- Top-level menu ---------- */
.nav { position: relative; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
  transition: color .2s;
}
.has-sub .nav__link { padding-right: 4px; }
.nav__item:hover > .nav__link,
.nav__item.is-open > .nav__link { color: var(--blue); }

.nav__toggle {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 36px;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.nav__toggle img {
  width: 7px;
  height: 10.3px;
  max-width: none;
  rotate: 90deg;
  transition: rotate .3s cubic-bezier(.2, .8, .2, 1);
}

/* moving highlight pill behind the hovered item */
.nav__indicator {
  position: absolute;
  top: 50%;
  left: 0;
  height: 40px;
  width: 0;
  margin-top: -20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 1px #fff, 0 2px 10px rgba(45, 90, 168, .12);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
  pointer-events: none;
}
.nav__indicator.is-visible { opacity: 1; }

/* ---------- Dropdown panel ---------- */
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 210px;
  padding-top: 14px;                 /* hover bridge between item and panel */
  translate: -50% 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, translate .3s cubic-bezier(.2, .8, .2, 1), visibility .22s;
}
.nav__sub ul {
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff 0%, #fffaf0 55%, #fff1cc 100%);
  box-shadow:
    inset 0 0 0 1px rgba(20, 40, 90, .06),
    0 18px 40px rgba(20, 40, 90, .16),
    0 2px 8px rgba(20, 40, 90, .06);
}
.nav__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color .2s, color .2s, padding-left .25s;
}
.nav__sub a:hover,
.nav__sub a:focus-visible { background: rgba(45, 90, 168, .08); color: var(--blue); padding-left: 18px; }

@media (min-width: 1100px) and (hover: hover) {
  .has-sub:hover > .nav__sub { opacity: 1; visibility: visible; translate: -50% 0; }
  .has-sub:hover > .nav__toggle img { rotate: -90deg; }
}
@media (min-width: 1100px) {
  .has-sub.is-open > .nav__sub,
  .has-sub:has(:focus-visible) > .nav__sub { opacity: 1; visibility: visible; translate: -50% 0; }   /* keyboard only, so a clicked arrow doesn't keep it open */
  .has-sub.is-open > .nav__toggle img { rotate: -90deg; }
}

/* ---------- Language + burger ---------- */
.lang {
  position: relative;
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 40, 90, .07);
  box-shadow: inset 0 1px 2px rgba(20, 40, 90, .08);
}
.lang__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 42px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 40, 90, .16), inset 0 1px 0 #fff;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.lang[data-active="en"] .lang__thumb { transform: translateX(42px); }
.lang__opt {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: #6b7280;
  transition: color .2s;
}
.lang__opt:hover { color: var(--blue); }
.lang__opt.is-active { color: var(--ink); }

.burger { display: none; }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1099px) {
  .header { --bar-h: 58px; }
  .header__bar { padding: 0 8px 0 18px; gap: 8px; }
  .header__logo img { width: 112px; }
  .lang { margin-left: auto; }

  .burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0 12px;
    border-radius: 999px;
  }
  .burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 10px);
    margin: 0;
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    padding: 10px;
    border-radius: 24px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-filter);
            backdrop-filter: var(--glass-filter);
    box-shadow: var(--glass-shadow);
    opacity: 0;
    visibility: hidden;
    translate: 0 -8px;
    transition: opacity .25s, translate .3s cubic-bezier(.2, .8, .2, 1), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; translate: 0 0; }
  .nav__indicator { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__item { flex-wrap: wrap; border-radius: 16px; }
  .nav__link { flex: 1; padding: 14px 16px; font-size: 16px; }
  .nav__toggle { width: 44px; height: 44px; margin-right: 4px; }
  .nav__toggle img { width: 8px; height: 11.74px; }
  /* Every submenu starts open on mobile, so the open state is no signal:
     no panel behind it and no blue on the parent. The one highlight is the
     page you are on — a top-level link or a submenu link. */
  .nav__item.is-open > .nav__link { color: var(--ink); }
  .nav .nav__link[aria-current="page"],
  .nav .nav__sub a[aria-current="page"] { color: var(--blue); }
  .nav__item.is-open > .nav__toggle img { rotate: -90deg; }

  .nav__sub {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0;
    translate: none;
    opacity: 1;
    visibility: visible;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s cubic-bezier(.2, .8, .2, 1);
  }
  .nav__sub ul { overflow: hidden; min-height: 0; padding: 0 8px; background: none; box-shadow: none; }
  .nav__item.is-open > .nav__sub { grid-template-rows: 1fr; }
  .nav__item.is-open > .nav__sub ul { padding-bottom: 8px; }
  .nav__sub a { padding: 11px 16px 11px 28px; font-weight: 500; }
  .nav__sub a:hover { padding-left: 32px; }

}
/* Touch screens keep :hover on whatever was tapped last — tapping a submenu
   arrow would turn its parent blue again. Mouse users keep the hover colour. */
@media (max-width: 1099px) and (hover: none) {
  .nav__item:hover > .nav__link:not([aria-current="page"]) { color: var(--ink); }
}
@media (max-width: 767px) {
  .header { --gap-top: 10px; padding: 0 10px; }
}

/* ==========================================================================
   Marquee (shared)
   ========================================================================== */
.marquee {
  overflow: hidden;
  --gap: 27px;
  --duration: 30s;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--duration) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: calc(var(--duration) * 4); }
}

/* ---------- Promo bar (current promotions & events) ---------- */
.promo { position: relative; z-index: 60; }
.promo__item {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color .2s;
}
.promo__item:hover,
.promo__item:focus-visible { text-decoration-color: currentColor; }
.promo__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 100%;
  background: linear-gradient(90deg, rgba(250, 196, 20, 0), var(--yellow) 45%);
}
.promo__close::before,
.promo__close::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--ink);
  rotate: 45deg;
  transition: rotate .25s;
}
.promo__close::after { rotate: -45deg; }
.promo__close:hover::before { rotate: 135deg; }
.promo__close:hover::after { rotate: 45deg; }

.marquee--strip {
  height: 48px;
  background: var(--yellow);
  box-shadow: inset 0 4px 4px -1px rgba(12, 12, 13, 0.05);
  display: flex;
  align-items: center;
}
.marquee__text {
  font-weight: 600;
  font-style: italic;
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
}
.marquee__sep { width: 20px; height: 17.13px; flex: none; }

@media (max-width: 767px) {
  .marquee--strip { height: 40px; }
  .marquee__text { font-size: 14px; }
  .marquee__sep { width: 17px; height: 14.56px; }
}

/* ==========================================================================
   Hero (slider)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  --k: 1;                          /* scale factor for decorative shapes */
  /* soft brand-tinted glow; fades back to white where the next section starts */
  background:
    radial-gradient(55% 65% at 14% 20%, rgba(250, 196, 20, 0.13), transparent 70%),
    radial-gradient(50% 60% at 86% 78%, rgba(45, 90, 168, 0.10), transparent 70%),
    radial-gradient(35% 45% at 72% 8%, rgba(145, 173, 61, 0.08), transparent 70%),
    linear-gradient(180deg, #fffdf5 0%, #f7f9fe 80%, #fff 100%);
}
.hero-slide {
  position: relative;
  min-height: clamp(560px, 48.6vw, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 128px calc(var(--gutter) + 72px) 96px;
}
.hero__logo { width: clamp(180px, 18.1vw, 261px); height: auto; }
.hero__title {
  margin-top: clamp(24px, 2.9vw, 42px);
  max-width: 927px;
  font-weight: 700;
  font-size: clamp(30px, 3.34vw, 48px);
  line-height: 1.36;
}
.hero__lead {
  margin-top: 8px;
  max-width: 1002px;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  line-height: 1.36;
}
.hero .btn { margin-top: 28px; }

/* content entrance */
.hero-slide__content > * {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .6s ease, translate .6s cubic-bezier(.2,.8,.2,1);
}
.is-active .hero-slide__content > * { opacity: 1; translate: 0 0; }
.is-active .hero-slide__content > :nth-child(2) { transition-delay: .08s; }
.is-active .hero-slide__content > :nth-child(3) { transition-delay: .16s; }
.is-active .hero-slide__content > :nth-child(4) { transition-delay: .24s; }
.is-active .hero-slide__content > :nth-child(5) { transition-delay: .32s; }

/* decorative shapes cut from the logo mark */
.hero-slide__shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--w) * var(--k));
  height: auto;
  max-width: none;
  rotate: var(--r, 0deg);
  opacity: 0;
  scale: .2;
  transition:
    opacity .5s ease var(--d, 0s),
    scale .9s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0s);
}
.is-active .shape {
  opacity: 1;
  scale: 1;
  animation: shape-drift 7s ease-in-out calc(var(--d, 0s) + 1s) infinite alternate;
}
@keyframes shape-drift {
  from { translate: 0 0; }
  to   { translate: calc(10px * var(--k)) calc(-16px * var(--k)); }
}
@media (prefers-reduced-motion: reduce) {
  .shape, .hero-slide__content > * { transition: none; }
  .is-active .shape { animation: none; }
}

.hero .hero__dots.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  top: auto;
  z-index: 5;
  transform: translateX(-50%);
  justify-content: center;
}

@media (max-width: 1099px) {
  .hero { --k: .7; }
  .hero-slide__content { padding-top: 112px; padding-inline: calc(var(--gutter) + 56px); }
}
@media (max-width: 767px) {
  .hero { --k: .42; }
  .shape { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .shape--desktop { display: none; }
  .hero-slide { min-height: 600px; }
  .hero-slide__content { padding: 96px var(--gutter) 112px; }
  .hero .hero__dots.slider-dots { bottom: 36px; }
}

/* ==========================================================================
   Destination (slider)
   ========================================================================== */
.destination { padding: 20px var(--gutter); }
.destination__box {
  max-width: 1344px;
  margin: 0 auto;
  background: var(--yellow);
  border-radius: 48px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 392px 1fr;
  min-height: 550px;
}
.destination__intro {
  display: flex;
  flex-direction: column;
  padding: 31px 24px 19px 42px;
}
.destination__icon { width: 45px; height: 37.9px; }
.destination__title {
  margin-block: auto;
  font-weight: 700;
  font-size: 72px;
  line-height: 70px;
}
.destination__sub {
  max-width: 304px;
  font-weight: 500;
  font-size: 18px;
  line-height: 25px;
  min-height: 76px;
}

.destination__slider {
  position: relative;
  align-self: center;
  min-width: 0;
}
.js-dest-slider { padding-block: 39px 38px; }
.dest-card {
  position: relative;
  width: 322px;
  height: 473px;
  border-radius: 12px;
  background: var(--grey-card);
  overflow: hidden;
}
.dest-card__title {
  position: absolute;
  left: 24px; top: 24px;
  width: 276px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 32px;
  line-height: 44px;
}
.dest-card__media {
  position: absolute;
  left: 12px; right: 12px; top: 124px; bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: #e4e4e4;
}
.dest-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.dest-card:hover .dest-card__media img { transform: scale(1.06); }
.dest-card__btn {
  position: absolute;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  right: 22px; bottom: 25px;
  width: 140px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  transition: filter .2s, transform .2s;
}
.dest-card__btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.dest-card__btn--blue { background: var(--blue); }
.dest-card__btn--green { background: var(--green-btn); }

.dest-next {
  position: absolute;
  right: 17px;
  top: 50%;
  z-index: 5;
  width: 66px;
  height: 66px;
  margin-top: -33px;
  transition: transform .2s;
}
.dest-next img { position: absolute; left: -4px; top: 0; width: 74px; height: 74px; max-width: none; }
.dest-next:hover { transform: scale(1.06); }
.dest-next.is-disabled { opacity: .5; }

@media (max-width: 1099px) {
  .destination__box { grid-template-columns: 1fr; border-radius: 32px; min-height: 0; }
  .destination__intro { padding: 32px 32px 0; gap: 16px; }
  .destination__title { margin-block: 8px 0; font-size: clamp(44px, 7vw, 64px); line-height: 1; }
  .destination__sub { min-height: 0; }
  .js-dest-slider { padding: 28px 32px 32px; }
}
@media (max-width: 767px) {
  .destination__box { border-radius: 24px; }
  .destination__intro { padding: 24px 20px 0; }
  .js-dest-slider { padding: 24px 20px; }
  .dest-card { width: 250px; height: 360px; }
  .dest-card__title { font-size: 26px; line-height: 36px; left: 20px; top: 20px; width: auto; }
  .dest-card__media { top: 104px; left: 10px; right: 10px; bottom: 10px; }
  .dest-card__btn { right: 16px; bottom: 18px; }
  .dest-next { width: 52px; height: 52px; margin-top: -26px; right: 8px; }
  .dest-next img { width: 58px; height: 58px; left: -3px; }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
  position: relative;
  overflow: hidden;
  padding: 71px var(--gutter) 80px;
  background:
    radial-gradient(45% 55% at 90% 100%, rgba(145, 173, 61, 0.08), transparent 70%),
    radial-gradient(50% 60% at 8% 90%, rgba(250, 196, 20, 0.12), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fffaf0 35%, #fff4dc 100%);
}
.intro__curves { position: absolute; inset: 0; pointer-events: none; }
.intro__curve { position: absolute; max-width: none; }
.intro__curve--2 { left: calc(50% - 734px); top: -74px; width: 1506.5px; height: 243.4px; }
.intro__curve--3 { left: calc(50% - 751px); top: -42.5px; width: 1504px; height: 306.5px; }
.intro__curve--1 {
  left: calc(50% - 854.66px);
  top: -67.96px;
  width: 1711.04px;
  height: 497.31px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro__curve--1 img { flex: none; width: 1686.55px; height: 323.3px; max-width: none; transform: rotate(6.01deg); }

.intro__content { position: relative; max-width: 1344px; margin: 0 auto; text-align: center; }
.intro__title {
  max-width: 927px;
  margin: 0 auto;
  font-weight: 700;
  font-size: clamp(28px, 3.34vw, 48px);
  line-height: 1.36;
}
.intro__lead {
  max-width: 1182px;
  margin: 12px auto 0;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  line-height: 1.36;
}
.intro__rule {
  width: min(1033px, 100%);
  height: 5px;
  margin: 17px auto 0;
  border: 0;
  background: var(--yellow-2);
}
.intro__bullets {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.intro__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(145, 173, 61, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(45, 90, 168, 0.06);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: var(--slate);
  text-align: left;
}
.intro__bullets img { width: 16px; height: 16px; flex: none; }

.stats {
  max-width: 1240px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}
.stat {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  padding: 26px 20px 30px 58px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(45, 90, 168, 0.10);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(45, 90, 168, 0.16); }
.stat__mark {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 130px;
  height: auto;
  opacity: .14;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.stat__mark--1 { rotate: 90deg; right: -40px; bottom: -56px; }
.stat__mark--2 { rotate: 160deg; }
.stat__mark--3 { width: 120px; }
.stat__mark--4 { rotate: -90deg; right: -44px; bottom: -60px; }
.stat:hover .stat__mark { transform: scale(1.12); }
.stat__num,
.stat__desc { position: relative; }
/* Capped by the card's own width (24cqi) as well as the viewport: in the
   4-column row "10 years" is wider than the card at the viewport size. */
.stat__num {
  font-weight: 700;
  font-size: min(clamp(44px, 4.2vw, 60px), 24cqi);
  line-height: 1.24;
  white-space: nowrap;
}
.stat__desc {
  position: relative;
  max-width: 249px;
  font-size: 20px;
  line-height: 27px;
}
.stat__icon { position: absolute; top: 0; }
.stat__icon img { position: absolute; max-width: none; }

/* icon 1 — three quarter-circles */
.stat__icon--1 { left: -24px; top: 5px; width: 15px; height: 16px; }
.stat__icon--1 .s1a { left: 0; top: 3px; width: 12px; height: 12px; }
.stat__icon--1 .s1b { left: 3px; top: 0; width: 12px; height: 12px; }
.stat__icon--1 .s1c { left: 3px; top: 4px; width: 8px; height: 8px; }
/* icon 2 */
.stat__icon--2 { left: -26px; top: 6px; width: 17.35px; height: 17.35px; }
.stat__icon--2 img { inset: 0; width: 100%; height: 100%; }
/* icon 3 — compass arrow rotated */
.stat__icon--3 { left: -39px; top: 2px; width: 27.56px; height: 18.79px; display: flex; align-items: center; justify-content: center; }
.stat__icon--3 img { position: static; flex: none; width: 18.79px; height: 27.56px; transform: rotate(-90deg); }
/* icon 4 — blue block with clipped dots */
.stat__icon--4 { left: -34px; top: 5px; width: 24px; height: 16px; overflow: hidden; }
.stat__icon--4 .s4-bg { inset: 0; width: 100%; height: 100%; }
.stat__icon--4 .s4-group {
  position: absolute;
  left: -20.6px; top: 1.1px;
  width: 43.66px; height: 13.79px;
  display: flex; align-items: center; justify-content: center;
}
.stat__icon--4 .s4-group img { position: static; flex: none; width: 13.79px; height: 43.66px; transform: rotate(90deg); }

@media (max-width: 1099px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .stat__desc { max-width: 300px; }
}
@media (max-width: 767px) {
  .intro { padding-top: 56px; }
  .intro__bullets { flex-direction: column; align-items: stretch; max-width: 520px; }
  .intro__bullets li { border-radius: 16px; }
  .intro__bullets li { font-size: 15px; align-items: flex-start; }
  .intro__bullets img { margin-top: 3px; }
  .stats { grid-template-columns: 1fr; gap: 16px; max-width: 400px; }
  .stat__desc { font-size: 18px; line-height: 25px; }
}

/* ==========================================================================
   Learners at the center
   ========================================================================== */
.learners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 653px;
  padding: 239px var(--gutter) 0;
  background: linear-gradient(180deg, #f3f6fc 0%, #eef3fb 100%);
}
.learners__content { position: relative; max-width: 817px; margin: 0 auto; text-align: center; }
/* rings radiating from the logo: "the learner is at the centre" */
.learners__content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  z-index: -1;
  width: 1500px;
  height: 1500px;
  translate: -50% -50%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 9%, rgba(255, 255, 255, 0) 24%),
    repeating-radial-gradient(circle, transparent 0 74px, rgba(45, 90, 168, 0.17) 74px 75.5px);
  -webkit-mask-image: radial-gradient(circle, #000 0 22%, transparent 50%);
          mask-image: radial-gradient(circle, #000 0 22%, transparent 50%);
}
@media (prefers-reduced-motion: no-preference) {
  .learners__content::before { animation: rings-pulse 8s ease-in-out infinite; }
}
@keyframes rings-pulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.04; }
}
.learners__logo { width: 173px; height: 49px; margin: 0 auto; }
.learners__title { margin-top: 6px; font-weight: 700; font-size: clamp(28px, 2.78vw, 40px); line-height: 1.25; }
.learners__lead { margin-top: 10px; font-style: italic; font-size: 18px; line-height: 25px; }

.talk { position: absolute; }
.bubble { position: absolute; left: 0; top: 0; }
.bubble > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bubble p {
  position: relative;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  line-height: 25px;
  white-space: nowrap;
}
.bubble-mini { position: absolute; left: 0; top: 0; width: 115px; height: 37.47px; }
.bubble-mini--wide { width: 171px; height: 38.99px; }

.person { position: absolute; display: block; }
.person::before,
.person::after { content: ""; position: absolute; background: currentColor; }
.person::before { border-radius: 100px; }
.person::after { border-radius: 8px; }
.person--yellow { color: var(--yellow); }
.person--green { color: var(--green); }
.person--blue { color: var(--blue); }
/* head size / body size, taken from the Figma layers */
.person--lg { width: 55px; height: 92px; }
.person--lg::before { left: 6.3px; top: 0; width: 42.4px; height: 42.4px; }
.person--lg::after { left: 0; top: 42.4px; width: 55px; height: 49.6px; }
.person--md { width: 47px; height: 79px; }
.person--md::before { left: 5.4px; top: 0; width: 36.2px; height: 36.2px; }
.person--md::after { left: 0; top: 36.2px; width: 47px; height: 42.3px; }
.person--sm { width: 22.7px; height: 38px; }
.person--sm::before { left: 2.6px; top: 0; width: 17.4px; height: 17.4px; }
.person--sm::after { left: 0; top: 17.5px; width: 22.7px; height: 20.4px; }

/* Desktop placement — group centres expressed as % of 1440 so they spread with the viewport */
.talk--g1 { left: 23.4%; top: 74px;  width: 352px; height: 183px; margin-left: -176px; }
.talk--g1 .bubble { width: 352px; height: 80.25px; }
.talk--g1 .bubble p { left: 34px; top: 17px; }
.talk--g1 .person { left: 104px; top: 91px; }

.talk--g2 { left: 58.1%; top: 73px; width: 115px; height: 79px; margin-left: -57.5px; }
.talk--g2 .person { left: 13.4px; top: 41px; }

.talk--g3 { left: 80.2%; top: 122px; width: 238.5px; height: 175px; margin-left: -119px; }
.talk--g3 .bubble { width: 238.5px; height: 77.7px; }
.talk--g3 .bubble > img { transform: scaleX(-1); }
.talk--g3 .bubble p { width: 189px; left: 29px; top: 15px; text-align: center; }
.talk--g3 .person { left: 159.8px; top: 96.4px; }

.talk--g4 { left: 8.85%; top: 308px; width: 115px; height: 79px; margin-left: -57.5px; }
.talk--g4 .person { left: 13.4px; top: 41px; }

.talk--g5 { left: 90.2%; top: 402px; width: 171px; height: 93px; margin-left: -85.5px; }
.talk--g5 .person { left: 50px; top: 55px; }

.talk--g6 { left: 15.2%; top: 492px; width: 115px; height: 79px; margin-left: -57.5px; }
.talk--g6 .person { left: 13.4px; top: 41px; }

.talk--g7 { left: 56.9%; top: 492px; width: 603px; height: 99px; margin-left: -301.5px; }
.talk--g7 .bubble { width: 541.25px; height: 62px; }
.talk--g7 .bubble p { left: 51px; top: 18px; }
.talk--g7 .person { left: 551px; top: 12px; }

/*
 * Desktop bubbles size to their question (client feedback, Nov 2026: the
 * English "I like drawing — what should I study?" ran out of the fixed-width
 * green bubble). The SVGs above are stretched to the box, so a wider box would
 * also stretch the tail; instead the body is drawn here with the SVG's own
 * colour and radius and the tail is a separate triangle at the SVG's exact
 * size and offset. Each bubble is anchored to the corner nearest its person:
 * it grows away from the person sideways and upwards, so the tail keeps
 * pointing at it. The design width is the minimum, so the client's original
 * copy looks exactly as before; a very long question wraps.
 */
@media (min-width: 1100px) {
  .bubble > img { display: none; }
  .talk--g1 .bubble,
  .talk--g3 .bubble,
  .talk--g7 .bubble { width: max-content; height: auto; border-radius: 24px; }
  .bubble::after { content: ""; position: absolute; background: inherit; }
  .talk--g1 .bubble p,
  .talk--g3 .bubble p,
  .talk--g7 .bubble p { left: 0; top: 0; white-space: normal; text-wrap: balance; }

  .talk--g1 .bubble { top: auto; bottom: 126px; min-width: 352px; max-width: 460px; background: rgba(250, 196, 20, .4); }
  .talk--g1 .bubble p { padding: 17px 34px 15px; }
  .talk--g1 .bubble::after { top: 100%; left: 119px; width: 26.85px; height: 23.25px; clip-path: polygon(0 0, 100% 0, 50% 100%); }

  .talk--g3 .bubble { top: auto; left: auto; right: 0; bottom: 119.2px; min-width: 238.5px; max-width: 380px; background: rgba(145, 173, 61, .2); }
  .talk--g3 .bubble p { width: auto; padding: 15px 29px 15.8px; }
  .talk--g3 .bubble::after { top: 100%; right: 38.75px; width: 30.53px; height: 21.72px; clip-path: polygon(0 0, 100% 0, 50% 100%); }

  .talk--g7 .bubble { left: auto; right: 85px; min-width: 518px; max-width: 640px; background: rgba(45, 90, 168, .2); }
  .talk--g7 .bubble p { padding: 18px 44px 19px 51px; }
  .talk--g7 .bubble::after { left: 100%; top: 18px; width: 23.25px; height: 26.85px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
}

/* gentle float */
@media (prefers-reduced-motion: no-preference) {
  .talk { animation: float 6s ease-in-out infinite; }
  .talk--g2, .talk--g5 { animation-delay: -1.5s; }
  .talk--g3, .talk--g6 { animation-delay: -3s; }
  .talk--g4, .talk--g7 { animation-delay: -4.5s; }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (max-width: 1099px) {
  .learners { min-height: 0; padding: 64px var(--gutter); }
  .bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; }
  .bubbles--top { margin-bottom: 32px; }
  .bubbles--bottom { margin-top: 32px; }
  .talk { position: relative; left: auto; top: auto; margin: 0; }
  .talk--mini { display: none; }

  .talk--g1, .talk--g3, .talk--g7 { width: auto; height: auto; display: flex; flex-direction: column; align-items: center; }
  .talk--g7 { flex-direction: row; gap: 16px; }
  .bubble { position: relative; width: auto !important; height: auto !important; }
  .bubble p { left: auto !important; top: auto !important; width: auto !important; padding: 16px 28px 30px; white-space: normal; }
  .talk--g7 .bubble p { padding: 18px 44px 18px 28px; }
  .talk .person { position: relative; left: auto; top: auto; margin-top: 10px; }
  .talk--g7 .person { margin-top: 0; }
}
@media (max-width: 767px) {
  .learners__lead { font-size: 16px; line-height: 23px; }
  .bubble p { font-size: 16px; }
  .talk--g7 { flex-direction: column-reverse; }
  .talk--g7 .bubble > img { transform: none; }
  .talk--g7 .person { margin-bottom: 8px; }
  .person--lg { transform: scale(.8); }
}

/* ==========================================================================
   News (category filter)
   ========================================================================== */
.news { padding: 80px var(--gutter); }
.news__box {
  max-width: 1344px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 40, 90, .10);
}

/* left: title + filters (brand panel) */
.news__side {
  position: relative;
  overflow: hidden;
  padding: 44px 40px 40px;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(255, 255, 255, .35), transparent 60%),
    var(--yellow);
}
/* oversized logo mark cropped in the corner */
.news__deco {
  position: absolute;
  right: -6px;
  bottom: -96px;
  width: 280px;
  max-width: none;
  rotate: -12deg;
  opacity: .35;
  pointer-events: none;
}
.news__eyebrow {
  position: relative;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.news__title {
  position: relative;
  margin-top: 6px;
  font-weight: 800;
  font-size: clamp(32px, 2.9vw, 42px);
  line-height: 1.15;
}
.news__lead {
  position: relative;
  margin-top: 10px;
  max-width: 340px;
  font-size: 17px;
  line-height: 1.5;
}
.news__tabs {
  position: relative;
  margin-top: 28px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news__tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 56px;
  padding: 0 22px 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .06);
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  transition: background-color .3s, color .3s, box-shadow .3s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.news__tab:hover { background: rgba(255, 255, 255, .85); transform: translateX(4px); }
.news__tab.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(45, 90, 168, .35);
  transform: translateX(8px);
}
.news__tab-go {
  flex: none;
  margin-left: auto;
  width: 13px;
  height: 20px;
  opacity: 0;
  translate: -8px 0;
  transition: opacity .3s, translate .35s cubic-bezier(.2, .8, .2, 1);
}
.news__tab:hover .news__tab-go { opacity: .5; translate: 0 0; }
.news__tab.is-active .news__tab-go { opacity: 1; translate: 0 0; filter: brightness(0) invert(1); }

/* right: article list */
.news__main {
  padding: 24px 48px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff4d8 100%);
}
.news__list { display: flex; flex-direction: column; height: 100%; }
.news__list[hidden] { display: none; }
.news-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0;
  transition: opacity .3s ease;
}
.news-item + .news-item { border-top: 1px solid rgba(0, 0, 0, .1); }
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 14px;
  color: #6b6b6b;
}
.news-item__tag {
  padding: 3px 12px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
}
.news-item__title {
  margin-top: 12px;
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--blue);
}
.news-item__title a::after { content: ""; position: absolute; inset: 0; }   /* whole article is clickable */
.news-item__excerpt { margin-top: 8px; max-width: 520px; font-size: 17px; line-height: 1.55; color: #2b2b2b; }
.news-item__more {
  margin-top: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.news-item__more-arrow { display: inline-block; transition: translate .3s cubic-bezier(.2, .8, .2, 1); }
.news-item:hover .news-item__more-arrow,
.news-item:focus-within .news-item__more-arrow { translate: 6px 0; }
.news-item:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.news-item__title a:focus-visible { outline: none; }

/* hover focus: highlight the hovered article, fade the others */
@media (hover: hover) {
  .news__list:hover .news-item { opacity: .4; }
  .news__list .news-item:hover { opacity: 1; }
}

/* entrance when a category is selected */
@media (prefers-reduced-motion: no-preference) {
  .news__list:not([hidden]) .news-item { animation: news-in .5s cubic-bezier(.2, .8, .2, 1) both; }
  .news__list:not([hidden]) .news-item:nth-child(2) { animation-delay: .07s; }
  .news__list:not([hidden]) .news-item:nth-child(3) { animation-delay: .14s; }
}
@keyframes news-in {
  from { opacity: 0; translate: 0 16px; }
  to   { opacity: 1; translate: 0 0; }
}

@media (max-width: 1099px) {
  .news { padding-block: 64px; }
  .news__box { grid-template-columns: 1fr; border-radius: 28px; }
  .news__side { padding: 36px 32px 32px; }
  .news__deco { width: 190px; right: -40px; top: -50px; bottom: auto; }
  .news__lead { max-width: 440px; }
  .news__tabs { flex-direction: row; max-width: none; gap: 10px; }
  .news__tab { flex: 1; height: 52px; font-size: 16px; white-space: nowrap; }
  .news__tab:hover, .news__tab.is-active { transform: none; }
  .news__tab-go { display: none; }
  .news__main { padding: 8px 32px; }
}
@media (max-width: 767px) {
  .news__box { border-radius: 24px; }
  .news__side { padding: 28px 20px 24px; }
  .news__deco { width: 140px; right: -36px; top: -36px; }
  .news__lead { font-size: 16px; max-width: 250px; }
  .news__tabs { flex-direction: column; margin-top: 22px; }
  .news__tab { flex: none; }
  .news__tab-go { display: block; }
  .news__main { padding: 4px 20px; }
  .news-item { padding: 22px 0; }
  .news-item__excerpt { font-size: 16px; }
}

/* ==========================================================================
   Testimonials (slider)
   ========================================================================== */
.testimonials {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(50% 60% at 85% 10%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(40% 50% at 10% 20%, rgba(145, 173, 61, 0.18), transparent 70%),
    linear-gradient(160deg, #3265b8 0%, var(--blue) 45%, #1f4686 100%);
}
.testimonials__shapes {          /* graphic from the Figma design, bottom-left */
  position: absolute;
  left: 0;
  bottom: 0;
  width: 410px;
  height: 417px;
  max-width: none;
  opacity: .5;
  pointer-events: none;
}
.testimonials .testi-card { color: var(--ink); box-shadow: 0 30px 70px rgba(8, 24, 60, 0.35); }
.testimonials .testi-nav__btn img { filter: brightness(0) invert(1); }
.testimonials .slider-dots .slider-dots__dot { background: rgba(255, 255, 255, 0.45); }
.testimonials .slider-dots .slider-dots__dot.is-active { background: var(--yellow); }
.testimonials__head { position: relative; text-align: center; padding: 0 var(--gutter); }
.testimonials__title { font-weight: 700; font-size: clamp(32px, 3.34vw, 48px); line-height: 50px; }
.testimonials__sub { font-weight: 700; font-size: 18px; line-height: 25px; margin-top: 4px; }

.js-testi-slider { padding: 18px var(--gutter) 34px; }
.js-testi-slider .slider__slide { padding-bottom: 58px; }   /* room for the photo overhang */

.testi-card {
  position: relative;
  max-width: 918px;
  height: 531px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 84px rgba(0, 0, 0, 0.11);
  display: grid;
  grid-template-columns: 331px 1fr;
  column-gap: 57px;
  grid-template-rows: minmax(0, 1fr);   /* body fills the card; photo may overhang */
  padding: 93px 22px 0 84px;
}
.testi-card__quote { position: absolute; left: 60px; top: 10px; width: 95px; height: 73px; z-index: 2; }
.testi-card__photo {
  margin-top: -17px;
  width: 331px;
  height: 512.73px;
  border-radius: 165.5px / 168.37px;
  overflow: hidden;
}
.testi-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

.testi-card__body { min-width: 0; display: flex; flex-direction: column; padding-bottom: 50px; }
.testi-card__text {
  max-width: 391px;
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
  line-height: 40px;
}
.testi-card__stars { display: flex; gap: 6px; margin: 49px 0 0 2px; }
.testi-card__stars img { width: 24px; height: 24px; }
.testi-card__name {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 25px;
  line-height: 30px;
}
.testi-card__meta { margin: 9px 0 0 2px; font-weight: 500; font-size: 18px; line-height: 25px; color: var(--blue); }

.badge {
  position: absolute;
  right: 22.3px;
  bottom: 35px;
  width: 69.7px;
  height: 106.5px;
  overflow: hidden;
}
.badge__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge__group { position: absolute; left: 4.78px; top: 4.19px; width: 60.14px; height: 193.77px; max-width: none; }

.testi-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}
.testi-nav__btn { width: 18.8px; height: 28px; flex: none; transition: transform .2s; }
.testi-nav__btn img { width: 100%; height: 100%; }
.testi-nav__btn:hover { transform: scale(1.15); }
.testi-nav__btn:first-child img { transform: scaleX(-1); }

.slider-dots.slider-dots { position: static; display: flex; align-items: center; width: auto; min-height: 17px; transform: none; }
.slider-dots .slider-dots__dot {
  width: 8px;
  height: 8px;
  margin: 0 12.5px !important;
  background: var(--dot);
  opacity: 1;
  transition: width .25s, height .25s, margin .25s, background-color .25s;
}
.slider-dots .slider-dots__dot:first-child { margin-left: 0 !important; }
.slider-dots .slider-dots__dot:last-child { margin-right: 0 !important; }
.slider-dots .slider-dots__dot.is-active {
  width: 17px;
  height: 17px;
  margin: 0 8px !important;
  background: var(--dot-active);
}

@media (max-width: 1099px) {
  .testimonials__shapes { width: 300px; height: 305px; }
  .testi-card { grid-template-columns: 260px 1fr; column-gap: 40px; padding: 80px 32px 0 48px; }
  .testi-card__photo { width: 260px; height: 402.7px; margin-top: 0; border-radius: 130px / 132.2px; }
  .testi-card__quote { left: 32px; }
  .testi-card__text { font-size: 21px; line-height: 34px; }
  .testi-card__stars { margin-top: 32px; }
}
@media (max-width: 767px) {
  .testimonials { padding-top: 56px; }
  .testimonials__title { line-height: 1.2; }
  .testimonials { padding-bottom: 124px; }
  .testimonials__shapes { width: 118px; height: 120px; }
  .js-testi-slider .slider__slide { padding-bottom: 24px; }
  .testimonials .testi-card { box-shadow: 0 14px 30px rgba(8, 24, 60, 0.3); }
  .testi-card {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 64px 24px 32px;
    text-align: left;
  }
  .testi-card__quote { left: 20px; top: 16px; width: 60px; height: 46px; }
  .testi-card__photo { width: min(240px, 70%); height: auto; aspect-ratio: 331 / 512.73; margin: 0 auto; border-radius: 50% / 32.8%; }
  .testi-card__body { padding: 28px 0 0; }
  .testi-card__text { font-size: 19px; line-height: 30px; }
  .testi-card__stars { margin-top: 20px; }
  .testi-card__name { margin-top: 0; font-size: 22px; }
  .badge { transform: scale(.6); transform-origin: bottom right; right: 16px; bottom: 24px; }
  .testi-nav { gap: 16px; }
  .slider-dots .slider-dots__dot { margin: 0 8px !important; }
  .slider-dots .slider-dots__dot.is-active { margin: 0 4px !important; }
}

/* ==========================================================================
   Partners (marquee)
   ========================================================================== */
.partners { padding: 40px 0 28px; }
.partners__title {
  padding: 0 var(--gutter);
  text-align: center;
  font-weight: 700;
  font-size: clamp(26px, 2.78vw, 40px);
  line-height: 1.25;
}
.marquee--logos { --gap: 28px; --duration: 28s; margin-top: 15px; height: 106px; display: flex; align-items: center; }
.marquee--logos .marquee__group { gap: var(--gap); }
.logo { flex: none; object-fit: contain; }
/* logo linking to the school's website (new tab) */
.logo-link { flex: none; display: block; border-radius: 8px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.logo-link:hover { transform: translateY(-3px); }
.logo--3dsense { width: 127.44px; height: 49.1px; }
.logo--aub { width: 125.36px; height: 101.33px; mix-blend-mode: multiply; }
.logo--academy { width: 144.4px; height: 105.77px; }
.logo--uca { width: 76.44px; height: 76.44px; }
.marquee__sep--sm { width: 22.22px; height: 19.36px; }

@media (max-width: 767px) {
  .marquee--logos { --gap: 20px; height: 80px; }
  .marquee--logos .logo { transform: scale(.75); margin-inline: -12px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 27px var(--gutter) 41px; }
.contact__box {
  position: relative;
  max-width: 1344px;
  min-height: 560px;
  margin: 0 auto;
  padding: 56px 0 0 62px;
  background: var(--yellow);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  column-gap: 16px;
}
.contact__text {
  align-self: center;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.contact__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 3.34vw, 48px);
  line-height: 1.36;
}
.contact__cta { width: auto; max-width: 100%; text-align: center; }
.contact__map {
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 800px;
  height: auto;
  pointer-events: none;
  clip-path: inset(0 2% 4% 0); /* trims a stray light corner in the exported PNG */
}

@media (max-width: 1099px) {
  .contact__box { grid-template-columns: 1fr; min-height: 0; padding: 40px 40px 0; }
  .contact__text { padding-bottom: 0; gap: 28px; }
  .contact__map { justify-self: center; margin-top: 16px; padding-bottom: 24px; }
}
@media (max-width: 767px) {
  .contact__box { padding: 28px 20px 0; border-radius: 20px; }
  .contact__cta { width: 100%; }
}

/* ==========================================================================
   Contact form popup
   ========================================================================== */
html:has(.modal[open]) { overflow: hidden; }

.modal {
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.modal::backdrop {
  background: rgba(14, 24, 48, .55);
  backdrop-filter: blur(4px);
}
.modal[open] { animation: modal-in .4s cubic-bezier(.2, .8, .2, 1); }
.modal[open]::backdrop { animation: fade-in .3s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .modal[open], .modal[open]::backdrop { animation: none; }
}

.modal__panel {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow: hidden auto;
  padding: 40px 40px 28px;
  border-radius: 24px;
  background: var(--yellow);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
/* still scrollable on very short screens, but without a visible scrollbar */
.modal__panel { scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior: contain; }
.modal__panel::-webkit-scrollbar { display: none; }

/* compact layout on short viewports so the form usually fits without scrolling */
@media (max-height: 860px) {
  .modal__panel { padding-top: 28px; padding-bottom: 20px; }
  .modal__mark { width: 36px; }
  .modal__title { margin-top: 8px; font-size: 28px; }
  .modal__sub { font-size: 15px; }
  .modal .form { margin-top: 16px; gap: 12px; }
  .modal .field input { height: 52px; padding-block: 12px; }
  .modal .field label { top: 14px; }
  .modal .field textarea { height: 84px; }
  .modal .field--area label { top: 10px; }
  .modal .btn { padding-block: 14px; }
}
.modal__shape { position: absolute; pointer-events: none; max-width: none; }
.modal__shape--disc { width: 90px; right: -12px; top: -60px; rotate: -90deg; }
.modal__shape--circle { width: 110px; left: -48px; bottom: -48px; opacity: .9; }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  transition: transform .2s;
}
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  border-radius: 2px;
  background: var(--ink);
  rotate: 45deg;
}
.modal__close::after { rotate: -45deg; }
.modal__close:hover { transform: rotate(90deg); }

.modal__body { position: relative; }
.modal__mark { width: 46px; height: auto; }
.modal__title {
  margin-top: 14px;
  padding-right: 40px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
}
.modal__sub { margin-top: 6px; font-weight: 500; font-size: 16px; line-height: 22px; }
.modal__success { text-align: center; padding: 24px 0 16px; }
.modal__success .modal__mark { margin: 0 auto; }
.modal__success .modal__title { padding-right: 0; }
.modal__success .btn { margin-top: 24px; }

/* form inside popup */
.form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { position: relative; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 60px;
  padding: 16px 22px;
  border: 2px solid transparent;
  border-radius: 7px;
  background: var(--grey-field);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #313131;
  outline: none;
  transition: border-color .2s, background-color .2s;
  resize: vertical;
}
.field textarea { height: 102px; padding-top: 8px; }
.field input:focus,
.field textarea:focus { border-color: var(--blue); background: #fff; }
.field label {
  position: absolute;
  left: 24px;
  top: 18px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--grey-text);
  pointer-events: none;
  transition: opacity .15s;
}
.field--area label { top: 10px; }
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label { opacity: 0; }
.field .req, .form__note { color: var(--red); }
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: var(--red); }

.form__note { margin: -8px 0 4px; font-family: var(--font-title); font-weight: 500; font-size: 16px; line-height: 22px; }
.form__status { min-height: 22px; margin-top: -6px; font-weight: 700; font-size: 15px; color: var(--red); }

@media (max-width: 767px) {
  .modal__panel { padding: 32px 20px 20px; border-radius: 20px; }
  .field input, .field textarea { font-size: 16px; height: 54px; padding: 13px 18px; }
  .field textarea { height: 96px; }
  .field label { left: 20px; top: 15px; font-size: 16px; }
  .btn--blue { padding: 14px 20px; font-size: 16px; line-height: 22px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #f3f3f5; margin-top: 0; }
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 31px var(--gutter);
  display: flex;
  gap: 24px;
}
.footer__brand {
  flex: none;
  width: 310px;
  min-height: 263px;
  padding: 25px 32px 18px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  /* dark card so every colour in the logo mark (yellow, blue, green) reads clearly */
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(65, 93, 154, .35), transparent 70%),
    linear-gradient(150deg, #1f2636 0%, #141821 100%);
  box-shadow: 0 16px 32px rgba(15, 20, 35, .22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.footer__logo { width: 168px; height: 47px; }
.footer__company { margin-left: 3px; margin-right: -12px; white-space: nowrap; font-family: var(--font-body); font-weight: 700; font-size: 13px; line-height: 19px; }
.footer__contact { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 15px; color: rgba(255, 255, 255, .78); font-family: var(--font-body); font-weight: 500; font-size: 12px; line-height: 13.6px; }
.footer__contact a:hover { color: var(--yellow); text-decoration: underline; }
.footer__ico { width: 23px; flex: none; display: flex; justify-content: center; }

.footer__dir {
  flex: 1 1 0;
  min-width: 0;
  min-height: 263px;
  padding: 47px 40px 36px;
  border-radius: 28px;
  background: linear-gradient(90deg, #ffedae, #fff);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.05));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 17px;
}
.footer__cols { width: 100%; display: flex; justify-content: center; gap: 56px; }
.footer__col { width: 130px; display: flex; flex-direction: column; gap: 12px; }
.footer__heading { font-family: var(--font-title); font-weight: 700; font-size: 13px; line-height: 18px; color: #1c1c1e; white-space: nowrap; }
.footer__heading::after { content: ""; display: block; width: 128px; height: 5px; margin-top: 12px; background: var(--yellow-2); }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-body); font-weight: 500; font-size: 12px; line-height: 16px; color: #2b2b2b; }
.footer__col a:hover { color: var(--blue); }
.footer__line { width: 100%; margin: 0; border: 0; border-top: 1px solid #f2f2f7; }
.footer__social { width: 65px; height: 27.5px; }

@media (max-width: 1239px) {
  .footer__cols { gap: 24px; justify-content: space-between; }
  .footer__col { width: auto; flex: 1; }
  .footer__heading::after { width: 100%; }
}
@media (max-width: 1099px) {
  .footer__inner { flex-direction: column; }
  .footer__brand { width: 100%; min-height: 0; }
  .footer__dir { flex: none; min-height: 0; padding: 32px; }
  .footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
}
@media (max-width: 767px) {
  .footer__dir { padding: 28px 20px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- Pagination ----------
   paginate_links() output, restyled. Unscoped: the school table on the
   destination pages and the Trại hè listing use the same control, and they do
   not share a stylesheet. */
.pager { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(45, 90, 168, .25); font-family: var(--font-title); font-weight: 700; font-size: 16px; color: var(--slate); text-decoration: none; }
a.pager__btn:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.pager__btn.is-active { background: var(--blue); box-shadow: none; color: #fff; }
.pager__btn.is-disabled { opacity: .35; box-shadow: none; }
.pager__caret { display: flex; }
.pager__caret svg { width: 12px; height: 18px; }
.pager__caret--prev { transform: scaleX(-1); }

/* ==========================================================================
   2. Hero collage (from hero-v2.css)
   ========================================================================== */
/* ==========================================================================
   Hero v2 — split layout, photos cropped into the Creative Compass logo mark.
   Loaded after style.css by index-v2.html only.
   ========================================================================== */

.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero--v2 {
  /* warm cream + faint hexagon-dot texture (from the Figma world map) */
  background: linear-gradient(180deg, #fffaf0 0%, #fff6e2 70%, #fff 100%);
}
.hero--v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='27.713' viewBox='0 0 16 27.713'%3E%3Cg fill='%232d5aa8'%3E%3Cpolygon points='8,3.93 10.4,5.32 10.4,8.09 8,9.48 5.6,8.09 5.6,5.32'/%3E%3Cpolygon points='0,17.79 2.4,19.18 2.4,21.95 0,23.34 -2.4,21.95 -2.4,19.18'/%3E%3Cpolygon points='16,17.79 18.4,19.18 18.4,21.95 16,23.34 13.6,21.95 13.6,19.18'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 16px 27.713px;
  opacity: .09;
  -webkit-mask-image: radial-gradient(60% 75% at 78% 50%, #000 0%, transparent 75%);
          mask-image: radial-gradient(60% 75% at 78% 50%, #000 0%, transparent 75%);
}

.hero2-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 50vw, 720px);
}
.hero2__grid {
  width: 100%;
  /* as wide as the Du học các nước box below (Feedback_final.pdf) */
  max-width: calc(1344px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 128px var(--gutter) 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 72px);
}

/* ---------- text ---------- */
.hero2__text { position: relative; z-index: 1; }
.hero2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero2__eyebrow::before {             /* tiny three-colour mark, like the marquee separator */
  content: "";
  width: 22px;
  height: 19px;
  background: url("../img/partner-sep.svg") center / contain no-repeat;
}
.hero--v2 .hero__title {
  max-width: 600px;
  margin-top: 16px;
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.2;
  text-align: left;
}
.hero--v2 .hero__lead {
  max-width: 540px;
  margin-top: 18px;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}
.hero--v2 .btn { margin-top: 30px; }

/* ---------- collage: pieces sit exactly where the logo-mark parts are ---------- */
.hero2__art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 76.3 / 66.3;
}
.hero2__piece,
.hero2__ghost {
  position: absolute;
  margin: 0;
}
.hero2__piece { overflow: hidden; background: #eee; }
.hero2__piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .8s cubic-bezier(.2, .8, .2, 1);
}
.hero2__art:hover .hero2__piece img { scale: 1.05; }

.hero2__piece--half,  .hero2__ghost--half   { left: 0;      top: .49%;   width: 50.14%; height: 99.12%; clip-path: url(#cc-half); }
.hero2__chev                               { position: absolute; left: 57.65%; top: .49%; width: 36.32%; height: 45.27%; clip-path: url(#cc-chev); background: var(--yellow); }
.hero2__piece--circle,.hero2__ghost--circle { left: 57.65%; top: 51.55%; width: 42.23%; height: 48.21%; border-radius: 50%; }
.hero2__wedge { position: absolute; left: 86.33%; top: .49%; width: 13.55%; height: auto; }

/* offset colour "shadows" in brand colours */
.hero2__ghost--half   { background: var(--blue); }
.hero2__ghost--circle { background: var(--green); }
.hero2__ghost { --gx: -14px; --gy: 14px; }
.hero2__ghost--circle { --gx: 14px;  --gy: 14px; }

/* ---------- entrance on the active slide ---------- */
.hero2__text > *,
.hero2__piece,
.hero2__chev,
.hero2__wedge {
  opacity: 0;
  transition: opacity .6s ease, translate .7s cubic-bezier(.2, .8, .2, 1), scale .8s cubic-bezier(.34, 1.4, .64, 1);
}
.hero2__text > * { translate: 0 18px; }
.hero2__piece, .hero2__chev, .hero2__wedge { scale: .85; }
.hero2__ghost { translate: 0 0; transition: translate .8s cubic-bezier(.2, .8, .2, 1) .35s; }

.is-active .hero2__text > * { opacity: 1; translate: 0 0; }
.is-active .hero2__text > :nth-child(2) { transition-delay: .06s; }
.is-active .hero2__text > :nth-child(3) { transition-delay: .12s; }
.is-active .hero2__text > :nth-child(4) { transition-delay: .18s; }
.is-active .hero2__text > :nth-child(5) { transition-delay: .24s; }
.is-active .hero2__piece,
.is-active .hero2__chev,
.is-active .hero2__wedge { opacity: 1; scale: 1; }
.is-active .hero2__chev         { transition-delay: .1s; }
.is-active .hero2__piece--circle { transition-delay: .2s; }
.is-active .hero2__wedge         { transition-delay: .3s; }
.is-active .hero2__ghost { translate: var(--gx) var(--gy); }

@media (prefers-reduced-motion: reduce) {
  .hero2__text > *, .hero2__piece, .hero2__chev, .hero2__wedge, .hero2__ghost { transition: none; }
}

/* ---------- tablet & mobile ---------- */
@media (max-width: 1099px) {
  .hero2__grid {
    grid-template-columns: 1fr;
    padding: 112px calc(var(--gutter) + 64px) 104px;
    gap: 40px;
    text-align: center;
  }
  .hero2__art { order: -1; justify-self: center; max-width: 420px; }
  .hero--v2 .hero__title,
  .hero--v2 .hero__lead { margin-inline: auto; text-align: center; }
  .hero--v2::before {
    -webkit-mask-image: radial-gradient(70% 45% at 50% 35%, #000 0%, transparent 75%);
            mask-image: radial-gradient(70% 45% at 50% 35%, #000 0%, transparent 75%);
  }
}
@media (max-width: 767px) {
  .hero2__grid { padding: 100px var(--gutter) 112px; gap: 32px; }
  .hero2__art { max-width: 300px; }
  .hero2__ghost { --gx: -9px; --gy: 9px; }
  .hero2__ghost--circle { --gx: 9px; --gy: 9px; }
  .hero2__eyebrow { font-size: 12px; }
}
.hero--v2 .nowrap { white-space: nowrap; }

/* Dots only, centred under the slide (the prev/next arrows were dropped in the
   22 Sept feedback round: they clashed with the dots). The dots, the
   keyboard arrows and autoplay still move the slides. */
.hero__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  pointer-events: none;
}
.hero__nav > * { pointer-events: auto; }
.hero .hero__nav .hero__dots.slider-dots { position: static; transform: none; }
@media (max-width: 767px) {
  .hero__nav { bottom: 22px; }
}
/* the highlighted phrase in a title stays on one line (the prototype's span.nowrap) */
.hero--v2 .hero__title mark { white-space: nowrap; }

/* ==========================================================================
   v2 header: docked full-width under the promo bar at the top of the page,
   turns into the floating glass pill once you scroll.
   ========================================================================== */
.header__bar {
  border-radius: calc(var(--bar-h) / 2);
  transition: max-width .45s cubic-bezier(.2, .8, .2, 1), border-radius .45s, padding .45s;
}
.header { transition: padding .45s cubic-bezier(.2, .8, .2, 1); }
.header:not(.is-scrolled) { --gap-top: 0px; padding: 0; }
.header:not(.is-scrolled) .header__bar {
  max-width: 100%;
  border-radius: 0;
  padding-inline: max(24px, calc((100% - 1200px) / 2 + 24px)) max(16px, calc((100% - 1200px) / 2 + 10px));
}
.header:not(.is-scrolled) .header__bar::before {
  box-shadow: inset 0 -1px 0 rgba(20, 40, 90, .08), 0 6px 20px rgba(20, 40, 90, .06);
}
.header:not(.is-scrolled) .header__bar::after { opacity: 0; }

/* ==========================================================================
   3. Client feedback rounds (from v3.css)
   ========================================================================== */
/* ==========================================================================
   v3 — client feedback round 1 (feedback.pdf).
   Loaded after style.css + hero-v2.css by index-v3.html only.
   ========================================================================== */

/* ---------- Menu: dropdown arrows are black (asset swapped in HTML) ---------- */

/* ---------- Round yellow arrow buttons: crisp CSS circle + exported glyph ----------
   The old SVG had an embedded filter, which some browsers rasterise blurry. */
.dest-next {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}
.dest-next img {
  position: static;
  width: 40%;
  height: auto;
  max-width: none;
  translate: 2px 0;              /* optical centring: the glyph's point is on the right */
}
@media (max-width: 767px) {
  .dest-next img { width: 40%; height: auto; left: auto; }
}

/* ---------- Buttons: soft, centred shadow (was offset to the right) ---------- */
.btn { filter: none; box-shadow: 0 8px 20px rgba(45, 90, 168, .18); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { filter: none; box-shadow: 0 12px 26px rgba(45, 90, 168, .24); }

/* ---------- Hero: ExtraBold headline ---------- */
.hero--v2 .hero__title { font-weight: 800; }
.hero2__eyebrow { align-items: flex-start; line-height: 1.5; letter-spacing: .06em; }
.hero2__eyebrow::before { flex: none; margin-top: 1px; }

/* ---------- Pop-up: light yellow like the hero, country dropdown ---------- */
.modal__panel {
  background: linear-gradient(180deg, #fffaf0 0%, #fff4dc 100%);
}
.field select {
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 52px 0 22px;
  border: 2px solid transparent;
  border-radius: 7px;
  background: var(--grey-field);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 18px;
  color: #313131;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  transition: border-color .2s;
}
.field select:has(option[value=""]:checked) { color: var(--grey-text); }
/* white fields (after the select base style: without the prototype's .page-v3 prefix, order decides) */
.field input,
.field textarea,
.field select {
  background: #fff;
  border-color: rgba(20, 40, 90, .12);
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--blue); }
.field--select::after {            /* chevron */
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  rotate: 45deg;
  pointer-events: none;
}
@media (max-height: 860px) {
  .modal .field select { height: 52px; }
}
@media (max-width: 767px) {
  .field select { height: 54px; font-size: 16px; padding-left: 18px; }
}

/* ---------- Destinations: fixed-size cards; a row that doesn't fit becomes a slider ----------
   Cards never shrink. Three fit side by side in the full-width box
   (3 x 290 + 2 x 20 = 910px of the 912px available); on anything narrower the
   row scrolls and the next card peeks in at the box edge as a hint.
   The next button only shows when there is something to scroll to. */
.dest-card { width: 290px; }
/* is-scrollable is set by the slider JS when the row overflows */
.js-dest-slider:not(.is-scrollable) ~ .dest-next { display: none; }
@media (min-width: 1100px) {
  .js-dest-slider { padding: 39px 40px 38px 0; }
}
@media (max-width: 767px) {
  .dest-card { width: 250px; }
}
/* Title in the normal flow, photo fills the rest: a long country name pushes
   the photo down instead of disappearing under it. Spacing matches the
   absolute offsets above for a two-line title. */
.dest-card { display: flex; flex-direction: column; padding: 12px; }
.dest-card__title { position: static; flex: none; width: auto; margin: 12px 10px 12px 12px; }
.dest-card__media { position: relative; inset: auto; flex: 1 1 0; min-height: 0; }
@media (max-width: 767px) {
  .dest-card { padding: 10px; }
  .dest-card__title { margin: 8px 10px 14px 8px; }
}

/* ---------- Intro stats: "10 năm" icon same size, horizontal, point toward text ---------- */
.stat__icon--3 { left: -22px; top: 5px; width: 11.6px; height: 17px; display: block; }
.stat__icon--3 img { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; }

/* ---------- Learners: no logo, text block centred ---------- */
.learners { padding-top: 0; display: flex; align-items: center; }
.learners__content { width: 100%; padding-top: 12px; }
.learners__content::before { top: 50%; }
@media (max-width: 1099px) {
  .learners { display: block; padding-top: 64px; }   /* room above the first bubble (it floats up 8px) */
  .learners__content { padding-top: 0; }
  .bubbles--bottom { display: none; }     /* all 3 questions sit above the text */
  .bubbles--top { margin-bottom: 40px; }
}

/* ---------- News ---------- */
/* logo graphic sits at the bottom of the panel, well clear of the category buttons */
.news__side { display: flex; flex-direction: column; }
.news__deco {
  position: relative;
  right: auto;
  bottom: auto;
  top: auto;
  order: 99;                      /* after the buttons */
  align-self: flex-end;
  width: 220px;
  margin: auto -44px -16px 0;     /* auto top margin pushes it down */
}
@media (min-width: 1100px) {
  .news__tabs { margin-bottom: 48px; }   /* minimum gap when the panel is short */
}
@media (max-width: 1099px) {
  .news__side { display: block; }
  .news__deco { position: absolute; width: 190px; right: -40px; top: -50px; margin: 0; }
}
@media (max-width: 767px) {
  .news__deco { width: 140px; right: -36px; top: -36px; }
  .news__lead { max-width: none; }   /* as wide as the buttons below */
  .news__eyebrow, .news__title { max-width: 60%; }
}

/* cover image: 1:1, the same size for every article (a two-line title no longer makes it bigger) */
.news-item__row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 12px;
}
.news-item__media {
  flex: none;
  align-self: flex-start;
  width: 120px;
  height: 120px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eadfc4;
}
.news-item__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
.news-item:hover .news-item__media img { scale: 1.06; }
.news-item__body { min-width: 0; display: flex; flex-direction: column; }
.news-item__title { margin-top: 0; font-size: clamp(18px, 1.45vw, 21px); }
.news-item__excerpt { font-size: 16px; line-height: 1.5; }
.news-item { padding: 22px 0; }
@media (max-width: 767px) {
  .news-item__row { gap: 14px; }
  .news-item__title { font-size: 18px; }
  .news-item__excerpt { font-size: 15px; }
}

/* ---------- Testimonials ---------- */
/* desktop: photo fully inside the card */
@media (min-width: 1100px) {
  .js-testi-slider .slider__slide { padding-bottom: 0; }
  .testi-card { padding: 40px 22px 40px 60px; column-gap: 64px; }
  .testi-card__photo { margin-top: 0; width: 291px; height: 451px; border-radius: 145.5px / 148px; }
  .testi-card__quote { left: 36px; top: 24px; }
  .testi-card__body { padding-top: 53px; }
}
/* mobile: less space between the card and the arrows/dots row */
@media (max-width: 767px) {
  .js-testi-slider { padding-bottom: 4px; }
  .js-testi-slider .slider__slide { padding-bottom: 16px; }
}

/* Real testimonials vary in length: the card grows past its design height
   instead of clipping, every card matches the tallest (all slides share the
   track's height), and long quotes drop to a reading size. */
.testi-card { height: auto; min-height: 531px; align-items: center; }
.testi-card__name { margin-top: 0; }   /* follow the stars; cards now share the tallest height */
.testi-card--long .testi-card__text { max-width: none; font-size: 18px; line-height: 30px; }
@media (max-width: 1099px) {
  .testi-card--long .testi-card__text { font-size: 17px; line-height: 28px; }
}
@media (max-width: 767px) {
  .testi-card { min-height: 0; align-content: start; }   /* one column: keep photo and text together */
  .testi-card--long .testi-card__text { font-size: 16px; line-height: 26px; }
}
.js-testi-slider .slider__slide { display: grid; }
/* The slider clips its overflow, which cut the card's drop shadow
   (0 30px 70px reaches ~40px above and ~100px below the card). Extra padding
   gives the shadow room; equal negative margins keep the layout unchanged.
   The arrows/dots then sit inside that padding, so lift them above the
   slides (the active slide has z-index 1) or they stop receiving clicks. */
.testi-nav { z-index: 2; }
.js-testi-slider { padding-top: 48px; margin-top: -30px; padding-bottom: 100px; margin-bottom: -66px; }
@media (max-width: 767px) {
  .js-testi-slider { padding-bottom: 50px; margin-bottom: -46px; }   /* mobile shadow: 0 14px 30px */
}
/* Desktop: a wider card with tighter padding, so a long quote wraps into
   fewer lines and the whole card fits on one screen. */
@media (min-width: 1100px) {
  .testi-card { max-width: 1200px; padding: 32px 40px 32px 56px; column-gap: 56px; }
  .testi-card__quote { left: 32px; top: 16px; }
  .testi-card__body { padding-top: 40px; padding-bottom: 40px; }
  .testi-card__stars { margin-top: 28px; }
}

/* ---------- Contact: shorter top part ---------- */
.contact__box { min-height: 0; padding-top: 32px; }
.contact__text { padding-bottom: 32px; }
@media (max-width: 1099px) {
  .contact__box { padding-top: 28px; }
  .contact__text { padding-bottom: 0; }
}
@media (max-width: 767px) {
  .contact__box { padding-top: 24px; }
}

/* ---------- Footer ---------- */
.footer__note {
  margin: 12px 0 0 38px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, .6);
}

/* keep invalid state visible over the v3 field styles */
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: var(--red); }
.hero2__eyebrow { text-wrap: balance; }

/* ---------- v3 responsive fixes ---------- */
@media (max-width: 1099px) {
  .news__box { grid-template-columns: minmax(0, 1fr); }
  .hero2__eyebrow { flex-direction: column; align-items: center; gap: 8px; }
}
@media (max-width: 767px) {
  .news-item__media { width: 88px; height: 88px; border-radius: 10px; }
}

/* ==========================================================================
   v3 mobile adjustments (round 2)
   ========================================================================== */
.bubble__tail-down { display: none; }

@media (max-width: 767px) {
  /* Testimonials: less empty space under the pagination */
  .testimonials { padding-bottom: 52px; }
  .testimonials__shapes { width: 80px; height: 81.4px; }

  /* Learners: last question uses the same layout as the others — bubble on top,
     tail pointing down to the person below */
  .talk--g7 { flex-direction: column; }
  .talk--g7 .bubble__tail-side { display: none; }
  .talk--g7 .bubble__tail-down { display: block; }
  .talk--g7 .bubble p { padding: 16px 28px 30px; }
  .talk--g7 .person { margin: 10px 0 0; }

  /* Intro stats: every icon fits the same 22×22 slot, centred on the first text line */
  .stat__icon { transform-origin: center; }
  .stat__icon--1 { left: -32.5px;  top: 4.5px;  scale: 1.375; }
  .stat__icon--2 { left: -33.68px; top: 3.83px; scale: 1.268; }
  .stat__icon--3 { left: -30.8px;  top: 4px;    scale: 1.294; }
  .stat__icon--4 { left: -37px;    top: 4.5px;  scale: .9167; }
}

/* ==========================================================================
   4. Theme additions
   ========================================================================== */

/* ---------- Slider (replaces Swiper) ----------
   Fade mode: every slide sits in the same grid cell, so the track is as tall
   as the tallest slide (Swiper's behaviour) and slides crossfade in place.
   `visibility` follows `opacity` so hidden slides are not focusable. */
.slider { position: relative; overflow: hidden; }
.slider__track { display: grid; }
.slider--fade .slider__slide {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--slide-speed, .6s) ease, visibility 0s linear var(--slide-speed, .6s);
}
.slider--fade .slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition-delay: 0s, 0s;
}
@media (prefers-reduced-motion: reduce) {
  .slider--fade .slider__slide { transition: none; }
}
.slider-dots__dot { display: block; border-radius: 50%; cursor: pointer; }

/* Destinations: a swipeable row (native scroll-snap) of fixed-size cards; it
   only actually scrolls when the cards don't fit (card sizes are in section 3).
   The box's side padding lives on the track rather than the slider, so a card
   that doesn't fit peeks in right up to the box edge instead of being cut off
   short of it. The track is positioned so each card's offsetLeft is measured
   from it (the slider JS scrolls to those). */
.slider.slider--dest { padding-inline: 0; }
.slider--dest .slider__track {
  position: relative;
  display: flex;
  gap: 20px;
  padding-inline: 32px;
  scroll-padding-inline: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider--dest .slider__track::-webkit-scrollbar { display: none; }
.slider--dest .slider__slide { flex: none; scroll-snap-align: start; }
.slider--dest.is-scrollable .slider__track { cursor: grab; }
@media (min-width: 1100px) {
  .slider--dest .slider__track { padding-inline: 0 40px; scroll-padding-inline: 0 40px; }
}
@media (max-width: 767px) {
  .slider--dest .slider__track { gap: 14px; padding-inline: 20px; scroll-padding-inline: 20px; }
}
.slider--dest .slider__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }

/* ---------- Language pill: options are real links ---------- */
.lang__opt { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ---------- Footer social icons: a list of links, not one image ---------- */
.footer__social { display: flex; gap: 16px; width: auto; height: auto; margin: 0; padding: 0; list-style: none; }
.footer__social a, .footer__social span { display: block; }
.footer__social img { width: 24px; height: auto; display: block; transition: opacity .2s; }
.footer__social a:hover img { opacity: .6; }

/* ---------- Inline highlight colours applied in the editor ---------- */
mark.has-inline-color { background: transparent; }
/*
 * …except green, which is the brand's highlight block (brand guide, the "Về
 * chúng tôi" slide) and now works wherever it is written, not only in the
 * three headlines that were designed with one. Client question
 * (Feedback_services.pdf, Ghi chú): yes — select the words, then
 * Highlight → Text → Green.
 *
 * !important because the editor writes the colour inline on the element.
 */
mark.has-green-color {
  padding: 0 10px;
  border-radius: 6px;
  background: var(--green) !important;
  color: var(--ink) !important;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.has-blue-color   { color: var(--blue); }
.has-green-color  { color: var(--green); }
.has-amber-color  { color: var(--amber); }
.has-orange-color { color: var(--orange); }
.has-ink-color    { color: var(--ink); }
.has-white-color  { color: #fff; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
}
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Honeypot field: off-screen for humans, present for bots. */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Without JavaScript ----------
   main.js adds .js to <html>. Until then (or without JS) show the first
   slide, all news lists and the hero content, so nothing is blank. */
html:not(.js) .slider--fade .slider__slide:first-child { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
html:not(.js) .hero2__text > *,
html:not(.js) .hero2__piece,
html:not(.js) .hero2__chev,
html:not(.js) .hero2__wedge { opacity: 1; translate: 0 0; scale: 1; }
html:not(.js) .news__list[hidden] { display: flex; }
html:not(.js) .marquee__track { animation: none; }

/* ---------- News: empty category ---------- */
.news__empty { padding: 28px 0; font-style: italic; color: var(--grey-text); }

/* ==========================================================================
   5. Inner pages: news article, page, category archive, 404
   The homepage is art-directed; everything else uses these reading styles.
   ========================================================================== */
.entry,
.archive {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 72px) var(--gutter) 88px;
}
.archive { max-width: 900px; }

.entry__header .news-item__meta { margin-bottom: 14px; }
.entry__header .news-item__tag { text-decoration: none; }
.entry__title,
.archive__title {
  font-size: clamp(30px, 3.34vw, 44px);
  line-height: 1.25;
  font-weight: 800;
}
.archive__title { margin-top: 6px; }
.archive__description { margin-top: 10px; font-size: 17px; color: #2b2b2b; }
.entry__thumbnail { margin: 28px 0 0; border-radius: 20px; overflow: hidden; background: #eadfc4; }
.entry__thumbnail img { width: 100%; height: auto; }

.entry__content { margin-top: 28px; font-size: 18px; line-height: 1.7; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__content h2,
.entry__content h3,
.entry__content h4 { margin-top: 1.6em; line-height: 1.3; }
.entry__content h2, .entry__content h3, .entry__content h4 { text-wrap: pretty; }   /* not balanced: fill the width, just avoid orphans */
.entry__content h2 { font-size: clamp(24px, 2.2vw, 30px); }
.entry__content h3 { font-size: 22px; }
.entry__content h4 { font-size: 19px; }
.entry__content ul,
.entry__content ol { padding-left: 1.4em; }
.entry__content ul { list-style: disc; }
.entry__content ol { list-style: decimal; }
.entry__content li + li { margin-top: .4em; }
.entry__content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry__content img { border-radius: 12px; height: auto; }
.entry__content figcaption { margin-top: 8px; font-size: 14px; color: var(--grey-text); }
.entry__content blockquote { padding: 4px 0 4px 20px; border-left: 4px solid var(--yellow); font-style: italic; }
.entry__content blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--grey-text); }
.entry__content .wp-block-table table { width: 100%; border-collapse: collapse; }
.entry__content .wp-block-table td,
.entry__content .wp-block-table th { padding: 8px 12px; border: 1px solid rgba(0, 0, 0, .12); }
.entry__content .wp-block-button__link {
  display: inline-flex;
  padding: 14px 28px;
  border-radius: 40px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 700;
  text-decoration: none;
}
.entry__content .wp-block-embed iframe { max-width: 100%; }
.page-links { margin-top: 24px; }

/* --------------------------------------------------------------------------
   Article (single.php): news posts and camp articles.

   A compact header in the reading column (back link, tag and date, title)
   and, behind the whole article, the logo mark as a faint tilted watermark —
   the same mark the heroes use, at a fraction of the strength.
   -------------------------------------------------------------------------- */
/* A soft wash instead of flat white: the Dịch vụ hero's warm cream at the
   top, a hint of brand blue toward the right, settling back to white before
   the call to action so the seam does not show. */
.entry-article {
  position: relative;
  /* clip, not hidden: it crops the watermark the same way, but hidden would
     make this box the sticky list's scroll container, and the list would
     never stick to the viewport. */
  overflow: clip;
  background:
    radial-gradient(900px 640px at 100% 35%, rgba(45, 90, 168, .07), transparent 70%),
    linear-gradient(180deg, #fff7e6 0%, #fffdf8 40%, #fff 100%);
}
/* Same box as the docked header's content (1200px, 24px inset — see the v2
   header rules in section 3), so the back link sits right under the logo.
   Two columns: the article, and the "Mới nhất" list beside it. */
.entry-article .entry {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  /* 24px / 10px: the docked header's own left and right insets, so the
     column starts under the logo and the list ends under the language switch. */
  padding: calc(var(--header-h) + 16px) 10px 24px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px 64px;
  align-items: start;
}

/* The featured image opens the body at a modest size, and the first
   paragraphs wrap around it. The clearfix keeps a short article from letting
   the image hang out of the column. */
.entry-article .entry__content { margin-top: 28px; }
.entry-article .entry__content::after { content: ""; display: block; clear: both; }
.entry-article .entry__thumbnail {
  float: left;
  width: min(44%, 380px);
  aspect-ratio: 16 / 10;
  margin: 6px 32px 16px 0;
}
.entry-article .entry__thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.entry-article .entry__thumbnail + * { margin-top: 0; }

/* "Mới nhất": sticks beside the article while it scrolls. */
.entry__aside {
  position: sticky;
  top: 132px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(45, 90, 168, .12), 0 16px 32px rgba(20, 40, 90, .06);
}
.entry__aside-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}
.latest { margin: 16px 0 0; padding: 0; list-style: none; }
.latest li + li { border-top: 1px solid rgba(0, 0, 0, .08); }
.latest__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
}
.latest__img {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--grey-card);
}
.latest__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.latest__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.latest__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--grey-text);
}
/* Date first, then the tag as plain text: a pill for a long tag
   ("Cẩm nang du học") would push the date onto a line of its own. */
.latest__meta time { order: -1; }
.latest__tag { font-weight: 700; color: var(--blue); }
.latest__tag::before { content: "·"; margin-right: 8px; color: var(--grey-text); font-weight: 400; }
.latest__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.latest__item:hover .latest__title { color: var(--blue); }
.latest__item:hover .latest__img img { transform: scale(1.05); }
.latest__all {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  text-decoration: none;
}
.latest__all:hover { text-decoration: underline; }

@media (max-width: 1099px) {
  /* One column: the list drops under the article, and the box goes back to
     even side margins. */
  .entry-article .entry { grid-template-columns: minmax(0, 1fr); padding-right: 24px; }
  .entry__aside { position: static; }
}
/* Anchored to the page's left edge and cropped by it, in the margin beside
   the article column. */
.entry-article__mark {
  position: absolute;
  top: 300px;
  left: -90px;
  width: 480px;
  height: auto;
  rotate: -24deg;
  color: var(--blue);
  opacity: .06;
  pointer-events: none;
}

.entry__header { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.entry__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  text-decoration: none;
}
.entry__back-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 90, 168, .1);
  color: var(--blue);
  transition: transform .2s ease, background-color .2s ease;
}
.entry__back-icon svg { width: 9px; height: 14px; transform: scaleX(-1); }
.entry__back:hover { color: var(--blue); }
.entry__back:hover .entry__back-icon { transform: translateX(-3px); background: rgba(45, 90, 168, .18); }

.entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--grey-text);
}
.entry__tag {
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(45, 90, 168, .12);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
a.entry__tag:hover { background: var(--blue); color: #fff; }

.archive__list { margin-top: 24px; }
.archive__list .news-item { flex: none; }
.archive__empty { margin-top: 24px; font-style: italic; color: var(--grey-text); }

.pagination { margin-top: 32px; font-family: var(--font-title); font-weight: 700; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(45, 90, 168, .08);
  color: var(--blue);
}
.pagination .page-numbers.current { background: var(--blue); color: #fff; }

.error-404 { text-align: center; }
.error-404 .btn { margin-top: 8px; }

@media (max-width: 767px) {
  .entry,
  .archive { padding-top: calc(var(--header-h) + 40px); }
  .entry__content { font-size: 17px; }

  .entry-article__mark { top: 260px; left: -70px; width: 300px; }
  .entry-article .entry { padding-top: calc(var(--header-h) + 4px); }
  .entry-article .entry__thumbnail { float: none; width: 100%; margin: 0 0 20px; }
  .entry__aside { padding: 20px; }
}

/* ==========================================================================
   6. About page (from prototype/css/about.css)
   Same mechanical changes as sections 1–3: image paths point at ../img/.
   Sections are rendered by inc/sections-about.php; the page uses the
   "Sections" template (template-sections.php).
   ========================================================================== */

.about-wrap { max-width: 1200px; margin: 0 auto; }
.about-h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.34vw, 48px);
  line-height: 1.36;
}
.about-body { font-size: 19px; line-height: 1.65; color: #2b2b2b; }
.about-body > * + * { margin-top: 20px; }
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.about-eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 19px;
  background: url("../img/partner-sep.svg") center / contain no-repeat;
}
.about-btn { gap: 10px; }
.about-btn svg { width: 20px; height: 20px; flex: none; }

/* ==========================================================================
   Hero — title panel + photo cropped into the logo mark
   ========================================================================== */
.about-hero {
  position: relative;
  z-index: 1;                        /* the photo's shadow spills onto the next section */
  /* clip only sideways (the decorative shapes); vertically the photo's shadow
     runs ~72px below it, past the 32px bottom padding, and would be cut off */
  overflow-x: clip;
  /* fixed header (64px) sits over the top of the hero, as on the homepage */
  padding: 96px var(--gutter) 32px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff6e2 70%, #fff 100%);
}
.about-hero::before {              /* same hexagon-dot texture as the homepage hero */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='27.713' viewBox='0 0 16 27.713'%3E%3Cg fill='%232d5aa8'%3E%3Cpolygon points='8,3.93 10.4,5.32 10.4,8.09 8,9.48 5.6,8.09 5.6,5.32'/%3E%3Cpolygon points='0,17.79 2.4,19.18 2.4,21.95 0,23.34 -2.4,21.95 -2.4,19.18'/%3E%3Cpolygon points='16,17.79 18.4,19.18 18.4,21.95 16,23.34 13.6,21.95 13.6,19.18'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 16px 27.713px;
  opacity: .09;
  -webkit-mask-image: radial-gradient(60% 75% at 78% 50%, #000 0%, transparent 75%);
          mask-image: radial-gradient(60% 75% at 78% 50%, #000 0%, transparent 75%);
}
.about-hero__stage { position: relative; max-width: 1200px; height: 400px; margin: 0 auto; }
.about-hero__panel {
  position: absolute;
  left: 0;
  top: 56px;
  width: min(840px, calc(100% - 322px));   /* text (padding-right 136) always stops where the photo starts */
  height: 288px;
  padding: 0 136px 0 64px;
  border-radius: 32px;
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.about-hero__panel .about-eyebrow { color: var(--yellow); }
/* The Partners hero reuses these classes wholesale (see section 7), so the two
   page titles share one size at every breakpoint by construction. */
.about-hero__title { font-weight: 800; font-size: 72px; line-height: 1.05; letter-spacing: -.01em; }
.about-hero__mark { position: absolute; z-index: 1; right: 0; top: 0; width: 458px; height: 400px; }
.about-hero__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 229px;
  height: 400px;
  margin: 0;
  border-radius: 200px 0 0 200px;
  overflow: hidden;
  background: #eadfc4;
  box-shadow: 0 24px 48px rgba(20, 40, 90, .18);
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
/* the logo's pencil: yellow body + black nib (shape-pencil.svg, 32.2 × 30 units) */
.about-hero__chev { position: absolute; left: 265px; top: 0; width: 194px; height: 181px; }
.about-hero__circle { position: absolute; left: 265px; top: 207px; width: 193px; height: 193px; border-radius: 50%; overflow: hidden; background: var(--green); }
/* optional photograph inside the circle — flat green when there is no image */
.about-hero__circle img { width: 100%; height: 100%; object-fit: cover; }

/* entrance, like the homepage hero's active slide */
.about-hero__panel > *,
.about-hero__photo,
.about-hero__chev,
.about-hero__circle {
  animation: about-rise .7s cubic-bezier(.2, .8, .2, 1) both;
}
.about-hero__panel > :nth-child(2) { animation-delay: .06s; }
.about-hero__photo  { animation-name: about-pop; }
.about-hero__chev   { animation-name: about-pop; animation-delay: .1s; }
.about-hero__circle { animation-name: about-pop; animation-delay: .2s; }
@keyframes about-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes about-pop  { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) {
  .about-hero__panel > *, .about-hero__photo, .about-hero__chev, .about-hero__circle { animation: none; }
}

/* Offset colour shapes under the logo mark's photographs — the homepage hero's
   .hero2__ghost (Feedback_final.pdf: "thêm phần shape màu bên dưới yếu tố
   thiết kế (logo) giống như phần này ở banner hero của Trang chủ"). Blue under
   the half, green under the circle when the circle holds a photograph (a flat
   green circle would only cast green on green). Positions are fractions of the
   mark, so they follow its three sizes without per-breakpoint rules. */
.about-hero__mark::before,
.about-hero__mark:has(.about-hero__circle img)::after {
  content: "";
  position: absolute;
  z-index: -1;
  --gx: -14px;
  --gy: 14px;
  animation: about-ghost .8s cubic-bezier(.2, .8, .2, 1) .35s both;
}
.about-hero__mark::before { left: 0; top: 0; width: 50%; height: 100%; border-radius: 999px 0 0 999px; background: var(--blue); }
.about-hero__mark:has(.about-hero__circle img)::after { --gx: 14px; left: 57.86%; top: 51.75%; width: 42.14%; height: 48.25%; border-radius: 50%; background: var(--green); }
@keyframes about-ghost { from { translate: 0 0; } to { translate: var(--gx) var(--gy); } }
@media (max-width: 767px) {
  .about-hero__mark::before,
  .about-hero__mark:has(.about-hero__circle img)::after { --gy: 9px; }
  .about-hero__mark::before { --gx: -9px; }
  .about-hero__mark:has(.about-hero__circle img)::after { --gx: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero__mark::before,
  .about-hero__mark:has(.about-hero__circle img)::after { animation: none; translate: var(--gx) var(--gy); }
}

/* ==========================================================================
   Introduction — founder + story
   ========================================================================== */
.about-story { padding: 64px var(--gutter) 56px; }
/* Portrait column kept short enough to end before the story text does. */
.about-story__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-areas: "founder head" "founder body";
  grid-template-rows: auto 1fr;
  column-gap: 96px;
  align-items: start;
}
.about-founder { grid-area: founder; }
.about-story__head { grid-area: head; }
.about-story__main { grid-area: body; }
.about-founder__frame { position: relative; }
.about-founder__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  translate: -16px 16px;
  border-radius: 24px;
  background: var(--yellow);
}
.about-founder__photo { position: relative; margin: 0; height: 420px; border-radius: 24px; overflow: hidden; background: #f4f1ea; }
.about-founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }   /* keep the face in a tall crop */
.about-founder__name { margin-top: 32px; font-family: var(--font-title); font-weight: 700; font-size: 22px; line-height: 1.3; }
.about-founder__role { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--grey-text); }

.about-arrows { display: flex; gap: 12px; }
.about-arrows img { width: 22px; height: 32px; }
.about-story__title { font-weight: 700; font-size: clamp(28px, 3.06vw, 44px); line-height: 1.36; }
/* the highlighted phrase: green block, black text (brand guide "Về chúng tôi" slide).
   !important: in WordPress the highlight carries an inline text colour. */
.about-story__title mark {
  padding: 0 10px;
  border-radius: 6px;
  background: var(--green) !important;
  color: var(--ink) !important;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.about-story__main { margin-top: 28px; }
.about-notes {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 40, 90, .12);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  color: var(--grey-text);
}

/* ==========================================================================
   Vision / mission — diagonal split
   ========================================================================== */
.about-vm { padding: 0 var(--gutter) 56px; }
.about-vm__box {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 380px;
  border-radius: 32px;
  overflow: hidden;
  background: #fff4dc;
}
.about-vm__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  clip-path: polygon(54% 0, 100% 0, 100% 100%, 42% 100%);
}
.about-vm__col { position: relative; padding: 64px 96px 64px 64px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.about-vm__col--mission { padding: 64px 64px 64px 112px; }
.about-vm__title { font-weight: 800; font-size: 44px; line-height: 1.2; color: var(--blue); }
.about-vm__text { font-size: 20px; line-height: 1.6; color: var(--slate); }
.about-vm__col--mission .about-vm__title { color: #fff4dc; }   /* the vision side's cream */
.about-vm__col--mission .about-vm__text { color: #fff; }

/* ==========================================================================
   Experience — numbers on a line
   ========================================================================== */
.about-exp {
  padding: 56px var(--gutter);
  text-align: center;
  background: linear-gradient(180deg, #f3f6fc 0%, #eef3fb 100%);
}
.about-exp__lead { max-width: 760px; margin: 12px auto 0; font-size: 20px; line-height: 1.65; color: #2b2b2b; text-wrap: balance; }
.about-exp__row {
  position: relative;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.about-exp__row::before {          /* the line joining the four stems */
  content: "";
  position: absolute;
  left: calc((100% - 72px) / 8);    /* centre of the first / last column */
  right: calc((100% - 72px) / 8);
  top: 174px;                        /* circle 150 + stem 24 */
  height: 2px;
  background: rgba(45, 90, 168, .3);
}
.about-exp__item { position: relative; display: flex; flex-direction: column; align-items: center; }
.about-exp__circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-variation-settings: "YTLC" 500;
  box-shadow: 0 14px 36px rgba(45, 90, 168, .14);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.about-exp__item:hover .about-exp__circle { transform: scale(1.04); }
.about-exp__item--1 .about-exp__circle { background: var(--blue); color: #fff; }
.about-exp__item--2 .about-exp__circle { background: var(--yellow); color: #1f2636; }   /* navy of circle 4 */
.about-exp__item--3 .about-exp__circle { background: var(--green); color: #1f2636; }
.about-exp__item--4 .about-exp__circle { background: #1f2636; color: #fff; }
.about-exp__num { font-weight: 800; font-size: 60px; line-height: 1; }
.about-exp__unit { font-weight: 700; font-size: 18px; line-height: 1.3; }
.about-exp__stem { width: 2px; height: 24px; background: rgba(45, 90, 168, .3); }
.about-exp__dot { width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #eef3fb; }
.about-exp__desc { margin-top: 20px; max-width: 240px; font-size: 19px; line-height: 1.5; text-wrap: balance; }

/* ==========================================================================
   Personalised service
   ========================================================================== */
.about-svc { padding: 56px var(--gutter); }
.about-svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: center; }
.about-svc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.about-svc__title { font-weight: 700; font-size: clamp(28px, 3.06vw, 44px); line-height: 1.36; }
.about-svc__quote {
  margin: 4px 0 0;
  padding-top: 20px;
  border-top: 5px solid var(--yellow-2);
  font-family: var(--font-title);
  font-variation-settings: "YTLC" 500;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.45;
  color: var(--blue);
}
.about-svc__text .btn { margin-top: 12px; }
.about-svc__art { position: relative; width: 520px; height: 480px; }
.about-svc__half { position: absolute; left: 0; top: 40px; width: 110px; height: 190px; }
.about-svc__ghost,
.about-svc__photo { position: absolute; left: 74px; top: 34px; width: 420px; height: 420px; border-radius: 50%; }
.about-svc__ghost { background: var(--green); translate: 14px 14px; }
.about-svc__photo { margin: 0; overflow: hidden; background: #eadfc4; }
.about-svc__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2, .8, .2, 1); }
.about-svc__art:hover .about-svc__photo img { scale: 1.05; }

/* ==========================================================================
   Principles
   ========================================================================== */
.about-pr {
  position: relative;
  overflow: hidden;
  padding: 56px var(--gutter) 64px;
  background:
    radial-gradient(45% 55% at 90% 100%, rgba(145, 173, 61, .08), transparent 70%),
    radial-gradient(50% 60% at 8% 90%, rgba(250, 196, 20, .12), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fffaf0 35%, #fff4dc 100%);
}
.about-pr__grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; }
.about-pr__intro { display: flex; flex-direction: column; gap: 20px; }
.about-pr__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-pr__card {
  padding: 32px 32px 36px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(45, 90, 168, .10);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.about-pr__card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(45, 90, 168, .16); }
.about-pr__icon { height: 44px; margin-bottom: 8px; display: flex; align-items: center; }
.about-pr__icon img { width: auto; height: 44px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.about-pr__card:hover .about-pr__icon img { transform: scale(1.12); }
.about-pr__icon--4 img { rotate: 90deg; margin-left: 9px; }   /* yellow half-disc lying flat */
.about-pr__icon--2 img { height: 40px; }                       /* the pencil is wider than tall */
.about-pr__name { font-weight: 700; font-size: 24px; line-height: 1.3; }
.about-pr__desc { font-size: 17px; line-height: 1.55; color: #2b2b2b; }

/* ==========================================================================
   Licence — blue colour block
   ========================================================================== */
.about-lic { padding: 56px var(--gutter) 13px; }   /* + contact's 27px = 40px between the two boxes */
.about-lic__box {
  position: relative;
  max-width: 1344px;
  margin: 0 auto;
  padding: 72px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  gap: 64px;
  align-items: center;
}
.about-lic__deco { position: absolute; right: -40px; bottom: -70px; width: 260px; height: auto; opacity: .08; pointer-events: none; }
.about-lic__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.about-lic__lead { font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.about-lic__text .btn { margin-top: 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.about-lic__tiles { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.about-lic__tile {
  padding: 28px 28px 32px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 18px 40px rgba(10, 25, 60, .18);
}
.about-lic__ico { flex: none; width: 56px; height: 56px; border-radius: 50%; background: rgba(145, 173, 61, .16); display: flex; align-items: center; justify-content: center; }
.about-lic__ico svg { width: 28px; height: 28px; }
.about-lic__tile p { font-family: var(--font-title); font-variation-settings: "YTLC" 500; font-weight: 700; font-size: 19px; line-height: 1.45; }

/* ==========================================================================
   Tablet (768–1099px)
   ========================================================================== */
@media (max-width: 1099px) {
  .about-hero { padding: 84px var(--gutter) 28px; }   /* header bar is 58px here */
  .about-hero::before {
    -webkit-mask-image: radial-gradient(70% 45% at 50% 35%, #000 0%, transparent 75%);
            mask-image: radial-gradient(70% 45% at 50% 35%, #000 0%, transparent 75%);
  }
  .about-hero__stage { height: auto; padding-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .about-hero__mark { position: relative; right: auto; width: 360px; height: 314px; }
  .about-hero__photo { width: 180px; height: 314px; border-radius: 157px 0 0 157px; }
  .about-hero__chev { left: 208px; width: 153px; height: 142px; }
  .about-hero__circle { left: 208px; top: 162px; width: 152px; height: 152px; }
  .about-hero__panel { position: relative; top: auto; width: 100%; max-width: 720px; height: auto; padding: 40px 48px; border-radius: 28px; }
  .about-hero__title { font-size: 64px; }

  .about-story { padding: 48px var(--gutter); }
  .about-story__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "founder" "body"; grid-template-rows: auto; row-gap: 32px; }
  .about-founder { width: calc(100% - 16px); max-width: 340px; margin-left: 16px; }   /* 16px = the yellow offset */
  .about-story__main { margin-top: 0; }

  .about-vm { padding-bottom: 48px; }
  .about-vm__box { grid-template-columns: 1fr; min-height: 0; }
  .about-vm__box::before { display: none; }
  .about-vm__col,
  .about-vm__col--mission { padding: 44px 48px 52px; }
  .about-vm__col--mission { margin-top: -40px; padding-top: 84px; background: var(--blue); clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }

  .about-exp { padding-block: 48px; }
  .about-exp__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .about-exp__row::before, .about-exp__stem, .about-exp__dot { display: none; }
  .about-exp__circle { width: 140px; height: 140px; }
  .about-exp__num { font-size: 56px; }
  .about-exp__desc { margin-top: 20px; }

  .about-svc { padding-block: 48px; }
  .about-svc__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-svc__art { order: -1; justify-self: center; }

  .about-pr { padding-block: 48px; }
  .about-pr__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .about-lic { padding-top: 48px; }
  .about-lic__box { grid-template-columns: minmax(0, 1fr); padding: 56px 48px; gap: 40px; }
}

/* ==========================================================================
   Phone (≤767px)
   ========================================================================== */
@media (max-width: 767px) {
  .about-body { font-size: 17px; }
  .about-eyebrow { font-size: 12px; }

  .about-hero { padding: 80px var(--gutter) 24px; }
  .about-hero__stage { padding-top: 0; gap: 20px; }
  .about-hero__mark { width: 240px; height: 210px; }
  .about-hero__photo { width: 120px; height: 210px; border-radius: 105px 0 0 105px; }
  .about-hero__chev { left: 138px; width: 102px; height: 95px; }
  .about-hero__circle { left: 138px; top: 108px; width: 102px; height: 102px; }
  .about-hero__panel { padding: 28px 24px 32px; border-radius: 24px; gap: 12px; }
  .about-hero__title { font-size: 48px; }

  .about-story { padding: 40px var(--gutter); }
  .about-founder { max-width: 300px; }
  .about-founder__photo { height: 360px; }
  .about-notes { font-size: 13px; }

  .about-vm { padding-bottom: 40px; }
  .about-vm__box { border-radius: 24px; }
  .about-vm__col,
  .about-vm__col--mission { padding: 40px 24px 48px; gap: 12px; }
  .about-vm__col--mission { margin-top: -36px; padding-top: 76px; clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%); }
  .about-vm__title { font-size: 32px; }
  .about-vm__text { font-size: 17px; }

  .about-exp { padding-block: 40px; }
  .about-exp__lead { font-size: 17px; }
  .about-exp__row { margin-top: 36px; grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .about-exp__row::before { display: block; left: 47px; right: auto; top: 48px; bottom: 48px; width: 2px; height: auto; }
  .about-exp__item { flex-direction: row; gap: 20px; }
  .about-exp__circle { flex: none; width: 96px; height: 96px; }
  .about-exp__num { font-size: 38px; }
  .about-exp__unit { font-size: 14px; }
  .about-exp__desc { margin-top: 0; max-width: none; font-size: 17px; }

  .about-svc { padding-block: 40px; }
  .about-svc__grid { gap: 32px; }
  .about-svc__art { width: 330px; height: 316px; }
  .about-svc__half { width: 64px; height: 110px; top: 20px; }
  .about-svc__ghost,
  .about-svc__photo { left: 22px; top: 8px; width: 290px; height: 290px; }
  .about-svc__ghost { translate: 9px 9px; }
  .about-svc__title { font-size: 28px; text-wrap: wrap; }   /* not balanced: fill the width like the text below */
  .about-svc__quote { font-size: 20px; }
  .about-svc__text .btn { width: 100%; min-width: 0; }

  .about-pr { padding-block: 40px; }
  .about-pr__grid { gap: 32px; }
  .about-pr__cards { grid-template-columns: 1fr; gap: 16px; }
  .about-pr__card { padding: 24px 24px 28px; gap: 8px; }
  .about-pr__name { font-size: 20px; }
  .about-pr__desc { font-size: 16px; }

  .about-lic { padding: 40px var(--gutter) 0; }
  .about-lic__box { padding: 36px 20px; gap: 32px; border-radius: 20px; }
  .about-lic__lead { font-size: 17px; }
  .about-lic__text .btn { width: 100%; min-width: 0; }
  .about-lic__tiles { grid-template-columns: 1fr; gap: 12px; }
  .about-lic__tile { flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
  .about-lic__ico { width: 48px; height: 48px; }
  .about-lic__tile p { font-size: 16px; }
}

/* ==========================================================================
   7. Partners page (from prototype/css/partners.css)
   Sections are rendered by inc/sections-partners.php; the page uses the
   "Sections" template. Reuses the About helpers from section 6.
   ========================================================================== */

/* ==========================================================================
   Hero — the About page's hero, in green
   --------------------------------------------------------------------------
   Client feedback (Feedback_partners.pdf): "dùng chung bố cục và thiết kế với
   trang Giới thiệu". So the markup IS the About hero's (.about-hero*, styled
   in section 6) and only two things differ, both asked for in the same note:
   the title panel is brand green instead of blue, and the logo mark's circle
   carries a photograph instead of a flat fill. Sharing the classes also keeps
   the two title sizes identical for good — they can no longer drift apart.
   ========================================================================== */
.partner-hero .about-hero__panel { background: var(--green); color: var(--ink); }
/* This photograph is already cropped to the arch's own ratio (700×1222 for a
   229×400 slot), so it is centred rather than aimed with the About hero's
   60% / 30%, which was chosen for a much wider source. */
.partner-hero .about-hero__photo img { object-position: 50% 50%; }
/* Offset shapes swapped from the About hero at the client's request:
   green under the half, blue under the circle. */
.partner-hero .about-hero__mark::before { background: var(--green); }
.partner-hero .about-hero__mark:has(.about-hero__circle img)::after { background: var(--blue); }
/* On green the About hero's yellow eyebrow all but disappears, and brand blue
   only reaches 3:1 against it. Slate is the same quiet label at 7.4:1. */
.partner-hero .about-hero__panel .about-eyebrow { color: var(--slate); }

/* ==========================================================================
   Building lasting connections
   ========================================================================== */
.partner-story {
  position: relative;
  isolation: isolate;                /* keeps the ::after decor behind the content */
  overflow: hidden;
  padding: 72px var(--gutter) 64px;
  /* the homepage's soft brand glows, kept off the edges so the section still
     meets the hero above and the card below on white */
  background:
    radial-gradient(35% 40% at 6% 55%, rgba(250, 196, 20, 0.12), transparent 70%),
    radial-gradient(35% 40% at 92% 30%, rgba(45, 90, 168, 0.07), transparent 70%),
    radial-gradient(30% 35% at 62% 65%, rgba(145, 173, 61, 0.08), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fffcf5 50%, #fff 100%);
}
/* thin rings in the top-right corner, echoing the homepage "learners" rings */
.partner-story::after {
  content: "";
  position: absolute;
  right: -260px;
  top: -180px;
  z-index: -1;
  width: 640px;
  height: 640px;
  pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(45, 90, 168, 0.10) 58px 59.5px);
  -webkit-mask-image: radial-gradient(circle, #000 0 30%, transparent 70%);
          mask-image: radial-gradient(circle, #000 0 30%, transparent 70%);
}
.partner-story__grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 96px; align-items: start; }
.partner-story__title { font-weight: 700; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.36; }
/* The balancing photograph under the headline (client feedback: "thêm ảnh
   stock cận cảnh bắt tay vào dưới cột trái cho cân đối"). */
.partner-story__photo { margin: 28px 0 0; border-radius: 20px; overflow: hidden; background: #eadfc4; aspect-ratio: 16 / 10; }
.partner-story__photo img { width: 100%; height: 100%; object-fit: cover; }
.partner-story__title mark {         /* same green block as the About headline */
  padding: 0 10px;
  border-radius: 6px;
  background: var(--green) !important;
  color: var(--ink) !important;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* ==========================================================================
   How to partner — photo + green panel
   ========================================================================== */
.partner-collab { padding: 0 var(--gutter) 72px; }
.partner-collab__card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 480px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--green);
}
.partner-collab__photo { position: relative; margin: 0; background: #eadfc4; }
.partner-collab__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.partner-collab__panel { padding: 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; color: var(--ink); }
.partner-collab__panel .about-eyebrow::before { display: none; }   /* the tri-colour mark disappears on green */
.partner-collab__text { font-size: 20px; line-height: 1.6; }
.partner-collab__mail { display: flex; align-items: center; gap: 14px; font-family: var(--font-title); font-variation-settings: "YTLC" 500; font-weight: 700; font-size: 24px; line-height: 1.3; }
.partner-collab__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.partner-collab__ico { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.partner-collab__ico svg { width: 22px; height: 22px; }
.partner-collab__panel .btn { width: auto; margin-top: 8px; }

/* ==========================================================================
   Tablet (768–1099px)
   ========================================================================== */
@media (max-width: 1099px) {
  .partner-story { padding: 56px var(--gutter) 48px; }
  .partner-story__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .partner-story__photo { margin-top: 28px; }

  .partner-collab { padding-bottom: 56px; }
  .partner-collab__card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .partner-collab__photo { height: 360px; }
  .partner-collab__panel { padding: 48px; }
}

/* ==========================================================================
   Phone (≤767px)
   ========================================================================== */
@media (max-width: 767px) {
  .partner-story { padding: 48px var(--gutter) 40px; }
  .partner-story__grid { gap: 28px; }
  .partner-story__title { font-size: 24px; }
  .partner-story__photo { margin-top: 24px; border-radius: 18px; }

  .partner-collab { padding-bottom: 48px; }
  .partner-collab__card { border-radius: 24px; }
  .partner-collab__photo { height: 240px; }
  .partner-collab__panel { padding: 32px 20px 36px; gap: 20px; }
  .partner-collab__text { font-size: 17px; }
  .partner-collab__mail { font-size: 17px; overflow-wrap: anywhere; }
  .partner-collab__panel .btn { width: 100%; }
}

/* ==========================================================================
   DESTINATION PAGES (Singapore / Thái Lan / Trung Quốc)
   Markup: inc/sections-country.php. Design: prototype/singapore-design.
   The generic names below (.wrap, .h2, .card …) are the prototype's, kept so
   the two stay comparable; each is scoped to a destination section so none of
   them leaks into the homepage or the About page.
   ========================================================================== */

.country-sec { padding: 80px var(--gutter); }
.country-sec .wrap { max-width: 1200px; margin: 0 auto; }
.country-sec .h2 { font-family: var(--font-title); font-weight: 700; font-size: clamp(28px, 3.06vw, 44px); line-height: 1.36; text-wrap: balance; }
.country-sec .ico { width: 18px; height: 18px; flex: none; }

/* ---------- hero ----------
   Deliberately not the About or Partners hero. Both of those are contained
   compositions on a CREAM page: a rounded blue panel with the artwork beside
   it. The destination hero inverts that — the whole band is deep brand blue,
   the photograph is a tall arch (a gateway, which is what a destination is),
   and the oversized title overlaps its edge. Dark field, portrait photo,
   overlapping type: none of those appear on the other two pages.

   The arch also suits the assets. Every destination photo is portrait
   (0.64–0.92), so a wide cinematic band would have cropped them to a slice and
   upscaled a 640px-wide source across 1440px. This shape shows them close to
   their natural proportions.
   (Superseded in part by Feedback_final.pdf: the arch is now a large circle
   with a second, smaller photo — see .country-hero__figure below.) */
.country-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(45, 90, 168, .55), transparent 70%),
    linear-gradient(160deg, #1f2636 0%, #24365e 46%, #2d5aa8 100%);
}
/* the homepage's hexagon-dot texture, in white on the dark field */
.country-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='27.713' viewBox='0 0 16 27.713'%3E%3Cg fill='%23ffffff'%3E%3Cpolygon points='8,3.93 10.4,5.32 10.4,8.09 8,9.48 5.6,8.09 5.6,5.32'/%3E%3Cpolygon points='0,17.79 2.4,19.18 2.4,21.95 0,23.34 -2.4,21.95 -2.4,19.18'/%3E%3Cpolygon points='16,17.79 18.4,19.18 18.4,21.95 16,23.34 13.6,21.95 13.6,19.18'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 16px 27.713px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(58% 72% at 22% 44%, #000 0%, transparent 78%);
          mask-image: radial-gradient(58% 72% at 22% 44%, #000 0%, transparent 78%);
}
.country-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 36px) var(--gutter) clamp(120px, 11vw, 160px);
  display: grid;
  /* Client feedback (Feedback_countries.pdf): the title sat "lọt thỏm" in the
     left half. Both remedies they offered are applied — the arch is wider, so
     the text column is narrower, and the title itself is larger below. */
  grid-template-columns: minmax(0, 1fr) clamp(300px, 31vw, 420px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.country-hero__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
@media (min-width: 1100px) {
  /* overlap: the title runs over the arch's edge, a device neither other hero uses */
  .country-hero__text { margin-right: -72px; }
}
.country-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.country-hero__eyebrow img { width: 22px; height: 19px; flex: none; }
.country-hero__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: balance;
}
/* the yellow rule under a heading, as in the footer columns */
.country-hero__rule { width: 128px; height: 5px; background: var(--yellow); border-radius: 2px; }

/* Client feedback (Feedback_final.pdf): the arch became circles — one large
   photograph on the yellow offset block, and a smaller second photograph
   overlapping its lower-left edge, toward the title. The arch's old half-disc and dot went
   with it; brand shapes came back around the circles later (see below). */
.country-hero__figure { position: relative; justify-self: end; width: 100%; }
.country-hero__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  translate: 18px 18px;
  border-radius: 50%;
  background: var(--yellow);
}
.country-hero__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #eadfc4;
  box-shadow: 0 30px 60px rgba(10, 16, 30, .42);
}
.country-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.country-hero__photo--small {
  position: absolute;
  z-index: 1;
  left: -16%;
  bottom: 0;
  width: 40%;
  box-shadow: 0 18px 40px rgba(10, 16, 30, .5);
}
.country-hero__photo--small img { object-position: 50% 50%; }

/* Brand shapes around the photographs (client request, 22 Sept, after
   Feedback_final): the logo's parts in the colours that read on the blue
   field — a green half-disc tucked behind the large circle and a small green
   ring (the logo's pencil was tried at the top-right and removed).
   Sizes and positions are fractions of the figure, so they follow it down
   to phones. DOM order does the layering: the half-disc sits before the
   photo, the ring after it. */
.country-hero__deco { position: absolute; pointer-events: none; }
.country-hero__deco--half { left: -9%; top: 4%; width: 20%; height: 40%; border-radius: 999px 0 0 999px; background: var(--green); }
.country-hero__deco--ring { right: -6%; bottom: 14%; width: 11%; aspect-ratio: 1; border: 3px solid var(--green); border-radius: 50%; }

/* The overview rises into the hero on a curve — the same soft language as the
   stacked brand curves inside it. Filled with the colour the overview opens on. */
.country-hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(48px, 6vw, 92px); display: block; }

/* ---------- overview ---------- */
.ov-sec { position: relative; overflow: hidden; background: radial-gradient(45% 55% at 92% 100%, rgba(145, 173, 61, .10), transparent 70%), radial-gradient(50% 60% at 6% 85%, rgba(250, 196, 20, .14), transparent 70%), linear-gradient(180deg, #fff 0%, #fffaf0 35%, #fff4dc 100%); }
.ov-curves { position: absolute; left: 50%; top: 470px; width: 1700px; height: 330px; translate: -50% 0; pointer-events: none; opacity: .8; }
.ov-curves svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* One column: the destination photo is the hero now, and showing the same
   picture again here was the duplication. The lead carries the width instead. */
.ov-top { position: relative; display: flex; }
.ov-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 46rem; }
.ov-lead { font-size: 24px; line-height: 1.55; color: var(--slate); }
.ov-blocks { position: relative; margin-top: 88px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
/* Client feedback (Feedback_countries.pdf): "để button xuống bên dưới mô tả
   1/2/3" — the call to action now closes the section instead of splitting the
   lead from the three reasons it introduces. */
.ov-cta { position: relative; margin-top: 40px; display: flex; justify-content: center; }
.ov-block { position: relative; overflow: hidden; padding: 28px 32px 40px; border-radius: 24px; background: #fff; box-shadow: 0 14px 36px rgba(45, 90, 168, .10); display: flex; flex-direction: column; gap: 12px; }
.ov-block > * { position: relative; }
.ov-num { font-family: var(--font-title); font-weight: 800; font-size: 44px; line-height: 1.1; }
.ov-block h3 { font-family: var(--font-title); font-weight: 700; font-size: 22px; line-height: 1.3; }
.ov-block p { font-size: 17px; line-height: 1.6; color: #2b2b2b; }
.ov-shape { position: absolute; right: -30px; bottom: -40px; width: 130px; height: auto; opacity: .14; pointer-events: none; }
.ov-shape--disc { rotate: 90deg; right: -10px; bottom: -64px; width: 84px; }
.ov-shape--wedge { rotate: 160deg; }
.ov-shape--circle { width: 120px; }

/* ---------- school list: the sitemap's table, 6 per page ---------- */
.sch-sec { background: linear-gradient(180deg, #f3f6fc 0%, #eef3fb 100%); }
.sch-sec .cols { grid-template-columns: 120px minmax(0, 1fr) 180px 260px 104px; gap: 20px; }
.sch-sec .tbl-head { margin-top: 32px; display: grid; align-items: center; padding: 0 24px 12px; font-family: var(--font-title); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8a93a4; }
.sch-sec .tbl-head__end { justify-self: end; }
.sch-sec .rows { display: flex; flex-direction: column; gap: 10px; }
.sch-sec .row { display: grid; align-items: center; padding: 16px 24px; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(45, 90, 168, .07); color: inherit; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
/* Every row is a link to the school's page on this site (single-cc_school.php);
   rows used to open the school's own website, and only when it had one. */
.sch-sec .row:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(45, 90, 168, .14); color: inherit; }
.sch-sec .row__logo { width: 120px; height: 56px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 40, 90, .08); display: flex; align-items: center; justify-content: center; padding: 6px; }
.sch-sec .row__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sch-sec .row__logo--empty { background: transparent; box-shadow: none; border: 1.5px dashed rgba(45, 90, 168, .22); font-family: var(--font-title); font-weight: 700; font-size: 12px; color: #9aa6ba; }
.sch-sec .row__name { display: block; font-family: var(--font-title); font-weight: 700; font-size: 19px; line-height: 1.32; }
.sch-sec .row__level { justify-self: start; padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--blue); font-family: var(--font-title); font-weight: 700; font-size: 14px; color: var(--blue); white-space: nowrap; }
.sch-sec .row__addr { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 1.45; color: #2b2b2b; }
.sch-sec .row__addr .ico { margin-top: 3px; }
.sch-sec .row__link { justify-self: end; display: flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--blue); white-space: nowrap; }
.sch-sec a.row:hover .row__link { color: #244c91; }
.sch-sec .row__link svg { width: 9px; height: 13px; flex: none; }
.sch-sec .sch-empty, .sch-sec .cc-notice { margin-top: 24px; font-size: 18px; color: var(--grey-text); }


/* ---------- related news ---------- */
.country-news .news-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.country-news .card { position: relative; display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.country-news .card__img { margin: 0; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #eadfc4; }
.country-news .card__img img { width: 100%; height: 100%; object-fit: cover; }
.country-news .card__meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-title); font-size: 14px; color: var(--grey-text); }
.country-news .card__tag { padding: 3px 12px; border: 1.5px solid var(--blue); border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--blue); }
.country-news .card__title { font-family: var(--font-title); font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--blue); }
/* Client feedback (Feedback_countries.pdf): the tile is now exactly as tall as
   the article images beside it, and its label sits UNDER the tile rather than
   inside it — so the last cell of the grid reads as one more article card. */
.country-news .more { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.country-news .more__tile { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.country-news .more__deco { position: absolute; right: -40px; bottom: -44px; width: 200px; height: auto; opacity: .16; }
.country-news .more__arrow { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.country-news .more:hover .more__arrow { transform: translateX(4px); }
.country-news .more__arrow img { width: 24px; height: 24px; }
.country-news .more__text { display: flex; flex-direction: column; gap: 4px; }
/* same type as .card__title, so the label lines up with the cards' titles */
.country-news .more__title { font-family: var(--font-title); font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--blue); }
.country-news .more__sub { font-size: 16px; line-height: 1.5; color: var(--grey-text); }
.country-news .news__empty { margin-top: 24px; font-size: 18px; color: var(--grey-text); }

@media (max-width: 1099px) {
  .ov-blocks { margin-top: 48px; grid-template-columns: 1fr; gap: 16px; }
  .sch-sec .cols { grid-template-columns: 110px minmax(0, 1fr) 150px 92px; }
  /* Address is the first thing to go when the row runs out of room. */
  .sch-sec .row__addr, .sch-sec .tbl-head span:nth-child(4) { display: none; }
  .country-news .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .country-sec { padding: 48px var(--gutter); }

  .country-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 96px;
  }
  .country-hero__text { margin-right: 0; gap: 16px; }
  .country-hero__title { font-size: clamp(38px, 11vw, 52px); }
  .country-hero__eyebrow { font-size: 12px; }
  .country-hero__rule { width: 84px; height: 4px; }
  .country-hero__figure { justify-self: center; width: min(260px, 70%); }
  .country-hero__figure::before { translate: 12px 12px; }
  .country-hero__deco--ring { border-width: 2px; }

  .ov-curves { top: auto; bottom: 30%; width: 900px; height: 175px; }
  .ov-cta { margin-top: 28px; }
  .ov-cta .btn { width: 100%; }
  .ov-lead { font-size: 19px; }
  .ov-block { padding: 22px 24px 28px; gap: 8px; }
  .ov-num { font-size: 36px; }
  .ov-block h3 { font-size: 20px; }
  .ov-block p { font-size: 16px; }

  .sch-sec .tbl-head { display: none; }
  .sch-sec .rows { margin-top: 22px; gap: 10px; }
  .sch-sec .row.cols { grid-template-columns: 96px minmax(0, 1fr); gap: 8px 14px; padding: 16px; }
  .sch-sec .row__logo { width: 96px; height: 48px; grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .sch-sec .row__name { grid-column: 2; grid-row: 1; font-size: 17px; }
  .sch-sec .row__level { grid-column: 2; grid-row: 2; font-size: 13px; padding: 3px 12px; }
  .sch-sec .row__addr { display: flex; grid-column: 2; grid-row: 3; font-size: 15px; }
  .sch-sec .row__link { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(20, 40, 90, .08); }
  .pager { margin-top: 28px; gap: 8px; }

  .country-news .news-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .country-news .card__title { font-size: 18px; }
  .country-news .more__title { font-size: 18px; }
}

/* Destination card → its country page. A transparent overlay, deliberately
   without a z-index: it comes after the photo in the DOM so it sits above it,
   and below .dest-card__btn (z-index 1) so the button stays clickable. */
.dest-card__link { position: absolute; inset: 0; border-radius: 12px; }
.dest-card__link:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* ==========================================================================
   DESTINATION PAGES — motion
   Same vocabulary as the About and Partners heroes: about-rise / about-pop on
   the brand easing. The hero plays on load; everything below the fold waits for
   the reader to reach it (main.js), because an animation that finishes before
   it is scrolled into view may as well not exist.
   ========================================================================== */

/* hero entrance, like the About page's */
.country-hero__text > * { animation: about-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.country-hero__text > :nth-child(2) { animation-delay: .07s; }
.country-hero__text > :nth-child(3) { animation-delay: .14s; }
/* the arch opens rather than sliding in, and the photo settles inside it */
.country-hero__figure { animation: country-arch .8s cubic-bezier(.2, .8, .2, 1) .08s both; }
.country-hero__photo img { animation: country-settle 1.5s cubic-bezier(.2, .8, .2, 1) both; }
.country-hero__photo--small { animation: about-pop .7s cubic-bezier(.2, .8, .2, 1) .34s both; }
.country-hero__deco { animation: about-pop .7s cubic-bezier(.2, .8, .2, 1) .44s both; }
.country-hero__deco--ring { animation-delay: .52s; }
@keyframes country-arch   { from { opacity: 0; translate: 0 26px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes country-settle { from { scale: 1.1; } to { scale: 1; } }

/*
 * Reveal on scroll. Scoped to html.js so that with JavaScript off — or if the
 * observer never fires — every row and card is simply visible: the content is
 * never hidden by CSS the browser cannot undo.
 */
.js [data-cc-reveal] > * { opacity: 0; }
.js [data-cc-reveal].is-revealed > * {
  animation: about-rise .6s cubic-bezier(.2, .8, .2, 1) both;
}
.js [data-cc-reveal].is-revealed > :nth-child(2) { animation-delay: .06s; }
.js [data-cc-reveal].is-revealed > :nth-child(3) { animation-delay: .12s; }
.js [data-cc-reveal].is-revealed > :nth-child(4) { animation-delay: .18s; }
.js [data-cc-reveal].is-revealed > :nth-child(5) { animation-delay: .24s; }
.js [data-cc-reveal].is-revealed > :nth-child(6) { animation-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  .country-hero__text > *,
  .country-hero__figure,
  .country-hero__photo img,
  .country-hero__photo--small,
  .country-hero__deco { animation: none; }
  .js [data-cc-reveal] > * { opacity: 1; }
  .js [data-cc-reveal].is-revealed > * { animation: none; }
}

/* ==========================================================================
   9. Trại hè — summer camp listing
   Port of prototype/css/camps.css. Rendered by inc/sections-camps.php.

   Everything is scoped under a camps- / camp- prefix: this stylesheet serves
   every page on the site, so a bare .grid or .chip here would reach the
   homepage and the destination pages too.
   ========================================================================== */

:root { --off: #f0efe9; }        /* brand guide, bộ màu chính — F0EFE9 */

/* Ghost button: a black outline on a light field. The only new button variant;
   .btn, .btn--primary and .btn--blue all come from style.css. The Dịch vụ page
   scopes its own blue version over this one. */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  filter: none;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .78);
}
.btn--ghost:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, .06);
  box-shadow: inset 0 0 0 2px var(--ink);
  filter: none;
}
.btn svg { width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   Hero — the Dịch vụ hero, in the camp's yellow
   --------------------------------------------------------------------------
   Client feedback (Feedback_summercamp.pdf): "phần banner này dùng chung bố
   cục và thiết kế với trang Dịch vụ (cân nhắc đổi màu linh hoạt)". So the
   markup IS the services hero's (.svc-hero*, in css/services.css, which this
   page now loads) and only the colours change: the panel is the camp's yellow
   instead of brand blue and the wedge is blue instead of green. The second
   button went with the same note — one "Nhận tư vấn" opening the popup.

   The two photographs that used to sit beside the headline are gone with the
   old layout: the Dịch vụ banner is type only.
   ========================================================================== */
.camps-hero .svc-hero__box { background: var(--yellow); }
.camps-hero .svc-hero__wedge { background: var(--blue); }
.camps-hero .svc-hero__title { color: var(--ink); }
.camps-hero .svc-hero__sub { color: #2b2b2b; }
.camps-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.camps-hero__eyebrow img { width: 22px; height: 19px; flex: none; }
/* .btn--blue is 100% wide by default (it was written for the contact popup) */
.camps-hero .svc-hero__text .btn { width: auto; }
/* Same 400px box as the Dịch vụ hero, whose content is centred with ~20px to
   spare top and bottom. The camp's intro is longer, so it is widened to wrap
   in three lines — the same height as the Dịch vụ block — while staying clear
   of the blue wedge (narrower toward 1100px, where the wedge comes closer).
   The box may still grow past 400px if a longer intro is entered, keeping the
   same 20px. Scoped to ≥1100px: below that the Dịch vụ hero already switches
   to height:auto with its own padding. */
@media (min-width: 1100px) {
  .camps-hero .svc-hero__box { height: auto; }
  .camps-hero .svc-hero__text { min-height: 400px; padding: 20px 72px; }
  .camps-hero .svc-hero__sub { max-width: min(620px, calc(100vw - 580px)); }
}

/* ==========================================================================
   Listing — 3-column grid and a numbered pager.
   ========================================================================== */
.camps-list { padding: 88px var(--gutter); background: #fff; }
.camps-list__wrap { max-width: 1200px; margin: 0 auto; }
.camps-list__head { display: grid; gap: 72px; align-items: end; }
.camps-list__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.camps-list__eyebrow img { width: 22px; height: 19px; flex: none; }
.camps-list__title {
  margin-top: 14px;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -.015em;
}

.camps-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 32px;
}

.camp-card__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding-bottom: 20px;
  border-bottom: 3px solid rgba(0, 0, 0, .09);
  transition: border-color .22s ease;
}
.camp-card__link:hover { color: inherit; border-bottom-color: var(--yellow); }
.camp-card__img {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #d9d3c4;
  transition: transform .25s ease, box-shadow .25s ease;
}
.camp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.camp-card__link:hover .camp-card__img {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 40, 90, .16);
}
.camp-card__body { display: flex; flex-direction: column; gap: 10px; }
.camp-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--grey-text);
}
.camp-card__tag {
  padding: 3px 12px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(45, 90, 168, .12);
  color: var(--blue);
}
.camp-card__title { font-family: var(--font-title); font-weight: 700; font-size: 20px; line-height: 1.34; }
.camp-card__link:hover .camp-card__title { color: var(--blue); }
.camp-card__excerpt { font-size: 16px; line-height: 1.55; color: #3a3a3a; }

.camps-empty { margin-top: 44px; font-size: 18px; color: var(--grey-text); }

/* --------------------------------------------------------------------------
   Motion.

   The hero's entrance now comes with the layout it borrows: .svc-hero__text
   staggers its own children in css/services.css. Nothing is left to add here.
   -------------------------------------------------------------------------- */

/* ======================= mobile (≤767px) ======================= */
@media (max-width: 767px) {
  .camps-hero__eyebrow { font-size: 12px; }
  .camps-hero .svc-hero__text .btn { width: 100%; }
  /* The Dịch vụ hero turns its wedge into a band across the bottom half of the
     panel on phones. That works there — the type is white on blue. Here the
     type is dark on yellow, so the blue shrinks to a raked strip below the
     content, and the text keeps enough bottom padding to stay clear of it. */
  .camps-hero .svc-hero__wedge { inset: auto 0 0 0; height: 72px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
  .camps-hero .svc-hero__text { padding-bottom: 96px; }

  .camps-list { padding: 52px var(--gutter); }
  .camps-list__head { gap: 16px; }
  .camps-list__title { font-size: 29px; }

  .camps-grid { margin-top: 26px; grid-template-columns: 1fr; gap: 20px; }
  .camp-card__link {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 6px 14px;
    padding-bottom: 18px;
    border-bottom-width: 2px;
  }
  .camp-card__img { grid-row: span 2; aspect-ratio: 1; border-radius: 12px; }
  .camp-card__link:hover .camp-card__img { transform: none; }
  .camp-card__meta { gap: 8px; font-size: 12px; }
  .camp-card__tag { font-size: 11px; padding: 2px 9px; }
  .camp-card__title { font-size: 17px; }
  .camp-card__excerpt { display: none; }
}

/* A camp published without a featured image still needs a card that lines up
   with its neighbours rather than collapsing the row. */
.camp-card__img--empty { background: var(--grey-card); }

/* ==========================================================================
   10. Dịch vụ — services overview
   Port of prototype/css/services.css. Rendered by inc/sections-services.php.
   Design: prototype/services-design (canvas).

   The page's own idea is the "lộ trình": the three services are waypoints on a
   route that draws itself. Everything else stays inside the vocabulary the
   About / Partners / destination pages already use — same tokens, same easing,
   same about-rise reveal.
   ========================================================================== */

/*
 * style.css sets body { overflow-x: hidden }, which makes the body a scroll
 * container — and that silently disables position: sticky inside it, so the
 * mục lục rail and the triết lý card would simply never stick. `clip` prevents
 * the same sideways scroll without creating the container. Scoped to this page
 * so no other page's scrolling behaviour changes.
 */
body:has(.svc-sec) { overflow-x: clip; }

/* ---------- the page's own shared vocabulary ----------
   .wrap, .h2 and .lead are NOT global on this site: the destination pages
   scope theirs as `.country-sec .wrap`, and About has `.about-wrap`. So every
   Dịch vụ section carries `svc-sec` and gets its own, with the values of the
   approved design (prototype/services-design). Without this the sections have
   no measure at all and run the full width of the window.
   ---------------------------------------------------------------------- */
.svc-sec .wrap { max-width: 1200px; margin: 0 auto; }
.svc-sec .h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 3.34vw, 48px);
  line-height: 1.36;
  text-wrap: balance;
}
.svc-sec .lead { font-size: 19px; line-height: 1.65; color: #2b2b2b; }

/* style.css resets the margins of h1–h3 but not h4 or ol, so an <h4> arrives
   carrying the browser's default 1.33em block margins — 42px per sub-heading
   inside the route cards. The design has none. */
.svc-sec :is(h4, h5, h6, ol) { margin: 0; padding: 0; }

/* the design's spacing between an eyebrow and the heading under it, and above
   the triết lý card's button — written as rules so the renderers stay free of
   inline styles */
.svc-sec .about-eyebrow + .h2 { margin-top: 16px; }
/* …except the phương châm head, which is a centred column with its own gap */
.svc-val__head .about-eyebrow + .h2 { margin-top: 0; }
.svc-phi__card .btn { margin-top: 8px; }

/* A highlighted phrase is a green block, exactly as on the About headline.
   The editor writes its own colour inline, so these have to win on !important. */
.svc-sec mark {
  padding: 0 10px;
  border-radius: 6px;
  background: var(--green) !important;
  color: var(--ink) !important;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
/* …except in the hero, where the marked words are simply yellow on the blue. */
.svc-hero__title mark {
  padding: 0;
  border-radius: 0;
  background: none !important;
  color: var(--yellow) !important;
}

/* The site's global .btn--ghost is the camps hero's black outline; this page
   wants the blue one from the design, so it is scoped rather than changed. */
.svc-sec .btn--ghost {
  background: transparent;
  color: var(--blue);
  filter: none;
  box-shadow: inset 0 0 0 2px rgba(45, 90, 168, .35);
}
.svc-sec .btn--ghost:hover {
  background: rgba(45, 90, 168, .06);
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}

/* ---------- hero: type-led, deliberately unlike the photo heroes ---------- */
/* The header bar is position: fixed and sits over the top of the page, so the
   first section carries its height — same as .about-hero and the homepage.
   64px of bar + 24px of cream above the blue box. */
.svc-hero { padding: 88px var(--gutter) 0; background: linear-gradient(180deg, #fffaf0 0%, #fff 100%); }
.svc-hero__box {
  position: relative;
  max-width: 1200px;
  height: 400px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  background: var(--blue);
  box-shadow: 0 24px 48px rgba(20, 40, 90, .18);
}
.svc-hero__wedge { position: absolute; inset: 0; background: var(--green); clip-path: polygon(100% 0, 100% 100%, 46% 100%); opacity: .92; }
/* The logo mark as a watermark, in exactly the treatment the homepage's Tin tức
   panel uses (.news__deco): oversized, tilted, and cropped by the box's own
   corner rather than floating free in the middle of the field. Client feedback
   (Feedback_services.pdf): "trình bày logo minh họa giống như ở mục Tin tức
   trên Trang chủ (nghiêng, nằm chéo ở góc dưới cùng bên phải của banner)".
   The squared grid that used to fill the field went with it ("có thể cân nhắc
   bỏ phần caro ở background"). */
.svc-hero__mark { position: absolute; right: -18px; bottom: -96px; width: 330px; height: auto; rotate: -12deg; pointer-events: none; }
.svc-hero__text {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 760px;
  padding: 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}
.svc-hero__title { font-weight: 800; font-size: 64px; line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.svc-hero__sub { max-width: 500px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.svc-hero .about-eyebrow { color: var(--yellow); }

/* The overview's label is the one eyebrow the design leaves unmarked — every
   other one on the page carries the tri-colour mark that .about-eyebrow adds. */
.svc-over .about-eyebrow::before { display: none; }

/* ---------- tổng quan ---------- */
.svc-over { padding: 72px var(--gutter) 60px; }
.svc-over__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.svc-over__rule { display: block; width: 120px; height: 6px; margin-top: 18px; border-radius: 3px; background: var(--yellow-2); transform-origin: left; }
.svc-over__text { font-size: 23px; line-height: 1.62; color: #1c1c1e; }

/* ---------- mục lục: the block at the top ---------- */
.svc-toc-sec { padding: 0 var(--gutter) 16px; }
.svc-toc {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 64px 60px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(140deg, #f4f7fd 0%, #eef3fb 55%, #fdf6e4 100%);
}
/* the same watermark on a light panel: white reads as an emboss on the gradient */
.svc-toc__mark { position: absolute; right: -64px; bottom: -58px; width: 320px; height: 278px; pointer-events: none; }
.svc-toc__head { position: relative; display: flex; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.svc-toc__label { font-family: var(--font-title); font-weight: 800; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.svc-toc__hint { font-size: 15px; line-height: 1.4; font-style: italic; color: var(--grey-text); }
.svc-toc__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* the row count is what makes the list break into two columns rather than
     one row of nine — column flow needs an explicit track count to fill */
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 4px 48px;
}
.svc-toc__row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 16px 14px 12px;
  border-radius: 14px;
  border-bottom: 1px solid rgba(20, 40, 90, .10);
  transition: background-color .25s, padding-left .25s;
}
.svc-toc__row:hover { background: rgba(255, 255, 255, .8); padding-left: 22px; color: inherit; }
.svc-toc__num { flex: none; width: 34px; font-family: var(--font-title); font-weight: 800; font-size: 20px; line-height: 1.36; color: var(--yellow-2); font-variant-numeric: tabular-nums; }
.svc-toc__row:hover .svc-toc__num { color: var(--blue); }
.svc-toc__txt { font-family: var(--font-title); font-weight: 700; font-size: 19px; line-height: 1.4; }
.svc-toc__arrow { margin-left: auto; font-family: var(--font-title); font-weight: 800; line-height: 1.36; color: var(--blue); opacity: 0; translate: -8px 0; transition: opacity .25s, translate .3s cubic-bezier(.2, .8, .2, 1); }
.svc-toc__row:hover .svc-toc__arrow { opacity: 1; translate: 0 0; }
.svc-toc__row--sub { padding-left: 46px; border-bottom-style: dashed; }
.svc-toc__row--sub:hover { padding-left: 56px; }
.svc-toc__row--sub .svc-toc__num { width: 42px; font-size: 15px; }
.svc-toc__row--sub .svc-toc__txt { font-weight: 600; font-size: 17px; color: #3a3a3c; }

/* ---------- mục lục: the rail it collapses into ---------- */
/*
 * The rail hangs in the left margin for the whole length of the page, so its
 * containing block has to be <main> rather than the section it is written in.
 * :has() scopes that to the one page that carries a rail — no page class, and
 * no `position: relative` on every <main> on the site.
 */
main:has(.svc-rail-anchor) { position: relative; }
.svc-rail-anchor { position: absolute; left: 20px; top: 0; bottom: 0; z-index: 40; width: 52px; pointer-events: none; }
.svc-rail {
  position: sticky;
  top: 46vh;
  width: 52px;
  padding: 10px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(20, 40, 90, .12), inset 0 0 0 1px rgba(20, 40, 90, .07);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: auto;
  /* main.js reveals it once the mục lục block has scrolled away */
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.svc-rail.is-visible { opacity: 1; visibility: visible; }
.svc-rail__item {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 14px;
  color: #9aa3b2;
  transition: color .25s, background-color .25s;
}
.svc-rail__item:hover { color: var(--blue); background: rgba(45, 90, 168, .08); }
.svc-rail__item.is-current { color: var(--ink); background: var(--yellow); box-shadow: 0 4px 12px rgba(250, 196, 20, .5); }
.svc-rail__tip {
  position: absolute;
  left: 50px;
  top: 50%;
  translate: -6px -50%;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--slate, #1e293b);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, translate .25s cubic-bezier(.2, .8, .2, 1);
}
/* the label is a hover affordance, not a running caption: the yellow dot
   already says which section you are in, so the tip only answers a pointer */
.svc-rail__item:hover .svc-rail__tip,
.svc-rail__item:focus-visible .svc-rail__tip { opacity: 1; translate: 0 -50%; }
@media (max-width: 1379px) { .svc-rail-anchor { display: none; } }

/* ---------- 1. triết lý ---------- */
.svc-phi { position: relative; overflow: hidden; padding: 80px var(--gutter); background: linear-gradient(180deg, #fff 0%, #fffaf0 100%); }
.svc-phi__grid { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 88px; align-items: start; }
.svc-phi__lines { margin: 40px 0 44px; padding-left: 28px; border-left: 5px solid var(--yellow-2); display: flex; flex-direction: column; gap: 18px; }
.svc-phi__line { font-family: var(--font-body); font-style: italic; font-size: 25px; line-height: 1.45; color: var(--slate, #1e293b); }
.svc-phi__line strong, .svc-phi__line b { font-style: normal; font-weight: 700; color: var(--blue); }
.svc-phi__body { display: flex; flex-direction: column; gap: 20px; }
.svc-phi__card {
  position: sticky;
  top: 120px;
  padding: 44px 40px 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 40, 90, .12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.svc-phi__quote { padding-top: 20px; border-top: 5px solid var(--yellow-2); font-family: var(--font-title); font-weight: 700; font-size: 24px; line-height: 1.45; color: var(--blue); }
.svc-phi__text { font-size: 17px; line-height: 1.6; color: #2b2b2b; }

/* ---------- 2. dịch vụ: three independent services ---------- */
/*
 * Client feedback (Feedback_services.pdf): "Đây là 3 dịch vụ khác nhau chứ k
 * phải 3 chặng […] khách hàng có thể lựa chọn linh hoạt theo nhu cầu. Trình
 * bày tương tự các kiểu Subscription plans."
 *
 * So every part that argued "one route, three stages" is gone — the drawn
 * curve, the waypoint pins and the dotted stems that tied each pin to its
 * card. What is left is three equal panels side by side, each opening on its
 * own accent bar and numbered badge, which is how a plan table reads: three
 * things you choose between, not three things you pass through.
 */
.svc-route { position: relative; overflow: hidden; padding: 80px var(--gutter) 84px; background: var(--slate, #1e293b); color: #fff; }
.svc-route::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(45, 90, 168, .55), transparent 70%),
    radial-gradient(50% 60% at 92% 96%, rgba(145, 173, 61, .28), transparent 70%);
}
/* the lead sits under the heading and runs the full width of the section (client feedback, Feedback_final.pdf) */
.svc-route__head { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc-route__head h2 { color: #fff; }
.svc-route__lead { font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.svc-route__cards { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.svc-route__card {
  position: relative;
  overflow: hidden;
  padding: 0 34px 38px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .35s, box-shadow .35s;
}
/* the accent bar across the top is what makes three panels read as three plans */
.svc-route__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); }
.svc-route__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 24px 48px rgba(0, 0, 0, .3);
}
/* Each service's own colour. Two tones: the full brand colour for the solid
   badge and the bar, a lighter one for type and bullets — brand blue on the
   slate field is unreadable at 16px. */
.svc-route__card--1 { --accent: #fac414; --accent-fg: #000000; --accent-soft: #fac414; }
.svc-route__card--2 { --accent: #91ad3d; --accent-fg: #000000; --accent-soft: #a9c951; }
.svc-route__card--3 { --accent: #2d5aa8; --accent-fg: #ffffff; --accent-soft: #8fb3f0; }
.svc-route__top { padding-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
/* the number moved off the route and into the card it belongs to */
.svc-route__num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  background: var(--accent);
  color: var(--accent-fg);
}
.svc-route__tag { font-family: var(--font-title); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.svc-route__title { font-weight: 700; font-size: 26px; line-height: 1.3; color: #fff; }
.svc-route__card p { font-size: 16px; line-height: 1.62; color: rgba(255, 255, 255, .76); }
.svc-route__card ul { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--accent-soft); }
.svc-route__card li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.svc-route__card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
/* an a./b./c. block: heading and its paragraphs pair tightly under the rule */
.svc-route__sub { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 6px; }
.svc-route__sub h4 { font-weight: 700; font-size: 16px; line-height: 1.4; color: #fff; }
/* one call to action for all three, since the point is that they are optional */
.svc-route__cta { position: relative; margin-top: 44px; display: flex; justify-content: center; }

/* ---------- 3. phương châm ---------- */
.svc-val { padding: 76px var(--gutter); background: linear-gradient(180deg, #fff 0%, #f7f9fd 100%); }
.svc-val__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
/* one line wherever the measure allows it */
.svc-val__lead { font-size: 19px; line-height: 1.65; color: #2b2b2b; }
.svc-val__row { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.svc-val__item { display: flex; flex-direction: column; }
.svc-val__shape {
  min-height: 132px;
  padding: 24px 26px;
  border-radius: 26px 26px 26px 4px;
  display: flex;
  align-items: center;
  box-shadow: 0 14px 34px rgba(20, 40, 90, .14);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.svc-val__item:hover .svc-val__shape { transform: translateY(-5px) rotate(-1.2deg); box-shadow: 0 20px 44px rgba(20, 40, 90, .2); }
/* Client feedback (Feedback_services.pdf): "size chữ 'Minh bạch…' nhỏ lại 1
   chút để k xuống dòng". 21px is the largest size at which the longest of the
   four ("Minh bạch quy trình") still fits the column on one line. */
.svc-val__shape h3 { font-weight: 800; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.28; }
.svc-val__rule { display: block; height: 5px; margin: 22px 0 18px; background: var(--yellow-2); transform-origin: left; }
.svc-val__text { font-size: 17px; line-height: 1.6; color: #2b2b2b; }
.svc-val__cta { margin-top: 56px; display: flex; justify-content: center; }

/* ---------- 5. trình độ ---------- */
.svc-lev { position: relative; padding: 76px var(--gutter); }
.svc-lev__grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 88px; align-items: center; }
.svc-lev__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc-lev__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.svc-level {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 40, 90, .09);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.svc-level:hover { transform: translateX(10px); box-shadow: 0 16px 36px rgba(20, 40, 90, .16); }
.svc-level__name { font-family: var(--font-title); font-weight: 700; font-size: 21px; line-height: 1.35; }
.svc-level__meta { margin-left: auto; font-family: var(--font-title); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-text); }

/* ---------- 6. học bổng ---------- */
.svc-sch { padding: 8px var(--gutter) 64px; }
/* a flex column so the phone rules below can move the button past the grid */
.svc-sch .wrap { display: flex; flex-direction: column; }
.svc-sch__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.svc-sch__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.svc-sch__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 40, 90, .10);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.svc-sch__card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(20, 40, 90, .18); }
.svc-sch__media { margin: 0; height: 200px; overflow: hidden; background: #eadfc4; }
.svc-sch__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
.svc-sch__card:hover .svc-sch__media img { scale: 1.06; }
.svc-sch__body { flex: 1 1 auto; padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.svc-sch__meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-title); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-text); }
.svc-sch__tag { padding: 5px 12px; border-radius: 999px; background: rgba(145, 173, 61, .18); color: #52671c; letter-spacing: .08em; }
.svc-sch__title { font-weight: 700; font-size: 20px; line-height: 1.38; }
.svc-sch__title a::after { content: ""; position: absolute; inset: 0; }
.svc-sch__excerpt { font-size: 16px; line-height: 1.55; color: #2b2b2b; }
.svc-sch__more { margin-top: auto; padding-top: 16px; font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.svc-sch__more span { display: inline-block; transition: translate .3s cubic-bezier(.2, .8, .2, 1); }
.svc-sch__card:hover .svc-sch__more span { translate: 6px 0; }
.svc-sch__empty { font-size: 17px; color: var(--grey-text); }

/* the destination block sits straight under the phương châm button */
.svc-dest { padding-block: 16px; }
/* …and carries this page's section number in place of the homepage's icon */
.svc-dest__eyebrow { margin-bottom: 4px; color: var(--ink); }

/* ==========================================================================
   Dịch vụ — motion

   Same rule as the other inner pages: the hero plays on load, everything
   below the fold waits for main.js to add .is-revealed. What is particular
   here is the route: one orchestrated sequence rather than a stagger — the
   line draws left to right and drops each pin as it reaches it, so the three
   services are read in order rather than all at once.
   ========================================================================== */

/* hero, like the About / Partners / destination heroes */
.svc-hero__text > * { animation: about-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.svc-hero__text > :nth-child(2) { animation-delay: .09s; }
.svc-hero__text > :nth-child(3) { animation-delay: .18s; }
.svc-hero__text > :nth-child(4) { animation-delay: .27s; }
/*
 * The watermark drifts rather than spins: a mark turning on its own centre
 * reads as a wheel, and the page's own idea is forward motion.
 */
@media (prefers-reduced-motion: no-preference) {
  .svc-hero__mark { animation: svc-drift 16s ease-in-out infinite alternate; }
  /* ...after assembling on load, one logo piece at a time in the order the
     mark is drawn: half-disc, circle, chevron, then the nib. The paths are
     nib, chevron, half-disc, circle in the SVG (cc_services_logo_mark_html). */
  .svc-hero__mark path {
    transform-box: fill-box;
    transform-origin: center;
    animation: svc-mark-in .8s cubic-bezier(.2, .8, .2, 1) both;
  }
  .svc-hero__mark path:nth-child(3) { animation-delay: .25s; }
  .svc-hero__mark path:nth-child(4) { animation-delay: .4s; }
  .svc-hero__mark path:nth-child(2) { animation-delay: .55s; }
  .svc-hero__mark path:nth-child(1) { animation-delay: .7s; }
}
@keyframes svc-drift { from { translate: 0 0; } to { translate: -18px 0; } }
@keyframes svc-mark-in { from { opacity: 0; scale: .4; rotate: -24deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }

/* the yellow rule under the "Tổng quan dịch vụ" label draws out */
.js .svc-over__grid[data-cc-reveal] .svc-over__rule { scale: 0 1; }
.js .svc-over__grid.is-revealed .svc-over__rule { animation: svc-grow-x .8s cubic-bezier(.2, .8, .2, 1) .1s both; }

/* the three "Một …" lines arrive one after another */
.js .svc-phi__lines[data-cc-reveal] > * { opacity: 0; }
.js .svc-phi__lines.is-revealed > * { animation: svc-slide-l .7s cubic-bezier(.2, .8, .2, 1) both; }
.js .svc-phi__lines.is-revealed > :nth-child(2) { animation-delay: .14s; }
.js .svc-phi__lines.is-revealed > :nth-child(3) { animation-delay: .28s; }

/* ---------- the three services ---------- */
/* An ordinary left-to-right stagger now, not an orchestrated sequence: the
   cards are alternatives, so nothing should suggest an order to read them in.
   The generic [data-cc-reveal] stagger in country.css does the work. */

/* the yellow rule under each phương châm draws out after its shape lands */
.js .svc-val__row[data-cc-reveal] .svc-val__rule { scale: 0 1; }
.js .svc-val__row.is-revealed .svc-val__rule { animation: svc-grow-x .7s cubic-bezier(.2, .8, .2, 1) both; }
.js .svc-val__row.is-revealed > :nth-child(1) .svc-val__rule { animation-delay: .26s; }
.js .svc-val__row.is-revealed > :nth-child(2) .svc-val__rule { animation-delay: .36s; }
.js .svc-val__row.is-revealed > :nth-child(3) .svc-val__rule { animation-delay: .46s; }
.js .svc-val__row.is-revealed > :nth-child(4) .svc-val__rule { animation-delay: .56s; }

/* the trình độ pills come in from the left rather than up, like a list filling */
.js .svc-lev__list[data-cc-reveal] > * { opacity: 0; }
.js .svc-lev__list.is-revealed > * { animation: svc-slide-l .6s cubic-bezier(.2, .8, .2, 1) both; }
.js .svc-lev__list.is-revealed > :nth-child(2) { animation-delay: .08s; }
.js .svc-lev__list.is-revealed > :nth-child(3) { animation-delay: .16s; }
.js .svc-lev__list.is-revealed > :nth-child(4) { animation-delay: .24s; }
.js .svc-lev__list.is-revealed > :nth-child(5) { animation-delay: .32s; }
.js .svc-lev__list.is-revealed > :nth-child(6) { animation-delay: .40s; }

@keyframes svc-slide-l { from { opacity: 0; translate: -28px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes svc-grow-x  { from { scale: 0 1; } to { scale: 1 1; } }

@media (prefers-reduced-motion: reduce) {
  .svc-hero__text > *,
  .svc-hero__mark,
  .js .svc-over__grid.is-revealed .svc-over__rule,
  .js .svc-val__row.is-revealed .svc-val__rule,
  .js .svc-phi__lines.is-revealed > *,
  .js .svc-lev__list.is-revealed > * { animation: none; }
  .js .svc-phi__lines[data-cc-reveal] > *,
  .js .svc-lev__list[data-cc-reveal] > * { opacity: 1; }
  .js .svc-over__grid[data-cc-reveal] .svc-over__rule,
  .js .svc-val__row[data-cc-reveal] .svc-val__rule { scale: 1 1; }
}

/* ==========================================================================
   Dịch vụ — tablet (768–1099px)
   ========================================================================== */
@media (max-width: 1099px) {
  .svc-hero { padding-top: 88px; }   /* header bar is 58px here */
  .svc-hero__box { height: auto; }
  .svc-hero__text { padding: 44px 40px 48px; max-width: none; }
  .svc-hero__title { font-size: 46px; }
  .svc-hero__mark { right: -54px; bottom: -84px; width: 290px; height: auto; }
  .svc-over__grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-toc { padding: 40px 32px 44px; }
  .svc-phi__grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-phi__card { position: static; }
  .svc-route__cards { grid-template-columns: 1fr; gap: 20px; }
  .svc-route__card { padding: 0 28px 32px; }
  .svc-route__top { padding-top: 30px; }
  .svc-val__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .svc-lev__grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-sch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Dịch vụ — phone (≤767px)
   The route stands up: the line becomes a dotted spine down the left of the
   cards, with each waypoint riding the corner of its own card.
   ========================================================================== */
@media (max-width: 767px) {
  .svc-sec .h2 { font-size: 30px; }
  .svc-sec .lead { font-size: 17px; }

  .svc-hero { padding: 78px var(--gutter) 0; }   /* 58px bar + 20px */
  .svc-hero__box { border-radius: 24px; }
  .svc-hero__wedge { clip-path: polygon(100% 62%, 100% 100%, 0 100%); opacity: .9; }
  .svc-hero__mark { right: -66px; bottom: -66px; width: 230px; height: auto; opacity: .7; }
  .svc-hero__text { padding: 32px 24px 36px; gap: 16px; }
  .svc-hero__title { font-size: 36px; }
  .svc-hero__sub { font-size: 17px; }
  /* full-width, so it sits centred like the Trại hè and Tin tức buttons */
  .svc-hero__text .btn { width: 100%; }

  .svc-over { padding: 44px var(--gutter) 32px; }
  .svc-over__text { font-size: 19px; line-height: 1.6; }

  .svc-toc { padding: 32px 20px 36px; border-radius: 24px; }
  .svc-toc__mark { right: -84px; bottom: -62px; width: 240px; height: 209px; }
  .svc-toc__head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
  .svc-toc__list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .svc-toc__row { padding: 13px 10px; gap: 12px; }
  .svc-toc__txt { font-size: 17px; }
  .svc-toc__row--sub { padding-left: 34px; }
  .svc-toc__row--sub .svc-toc__txt { font-size: 15px; }

  .svc-phi { padding: 48px var(--gutter); }
  .svc-phi__lines { margin: 28px 0 32px; padding-left: 20px; gap: 14px; }
  .svc-phi__line { font-size: 20px; }
  .svc-phi__card { padding: 32px 24px 36px; border-radius: 24px; gap: 18px; }
  .svc-phi__quote { font-size: 20px; }

  .svc-route { padding: 52px var(--gutter); }
  .svc-route__cards { gap: 20px; margin-top: 36px; }
  .svc-route__card { padding: 0 24px 30px; border-radius: 22px; }
  .svc-route__top { padding-top: 28px; gap: 12px; }
  .svc-route__num { width: 50px; height: 50px; font-size: 20px; }
  .svc-route__title { font-size: 23px; }
  .svc-route__cta { margin-top: 32px; }
  .svc-route__cta .btn { width: 100%; }

  .svc-val { padding: 48px var(--gutter); }
  .svc-val__head { align-items: flex-start; text-align: left; }
  /* balance made the lines much shorter than the paragraph under it */
  .svc-val__head .h2 { text-wrap: wrap; }
  .svc-val__row { margin-top: 36px; grid-template-columns: 1fr; gap: 28px; }
  .svc-val__shape { min-height: 0; padding: 22px 24px; border-radius: 22px 22px 22px 4px; }
  .svc-val__shape h3 { font-size: 22px; }
  .svc-val__rule { margin: 16px 0 14px; }
  .svc-val__cta { margin-top: 40px; }

  .svc-dest { padding-block: 12px; }

  .svc-lev { padding: 48px var(--gutter); }
  .svc-level { padding: 16px 20px; gap: 14px; border-radius: 22px; }
  .svc-level:hover { transform: none; }
  .svc-level__name { font-size: 17px; }
  .svc-level__meta { display: none; }

  .svc-sch { padding: 8px var(--gutter) 40px; }
  /* Client feedback (Feedback_services.pdf): on phones the "Xem thêm học bổng"
     button belongs under the three cards, not above them. display: contents
     dissolves the head so its two children become items of .wrap and can be
     ordered around the grid. */
  .svc-sch__head { display: contents; }
  .svc-sch__head > div { margin-bottom: 28px; }
  .svc-sch__head > .btn { order: 3; margin-top: 28px; width: 100%; }
  .svc-sch__grid { order: 2; }
  .svc-sch__grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-sch__media { height: 180px; }
  .svc-sch__title { font-size: 19px; }
}

/* ==========================================================================
   11. Tin tức — news listing
   Port of prototype/css/news.css. Rendered by inc/sections-news.php.

   Reuses the Trại hè classes (section 9) and only adds the green hero and
   the filter chips, all under a news- prefix.
   ========================================================================== */

/* ==========================================================================
   Hero — the Trại hè hero, in green
   --------------------------------------------------------------------------
   Sitemap_News.pdf: "Bố cục như trang Trại hè". The markup is the Trại hè
   hero's (.svc-hero* + .camps-hero, which carries the eyebrow, the 400px box
   and the phone layout); .news-hero only swaps the panel to the green the
   sitemap uses for Tin tức. The type stays black: white on this green would
   not be legible. The wedge stays brand blue, as on Trại hè.
   ========================================================================== */
.news-hero .svc-hero__box { background: var(--green); }

/* ==========================================================================
   Listing — the Trại hè grid, with a row of filter chips above it
   --------------------------------------------------------------------------
   One row, several chips on at once: topics (categories) first, then
   countries, split by a thin rule. Each chip is a link, so "on" is a class
   rendered by the server, not script state. The cards and the pager are the
   Trại hè ones (.camps-grid, .camp-card, .pager).
   ========================================================================== */
.news-filter ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(45, 90, 168, .25);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: var(--slate);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.news-chip:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.news-chip.is-active { background: var(--blue); box-shadow: none; color: #fff; }
.news-chip.is-active:hover { color: #fff; background: #244a8c; }
.news-filter__sep { width: 1.5px; height: 26px; margin: 0 6px; background: rgba(45, 90, 168, .25); }

.news-list .camps-grid,
.news-list .camps-empty { margin-top: 36px; }

/* ======================= mobile (≤767px) ======================= */
@media (max-width: 767px) {
  .news-filter ul { gap: 8px; }
  .news-chip { min-height: 38px; padding: 0 14px; font-size: 14px; }
  /* On a phone the two groups wrap onto several lines anyway; a line break is
     a clearer split than a rule stranded at the end of a row. */
  .news-filter__sep { flex-basis: 100%; width: auto; height: 0; margin: 0; }

  .news-list .camps-grid,
  .news-list .camps-empty { margin-top: 24px; }
}

/* ==========================================================================
   404 — the Dịch vụ hero again, with the logo mark as the 0 of "404"
   --------------------------------------------------------------------------
   Same borrowing as Trại hè and Tin tức: the markup IS .svc-hero*, so the
   box, wedge, type and entrance animation all come from the services hero.
   What is new is the big "4◐4" on the right, where the watermark mark
   usually sits, and a row of way-out tiles below. The mark swings like a
   compass needle that has not settled — "lost your way", said with the logo.
   ========================================================================== */
.nf-hero .svc-hero__title mark { white-space: nowrap; }
/* leave the right ~40% of the box to the code */
@media (min-width: 1100px) { .nf-hero .svc-hero__text { max-width: 58%; padding-right: 0; } }
.nf-hero .camps-hero__eyebrow { color: var(--yellow); }
.nf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.nf-hero__actions .btn--primary { min-width: 0; }
/* the ghost button, in white, on the blue */
.nf-hero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.nf-hero .btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px #fff; }

.nf-hero__code {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 64px;
  translate: 0 -54%;
  display: flex;
  align-items: center;
  gap: .06em;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(150px, 15vw, 200px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
  user-select: none;
}
.nf-hero__mark {
  width: .78em;
  height: auto;
  margin: 0 .04em;
  transform-origin: 50% 50%;
  animation: nf-needle 5.5s ease-in-out infinite;
}
@keyframes nf-needle {
  0%, 100% { rotate: -14deg; }
  22%      { rotate: 12deg; }
  40%      { rotate: -7deg; }
  56%      { rotate: 4deg; }
  70%      { rotate: -2deg; }
  84%      { rotate: 0deg; }
}
.nf-hero__code span { animation: about-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.nf-hero__code span:last-child { animation-delay: .12s; }

/* ---------- way-out tiles ---------- */
.nf-links { padding: 72px var(--gutter) 96px; }
.nf-links__inner { max-width: 1200px; margin: 0 auto; }
.nf-links .about-eyebrow { margin: 0; }
.nf-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.nf-link {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(45, 90, 168, .14), 0 10px 24px rgba(20, 40, 90, .06);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--slate);
  transition: translate .2s ease, box-shadow .2s ease, color .2s ease;
}
.nf-link:hover {
  translate: 0 -3px;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue), 0 16px 32px rgba(20, 40, 90, .12);
}
.nf-link__title { flex: 1; }
.nf-link__arrow { width: 22px; height: 22px; flex: none; color: var(--blue); transition: translate .2s ease; }
.nf-link:hover .nf-link__arrow { translate: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  .nf-hero__mark,
  .nf-hero__code span { animation: none; }
}

/* ---------- tablet (768–1099px): the code sits above the headline ---------- */
@media (max-width: 1099px) {
  .nf-hero__code { position: relative; top: auto; right: auto; translate: none; padding: 40px 40px 0; font-size: 112px; }
  .nf-hero .svc-hero__text { padding-top: 20px; }
  /* the services wedge would run through the headline here; keep it a corner */
  .nf-hero .svc-hero__wedge { clip-path: polygon(100% 45%, 100% 100%, 50% 100%); }
  .nf-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone (≤767px) ---------- */
@media (max-width: 767px) {
  .nf-hero__code { padding: 28px 24px 0; font-size: 84px; }
  .nf-hero .svc-hero__text { padding-top: 16px; }
  .nf-hero__actions { width: 100%; }
  .nf-hero__actions .btn { flex: 1 1 100%; }
  .nf-links { padding: 48px var(--gutter) 64px; }
  .nf-links__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .nf-link { padding: 18px; font-size: 17px; }
}

/* ==========================================================================
   Under construction — the Trại hè hero (yellow .camps-hero over .svc-hero*)
   --------------------------------------------------------------------------
   Same borrowing as the 404, in construction yellow. On the blue, the logo
   mark is drawn as a dashed blueprint and its pieces keep being set into it —
   half-disc, circle, chevron, nib, the order the mark is drawn — then lifted
   out and set again: the page is still being put together.
   ========================================================================== */
.uc-hero .svc-hero__title mark { color: var(--blue) !important; }
.uc-hero .btn--ghost { background: rgba(255, 255, 255, .35); }
.uc-hero .btn--ghost:hover { background: rgba(255, 255, 255, .6); }

.uc-hero__mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 72px;
  translate: 0 -50%;
  width: 230px;
  height: auto;
  overflow: visible;
  color: #fff;
}
.uc-hero__plan path {
  fill: none;
  stroke: currentColor;
  stroke-width: .7;
  stroke-dasharray: 2.4 1.8;
  stroke-linejoin: round;
  opacity: .6;
}
.uc-hero__build path { fill: currentColor; transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .uc-hero__plan path { animation: uc-march 1.6s linear infinite; }
  .uc-hero__build path { animation: uc-build 7s cubic-bezier(.2, .8, .2, 1) infinite both; }
  /* paths are nib, chevron, half-disc, circle in the SVG */
  .uc-hero__build path:nth-child(3) { animation-delay: .4s; }
  .uc-hero__build path:nth-child(4) { animation-delay: 1s; }
  .uc-hero__build path:nth-child(2) { animation-delay: 1.6s; }
  .uc-hero__build path:nth-child(1) { animation-delay: 2.2s; }
}
@keyframes uc-march { to { stroke-dashoffset: -8.4; } }
@keyframes uc-build {
  0%       { opacity: 0; translate: 0 -40%; scale: .7; rotate: -18deg; }
  10%      { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
  72%      { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
  82%, 100% { opacity: 0; translate: 0 0; scale: .92; rotate: 0deg; }
}

@media (min-width: 1100px) {
  /* A band of blue down the right, wide enough to hold the whole mark. */
  .uc-hero .svc-hero__wedge { clip-path: polygon(76% 0, 100% 0, 100% 100%, 62% 100%); }
  .uc-hero .svc-hero__text { max-width: 60%; padding-right: 0; }
  .uc-hero .svc-hero__sub { max-width: 520px; }
}

/* ---------- tablet and phone: the mark sits above the headline, in blue ---------- */
@media (max-width: 1099px) {
  .uc-hero__mark { position: relative; top: auto; right: auto; translate: none; display: block; width: 150px; margin: 40px 40px 0; color: var(--blue); }
  .uc-hero .svc-hero__text { padding-top: 20px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .uc-hero .svc-hero__wedge { clip-path: polygon(100% 45%, 100% 100%, 50% 100%); }
}
@media (max-width: 767px) {
  .uc-hero__mark { width: 112px; margin: 28px 24px 0; }
  .uc-hero .svc-hero__text { padding-top: 16px; }
}

/* ==========================================================================
   School page (single-cc_school.php) — what a row of a school table opens
   --------------------------------------------------------------------------
   The destination hero again (.country-hero*), since the reader has just come
   from that page: the circle holds the school's logo on white instead of a
   photograph, and the text column carries a back link and the school's facts.
   Below, the body in the article reading styles (.entry__content) beside a
   sticky blue "get advice" card, then the country's other schools as rows of
   the same table (.sch-sec).
   ========================================================================== */
.school-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
}
.school-hero__back-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  color: var(--yellow);
  transition: transform .2s ease, background-color .2s ease;
}
.school-hero__back-icon svg { width: 9px; height: 14px; transform: scaleX(-1); }
.school-hero__back:hover { color: #fff; }
.school-hero__back:hover .school-hero__back-icon { transform: translateX(-3px); background: rgba(255, 255, 255, .2); }

/* A school's name is a sentence, not a country: "Raffles College of Higher
   Education Singapore" at the destination title's 92px would fill the band. */
.school-hero__title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.1; }
/* …and the destination hero's overlap onto the circle would run it into the
   logo, which unlike a photograph has to stay legible. */
@media (min-width: 1100px) {
  .school-hero .country-hero__text { margin-right: 0; }
}

.school-hero__facts { display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.school-hero__facts li { display: flex; align-items: flex-start; gap: 10px; }
.school-hero__facts svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--yellow); }

/* Logos are wide marks on transparent or white grounds: contained on white
   with room around them, never cropped like the destination photographs. */
.school-hero__logo { background: #fff; display: flex; align-items: center; justify-content: center; padding: 16%; }
.school-hero__logo img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
/* No logo yet: the brand mark, faint, so the circle is not an empty plate. */
.school-hero__mark { width: 70%; height: auto; color: var(--blue); opacity: .16; }

.school-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--gutter) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px 72px;
  align-items: start;
}
.school-body__content { margin-top: 0; max-width: 760px; }
.school-body__content > :first-child { margin-top: 0; }
.school-body__empty { font-style: italic; color: var(--grey-text); }

.school-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
  isolation: isolate;
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 40px rgba(45, 90, 168, .22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.school-card__mark { position: absolute; z-index: -1; right: -48px; bottom: -40px; width: 200px; height: auto; rotate: -18deg; color: #fff; opacity: .1; pointer-events: none; }
.school-card__title { font-family: var(--font-title); font-weight: 800; font-size: 24px; line-height: 1.3; }
.school-card__text { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.school-card__btn { margin-top: 8px; min-width: 0; width: 100%; }
.school-card__all { display: inline-flex; gap: 8px; margin-top: 4px; font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--yellow); text-decoration: none; }
.school-card__all:hover { color: #fff; }

.school-more .rows { margin-top: 32px; }

@media (max-width: 1099px) {
  .school-body { grid-template-columns: minmax(0, 1fr); }
  .school-body__content { max-width: none; }
  .school-card { position: relative; top: auto; }
}

@media (max-width: 767px) {
  .school-hero__title { font-size: clamp(32px, 9vw, 42px); }
  .school-hero__facts { font-size: 16px; }
  .school-body { padding: 8px var(--gutter) 64px; gap: 32px; }
  .school-card { padding: 26px 22px; }
  .school-more .rows { margin-top: 22px; }
}

/* ==========================================================================
   Báo cáo hàng năm — one row per year, each with its PDF
   --------------------------------------------------------------------------
   Rendered by inc/sections-reports.php. The hero is the Trại hè one in its
   own yellow (.camps-hero), so .reports-hero needs no rule. The table sits on
   the light gradient panel of the Dịch vụ contents (.svc-toc) with the same
   white logo-mark emboss; each row is a white pill, the year set large in
   blue, the newest year marked by a yellow bar. On a phone every row becomes
   a card.
   ========================================================================== */
.reports { padding: 72px var(--gutter) 96px; }
.reports__panel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 64px 60px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(140deg, #f4f7fd 0%, #eef3fb 55%, #fdf6e4 100%);
}
.reports__mark { position: absolute; z-index: -1; right: -64px; bottom: -58px; width: 320px; height: auto; rotate: -12deg; pointer-events: none; }
.reports__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 16px 64px;
  align-items: end;
  margin-bottom: 28px;
}
.reports__lead { font-size: 18px; line-height: 1.6; color: #2b2b2b; }

.reports__table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.reports__table thead th {
  padding: 0 24px;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-text);
}
.reports__row > * {
  padding: 22px 24px;
  vertical-align: middle;
  background: #fff;
  border-block: 1px solid rgba(20, 40, 90, .08);
  transition: background-color .25s ease;
}
.reports__row > :first-child { border-left: 1px solid rgba(20, 40, 90, .08); border-radius: 20px 0 0 20px; }
.reports__row > :last-child { border-right: 1px solid rgba(20, 40, 90, .08); border-radius: 0 20px 20px 0; }
.reports__row:hover > * { background: #fbfcff; }

.reports__year {
  position: relative;
  width: 1%;
  padding-left: 36px !important;
  padding-right: 40px !important;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.reports__year::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24%;
  bottom: 24%;
  width: 5px;
  border-radius: 3px;
  background: rgba(45, 90, 168, .16);
}
.reports__row.is-latest .reports__year::before { background: var(--yellow-2); }

.reports__name { width: 100%; }
.reports__name,
.reports__label { display: flex; }
.reports__name { align-items: center; gap: 18px; }
.reports__label { flex-direction: column; gap: 4px; }
.reports__ico {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3fb;
  color: var(--blue);
}
.reports__ico svg { width: 22px; height: 22px; }
.reports__title { font-family: var(--font-title); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--slate); }
.reports__meta { font-family: var(--font-title); font-size: 14px; color: var(--grey-text); }
.reports__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  vertical-align: 3px;
  background: var(--yellow);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

.reports__actions { white-space: nowrap; text-align: right; }
.reports__actions > * + * { margin-left: 8px; }
.reports__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(45, 90, 168, .3);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.reports__btn svg { width: 18px; height: 18px; flex: none; }
.reports__btn:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); background: rgba(45, 90, 168, .05); }
.reports__btn--solid { background: var(--blue); box-shadow: none; color: #fff; }
.reports__btn--solid:hover { background: #244a8c; box-shadow: none; color: #fff; }
.reports__btn--solid svg { transition: translate .25s cubic-bezier(.2, .8, .2, 1); }
.reports__btn--solid:hover svg { translate: 0 2px; }
.reports__pending {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--grey-card);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--grey-text);
}
.reports__empty { padding: 32px 0 8px; font-style: italic; color: var(--grey-text); }

@media (max-width: 1099px) {
  .reports__head { grid-template-columns: minmax(0, 1fr); }
  .reports__panel { padding: 44px 32px 40px; }
}

/* ======================= mobile (≤767px) ======================= */
@media (max-width: 767px) {
  .reports { padding: 44px var(--gutter) 64px; }
  .reports__panel { padding: 32px 16px 20px; border-radius: 24px; }
  .reports__mark { width: 200px; right: -48px; bottom: -40px; }
  .reports__head { margin-bottom: 16px; padding: 0 4px; }
  .reports__lead { font-size: 16px; }

  /* The table's rows become cards: year and badge on top, the name, then
     the two buttons side by side at full width. */
  .reports__table,
  .reports__table tbody { display: block; }
  .reports__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
  .reports__row {
    display: grid;
    gap: 14px;
    margin-bottom: 12px;
    padding: 20px 18px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(20, 40, 90, .08);
  }
  .reports__row > *,
  .reports__row > :first-child,
  .reports__row > :last-child { display: block; padding: 0; border: 0; border-radius: 0; background: none; }
  .reports__row:hover > * { background: none; }
  .reports__year { width: auto; padding: 0 0 0 16px !important; font-size: 30px; }
  .reports__year::before { left: 0; top: 10%; bottom: 10%; }
  .reports__name { display: flex; gap: 14px; }
  .reports__ico { width: 42px; height: 42px; }
  .reports__title { font-size: 17px; }
  .reports__actions { display: flex !important; gap: 8px; white-space: normal; }
  .reports__actions > * + * { margin-left: 0; }
  .reports__btn,
  .reports__pending { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Article table of contents — the Rank Math "Table of Contents" block
   --------------------------------------------------------------------------
   The block prints plain nested lists (div#rank-math-toc > h2 + nav > ul).
   Restyled here as a smaller cousin of the Dịch vụ contents (.svc-toc): the
   same light gradient panel, blue uppercase label and yellow numbers, which
   CSS counters generate (01, 02 … and 1.1, 1.2 for sub-headings), so the
   client never types them. The sticky header is already allowed for by the
   page's scroll-padding-top, so a jump lands below it.
   ========================================================================== */
/* clear: articles float the featured image beside the intro (.entry-article
   .entry__thumbnail), and a panel wrapping around it would break apart. */
.wp-block-rank-math-toc-block {
  clear: both;
  margin: 36px 0 44px;
  padding: 28px 32px 24px;
  border-radius: 24px;
  background: linear-gradient(140deg, #f4f7fd 0%, #eef3fb 55%, #fdf6e4 100%);
}
.entry__content .wp-block-rank-math-toc-block > :first-child {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.wp-block-rank-math-toc-block nav ul,
.wp-block-rank-math-toc-block nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cc-toc;
}
.wp-block-rank-math-toc-block nav li { margin: 0; counter-increment: cc-toc; }
.wp-block-rank-math-toc-block nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 12px 10px 8px;
  border-radius: 12px;
  border-bottom: 1px solid rgba(20, 40, 90, .10);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--slate);
  text-decoration: none;
  transition: background-color .25s, padding-left .25s, color .25s;
}
.wp-block-rank-math-toc-block nav a::before {
  content: counter(cc-toc, decimal-leading-zero);
  flex: none;
  width: 28px;
  font-weight: 800;
  color: var(--yellow-2);
  font-variant-numeric: tabular-nums;
}
.wp-block-rank-math-toc-block nav a:hover { background: rgba(255, 255, 255, .8); padding-left: 16px; color: var(--blue); }
.wp-block-rank-math-toc-block nav li li a { padding-left: 42px; border-bottom-style: dashed; font-weight: 600; font-size: 16px; }
.wp-block-rank-math-toc-block nav li li a:hover { padding-left: 50px; }
.wp-block-rank-math-toc-block nav li li a::before { content: counters(cc-toc, "."); width: 34px; font-size: 14px; }
/* "Hide" in the block's editor leaves the item in the saved list as .disabled. */
.wp-block-rank-math-toc-block .disabled { display: none; }

@media (max-width: 767px) {
  .wp-block-rank-math-toc-block { margin: 28px 0 32px; padding: 22px 16px 16px; border-radius: 20px; }
  .wp-block-rank-math-toc-block nav a { font-size: 16px; gap: 10px; }
  .wp-block-rank-math-toc-block nav li li a { padding-left: 30px; font-size: 15px; }
}
