/* =========================================================
   EQA Thailand — Compliance Blueprint design system
   ========================================================= */

:root {
  /* Color */
  --paper:        #FAFAF7;
  --paper-alt:     #F1F0EA;
  --ink:           #1A1D23;
  --ink-soft:      #4B5160;
  --blueprint:     #14213D;
  --blueprint-2:   #1D2E52;
  --line:          #D8DCE2;
  --line-on-dark:  rgba(255,255,255,0.14);
  --verified:      #2F7A4D;
  --verified-soft: #E3EFE7;
  --seal-gold:     #C89B3C;
  --seal-gold-hi:  #DDB25C;
  --white:         #FFFFFF;

  /* Type */
  --font-display: "Space Grotesk", "IBM Plex Sans Thai", sans-serif;
  --font-body:    "IBM Plex Sans", "IBM Plex Sans Thai", sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  /* Scale */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  /* Softer, more diffused elevation — larger spread at lower opacity reads
     as more considered/premium than a tight, harsh shadow. */
  --shadow-card: 0 2px 4px rgba(20,33,61,0.03), 0 28px 56px -28px rgba(20,33,61,0.16);
  --shadow-card-hover: 0 2px 6px rgba(20,33,61,0.04), 0 36px 64px -28px rgba(20,33,61,0.22);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur-fast: .22s;
  --dur-med: .5s;
  --dur-slow: .9s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blueprint);
  color: var(--white);
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--seal-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Reveal-on-scroll ----------
   Base .reveal fades up. Directional modifiers below add variety per
   section so the whole page doesn't move the same way. All still driven
   by the one IntersectionObserver in script.js — these are pure CSS
   reactions to the same .is-visible class toggle, so no new JS, no
   scroll position math, nothing that can turn into scroll-jacking. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-left.is-visible { transform: translateX(0); }

.reveal.reveal-right { transform: translateX(32px); }
.reveal.reveal-right.is-visible { transform: translateX(0); }

.reveal.reveal-scale { transform: scale(0.92) translateY(14px); }
.reveal.reveal-scale.is-visible { transform: scale(1) translateY(0); }

.reveal.reveal-pop { transform: scale(0.7); }
.reveal.reveal-pop.is-visible { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-left, .reveal.reveal-right, .reveal.reveal-scale, .reveal.reveal-pop {
    opacity: 1; transform: none;
  }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* The header carries 8 top-level nav items (matching the real site's exact
   nav sequence) — wider than the 1180px content .wrap can comfortably fit
   without wrapping, so give the header row its own slightly wider container. */
.site-header .wrap { max-width: 1340px; }
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--blueprint); flex-shrink: 0; }
.logo-mark { display: flex; color: var(--seal-gold); }
.logo-text { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.logo-text b { font-weight: 700; }
.logo-img { display: block; height: 42px; width: auto; }

.main-nav { display: flex; gap: 19px; margin-left: 12px; flex: 1; }
.main-nav a {
  font-size: 0.87rem;
  color: var(--ink-soft);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--blueprint); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--seal-gold);
  transition: right var(--dur-fast) var(--ease);
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  display: flex; align-items: center; gap: 4px;
  color: var(--ink-soft);
}
.lang-toggle .lang-en, .lang-toggle .lang-th { transition: color var(--dur-fast) var(--ease), font-weight var(--dur-fast) var(--ease); }
.lang-toggle .lang-sep { opacity: .4; }
body[data-lang="en"] .lang-toggle .lang-en,
body[data-lang="th"] .lang-toggle .lang-th { color: var(--blueprint); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--blueprint); border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav a { padding: 12px 0; font-size: 0.98rem; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; text-align: center; }

body.nav-open .mobile-nav { display: flex; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--seal-gold); color: var(--blueprint); box-shadow: 0 2px 4px rgba(20,33,61,0.06), 0 18px 32px -16px rgba(200,155,60,0.6); }
.btn-primary:hover { background: var(--seal-gold-hi); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(20,33,61,0.08), 0 24px 40px -16px rgba(200,155,60,0.65); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--blueprint); }
.btn-ghost:hover { border-color: var(--seal-gold); background: var(--paper-alt); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* =========================================================
   Hero — full-bleed real photo with a directional scrim.
   The photo (assets/img/hero-banner.png) sits as the actual background;
   a gradient scrim clears near the photo's subjects on the left and goes
   solid brand-navy toward the right, where the live headline sits. A thin
   gold diagonal echoes the accent line from the original graphic without
   duplicating its baked-in text — everything readable here is real HTML,
   so it stays bilingual, accessible, and responsive.
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
  background: var(--paper);
}

.hero.hero-photo {
  padding: 0;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--blueprint); /* shows instantly while the photo loads */
}
.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% center;
}
.hero-photo-scrim {
  position: absolute;
  inset: 0;
  /* Goes fully solid by ~44% — that's deliberately earlier than it looks
     like it needs to be, because the source image's OWN baked-in text
     starts around ~38% across and must be completely covered, not just
     dimmed, or it visually clashes with the live headline sitting on top. */
  background:
    linear-gradient(100deg, transparent 27%, var(--seal-gold) 27.6%, transparent 28.2%, transparent 100%),
    linear-gradient(100deg,
      rgba(20,33,61,0.05) 0%,
      rgba(20,33,61,0.7) 26%,
      var(--blueprint) 44%,
      var(--blueprint) 100%
    );
}
.hero-inner.hero-inner-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}
.hero-inner-photo .hero-copy { max-width: 600px; margin-left: auto; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--verified);
  background: var(--verified-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verified); }
.eyebrow-on-photo {
  color: var(--seal-gold-hi);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
}
.eyebrow-on-photo .eyebrow-dot { background: var(--seal-gold-hi); }

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  color: var(--blueprint);
  margin-bottom: 26px;
  letter-spacing: -0.02em;
}
.hero h1 em { color: var(--seal-gold); font-style: normal; }
.hero-photo h1 { color: var(--white); }

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero-photo .hero-sub { color: rgba(255,255,255,0.86); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-microcopy { font-size: 0.85rem; color: var(--ink-soft); opacity: 0.8; }
.hero-microcopy-on-photo { color: rgba(255,255,255,0.7); opacity: 1; }

.btn-ghost-on-photo {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost-on-photo:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

@media (max-width: 760px) {
  .hero.hero-photo { min-height: 540px; }
  .hero-photo-img { object-position: 38% center; }
  .hero-photo-scrim {
    /* Mobile has no room to elegantly split "half photo, half text" the way
       desktop does, so text legibility wins: solid navy through the whole
       content zone, with just a hint of photo at the very bottom edge. */
    background: linear-gradient(180deg, var(--blueprint) 0%, var(--blueprint) 80%, rgba(20,33,61,0.45) 100%);
  }
  .hero-inner-photo .hero-copy { max-width: 100%; margin-left: 0; }
  .hero-inner-photo { padding: 40px 0; }
}

/* ---- Seal ---- */
.hero-seal-wrap { display: flex; justify-content: center; }
.seal-svg { width: min(320px, 80%); height: auto; overflow: visible; }
.seal-ring { fill: none; stroke: var(--blueprint); }
.seal-ring-outer { stroke-width: 2; stroke-dasharray: 880; stroke-dashoffset: 880; animation: draw 1.6s var(--ease) 0.2s forwards; }
.seal-ring-inner { stroke-width: 1; opacity: 0.5; stroke-dasharray: 704; stroke-dashoffset: 704; animation: draw 1.4s var(--ease) 0.5s forwards; }
.seal-check {
  fill: none; stroke: var(--verified); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 130; stroke-dashoffset: 130;
  animation: draw 0.6s var(--ease) 1.3s forwards;
}
.seal-text-top, .seal-text-bottom {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  fill: var(--ink-soft);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .seal-ring-outer, .seal-ring-inner, .seal-check { animation: none; stroke-dashoffset: 0; }
}

/* =========================================================
   Trust bar
   ========================================================= */
.trust-bar { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-alt); }
.trust-label { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 14px; text-align: center; }
.trust-label-secondary { margin-top: 22px; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge-row li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blueprint);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.badge-row-secondary li { background: transparent; border-style: dashed; color: var(--ink-soft); }

/* Badge pop-in — staggered per badge, but driven entirely by the parent
   .trust-bar's existing .reveal/.is-visible toggle (no per-badge JS observers). */
.badge-row li, .badge-row-secondary li {
  animation: badge-pop 0.45s var(--ease) both;
  animation-play-state: paused;
}
.trust-bar.is-visible li { animation-play-state: running; }
.badge-row li:nth-child(1) { animation-delay: 0ms; }
.badge-row li:nth-child(2) { animation-delay: 60ms; }
.badge-row li:nth-child(3) { animation-delay: 120ms; }
.badge-row li:nth-child(4) { animation-delay: 180ms; }
.badge-row li:nth-child(5) { animation-delay: 240ms; }
.badge-row-secondary li:nth-child(1) { animation-delay: 300ms; }
.badge-row-secondary li:nth-child(2) { animation-delay: 360ms; }
.badge-row-secondary li:nth-child(3) { animation-delay: 420ms; }
.badge-row-secondary li:nth-child(4) { animation-delay: 480ms; }
.badge-row-secondary li:nth-child(5) { animation-delay: 540ms; }
@keyframes badge-pop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .badge-row li, .badge-row-secondary li { animation: none; opacity: 1; }
}

/* =========================================================
   Marquee — pure CSS, no scroll-hijacking, pauses on reduced motion
   ========================================================= */
.marquee {
  overflow: hidden;
  background: var(--blueprint);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 14px 0;
  display: flex;
}
.marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  animation: marquee-scroll 28s linear infinite;
}
.marquee-dot { color: var(--seal-gold); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* =========================================================
   Statement band — bold full-bleed color block
   ========================================================= */
.statement-band {
  background: var(--seal-gold);
  padding: 90px 0;
  text-align: center;
}
.statement-band p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  line-height: 1.16;
  color: var(--blueprint);
  letter-spacing: -0.01em;
  margin: 0;
}
.statement-band em {
  font-style: normal;
  color: var(--paper);
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 128px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--blueprint); color: var(--white); }
.section-dark .kicker { color: var(--seal-gold-hi); }
.section.section-dark h2 { color: var(--white); }
.section.section-dark .section-subhead { color: rgba(255,255,255,0.68); }
/* .why-copy/.why-point default to ink-soft (dark-on-light) since that's the
   only context they were built for on the homepage. training.html pairs
   .why-copy with .section-dark for the first time, which needs its own
   light-on-dark override — without this, body text renders dark-gray on
   dark-navy and is nearly unreadable. */
.section.section-dark .why-copy p:not(.kicker),
.section.section-dark .why-point p { color: rgba(255,255,255,0.72); }
.section.section-dark .why-point h3 { color: var(--white); }
.section.section-dark .why-mark { color: var(--seal-gold-hi); }

.section-head { max-width: 680px; margin: 0 auto 68px; text-align: center; }
.kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seal-gold);
  margin-bottom: 16px;
}
.section h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); color: var(--blueprint); line-height: 1.16; }
.section-subhead { margin-top: 18px; font-size: 1.08rem; color: var(--ink-soft); line-height: 1.7; }
.section-subhead-dark { color: rgba(255,255,255,0.68); }

/* ---------- Program cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.prog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--seal-gold); }
.prog-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blueprint);
  background: var(--verified-soft);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  transform: scale(0.4) rotate(-10deg);
  opacity: 0;
  transition: transform 0.5s var(--ease) 0.18s, opacity 0.5s var(--ease) 0.18s;
}
.prog-card.is-visible .prog-icon { transform: scale(1) rotate(0deg); opacity: 1; }
.prog-icon svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) {
  .prog-icon { transform: none; opacity: 1; transition: none; }
}
.prog-code { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--seal-gold); margin-bottom: 8px; }
.prog-card h3 { font-size: 1.22rem; color: var(--blueprint); margin-bottom: 10px; }
.prog-card h3 a { color: inherit; text-decoration: none; }
.prog-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--seal-gold); }
.prog-card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.articles-loading { color: var(--ink-soft); font-size: 0.95rem; padding: 20px 0; }

/* ---------- Clickable course links (real pages on eqathaitraining.com) ---------- */
.course-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.course-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blueprint);
  background: var(--paper);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.course-links a:hover { border-color: var(--seal-gold); color: var(--seal-gold); background: var(--verified-soft); box-shadow: 0 6px 16px -8px rgba(200,155,60,0.45); }
.course-links a svg { width: 10px; height: 10px; flex-shrink: 0; }
.course-links-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  padding: 7px 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- About: origin timeline ---------- */
.about-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 56px 0 64px;
  counter-reset: none;
}
.timeline-item {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}
.timeline-marker {
  position: absolute;
  top: -15px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blueprint);
  background: var(--paper);
  padding-right: 10px;
}
.timeline-item h3 { font-size: 1.18rem; color: var(--blueprint); margin-bottom: 10px; }
.timeline-item p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

/* ---------- About: methodology grid spacing + map row ---------- */
.about-grid { margin-bottom: 64px; }

.section-cta { text-align: center; margin-top: 44px; }

.about-map-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.about-map-copy h3 { font-size: 1.3rem; color: var(--blueprint); margin: 12px 0 14px; }
.about-map-copy address {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: block;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blueprint);
  border-bottom: 1.5px solid var(--seal-gold);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease);
}
.map-link:hover { color: var(--seal-gold); }
.about-map-embed {
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.about-map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

@media (max-width: 760px) {
  .about-timeline { grid-template-columns: 1fr; gap: 32px; margin: 40px 0 48px; }
  .about-map-row { grid-template-columns: 1fr; }
  .about-map-embed { min-height: 220px; }
}

/* ---------- Journey ----------
   Hairline row dividers + a dim-until-active circular marker, in the spirit
   of a numbered-list-with-arrow pattern: each step sits dim until it's been
   scrolled into view, then the number, arrow, and copy all light up together. */
.journey-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line-on-dark);
}
.journey-step {
  display: grid;
  grid-template-columns: 56px 1fr 44px;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-on-dark);
  position: relative;
}
.journey-step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--seal-gold-hi);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--ease);
}
.journey-step.is-visible::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .journey-step::before { transition: none; }
}
.journey-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.28);
  transition: color var(--dur-med) var(--ease);
}
.journey-step.is-visible .journey-num { color: var(--seal-gold-hi); }
.journey-body h3 {
  color: rgba(255,255,255,0.5);
  font-size: 1.18rem;
  margin-bottom: 8px;
  transition: color var(--dur-med) var(--ease);
}
.journey-step.is-visible .journey-body h3 { color: var(--white); }
.journey-body p {
  color: rgba(255,255,255,0.32);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52ch;
  transition: color var(--dur-med) var(--ease);
}
.journey-step.is-visible .journey-body p { color: rgba(255,255,255,0.68); }

.journey-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.28);
  flex-shrink: 0;
  transition: color var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.journey-arrow svg { width: 16px; height: 16px; }
.journey-step.is-visible .journey-arrow {
  color: var(--blueprint);
  background: var(--seal-gold-hi);
  border-color: var(--seal-gold-hi);
}

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.why-copy h2 { margin: 16px 0 20px; }
.why-copy p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; max-width: 44ch; }

/* Word-by-word scroll reveal: words start dim and light up to full ink color
   in reading order as the paragraph scrolls through view. No pinning — the
   page scrolls at native speed, this only recolors text already in flow.
   js/scroll-reveal-text.js toggles .is-revealed per word; see prefers-reduced-motion
   override below for the no-JS/no-motion fallback. */
.scroll-reveal-text .reveal-word {
  color: var(--line);
  transition: color 0.4s var(--ease);
}
.scroll-reveal-text .reveal-word.is-revealed { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-text .reveal-word { color: var(--ink-soft); transition: none; }
}
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.why-mark { font-family: var(--font-mono); font-size: 0.82rem; color: var(--seal-gold); display: block; margin-bottom: 12px; }
.why-point h3 { font-size: 1.12rem; color: var(--blueprint); margin-bottom: 10px; }
.why-point p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

/* ---------- Sectors ---------- */
.sector-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.sector-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.92rem;
  color: var(--blueprint);
  font-weight: 500;
}

/* ---------- CTA / Contact ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cta-copy h2 { margin: 14px 0 16px; }
.cta-copy p { color: var(--ink-soft); font-size: 1.02rem; max-width: 42ch; margin-bottom: 34px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; font-size: 0.95rem; }
.cd-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--seal-gold); text-transform: uppercase; }
.contact-details a:hover { color: var(--seal-gold); }

.cta-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.82rem; color: var(--ink-soft); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 0.94rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--seal-gold); outline: none; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); opacity: 0.8; text-align: center; line-height: 1.6; }

/* Form fields fade up one at a time once the form itself has revealed —
   same paused-animation technique as the trust badges, no extra JS. */
.cta-form .form-row, .cta-form > button, .cta-form .form-note {
  animation: field-rise 0.5s var(--ease) both;
  animation-play-state: paused;
}
.cta-form.is-visible .form-row:nth-child(1) { animation-delay: 80ms; }
.cta-form.is-visible .form-row:nth-child(2) { animation-delay: 140ms; }
.cta-form.is-visible .form-row:nth-child(3) { animation-delay: 200ms; }
.cta-form.is-visible .form-row:nth-child(4) { animation-delay: 260ms; }
.cta-form.is-visible .form-row:nth-child(5) { animation-delay: 320ms; }
.cta-form.is-visible > button { animation-delay: 380ms; }
.cta-form.is-visible .form-note { animation-delay: 430ms; }
.cta-form.is-visible .form-row, .cta-form.is-visible > button, .cta-form.is-visible .form-note {
  animation-play-state: running;
}
@keyframes field-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-form .form-row, .cta-form > button, .cta-form .form-note { animation: none; opacity: 1; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--blueprint); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer-logo { color: var(--white); display: block; margin-bottom: 12px; }
.footer-grid p { font-size: 0.9rem; max-width: 34ch; color: rgba(255,255,255,0.6); }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-grid a { display: block; font-size: 0.9rem; padding: 5px 0; color: rgba(255,255,255,0.65); transition: color var(--dur-fast) var(--ease); }
.footer-grid a:hover { color: var(--seal-gold-hi); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); font-size: 0.85rem; }
.footer-placeholder-note { color: var(--seal-gold-hi); opacity: 0.85; }

/* =========================================================
   Responsive
   ========================================================= */
/* Nav-only breakpoint: the 8-item nav needs more room than the general
   tablet breakpoint below, so it switches to the hamburger earlier on its own. */
@media (max-width: 1300px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-seal-wrap { order: -1; }
  .seal-svg { width: 220px; }
  .why-grid, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section { padding: 70px 0; }
  .header-row { height: 64px; }
  .card-grid { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr; }
  .journey-step { grid-template-columns: 40px 1fr; gap: 14px; }
  .journey-num { font-size: 1.2rem; }
  .journey-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   Public Training page — stats band, promo banner, filter +
   course catalog, schedule tables, category cards, learning
   paths, trainer cards, FAQ accordion.
   ========================================================= */

/* ---------- Hero badge row ---------- */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.hero-badges li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blueprint);
  background: var(--verified-soft);
  border: 1px solid rgba(47,122,77,0.18);
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 0; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--blueprint); }
.stat-number span { color: var(--seal-gold); }
.stat-label { margin-top: 6px; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Promo banner ---------- */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--blueprint);
  color: var(--white);
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  margin: 56px 0 0;
}
.promo-banner-text { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.promo-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blueprint);
  background: var(--seal-gold-hi);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.promo-banner h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 4px; }
.promo-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.68); }
.promo-live {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--seal-gold-hi);
  border: 1px solid rgba(221,178,92,0.4);
  padding: 6px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ---------- Catalog layout: filter sidebar + course grid ---------- */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; margin-top: 48px; }
.filter-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.filter-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.filter-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.filter-heading span:first-child { font-weight: 600; color: var(--blueprint); font-size: 0.95rem; }
.filter-clear { font-size: 0.8rem; color: var(--ink-soft); text-decoration: underline; }
.filter-group { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.filter-group-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.filter-check-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 0.9rem; color: var(--ink); }
.filter-check-row label { display: flex; align-items: center; gap: 8px; cursor: default; }
.filter-check-row span.count { color: var(--ink-soft); font-size: 0.82rem; }
.filter-apply { margin-top: 20px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.course-card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.course-card-tag.tag-food { color: #9A6B1F; background: #FBF0DB; }
.course-card-tag.tag-packaging { color: #2F7A4D; background: var(--verified-soft); }
.course-card-tag.tag-auditor { color: #6B3FA0; background: #F1E9FA; }
.course-card h3 { font-size: 1.05rem; color: var(--blueprint); margin-bottom: 12px; line-height: 1.35; }
.course-card-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 16px; }
.course-card-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--blueprint); margin-top: auto; }
.course-card-price span { font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); }
.course-card-actions { display: flex; gap: 10px; margin-top: 16px; }
.course-card-actions .btn { flex: 1; padding: 10px 14px; font-size: 0.85rem; }

/* ---------- Schedule tables ---------- */
.schedule-group { margin-bottom: 44px; scroll-margin-top: 96px; }
.schedule-group-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.schedule-group-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.schedule-group-title .course-card-tag { margin-bottom: 0; }
.schedule-group-title h3 { font-size: 1.1rem; color: var(--blueprint); }
.schedule-group-title .rounds-count { font-size: 0.8rem; color: var(--ink-soft); background: var(--paper-alt); padding: 3px 10px; border-radius: 999px; }
.schedule-group-price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--blueprint); }
.schedule-group-price span { font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); }
.schedule-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.schedule-table th, .schedule-table td { padding: 12px 16px; text-align: left; white-space: nowrap; }
.schedule-table thead th { background: var(--paper-alt); color: var(--ink-soft); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.schedule-table tbody tr { border-top: 1px solid var(--line); }
.schedule-table tbody tr:hover { background: var(--paper-alt); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 500; }
.status-pill.is-open { color: var(--verified); }
.status-pill.is-open::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verified); }
.status-pill.is-closed { color: var(--ink-soft); opacity: 0.6; }
.schedule-table .btn-register { padding: 7px 14px; font-size: 0.8rem; }
.schedule-table .status-closed-label { font-size: 0.8rem; color: var(--ink-soft); opacity: 0.55; }

/* ---------- Course category cards ---------- */
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--seal-gold); }
.category-card-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--seal-gold); letter-spacing: 0.04em; margin-bottom: 10px; }
.category-card h3 { font-size: 1.12rem; color: var(--blueprint); margin-bottom: 14px; }
.category-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.category-tags span { font-size: 0.8rem; color: var(--ink-soft); background: var(--paper-alt); padding: 5px 11px; border-radius: 999px; }

/* ---------- Learning paths ---------- */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.path-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}
.path-icon { font-size: 1.8rem; margin-bottom: 14px; }
.path-card h3 { font-size: 1.12rem; color: var(--blueprint); margin-bottom: 6px; }
.path-subtitle { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 20px; }
.path-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.path-step { display: flex; align-items: center; gap: 12px; }
.path-step-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blueprint);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.path-step-name { font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.path-step-level { font-size: 0.76rem; color: var(--ink-soft); }
.path-view {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--seal-gold);
}

/* ---------- Trainers ---------- */
.trainer-badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.trainer-badge-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
}
.trainer-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.trainer-avatar.av-fs { background: var(--blueprint); }
.trainer-avatar.av-ms { background: #1F8A8C; }
.trainer-avatar.av-aq { background: #7B4FC9; }
.trainer-avatar.av-su { background: var(--verified); }
.trainer-badge-card h4 { font-size: 0.98rem; color: var(--blueprint); margin-bottom: 2px; }
.trainer-badge-card .role-en { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 12px; }
.trainer-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.trainer-tags span { font-size: 0.74rem; color: var(--ink-soft); background: var(--paper-alt); padding: 4px 9px; border-radius: 999px; }

/* ===== EQA TRAINER CARDS V2 (Aug 2026) ===== */
.trainer-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: stretch; }
.trainer-profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 0 26px 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(20,33,61,.05), 0 18px 40px -22px rgba(20,33,61,.30);
  transition: transform .38s cubic-bezier(.2,.7,.3,1), box-shadow .38s;
}
.trainer-profile-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 116px;
  background: linear-gradient(135deg, #14213D 0%, #26406F 100%);
}
.trainer-profile-card::after {
  content: ""; position: absolute; top: 116px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, rgba(200,155,60,0), var(--seal-gold), rgba(200,155,60,0));
}
.trainer-profile-card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(20,33,61,.05), 0 30px 58px -24px rgba(20,33,61,.42); }
.trainer-profile-avatar {
  position: relative; z-index: 2; flex-shrink: 0;
  width: 168px; height: 168px;
  margin: 42px 0 18px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #EDEFF3;
  border: 5px solid var(--white);
  box-shadow: 0 14px 30px -12px rgba(20,33,61,.55);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3rem;
}
.trainer-profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 50%; transition: transform .55s cubic-bezier(.2,.7,.3,1); }
.trainer-profile-card:hover .trainer-profile-avatar img { transform: scale(1.06); }
.trainer-profile-card > div:not(.trainer-profile-avatar) { position: relative; z-index: 2; width: 100%; }
.trainer-profile-card h4 { font-size: 1.22rem; line-height: 1.25; color: var(--blueprint); margin: 0 0 2px; }
.trainer-profile-card .name-th { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 12px; }
.trainer-profile-tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: .03em; color: #7A5C16; background: #F7EEDA; border: 1px solid #E7D6AE; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.trainer-credential { font-size: 0.84rem; line-height: 1.55; color: var(--ink); background: var(--paper-alt); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin: 0 0 16px; }
.trainer-expertise-label { font-size: 0.68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 9px; }
.trainer-expertise-list { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.trainer-expertise-list span { font-size: 0.75rem; font-weight: 600; color: var(--blueprint); background: var(--white); border: 1px solid var(--line); padding: 5px 11px; border-radius: 8px; transition: border-color .25s, background .25s; }
.trainer-profile-card:hover .trainer-expertise-list span { border-color: #CBD3DE; background: #FAFBFC; }
@media (max-width: 520px) {
  .trainer-profile-card { padding: 0 18px 26px; }
  .trainer-profile-card::before { height: 100px; }
  .trainer-profile-card::after { top: 100px; }
  .trainer-profile-avatar { width: 140px; height: 140px; margin: 34px 0 16px; border-width: 4px; }
  .trainer-profile-card h4 { font-size: 1.12rem; }
}
/* ---------- FAQ (native details/summary — zero JS) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--blueprint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--seal-gold);
  border-bottom: 2px solid var(--seal-gold);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }

/* ---------- "Not yet connected" placeholder CTAs ---------- */
.js-soon { cursor: default; }

/* ---------- Delivery examples (real case studies, not a sequential
   journey — plain stacked list, deliberately not reusing .journey-step
   since that component's numbered circle + arrow implies a process flow
   that doesn't apply to a set of independent past deliveries). ---------- */
.delivery-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line-on-dark);
}
.delivery-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.delivery-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--seal-gold-hi);
}
.delivery-item h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.delivery-item p {
  color: rgba(255,255,255,0.68);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .trainer-badge-grid { grid-template-columns: repeat(2, 1fr); }
  .trainer-profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 36px 0; }
  .course-grid { grid-template-columns: 1fr; }
  .trainer-badge-grid { grid-template-columns: 1fr 1fr; }
  .promo-banner { flex-direction: column; align-items: flex-start; }
  .schedule-group-head { flex-direction: column; align-items: flex-start; }
  .trainer-profile-card { flex-direction: column; }
}

/* ---- Baht symbol font fix (U+0E3F) ---- */
@font-face {
  font-family: "EQABaht";
  src: local("Tahoma"), local("Arial Unicode MS"), local("Arial"), local("Helvetica Neue");
  unicode-range: U+0E3F;
}
.course-card-price,
.schedule-group-price {
  font-family: "EQABaht", "IBM Plex Sans Thai", "IBM Plex Sans", sans-serif !important;
}

/* ===== ARTICLE INDEX (page-articles) ===== */
.article-search-row {
  position: relative;
  max-width: 560px;
  margin: 0 auto 48px;
}
.article-search-row input[type="search"] {
  width: 100%;
  padding: 16px 48px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  color: var(--ink);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.article-search-row input[type="search"]:focus {
  outline: 2px solid var(--seal-gold);
  outline-offset: 2px;
}
.article-search-row > svg {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  pointer-events: none;
}
.article-count {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 auto 32px;
  text-align: center;
}
.article-count strong { color: var(--blueprint); }
.article-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
  border-top: 1px solid var(--line);
}
.article-list li {
  border-bottom: 1px solid var(--line);
}
.article-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.article-list li a:hover {
  color: var(--seal-gold);
  padding-left: 10px;
}
.article-list li a svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--line);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.article-list li a:hover svg {
  color: var(--seal-gold);
  transform: translate(2px, -2px);
}
.article-empty {
  color: var(--ink-soft);
  padding: 60px 20px;
  text-align: center;
}
.article-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.article-pagination button {
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.article-pagination button:hover:not(:disabled) {
  border-color: var(--seal-gold);
  color: var(--seal-gold);
}
.article-pagination button.is-current {
  background: var(--blueprint);
  border-color: var(--blueprint);
  color: var(--white);
}
.article-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}
.article-pagination .pager-ellipsis {
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: 0 4px;
}
@media (max-width: 640px) {
  .article-list li a { font-size: 0.95rem; padding: 18px 2px; }
  .article-pagination button { font-size: 0.82rem; height: 36px; min-width: 36px; }
}

/* ==============================================
   Plant/Bootstrap override — specificity fix.
   style.css loads after via wp_head() and resets
   body to sans-serif; html body wins on specificity.
   ============================================== */
html body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}
html body h1, html body h2, html body h3,
html body h4, html body h5, html body h6 {
  font-family: var(--font-display);
}
html body input, html body textarea,
html body select, html body button {
  font-family: var(--font-body);
}


/* ==============================================
   Plant override — header, nav, links, buttons.
   Plant style.css loads after lp-style.css via
   wp_head() and resets colors, header bg, fonts,
   and button styles. html body wins specificity.
   ============================================== */
html body .site-header {
  background: rgba(250,250,247,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
html body .main-nav a,
html body .mobile-nav a {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 400;
}
html body .main-nav a:hover {
  color: var(--blueprint);
}
html body a {
  font-family: inherit;
}
html body .logo {
  color: var(--blueprint);
}
html body .btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
}
html body .btn-primary {
  background: var(--seal-gold);
  color: var(--blueprint);
  border: none;
  box-shadow: 0 2px 4px rgba(20,33,61,0.06), 0 18px 32px -16px rgba(200,155,60,0.6);
}
html body .btn-primary:hover {
  background: var(--seal-gold-hi);
  color: var(--blueprint);
  transform: translateY(-2px);
}
html body .btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--blueprint);
  background: transparent;
}
html body .lang-toggle {
  font-family: var(--font-body);
  color: var(--ink-soft);
}
/* Plant sets explicit height on footer element — force auto */
html body footer.site-footer { height: auto !important; }


/* =========================================================
   Plant/Bootstrap leak fixes — base font, sticky header,
   CTA kicker, footer background. style.css + bootstrap4.min.css
   load AFTER lp-style.css and override these; html body + !important
   restores the blueprint design values.
   ========================================================= */
html body { font-size: 17px; }
html body .site-header { position: sticky !important; top: 0; }
html body .cta-copy .kicker,
html body .kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seal-gold) !important;
  margin-bottom: 16px;
}
html body footer.site-footer { background: var(--blueprint) !important; }
html body footer.site-footer { position: static !important; }
html body footer.site-footer .footer-grid a { color: rgba(255,255,255,0.65); }

/* Ghost button on the dark hero photo: html body .btn-ghost above forces navy text, which is invisible on the navy scrim. */
html body .hero-photo .btn-ghost-on-photo { color: var(--white); border-color: rgba(255,255,255,0.45); background: transparent; }
html body .hero-photo .btn-ghost-on-photo:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,0.12); }

/* LCP: .hero-copy carries .reveal, which starts at opacity:0 and only clears when the reveal script runs. Above-the-fold hero copy is shown immediately instead. */
html body .hero-photo .hero-copy.reveal { opacity: 1; transform: none; transition: none; }


/* ===== Facebook follow (footer) — added 2026-08-02 ===== */
.site-footer a.footer-social{display:inline-flex;align-items:center;gap:9px;margin-top:18px;padding:9px 16px;border:1px solid rgba(255,255,255,.24);border-radius:999px;color:inherit;text-decoration:none;font-size:.88rem;line-height:1;transition:background .2s ease,border-color .2s ease}
.site-footer a.footer-social:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.48)}
.site-footer a.footer-social svg{flex:0 0 auto}
.lp-follow{margin-top:30px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;border:1px solid var(--line);border-radius:var(--radius-md,12px);background:var(--paper-alt)}
.lp-follow p{margin:0;font-size:.93rem;color:var(--ink-soft)}
.lp-follow a{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;border-radius:999px;background:#1877F2;color:#fff;text-decoration:none;font-size:.88rem;line-height:1}
.lp-follow a:hover{background:#0f63d3}


/* ===== Facebook page embed (click to load) ===== */
.fb-embed{margin-top:28px;display:flex;justify-content:center}
.fb-embed-placeholder{width:100%;max-width:520px;border:1px dashed var(--line);border-radius:var(--radius-lg,16px);background:var(--white,#fff);padding:34px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}
.fb-embed-placeholder .fb-mark{width:42px;height:42px;color:#1877F2;flex:0 0 auto}
.fb-embed-placeholder p{margin:0;font-size:.92rem;line-height:1.7;color:var(--ink-soft);max-width:44ch}
.fb-embed-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.fb-embed iframe{border:0;overflow:hidden;width:100%;max-width:520px;border-radius:var(--radius-lg,16px);background:#fff;display:block}


/* ===== All courses directory ===== */
.lp-courses{padding-top:46px;padding-bottom:80px}
.lp-courses-title{font-family:var(--font-display);font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.2;color:var(--ink);margin:6px 0 12px}
.lp-courses-sub{max-width:62ch;color:var(--ink-soft);font-size:1rem;line-height:1.75;margin:0 0 30px}
.lp-courses-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:30px}
#courseSearch{flex:1 1 340px;max-width:560px;padding:14px 20px;border:1px solid var(--line);border-radius:999px;font-family:var(--font-body);font-size:1rem;background:var(--white,#fff);color:var(--ink)}
#courseSearch:focus{outline:none;border-color:var(--blueprint);box-shadow:0 0 0 3px rgba(0,71,171,.12)}
.lp-courses-count{font-family:var(--font-mono,monospace);font-size:.78rem;color:var(--ink-soft)}
.lp-cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(228px,1fr));gap:14px}
.lp-cat-card{display:flex;flex-direction:column;gap:9px;padding:22px 20px;border-radius:16px;background:var(--white,#fff);border:1px solid var(--line);cursor:pointer;text-align:left;font-family:var(--font-body);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.lp-cat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-card-hover);border-color:var(--blueprint)}
.lp-cat-card b{font-family:var(--font-display);font-weight:600;font-size:1.04rem;line-height:1.35;color:var(--ink)}
.lp-cat-card i{font-style:normal;font-family:var(--font-mono,monospace);font-size:.72rem;color:var(--ink-soft)}
.lp-back{display:inline-flex;align-items:center;gap:7px;background:none;border:0;padding:0;margin:0 0 20px;color:var(--blueprint);font-family:var(--font-body);font-size:.92rem;cursor:pointer}
.lp-back:hover{text-decoration:underline}
.lp-course-group{margin-bottom:38px}
.lp-course-group h2{font-family:var(--font-display);font-size:1.15rem;color:var(--ink);margin:0 0 16px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.lp-course-group h2 b{font-family:var(--font-mono,monospace);font-size:.72rem;font-weight:500;color:var(--ink-soft)}
.lp-course-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}
.lp-course-item{display:block;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--white,#fff);text-decoration:none;transition:box-shadow .18s ease,border-color .18s ease}
.lp-course-item:hover{box-shadow:var(--shadow-card-hover);border-color:var(--blueprint)}
.lp-c-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.95rem;line-height:1.5;color:var(--ink);font-weight:500}
.lp-c-sub{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px;font-size:.82rem;line-height:1.5;color:var(--ink-soft)}
.lp-c-lang{display:inline-block;margin-top:10px;font-family:var(--font-mono,monospace);font-size:.66rem;letter-spacing:.05em;color:var(--ink-soft);background:var(--paper-alt);border-radius:999px;padding:3px 10px}
.lp-courses-empty{padding:40px;text-align:center;color:var(--ink-soft)}
.lp-courses-cta{margin-top:44px;display:flex;gap:12px;flex-wrap:wrap}
@media (max-width:600px){.lp-course-list{grid-template-columns:1fr}.lp-cat-grid{grid-template-columns:1fr 1fr;gap:10px}.lp-cat-card{padding:16px 14px}}


/* ===== Clickable programme cards ===== */
.prog-card{position:relative;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.prog-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card-hover);border-color:var(--blueprint)}
.prog-cta{position:static;display:inline-block;margin-top:16px;font-family:var(--font-body);font-size:.88rem;font-weight:500;color:var(--blueprint);text-decoration:none}
.prog-cta::after{content:"";position:absolute;left:0;top:0;right:0;bottom:0;z-index:1}
.prog-card:hover .prog-cta{text-decoration:underline;text-underline-offset:3px}
.prog-card .course-links a:not(.prog-cta){position:relative;z-index:2}
.prog-card .course-links a:hover{color:var(--blueprint)}


/* ===== Single course page ===== */
.lp-cse{padding-top:40px;padding-bottom:80px}
.lp-cse-head{max-width:820px}
.lp-cse-title{font-family:var(--font-display);font-size:clamp(1.7rem,3.2vw,2.5rem);line-height:1.25;color:var(--ink);margin:8px 0 10px}
.lp-cse-sub{font-size:1.02rem;line-height:1.65;color:var(--ink-soft);margin:0 0 26px}
.lp-facts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 34px}
.lp-fact{display:flex;flex-direction:column;gap:3px;padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:var(--white,#fff);min-width:130px}
.lp-fact span{font-family:var(--font-mono,monospace);font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}
.lp-fact b{font-family:var(--font-display);font-size:1rem;font-weight:600;color:var(--ink)}
.lp-cse-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:52px;align-items:start}
.lp-sec{margin:0 0 34px}
.lp-sec h2{font-family:var(--font-display);font-size:1.28rem;color:var(--ink);margin:0 0 12px}
.lp-sec p{margin:0 0 1em;font-size:1rem;line-height:1.8;color:var(--ink)}
.lp-sec ul,.lp-sec ol{margin:0 0 1.1em;padding-left:1.3em}
.lp-sec li{margin-bottom:.55em;line-height:1.7}
.lp-agenda{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--white,#fff)}
.lp-day+.lp-day{border-top:1px solid var(--line)}
.lp-day-head{display:flex;align-items:center;gap:12px;padding:13px 20px;background:var(--paper-alt)}
.lp-day-head b{display:inline-flex;align-items:center;padding:5px 13px;border-radius:999px;background:var(--ink);color:#fff;font-family:var(--font-display);font-size:.78rem;font-weight:600}
.lp-day-head i{font-style:normal;font-family:var(--font-mono,monospace);font-size:.68rem;letter-spacing:.08em;color:var(--ink-soft)}
.lp-slot{display:grid;grid-template-columns:122px minmax(0,1fr);gap:18px;padding:15px 20px}
.lp-slot+.lp-slot{border-top:1px dashed var(--line)}
.lp-slot-time{font-variant-numeric:tabular-nums;font-size:.86rem;font-weight:600;color:var(--blueprint);line-height:1.75;overflow-wrap:anywhere;min-width:0}
.lp-slot-topic{font-size:.95rem;line-height:1.75;color:var(--ink)}
@media (max-width:600px){.lp-slot{grid-template-columns:1fr;gap:3px;padding:13px 16px}.lp-day-head{padding:11px 16px}}
.lp-cse-side{position:sticky;top:96px;display:flex;flex-direction:column;gap:12px;padding:22px 20px;border:1px solid var(--line);border-radius:16px;background:var(--paper-alt)}
.lp-cse-side p{margin:0;font-size:.9rem;line-height:1.6;color:var(--ink-soft)}
.lp-cse-side .btn{width:100%;justify-content:center;text-align:center}
@media (max-width:960px){.lp-cse-body{grid-template-columns:1fr;gap:32px}.lp-cse-side{position:static}.lp-ag-row{grid-template-columns:1fr;gap:4px}}


/* ===== Archive / search / 404 ===== */
.lp-arc{padding-top:46px;padding-bottom:80px}
.lp-arc-title{font-family:var(--font-display);font-size:clamp(1.8rem,3.4vw,2.7rem);line-height:1.2;color:var(--ink);margin:6px 0 12px}
.lp-arc-sub{max-width:62ch;color:var(--ink-soft);font-size:1rem;line-height:1.75;margin:0 0 30px}
.lp-arc-search{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 32px}
.lp-arc-search input{flex:1 1 320px;max-width:520px;padding:13px 20px;border:1px solid var(--line);border-radius:999px;font-family:var(--font-body);font-size:1rem;background:var(--white,#fff);color:var(--ink)}
.lp-arc-search input:focus{outline:none;border-color:var(--blueprint);box-shadow:0 0 0 3px rgba(0,71,171,.12)}
.lp-arc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.lp-arc-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--white,#fff);text-decoration:none;transition:box-shadow .18s ease,border-color .18s ease}
.lp-arc-card:hover{box-shadow:var(--shadow-card-hover);border-color:var(--blueprint)}
.lp-arc-card img{width:100%;height:158px;object-fit:cover;display:block}
.lp-arc-body{padding:15px 17px;display:flex;flex-direction:column;gap:7px}
.lp-arc-cat{font-family:var(--font-mono,monospace);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft)}
.lp-arc-card strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--font-display);font-size:1rem;font-weight:600;line-height:1.45;color:var(--ink)}
.lp-arc-card time{font-size:.78rem;color:var(--ink-soft)}
.lp-arc-empty{padding:44px;text-align:center;color:var(--ink-soft);border:1px dashed var(--line);border-radius:16px}
.lp-pager{margin-top:38px;display:flex;justify-content:center}
.lp-pager .nav-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.lp-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--white,#fff);color:var(--ink);text-decoration:none;font-size:.9rem}
.lp-pager .page-numbers:hover{border-color:var(--blueprint);color:var(--blueprint)}
.lp-pager .page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff}
.lp-pager .screen-reader-text{position:absolute;left:-9999px}
.lp-arc-links{margin-top:30px;display:flex;gap:10px;flex-wrap:wrap}

/* ===== BEGIN EQA THAI READABILITY ===== */
/* อ่านภาษาไทยชัดขึ้น: ตัวใหญ่ขึ้น น้ำหนักเข้มขึ้น หัวข้อหนา คอลัมน์ไม่กว้างเกิน */
.lp-article .lp-article-body,
.lp-cse .lp-cse-body{
  -webkit-font-smoothing:auto;
  -moz-osx-font-smoothing:auto;
  text-rendering:optimizeSpeed;
}
.lp-article .lp-article-body{ font-size:1.22rem; line-height:1.9; max-width:46rem; font-weight:500; }
.lp-article .lp-article-body p{ margin:0 0 1.3em; line-height:1.9; font-weight:500; }
.lp-article .lp-article-body li{ margin-bottom:.6em; line-height:1.88; font-weight:500; }
.lp-article .lp-article-body td{ font-weight:500; }
.lp-article .lp-article-body h2{
  font-size:1.8rem; font-weight:700; line-height:1.4;
  margin:2.4em 0 .7em; padding-top:.75em;
  border-top:1px solid rgba(20,33,61,.14);
}
.lp-article .lp-article-body h3{ font-size:1.34rem; font-weight:700; line-height:1.5; margin:2em 0 .55em; }
.lp-article .lp-article-body strong,
.lp-article .lp-article-body b{ font-weight:700; }
.lp-article .lp-article-body figcaption{ font-size:1rem; line-height:1.7; font-weight:500; }
.lp-article .lp-toc a{ font-size:.97rem; line-height:1.65; color:#3A4152; font-weight:500; }
.lp-cse .lp-cse-body p,
.lp-cse .lp-cse-body li,
.lp-cse .lp-cse-body td{ font-size:1.15rem; line-height:1.88; font-weight:500; }
.lp-cse .lp-cse-body h2{ font-size:1.62rem; font-weight:700; line-height:1.4; }
.lp-cse .lp-cse-body h3{ font-size:1.26rem; font-weight:700; line-height:1.5; }
.lp-cse .lp-cse-body strong,
.lp-cse .lp-cse-body b{ font-weight:700; }
@media (max-width:820px){
  .lp-article .lp-article-body{ font-size:1.17rem; line-height:1.88; max-width:none; }
  .lp-article .lp-article-body h2{ font-size:1.52rem; margin-top:2em; }
  .lp-article .lp-article-body h3{ font-size:1.25rem; }
  .lp-cse .lp-cse-body p, .lp-cse .lp-cse-body li{ font-size:1.1rem; }
  .lp-cse .lp-cse-body h2{ font-size:1.4rem; }
}
/* ภาพหน้าปก: จำกัดความสูงไม่ให้ล้นจอ ภาพจัตุรัสหรือแนวตั้งจะย่อลงและจัดกลาง ไม่ครอปเนื้อภาพ */
@media (min-width:821px){
  .lp-article .lp-article-cover img{
    max-height:480px;
    width:auto;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }
}
/* ===== END EQA THAI READABILITY ===== */

/* ===== BEGIN EQA BOOKING MODAL ===== */
.soon-modal.book-modal{max-width:720px;width:calc(100% - 32px);max-height:88vh;overflow-y:auto;text-align:left;position:relative;padding:28px 28px 24px;}
.soon-modal.book-modal h3{margin:0 0 14px;font-size:1.4rem;font-weight:700;text-align:left;}
.soon-modal.book-modal .bk-x{position:absolute;top:10px;right:14px;background:none;border:0;font-size:28px;line-height:1;color:#5A6472;cursor:pointer;}
.soon-modal.book-modal .bk-summary{background:#F4F5F7;border:1px solid #D8DCE2;border-radius:10px;padding:12px 14px;margin:0 0 18px;display:block;}
.soon-modal.book-modal .bk-summary div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:.95rem;padding:4px 0;text-align:left;}
.soon-modal.book-modal .bk-summary div+div{border-top:1px solid #E6E8EC;}
.soon-modal.book-modal .bk-summary span{color:#5A6472;white-space:nowrap;}
.soon-modal.book-modal .bk-summary b{color:#14213D;text-align:right;font-weight:600;}
.soon-modal.book-modal .bk-sec{margin:20px 0 8px;font-weight:700;color:#14213D;border-top:1px solid #E6E8EC;padding-top:14px;text-align:left;}
.soon-modal.book-modal .bk-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;}
.soon-modal.book-modal .bk-row{margin:0 0 12px;text-align:left;}
.soon-modal.book-modal .bk-row label{display:block;font-size:.9rem;color:#3A4152;margin:0 0 5px;font-weight:500;text-align:left;}
.soon-modal.book-modal .bk-row input,.soon-modal.book-modal .bk-row textarea{width:100%;padding:10px 12px;border:1px solid #C9CFD8;border-radius:8px;font:inherit;font-size:1rem;background:#fff;color:#14213D;text-align:left;}
.soon-modal.book-modal .bk-row input:focus,.soon-modal.book-modal .bk-row textarea:focus{outline:2px solid #C89B3C;outline-offset:1px;border-color:#C89B3C;}
.soon-modal.book-modal .bk-err{border-color:#C0392B !important;outline:2px solid #C0392B;}
.soon-modal.book-modal .bk-total{padding:10px 12px;border:1px dashed #C9CFD8;border-radius:8px;font-weight:700;color:#14213D;background:#FAFAF7;text-align:left;}
.soon-modal.book-modal .bk-fine{font-size:.88rem;color:#5A6472;line-height:1.6;margin:14px 0 16px;text-align:left;}
.soon-modal.book-modal .bk-submit{width:100%;border:0;cursor:pointer;font-size:1.02rem;}
.soon-modal.book-modal .bk-done{text-align:center;padding:24px 0 8px;}
.soon-modal.book-modal .bk-done p{font-size:1.05rem;color:#14213D;margin:0 0 16px;}
@media (max-width:640px){
  .soon-modal.book-modal .bk-grid2{grid-template-columns:1fr;}
  .soon-modal.book-modal{padding:22px 18px 18px;max-height:92vh;}
}
/* ===== END EQA BOOKING MODAL ===== */

/* ===== BEGIN EQA BOOKING VALIDATION ===== */
.soon-modal.book-modal .bk-msg{display:none;margin:5px 0 0;font-size:.83rem;line-height:1.5;color:#C0392B;text-align:left;font-weight:500;}
.soon-modal.book-modal .bk-row input.bk-err,.soon-modal.book-modal .bk-row textarea.bk-err{border-color:#C0392B;background:#FEF6F5;}
.soon-modal.book-modal .bk-row input::placeholder,.soon-modal.book-modal .bk-row textarea::placeholder{color:#9AA2AF;}
/* ===== END EQA BOOKING VALIDATION ===== */

/* ===== BEGIN EQA TRAINING HERO PHOTO ===== */
.hero.eqa-hero-photo{position:relative;overflow:hidden;}
.hero.eqa-hero-photo::before{content:"";position:absolute;top:0;right:0;bottom:0;width:min(52%,700px);z-index:0;
  background-image:url(https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-training-team.jpg);
  background-repeat:no-repeat;background-position:center 16%;background-size:cover;}
.hero.eqa-hero-photo::after{content:"";position:absolute;top:0;right:0;bottom:0;width:min(52%,700px);z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#FAFAF7 0%,rgba(250,250,247,.96) 22%,rgba(250,250,247,.55) 46%,rgba(250,250,247,.12) 74%,rgba(250,250,247,0) 100%),
             linear-gradient(180deg,rgba(250,250,247,0) 58%,rgba(250,250,247,.55) 84%,rgba(250,250,247,.92) 100%);}
.hero.eqa-hero-photo .wrap{position:relative;z-index:2;}
.hero.eqa-hero-photo .hero-inner{max-width:1180px;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);align-items:center;}
@media (max-width:1100px){
  .hero.eqa-hero-photo::before,.hero.eqa-hero-photo::after{width:44%;}
}
@media (max-width:900px){
  .hero.eqa-hero-photo::before{width:100%;background-position:center 6%;}
  .hero.eqa-hero-photo::after{width:100%;
    background:linear-gradient(180deg,rgba(250,250,247,.80) 0%,rgba(250,250,247,.90) 45%,rgba(250,250,247,.98) 78%,#FAFAF7 100%);}
  .hero.eqa-hero-photo .hero-inner{grid-template-columns:1fr;max-width:820px;}
}
/* ===== END EQA TRAINING HERO PHOTO ===== */

/* ===== BEGIN EQA DBD LOOKUP ===== */
.soon-modal.book-modal .bk-dbd{margin:6px 0 0;font-size:.83rem;line-height:1.55;text-align:left;font-weight:500;color:#5A6472;}
.soon-modal.book-modal .bk-dbd.is-ok{color:#1E7B4D;}
.soon-modal.book-modal .bk-dbd.is-warn{color:#A8641B;}
.soon-modal.book-modal .bk-dbd.is-busy{color:#5A6472;}
/* ===== END EQA DBD LOOKUP ===== */

/* ===== BEGIN EQA CONTACT LINK AFFORDANCE ===== */
.panel-layout a[href^="tel:"],.panel-layout a[href^="mailto:"],.panel-layout a[href*="facebook.com/equal"]{
  color:#8A6A1E;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;}
.panel-layout a[href^="tel:"]:hover,.panel-layout a[href^="mailto:"]:hover,.panel-layout a[href*="facebook.com/equal"]:hover{
  color:#C89B3C;}
/* ===== END EQA CONTACT LINK AFFORDANCE ===== */

/* ===== BEGIN EQA CLICKABLE CARDS ===== */
.prog-card-link{display:block;color:inherit;text-decoration:none;}
.prog-card-link:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}
[data-eqa-card="on"]{cursor:pointer;}
[data-eqa-card="off"]:hover{transform:none !important;}
.prog-card[data-eqa-card="off"]:hover{border-color:#D8DCE2 !important;}
/* ===== END EQA CLICKABLE CARDS ===== */

/* ===== EQA HANDOVER WALL (About evidence band) ===== */
.handover{position:relative;background:var(--blueprint);color:var(--paper);padding:96px 0 104px;overflow:hidden;}
.handover::before{content:"";position:absolute;inset:0;background:radial-gradient(115% 85% at 12% -10%,rgba(38,64,111,.85),transparent 62%);pointer-events:none;}
.handover::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,rgba(200,155,60,0),var(--seal-gold) 22%,var(--seal-gold) 78%,rgba(200,155,60,0));}
.handover > .wrap{position:relative;z-index:1;}
.handover-head{max-width:660px;margin:0 0 44px;}
.handover-head .kicker{color:var(--seal-gold-hi);}
.handover-head h2{color:#fff;margin:10px 0 0;}
.handover-lede{color:rgba(255,255,255,.74);line-height:1.8;margin:16px 0 0;max-width:56ch;}
.handover-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
/* every tile is 4:3 and every photo is 4:3, so nothing is ever cropped */
.hv{position:relative;display:block;overflow:hidden;border-radius:var(--radius-md);background:#0E1729;aspect-ratio:4/3;margin:0;}
.hv img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 42%;filter:saturate(.97) contrast(1.02);transition:transform .9s cubic-bezier(.2,.7,.3,1);}
.hv-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,18,36,0) 46%,rgba(9,15,30,.8) 100%);}
.hv:hover img{transform:scale(1.035);}
.hv-tag{position:absolute;left:15px;bottom:13px;z-index:2;display:flex;align-items:center;gap:9px;font-family:var(--font-display);font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.6);}
.hv-tag::before{content:"";flex:none;width:15px;height:2px;background:var(--seal-gold-hi);transition:width .5s cubic-bezier(.2,.7,.3,1);}
.hv:hover .hv-tag::before{width:32px;}
.hv-lead{grid-column:span 2;grid-row:span 2;}
.hv-lead .hv-tag{left:24px;bottom:22px;font-size:.84rem;letter-spacing:.13em;}
.handover-note{margin:26px 0 0;font-size:.82rem;line-height:1.7;color:rgba(255,255,255,.5);max-width:70ch;}
@media (max-width:1023px){
  .handover{padding:74px 0 80px;}
  .handover-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .hv-lead{grid-column:span 2;grid-row:auto;}
  .hv-lead .hv-tag{left:16px;bottom:14px;font-size:.78rem;}
}
@media (max-width:560px){
  .handover{padding:58px 0 64px;}
  .handover-grid{grid-template-columns:1fr;gap:10px;}
  .hv-lead{grid-column:span 1;}
}
@media (prefers-reduced-motion:reduce){
  .hv img,.hv-tag::before{transition:none;}
  .hv:hover img{transform:none;}
}

/* ===== EQA CARD MEDIA (photo header on program / training / about cards) ===== */
#programs .prog-card, #programs-training .prog-card, #about .prog-card{padding:0;overflow:hidden;}
#programs .prog-media, #programs-training .prog-media, #about .prog-media{
  display:block;line-height:0;background:transparent;overflow:hidden;
  /* bleed 1px over the card border so no light rim shows around the photo */
  margin:-1px -1px 0;border-radius:22px 22px 0 0;}
#programs .prog-media img, #programs-training .prog-media img, #about .prog-media img{
  display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .85s cubic-bezier(.2,.7,.3,1);}
#programs .prog-card:hover .prog-media img,#programs-training .prog-card:hover .prog-media img,#about .prog-card:hover .prog-media img{transform:scale(1.045);}
#programs .prog-media{aspect-ratio:2.13/1;}
#programs-training .prog-media{aspect-ratio:2.17/1;}
#about .prog-media{aspect-ratio:3/1;}
#programs .prog-body, #programs-training .prog-body, #about .prog-body{padding:24px 26px 28px;}
#programs .prog-code, #programs-training .prog-code{color:var(--verified);margin-bottom:9px;}
#programs .prog-card h3, #programs-training .prog-card h3, #about .prog-card h3{
  position:relative;padding-left:14px;margin-bottom:9px;}
#programs .prog-card h3::before, #programs-training .prog-card h3::before, #about .prog-card h3::before{
  content:"";position:absolute;left:0;top:.16em;bottom:.16em;width:3px;border-radius:2px;background:var(--verified);}
#about .prog-card h3::before{background:var(--seal-gold);}
/* timeline items get a photo above the copy */
#about .timeline-media{display:block;margin:0 0 16px;line-height:0;overflow:hidden;border-radius:var(--radius-md);background:#EDEFF3;aspect-ratio:3/1;}
#about .timeline-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .85s cubic-bezier(.2,.7,.3,1);}
#about .timeline-item:hover .timeline-media img{transform:scale(1.04);}
@media (max-width:560px){
  #programs .prog-body, #programs-training .prog-body, #about .prog-body{padding:20px 20px 24px;}
}
@media (prefers-reduced-motion:reduce){
  #programs .prog-media img,#programs-training .prog-media img,#about .prog-media img,#about .timeline-media img{transition:none;}
  #programs .prog-card:hover .prog-media img,#programs-training .prog-card:hover .prog-media img,#about .prog-card:hover .prog-media img,#about .timeline-item:hover .timeline-media img{transform:none;}
}

/* ===== ARTICLES HERO BACKGROUND ===== */
.hero-articles{position:relative;overflow:hidden;isolation:isolate;}
.hero-articles::after{
  content:"";position:absolute;top:0;bottom:0;right:0;left:30%;z-index:-1;pointer-events:none;
  /* the cream wash IS the fade — it keeps the text column on solid paper */
  background-image:linear-gradient(to right,var(--paper) 0%,rgba(250,250,247,.97) 20%,rgba(250,250,247,.72) 40%,rgba(250,250,247,.30) 58%,rgba(250,250,247,0) 74%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-articles-hero.jpg");
  background-size:100% 100%,cover;
  background-position:left center,right center;
  background-repeat:no-repeat,no-repeat;
  filter:saturate(.95);
}
.hero-articles .hero-grid{z-index:-1;}
.hero-articles .hero-inner{position:relative;z-index:1;}
.hero-articles .hero-copy h1,.hero-articles .hero-copy .hero-sub{text-shadow:0 1px 0 rgba(250,250,247,.9);}
@media (max-width:1023px){
  .hero-articles::after{left:0;
    background-image:linear-gradient(to bottom,var(--paper) 0%,rgba(250,250,247,.95) 34%,rgba(250,250,247,.62) 62%,rgba(250,250,247,.35) 100%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-articles-hero.jpg");
    background-position:center top,center bottom;}
}
@media (max-width:640px){
  .hero-articles::after{background-image:linear-gradient(to bottom,var(--paper) 0%,rgba(250,250,247,.96) 44%,rgba(250,250,247,.72) 100%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-articles-hero.jpg");}
}


/* ===== PUBLIC TRAINING HERO BACKGROUND =====
   Real class photo sits in a band at the foot of the hero.
   The cream wash above it keeps every line of copy on solid paper. */
.hero-public{position:relative;overflow:hidden;isolation:isolate;padding-bottom:clamp(210px,23vw,390px);}
.hero-public .hero-grid{z-index:-2;}
.hero-public .wrap{position:relative;z-index:1;}
.hero-public::after{content:"";position:absolute;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;height:clamp(300px,30vw,520px);background-image:linear-gradient(to bottom,var(--paper) 0%,rgba(250,250,247,.97) 20%,rgba(250,250,247,.88) 30%,rgba(250,250,247,.52) 38%,rgba(250,250,247,.20) 46%,rgba(250,250,247,.05) 58%,rgba(250,250,247,0) 80%,rgba(250,250,247,.22) 100%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-public-training-hero.jpg");background-size:100% 100%,cover;background-position:center,center 50%;background-repeat:no-repeat,no-repeat;filter:saturate(.96);}
.hero-public .hero-copy h1,.hero-public .hero-copy .hero-sub{text-shadow:0 1px 0 rgba(250,250,247,.9);}
@media (max-width:1023px){.hero-public{padding-bottom:clamp(190px,34vw,300px);}.hero-public::after{height:clamp(240px,44vw,380px);background-position:center,center 46%;}}
@media (max-width:640px){.hero-public{padding-bottom:200px;}.hero-public::after{height:250px;background-image:linear-gradient(to bottom,var(--paper) 0%,rgba(250,250,247,.94) 16%,rgba(250,250,247,.55) 34%,rgba(250,250,247,.14) 56%,rgba(250,250,247,0) 82%,rgba(250,250,247,.24) 100%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-public-training-hero.jpg");background-position:center,center 44%;}}


/* ===== PCQI HERO BACKGROUND =====
   Split hero: copy left on solid paper, real EQA classroom photo bleeding off the right. */
.hero-pcqi{position:relative;overflow:hidden;isolation:isolate;}
.hero-pcqi .hero-grid{display:none;}
.hero-pcqi .wrap{position:relative;z-index:1;}
.hero-pcqi::after{content:"";position:absolute;top:0;bottom:0;right:0;left:56%;z-index:-1;pointer-events:none;background-image:linear-gradient(to right,var(--paper) 0%,rgba(250,250,247,.98) 10%,rgba(250,250,247,.90) 18%,rgba(250,250,247,.50) 26%,rgba(250,250,247,.14) 34%,rgba(250,250,247,0) 44%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-pcqi-hero.jpg");background-size:100% 100%,cover;background-position:left center,center 42%;background-repeat:no-repeat,no-repeat;filter:saturate(.97);}
@media (min-width:1024px){.hero-pcqi .hero-inner{max-width:1180px !important;}.hero-pcqi .hero-copy{max-width:780px;margin-left:0;margin-right:auto;}}
.hero-pcqi .hero-copy h1,.hero-pcqi .hero-copy .hero-sub{text-shadow:0 1px 0 rgba(250,250,247,.9);}
@media (max-width:1023px){.hero-pcqi{padding-bottom:clamp(230px,46vw,380px);}.hero-pcqi::after{left:0;top:auto;bottom:0;height:clamp(290px,54vw,430px);background-image:linear-gradient(to bottom,var(--paper) 0%,rgba(250,250,247,.95) 14%,rgba(250,250,247,.55) 32%,rgba(250,250,247,.12) 54%,rgba(250,250,247,0) 80%,rgba(250,250,247,.20) 100%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-pcqi-hero.jpg");background-position:center,center 24%;}}
@media (max-width:640px){.hero-pcqi{padding-bottom:250px;}.hero-pcqi::after{height:300px;background-position:center,center 20%;}}


/* ===== PUBLIC TRAINING HERO — CENTRE AXIS =====
   The photo band is symmetric across the full width, so the copy sits on the same axis. */
.hero-public .hero-copy{text-align:center;margin-left:auto;margin-right:auto;}
.hero-public .hero-copy .hero-sub{margin-left:auto;margin-right:auto;text-wrap:balance;}
.hero-public .hero-copy h1{text-wrap:balance;}
.hero-public .hero-badges,.hero-public .hero-actions{justify-content:center;}


/* ===== BRCGS HERO BACKGROUND =====
   Split hero: copy left on solid paper, group photo bleeding off the right edge. */
.hero-brcgs{position:relative;overflow:hidden;isolation:isolate;}
.hero-brcgs .hero-grid{display:none;}
.hero-brcgs .wrap{position:relative;z-index:1;}
.hero-brcgs::after{content:"";position:absolute;top:0;bottom:0;right:0;left:56%;z-index:-1;pointer-events:none;background-image:linear-gradient(to right,var(--paper) 0%,rgba(250,250,247,.98) 8%,rgba(250,250,247,.90) 16%,rgba(250,250,247,.50) 24%,rgba(250,250,247,.13) 32%,rgba(250,250,247,0) 42%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-brcgs-hero-real.jpg");background-size:100% 100%,cover;background-position:left center,85% center;background-repeat:no-repeat,no-repeat;filter:saturate(.97);}
@media (min-width:1024px){.hero-brcgs .hero-inner{max-width:1180px !important;}.hero-brcgs .hero-copy{max-width:min(780px,52vw);margin-left:0;margin-right:auto;}}
.hero-brcgs .hero-copy h1,.hero-brcgs .hero-copy .hero-sub{text-shadow:0 1px 0 rgba(250,250,247,.9);}
@media (max-width:1023px){.hero-brcgs{padding-bottom:clamp(230px,46vw,380px);}.hero-brcgs::after{left:0;top:auto;bottom:0;height:clamp(290px,54vw,430px);background-image:linear-gradient(to bottom,var(--paper) 0%,rgba(250,250,247,.94) 12%,rgba(250,250,247,.50) 28%,rgba(250,250,247,.10) 48%,rgba(250,250,247,0) 74%,rgba(250,250,247,.18) 100%),url("https://eqathaitraining.com/wp-content/uploads/2026/08/eqa-brcgs-hero-real.jpg");background-position:center,center 26%;}}
/* keep the PCQI copy clear of its photo panel on 1024-1440px screens too */
@media (min-width:1024px){.hero-pcqi .hero-copy{max-width:min(780px,52vw);}}

/* ===== ARTICLE DOWNLOAD CARDS ===== */
.eqa-dl-wrap{margin:28px 0;}
.eqa-dl-head{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-family:var(--font-display);font-weight:700;color:var(--blueprint);font-size:1.1rem;}
.eqa-dl-sub{margin:0 0 14px;color:var(--ink-soft);font-size:.95rem;}
.eqa-dl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
@media (max-width:760px){.eqa-dl-grid{grid-template-columns:1fr;}}
a.eqa-dl{display:flex;align-items:center;gap:14px;padding:15px 16px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--seal-gold);border-radius:var(--radius-md);text-decoration:none !important;color:var(--ink) !important;box-shadow:0 1px 2px rgba(20,33,61,.04);transition:transform .18s cubic-bezier(.2,.7,.3,1),box-shadow .18s ease,border-color .18s ease;}
a.eqa-dl:hover,a.eqa-dl:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,33,61,.12);border-color:var(--seal-gold);color:var(--ink) !important;}
.eqa-dl-ico{flex:0 0 auto;width:44px;height:44px;border-radius:12px;background:var(--paper-alt);display:flex;align-items:center;justify-content:center;color:var(--blueprint);transition:background .18s ease,color .18s ease;}
a.eqa-dl:hover .eqa-dl-ico{background:var(--seal-gold);color:#14213D;}
.eqa-dl-ico svg{width:22px;height:22px;}
.eqa-dl-txt{flex:1 1 auto;min-width:0;}
.eqa-dl-no{display:block;font-family:var(--font-display);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:2px;}
.eqa-dl-name{display:block;font-weight:600;line-height:1.4;font-size:.98rem;}
.eqa-dl-arrow{flex:0 0 auto;color:var(--line);transition:color .18s ease,transform .18s ease;}
.eqa-dl-arrow svg{width:16px;height:16px;}
a.eqa-dl:hover .eqa-dl-arrow{color:var(--seal-gold);transform:translateX(3px);}
.eqa-dl-note{margin:14px 0 0;font-size:.9rem;color:var(--ink-soft);}

/* ===== LEGACY PDF DOWNLOAD LINKS AS CARDS ===== */
.siteorigin-widget-tinymce p:has(> a[href$=".pdf"]){margin:0 0 10px;}
.siteorigin-widget-tinymce p > a[href$=".pdf"]{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--seal-gold);border-radius:var(--radius-md);text-decoration:none !important;color:var(--ink) !important;box-shadow:0 1px 2px rgba(20,33,61,.05);font-size:0;transition:transform .18s cubic-bezier(.2,.7,.3,1),box-shadow .18s ease,border-color .18s ease;}
.siteorigin-widget-tinymce p > a[href$=".pdf"]:hover,.siteorigin-widget-tinymce p > a[href$=".pdf"]:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,33,61,.12);border-color:var(--seal-gold);}
.siteorigin-widget-tinymce p > a[href$=".pdf"]::before{content:"";flex:0 0 auto;width:44px;height:44px;border-radius:12px;background-color:var(--paper-alt);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:22px 22px;transition:background-color .18s ease;}
.siteorigin-widget-tinymce p > a[href$=".pdf"]:hover::before{background-color:var(--seal-gold);}
.siteorigin-widget-tinymce p > a[href$=".pdf"]::after{content:"";flex:0 0 auto;margin-left:auto;width:16px;height:16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9BFC9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:16px 16px;transition:transform .18s ease;}
.siteorigin-widget-tinymce p > a[href$=".pdf"]:hover::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C89B3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");transform:translateX(3px);}
.siteorigin-widget-tinymce p > a[href$=".pdf"] strong{font-size:.98rem;font-weight:600;line-height:1.45;color:var(--ink);}
@media (max-width:640px){.siteorigin-widget-tinymce p > a[href$=".pdf"]{padding:12px 13px;gap:11px;}.siteorigin-widget-tinymce p > a[href$=".pdf"]::before{width:38px;height:38px;background-size:19px 19px;}}

/* ===== BILINGUAL CONTENT BLOCKS ===== */
.eqa-th{display:none;}
body[data-lang="th"] .eqa-th{display:block;}
body[data-lang="th"] .eqa-en{display:none;}
body[data-lang="en"] .eqa-en{display:block;}
body[data-lang="en"] .eqa-th{display:none;}

/* ===== CSE ATTRIBUTES TABLE — LABEL COLUMN (TH/EN) ===== */
#cseMain .lp-sec table td:first-child{white-space:nowrap;}
@media (max-width:640px){#cseMain .lp-sec table td:first-child{white-space:normal;}}

/* ===== STANDARD COVER IMAGE ON CERTIFICATION PAGES ===== */
.lp-cse-cover{margin:0 0 30px;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:#fff;box-shadow:var(--shadow-card);}
.lp-cse-cover img{display:block;width:100%;height:auto;}

/* ===== CERTIFICATION APPLICATION FORM (eqa-app) ===== */
.eqa-app{margin:44px 0 8px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);box-shadow:var(--shadow-card);overflow:hidden;transition:box-shadow var(--dur-fast) var(--ease),transform var(--dur-fast) var(--ease);}
.eqa-app:not(.is-open):hover{transform:translateY(-2px);box-shadow:var(--shadow-card-hover);}
.eqa-app-toggle{display:flex;align-items:center;gap:18px;width:100%;text-align:left;padding:22px 26px 22px 28px;background:var(--blueprint);color:var(--white);border:0;cursor:pointer;position:relative;font-family:var(--font-body);transition:background var(--dur-fast) var(--ease);}
.eqa-app-toggle::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--seal-gold-hi),var(--seal-gold));}
.eqa-app-toggle-ic{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:15px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);color:var(--seal-gold-hi);}
.eqa-app-toggle-ic svg{width:26px;height:26px;}
.eqa-app-toggle-tx{flex:1 1 auto;min-width:0;}
.eqa-app-toggle-cta{flex:0 0 auto;display:inline-flex;align-items:center;gap:11px;padding:13px 22px;border-radius:999px;background:var(--seal-gold);color:#14213D;font-family:var(--font-display);font-size:15px;font-weight:700;white-space:nowrap;box-shadow:0 8px 20px -10px rgba(200,155,60,.95);transition:background var(--dur-fast) var(--ease),transform var(--dur-fast) var(--ease);}
.eqa-app-toggle:hover .eqa-app-toggle-cta{background:var(--seal-gold-hi);transform:translateY(-1px);}
.eqa-app-toggle:hover{background:var(--blueprint-2);}
.eqa-app-toggle-t{display:block;font-family:var(--font-display);font-size:20px;font-weight:700;line-height:1.35;}
.eqa-app-toggle-t i{font-style:normal;font-weight:400;opacity:.7;font-size:14px;white-space:nowrap;}
.eqa-app-toggle-s{display:block;margin-top:7px;font-size:15px;line-height:1.6;color:rgba(255,255,255,.72);}
.eqa-app-caret{flex:0 0 auto;width:10px;height:10px;margin-top:-4px;border-right:2.4px solid currentColor;border-bottom:2.4px solid currentColor;transform:rotate(45deg);transition:transform var(--dur-fast) var(--ease);}
.eqa-app.is-open .eqa-app-caret{transform:rotate(-135deg);margin-top:3px;}
.eqa-app-body{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;padding:30px;background:var(--paper);}
.eqa-app-body[hidden]{display:none;}
.eqa-app-lead{grid-column:1/-1;margin:0;font-size:15px;line-height:1.7;color:var(--ink-soft);}
.eqa-app-lead b{color:#B3261E;}
.eqa-app-g{grid-column:1/-1;margin:14px 0 -4px;padding-bottom:9px;border-bottom:2px solid var(--line);font-family:var(--font-display);font-size:18px;font-weight:700;color:var(--blueprint);}
.eqa-app-g span{font-weight:400;font-size:14px;color:var(--ink-soft);}
.eqa-app-f{display:block;min-width:0;}
.eqa-app-f.w2{grid-column:1/-1;}
.eqa-app-f>span:first-child{display:block;margin-bottom:6px;font-size:14px;line-height:1.5;font-weight:600;color:var(--ink);}
.eqa-app-f>span:first-child i{font-style:normal;font-weight:400;color:var(--ink-soft);}
.eqa-app-f>span:first-child b{color:#B3261E;}
.eqa-app input[type="text"],.eqa-app input[type="email"],.eqa-app input[type="number"],.eqa-app input[type="month"],.eqa-app textarea{width:100%;box-sizing:border-box;padding:11px 13px;font-family:var(--font-body);font-size:15px;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:var(--radius-sm);transition:border-color var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease);}
.eqa-app input:focus,.eqa-app textarea:focus{outline:0;border-color:var(--blueprint);box-shadow:0 0 0 3px rgba(20,33,61,.10);}
.eqa-app textarea{resize:vertical;min-height:62px;line-height:1.6;}
.eqa-app input.bad,.eqa-app textarea.bad{border-color:#B3261E;background:#FDF6F5;}
.eqa-app-tax{display:flex;gap:10px;}
.eqa-app-tax input{font-family:var(--font-mono);letter-spacing:1px;}
.eqa-app-look{flex:0 0 auto;padding:0 20px;font-family:var(--font-body);font-size:14px;font-weight:600;color:var(--white);background:var(--blueprint);border:0;border-radius:var(--radius-sm);cursor:pointer;transition:background var(--dur-fast) var(--ease);}
.eqa-app-look:hover{background:var(--blueprint-2);}
.eqa-app-hint{display:block;margin-top:6px;margin-bottom:0;font-size:13.5px;font-weight:400;line-height:1.5;color:var(--ink-soft);min-height:1px;}
.eqa-app-hint.ok{color:var(--verified);}
.eqa-app-hint.bad{color:#B3261E;}
.eqa-app-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.eqa-app-consent{grid-column:1/-1;display:flex;gap:11px;align-items:flex-start;margin-top:8px;font-size:14px;line-height:1.65;color:var(--ink-soft);}
.eqa-app-consent input{flex:0 0 auto;margin-top:3px;width:17px;height:17px;accent-color:var(--blueprint);}
.eqa-app-act{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:6px;}
.eqa-app-send{padding:14px 34px;font-family:var(--font-display);font-size:16px;font-weight:700;color:var(--white);background:var(--blueprint);border:0;border-radius:var(--radius-sm);cursor:pointer;transition:background var(--dur-fast) var(--ease);}
.eqa-app-send:hover{background:var(--blueprint-2);}
.eqa-app-send:disabled{opacity:.55;cursor:default;}
.eqa-app-msg{font-size:14.5px;line-height:1.6;color:var(--ink-soft);}
.eqa-app-msg.bad{color:#B3261E;}
.eqa-app-done{grid-column:1/-1;margin:0;padding:26px 24px;text-align:center;font-size:17px;line-height:1.7;color:var(--verified);background:var(--verified-soft);border-radius:var(--radius-md);}
@media (max-width:640px){
.eqa-app-body{grid-template-columns:1fr;padding:22px 18px;}
.eqa-app-toggle{flex-wrap:wrap;gap:14px;padding:20px 18px 20px 20px;}
.eqa-app-toggle-ic{width:44px;height:44px;border-radius:12px;}
.eqa-app-toggle-ic svg{width:22px;height:22px;}
.eqa-app-toggle-tx{flex:1 1 calc(100% - 58px);}
.eqa-app-toggle-cta{flex:1 1 100%;justify-content:center;padding:12px 0;}
.eqa-app-toggle-t{font-size:17.5px;}
.eqa-app-tax{flex-wrap:wrap;}
.eqa-app-look{width:100%;padding:12px 0;}
}

/* ===== ISO 27001 ADDITIONAL INFORMATION — RADIO GROUPS ===== */
.eqa-app-note{grid-column:1/-1;margin:-2px 0 0;font-size:14px;line-height:1.7;color:var(--ink-soft);}
.eqa-app-g2{grid-column:1/-1;margin:14px 0 -4px;font-family:var(--font-display);font-size:16px;font-weight:700;line-height:1.5;color:var(--blueprint);}
.eqa-app-g2 span{font-weight:400;font-size:13.5px;color:var(--ink-soft);}
.eqa-app-rg{grid-column:1/-1;min-width:0;margin:0;padding:14px 18px 16px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--white);}
.eqa-app-rg.bad{border-color:#B3261E;background:#FDF6F5;}
.eqa-app-rg legend{padding:0 6px;font-size:14px;font-weight:600;line-height:1.5;color:var(--ink);}
.eqa-app-rg legend i{font-style:normal;font-weight:400;color:var(--ink-soft);}
.eqa-app-rg legend b{color:#B3261E;}
.eqa-app-ro{display:flex;gap:11px;align-items:flex-start;padding:7px 0;font-size:14px;line-height:1.65;color:var(--ink);cursor:pointer;}
.eqa-app-ro+.eqa-app-ro{border-top:1px solid var(--paper-alt);}
.eqa-app-ro input[type="radio"]{flex:0 0 auto;margin-top:4px;width:17px;height:17px;accent-color:var(--blueprint);cursor:pointer;}
.eqa-app-ro i{font-style:normal;color:var(--ink-soft);}
.eqa-app-ro:hover span{color:var(--blueprint);}
@media (max-width:640px){.eqa-app-rg{padding:12px 13px 14px;}}

/* ===== COURSE FINDER BAND (training-courses hero) ===== */
.lp-finder-box{display:block;max-width:760px;margin:-6px auto 40px;padding:22px 26px 18px;text-align:center;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);}
.lp-finder-lab{margin:0 0 15px;font-family:var(--font-display);font-size:21px;font-weight:700;line-height:1.4;color:var(--blueprint);}
.lp-finder-row{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 17px;background:var(--paper);border:1px solid var(--line);border-radius:999px;transition:border-color var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease);}
.lp-finder-row:focus-within{background:var(--white);border-color:var(--blueprint);box-shadow:0 0 0 3px rgba(20,33,61,.10);}
.lp-finder-ico{flex:0 0 auto;display:flex;align-items:center;color:var(--ink-soft);}
.lp-finder-ico svg{width:20px;height:20px;}
.lp-finder-input{flex:1 1 auto;min-width:0;padding:12px 0;font-family:var(--font-body);font-size:16px;color:var(--ink);background:transparent;border:0;outline:0;box-shadow:none;}
.lp-finder-input::placeholder{color:var(--ink-soft);opacity:.9;}
.lp-finder-input::-webkit-search-cancel-button{cursor:pointer;}
.lp-finder-btn{flex:0 0 auto;padding:12px 30px;border-radius:999px;}
.lp-finder-all{display:inline-block;margin-top:15px;font-size:15px;font-weight:600;color:var(--blueprint);text-decoration:none;border-bottom:1px solid rgba(20,33,61,.25);transition:color var(--dur-fast) var(--ease),border-color var(--dur-fast) var(--ease);}
.lp-finder-all:hover{color:var(--seal-gold);border-bottom-color:var(--seal-gold);}
@media (max-width:640px){
.lp-finder-box{margin:0 auto 28px;padding:18px 14px 16px;}
.lp-finder-lab{font-size:18px;}
.lp-finder-row{flex-wrap:wrap;gap:8px;padding:10px 14px 12px;border-radius:var(--radius-md);}
.lp-finder-input{font-size:15px;padding:8px 0;}
.lp-finder-btn{flex:1 1 100%;padding:12px 0;border-radius:var(--radius-sm);}
}
