/* =============================================================
   LearnHub — dark LMS theme
   Design tokens mirrored from the LearnHub reference design
   ============================================================= */

:root {
  /* ===========================================================
     CANONICAL BRAND TOKENS — change colours here, everything
     else (including the canvas FX) derives from these.
     =========================================================== */
  --bg: #0b0f1a;
  --bg-2: #101625;
  --card: #151c2c;
  --primary: #a425fc;
  --primary-dark: #6406f5;
  --secondary: #00d9ff;
  --accent: #ffb84d;
  --text: #f5f7ff;
  --muted: #a8b0c2;
  --border: #273148;

  /* rgb channel triplets — needed for rgba() and the canvas engine */
  --primary-rgb: 164, 37, 252;
  --primary-dark-rgb: 100, 6, 245;
  --secondary-rgb: 0, 217, 255;
  --accent-rgb: 255, 184, 77;
  --muted-rgb: 168, 176, 194;
  --bg-rgb: 11, 15, 26;
  --bg-2-rgb: 16, 22, 37;
  --card-rgb: 21, 28, 44;
  /* neutral used for every translucent surface, border and hairline.
     Light theme flips it to ink so the same alphas still read. */
  --surface-rgb: 168, 176, 194;

  /* premium easing used across UI + decorative motion */
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);

  /* base */
  --color-white: var(--text);
  --color-body: rgba(var(--surface-rgb), 0.7);
  --color-card-bg: rgba(var(--surface-rgb), 0.1);

  /* primary */
  --color-primary-100: var(--primary);
  --color-primary-200: #a425fc;
  --color-primary-300: #a425fc;
  --color-primary-400: #273148;
  --color-primary-500: #273148;
  --color-primary-600: #273148;
  --color-primary-700: #a425fc;

  /* secondary */
  --color-secondary-100: var(--text);
  --color-secondary-200: #a8b0c2;
  --color-secondary-400: #a8b0c2;
  --color-secondary-700: var(--muted);

  /* dark */
  --color-dark-100: var(--bg);
  --color-dark-200: #101625;
  --color-dark-300: var(--bg-2);
  --color-dark-400: var(--card);
  --color-dark-600: #151c2c;

  /* accents */
  --color-basic-100: var(--primary-dark);
  --color-warning: var(--accent);
  --color-error-100: var(--primary);
  --color-success-100: var(--secondary);
  --color-info-100: var(--secondary);

  --primary-border: #151c2c;
  --primary-border-2: var(--border);

  /* gradients — the canonical brand ramp: cyan -> blue -> violet -> magenta */
  --primary-gradient: linear-gradient(
    135deg,
    #00d9ff 0%,
    #0066ff 38%,
    #6406f5 72%,
    #e83afc 100%
  );
  --grad-text: linear-gradient(90deg, #00d9ff, #0066ff, #a425fc, #e83afc);

  --grad-100: var(--primary-gradient);
  --grad-200: linear-gradient(135deg, #00d9ff 0%, #a425fc 100%);
  --grad-400: linear-gradient(
    135deg,
    rgba(164, 37, 252, 0.16) 0%,
    rgba(100, 6, 245, 0.16) 100%
  );
  --grad-500: var(--grad-text);
  --grad-btn: linear-gradient(135deg, #0066ff 0%, #6406f5 50%, #e83afc 100%);
  --grad-btn-soft: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.78) 0%,
    rgba(100, 6, 245, 0.78) 50%,
    rgba(232, 58, 252, 0.78) 100%
  );
  --grad-800: linear-gradient(180deg, #151c2c 0%, #273148 100%);
  --default-gradient-2: linear-gradient(170deg, #151c2c 6.13%, #101625 89%);

  /* shadows */
  --shadow-1: 0 9px 46px 0 rgba(100, 6, 245, 0.2);
  --shadow-2: 0 14px 102px 0 rgba(100, 6, 245, 0.2);
  --shadow-4: 0 15px 26px 0 rgba(var(--card-rgb), 0.6);
  --shadow-btn: 0 24px 45.7px 0 rgba(164, 37, 252, 0.28);

  /* radii + motion */
  --radius: 8px;
  --radius-10: 10px;
  --radius-big: 12px;
  --radius-15: 15px;
  --transition: 0.3s;
  --transition-4: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* type */
  /* E-ACADEMY CHANGE — Lexend, the new design's face, with DM Sans kept as the
     first fallback rather than dropped. The two are close in metrics, so a
     section still naming DM Sans (ea-site.css does) sits beside a Lexend one
     without the baseline shifting. Both are self-hosted under
     public/assets/site/fonts/; the CDN the design used is blocked by CSP. */
  --font-primary:
    "Lexend", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semiBold: 600;
  --fw-bold: 700;
  --fw-black: 900;
  --h1: 96px;
  --h2: 48px;
  --h3: 34px;
  --h4: 24px;
  --h5: 20px;
  /* E-ACADEMY CHANGE — both values are the new design's. --container went
     1290px -> 1320px with it, which widens every section on every page by
     15px a side; --container-wide is new, and the EDUCO block appended at the
     end of this file REFERENCES IT, so leaving it out left the topbar, header,
     banner and stats strip resolving var(--container-wide) to nothing and
     falling back to full width. */
  --container: 1320px;
  /* the topbar, header, banner and its stats strip stay wide */
  --container-wide: 1620px;
}

/* =============================================================
   LIGHT THEME
   Only tokens are redeclared here — every rule in the sheet
   already reads through them, so no selector is duplicated.

   E-ACADEMY CHANGE — selector is [data-scheme="light"], not
   [data-theme="light"]. `data-theme` on <html> belongs to the application
   and holds the academy's palette name; see the long note at the top of
   learnhub.js. Do not rename these back.
   ============================================================= */
:root[data-scheme="light"] {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --primary: #6406f5;
  --primary-dark: #4a04b8;
  --secondary: #0091c7;
  --accent: #c97a12;
  --text: #0f1626;
  --muted: #5a6478;
  --border: #e2e6f0;

  --primary-rgb: 100, 6, 245;
  --primary-dark-rgb: 74, 4, 184;
  --secondary-rgb: 0, 145, 199;
  --accent-rgb: 201, 122, 18;
  --muted-rgb: 90, 100, 120;
  --bg-rgb: 246, 247, 251;
  --bg-2-rgb: 255, 255, 255;
  --card-rgb: 255, 255, 255;
  /* the neutral flips from light-on-dark to ink-on-white, which is what
     lets all 61 translucent surfaces keep working at the same alphas */
  --surface-rgb: 22, 30, 52;

  --color-secondary-200: #5a6478;
  --color-secondary-400: #5a6478;
  --color-primary-200: #6406f5;
  --color-primary-300: #6406f5;
  --color-primary-400: #e2e6f0;
  --color-primary-500: #e2e6f0;
  --color-primary-600: #e2e6f0;
  --color-primary-700: #6406f5;
  --color-dark-200: #ffffff;
  --color-dark-600: #ffffff;
  --primary-border: #e2e6f0;

  --grad-400: linear-gradient(
    135deg,
    rgba(100, 6, 245, 0.1) 0%,
    rgba(74, 4, 184, 0.1) 100%
  );
  /* deeper stops so the ramp still reads as text on a white ground */
  --grad-text: linear-gradient(90deg, #0091c7, #0066ff, #6406f5, #c21be0);
  --grad-500: var(--grad-text);
  --grad-800: linear-gradient(180deg, #ffffff 0%, #edf0f7 100%);
  --default-gradient-2: linear-gradient(170deg, #ffffff 6.13%, #f2f4fa 89%);

  --shadow-1: 0 9px 34px 0 rgba(100, 6, 245, 0.14);
  --shadow-2: 0 14px 60px 0 rgba(22, 30, 52, 0.12);
  --shadow-4: 0 12px 26px 0 rgba(22, 30, 52, 0.1);
  --shadow-btn: 0 18px 36px 0 rgba(100, 6, 245, 0.24);
}

/* E-ACADEMY CHANGE — from here down, the shipped violet/cyan literals
   (#a425fc, #6406f5, #00d9ff, #ffb84d and their rgba() forms) have been
   replaced with the tokens they were copies of: var(--primary),
   var(--primary-dark), var(--secondary), var(--accent) and the matching
   *-rgb triplets. Nothing about the design changed — the tokens still hold
   exactly those values by default — but the academy's own palette can now
   reach every hover border, glow and placeholder gradient instead of only
   the handful of rules that already read through a token.
   The palette is written into those tokens by app/Helpers/sitetheme_helper.php.
   Please keep new rules reading tokens rather than literals. */

/* the few places a rule assumes a dark ground rather than a token */
:root[data-scheme="light"] .eac-header.is-stuck {
  box-shadow: 0 12px 40px rgba(22, 30, 52, 0.1);
}
:root[data-scheme="light"] .eac-glow {
  opacity: 0.3;
}
:root[data-scheme="light"] .eac-bg-shapes {
  opacity: 0.55;
}
:root[data-scheme="light"] .nl-arc::before {
  opacity: 0.55;
}
:root[data-scheme="light"] .nl-arc-spin {
  opacity: 0.2;
}
:root[data-scheme="light"] .nl-arc-2::before {
  opacity: 0.4;
}
:root[data-scheme="light"] .nl-arc-2 .nl-arc-spin {
  opacity: 0.14;
}
:root[data-scheme="light"] .eac-section::after {
  box-shadow: 0 0 20px 1px rgba(var(--primary-dark-rgb), 0.18);
}
:root[data-scheme="light"] .eac-card-2.card-angle {
  box-shadow: 0 22px 44px -28px rgba(22, 30, 52, 0.45);
}
/* anything printed over a brand gradient stays white in both themes */
:root[data-scheme="light"] .eac-card-ov .nm {
  color: #fff;
}
:root[data-scheme="light"] .eac-card-ov .rl {
  color: rgba(255, 255, 255, 0.85);
}
:root[data-scheme="light"] .eac-btn-play .pp {
  border-color: rgba(22, 30, 52, 0.16);
}
:root[data-scheme="light"] .eac-btn-play .pp::after {
  border-color: rgba(var(--primary-dark-rgb), 0.35);
}

/* theme toggle */
.eac-theme-btn .ic {
  transition:
    opacity 0.28s var(--ease-premium),
    transform 0.4s var(--ease-premium);
}
.eac-theme-btn .ic-moon {
  position: absolute;
}
.eac-theme-btn .ic-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
:root[data-scheme="light"] .eac-theme-btn .ic-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
:root[data-scheme="light"] .eac-theme-btn .ic-sun {
  opacity: 1;
  transform: none;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-body);
  background: var(--color-dark-100);
  /* clip (not hidden) so the sticky header keeps working */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--color-secondary-100);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}
input {
  font-family: inherit;
}

/* Browser autofill --------------------------------------------------------
 * Chromium paints a pale slab behind a field the browser filled in, and it
 * paints it ABOVE the element's own background: background-clip, a stalled
 * background-color transition and !important all leave it on screen. An inset
 * box-shadow is drawn later still, which is why that is the override — each
 * autofilled field simply repaints the colour its wrapper was already showing.
 *
 * The repaint has to be OPAQUE, since a translucent inset would let the slab
 * through, and every field here is a transparent input tinting an opaque panel
 * rather than painting one. So color-mix flattens "tint over panel" back into
 * the one colour the eye was already seeing, carried on --autofill-fill, which
 * falls back to the panel colour for the fields that add no tint of their own.
 *
 * The text colour has to travel through -webkit-text-fill-color: Chrome sets
 * `color` on an autofilled field with !important, so neither a plain `color`
 * declaration nor currentColor can be trusted to survive here. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 1000px var(--autofill-fill, var(--card));
  box-shadow: inset 0 0 0 1000px var(--autofill-fill, var(--card));
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}

/* Firefox tints with a filter instead of a background and leaves `color`
 * alone, so it needs the tint removed and nothing else. Its own rule, because
 * an engine that does not know one of the two selectors would drop the whole
 * list — and neither engine knows both. */
input:autofill,
textarea:autofill,
select:autofill {
  filter: none;
}

/* The fields that tint a panel rather than painting one, flattened. The
 * sign-in dialog also lightens on focus, and an autofilled field is very often
 * the focused one, so that state needs its own value or the field would freeze
 * at the resting colour while the wrapper around it moved on. The newsletter
 * box and the review form add no tint at all — the fallback above is already
 * the colour they sit on. */
.au-input {
  --autofill-fill: color-mix(in srgb, rgb(var(--surface-rgb)) 6%, var(--card));
}
.au-input:focus-within {
  --autofill-fill: color-mix(in srgb, rgb(var(--surface-rgb)) 10%, var(--card));
}
.eac-field input,
.eac-field textarea,
.eac-field select {
  --autofill-fill: color-mix(in srgb, rgb(var(--surface-rgb)) 6%, var(--card));
}
.search-form {
  --autofill-fill: var(--color-dark-300);
}

/* The dialog's inputs run flush into the wrapper's rounded corners. Their own
 * corners are square, and an inset shadow follows the element it is drawn on,
 * so without this the repaint pushes a square nub past the curve. */
.au-input input:-webkit-autofill {
  border-radius: inherit;
}

.eac-sprite {
  display: none;
}
.ic {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: none;
  vertical-align: -0.125em;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.eac-center {
  text-align: center;
}
.mt-50 {
  margin-top: 50px;
}

/* selection + scrollbar */
::selection {
  background: rgba(var(--primary-dark-rgb), 0.35);
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark-100);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-500);
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-300);
}

/* =============================================================
   TEXT / GRADIENT HELPERS
   ============================================================= */
.eac-gradient-500 {
  background: var(--grad-500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-ic {
  color: var(--color-basic-100);
}

/* character-reveal animation (SplitText-equivalent) */
.eac-text-animation {
  visibility: hidden;
}
.eac-text-animation.is-split {
  visibility: visible;
}
.eac-text-animation .reveal-parent {
  display: block;
  overflow: hidden;
}
.eac-text-animation .word {
  display: inline-block;
  white-space: nowrap;
}
.eac-text-animation .reveal-child {
  display: inline-block;
  opacity: 0;
  transform: translateY(10%);
  will-change: transform, opacity;
}
.eac-text-animation.is-in .reveal-child {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

/* generic scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .eac-text-animation {
    visibility: visible;
  }
  .eac-text-animation .reveal-child {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================
   PRELOADER
   ============================================================= */
.eac-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--color-dark-100);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.eac-preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.eac-loader {
  display: flex;
  gap: 10px;
}
.eac-loader span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad-btn);
  animation: eacBounce 1s infinite ease-in-out;
}
.eac-loader span:nth-child(2) {
  animation-delay: 0.15s;
}
.eac-loader span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes eacBounce {
  0%,
  80%,
  100% {
    transform: scale(0.5);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =============================================================
   GLOWS + SHAPES
   ============================================================= */
.eac-glow {
  position: absolute !important;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow-a {
  top: -40px;
  left: 2%;
  width: 380px;
  height: 380px;
  filter: blur(220px);
  background: var(--grad-100);
  opacity: 0.55;
}
.glow-b {
  top: 140px;
  right: 3%;
  width: 360px;
  height: 360px;
  filter: blur(220px);
  background: var(--grad-100);
  opacity: 0.5;
}
.glow-c {
  top: 20%;
  left: -100px;
  width: 380px;
  height: 380px;
  filter: blur(220px);
  background: linear-gradient(120deg, var(--primary-dark), var(--secondary));
  opacity: 0.35;
}
.glow-d {
  bottom: -40px;
  left: -30px;
  width: 260px;
  height: 260px;
  filter: blur(170px);
  background: var(--grad-100);
  opacity: 0.55;
}
.glow-e {
  top: -80px;
  right: -40px;
  width: 320px;
  height: 320px;
  filter: blur(190px);
  background: var(--grad-100);
  opacity: 0.5;
}
.glow-f {
  top: 10%;
  right: -120px;
  width: 360px;
  height: 360px;
  filter: blur(210px);
  background: linear-gradient(120deg, var(--primary-dark), var(--secondary));
  opacity: 0.3;
}
.glow-g {
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  filter: blur(180px);
  background: var(--grad-100);
  opacity: 0.45;
}

/* =============================================================
   TOPBAR
   ============================================================= */
.eac-topbar {
  background: linear-gradient(
    90deg,
    rgba(var(--secondary-rgb), 0.12),
    rgba(var(--primary-rgb), 0.14),
    rgba(var(--primary-dark-rgb), 0.12)
  );
  border-bottom: 1px solid rgba(var(--surface-rgb), 0.08);
  font-size: 14px;
  position: relative;
  z-index: 60;
}
.eac-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}
.tb-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary-200);
}
.tb-note .ic {
  font-size: 14px;
  color: var(--color-warning);
}
.tb-note b {
  color: var(--color-white);
}
.eac-topbar-links {
  display: flex;
  gap: 26px;
}
.eac-topbar-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-body);
  transition: color var(--transition);
}
.eac-topbar-links a:hover {
  color: var(--color-error-100);
}
.eac-topbar-links .ic {
  font-size: 15px;
}

/* =============================================================
   HEADER / NAV
   ============================================================= */
.eac-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--bg-rgb), 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(var(--surface-rgb), 0.07);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}
.eac-header.is-stuck {
  background: rgba(var(--bg-rgb), 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.eac-nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
}

.eac-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
/* the brand lockup ships as artwork — one file per ground, swapped on
   the theme attribute so neither ever loads as the wrong colourway */
.eac-logo-img {
  display: block;
  width: auto;
  height: 46px;
}
.eac-logo-img--light {
  display: none;
}
:root[data-scheme="light"] .eac-logo-img--dark {
  display: none;
}
:root[data-scheme="light"] .eac-logo-img--light {
  display: block;
}

.eac-logo-text {
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--color-secondary-100);
  letter-spacing: -0.4px;
}
.eac-logo-text .grad {
  background: var(--grad-500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eac-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.eac-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.eac-menu > li {
  position: relative;
}
.eac-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--color-secondary-200);
  transition:
    color var(--transition),
    background var(--transition);
}
.eac-menu > li > a:hover {
  color: var(--color-white);
  background: rgba(var(--surface-rgb), 0.07);
}
.eac-menu .caret {
  font-size: 13px;
  opacity: 0.7;
  transition: transform var(--transition);
}
.eac-menu > li.has-drop:hover .caret {
  transform: rotate(180deg);
}

.eac-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 215px;
  background: var(--color-dark-400);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
  border-radius: var(--radius-big);
  padding: 10px;
  box-shadow: var(--shadow-4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}
.eac-menu > li.has-drop:hover .eac-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.eac-drop::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.eac-drop a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--color-body);
  transition: var(--transition-4);
}
.eac-drop a:hover {
  background: var(--grad-400);
  color: var(--color-white);
  transform: translateX(4px);
}

.eac-nav-cta {
  display: none;
}
.eac-btn-ghost {
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: var(--fw-medium);
  border: 1px solid rgba(var(--surface-rgb), 0.18);
  color: var(--color-secondary-100);
  transition: var(--transition-4);
}
.eac-btn-ghost:hover {
  border-color: var(--color-basic-100);
  color: #fff;
}

.eac-nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.eac-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
  transition: var(--transition-4);
}
.eac-icon-btn:hover {
  background: var(--grad-400);
  border-color: rgba(var(--primary-dark-rgb), 0.5);
  color: #fff;
  transform: translateY(-2px);
}
.eac-burger {
  display: none;
}
.eac-nav-close {
  display: none;
}
.eac-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(var(--bg-rgb), 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
}
.eac-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
/* The drawer is a child of the sticky header, so its z-index only ranks
   inside the header's stacking context — on its own the overlay (70)
   paints over the whole header and veils the drawer along with the page.
   While the menu is open the header has to out-rank the overlay. */
body.nav-open .eac-header {
  z-index: 90;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.eac-btn-primary {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 19px 45px;
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: #fff;
  background: var(--grad-btn-soft);
  white-space: nowrap;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.eac-btn-primary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 3px);
  border-radius: var(--radius);
  background: var(--grad-btn);
}
.eac-btn-primary .btn-text-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 30px;
  overflow: hidden;
  transform: translateY(-2px);
}
.eac-btn-primary .btn-text {
  flex: none;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.eac-btn-primary:hover .btn-text {
  transform: translate3d(0, -100%, 0);
}
.eac-btn-primary:hover {
  transform: translateY(-3px);
}
.eac-btn-primary.has-shadow {
  box-shadow: var(--shadow-btn);
}
.eac-btn-primary.btn-sm {
  padding: 12px 24px;
  font-size: 16px;
}
.eac-btn-primary.btn-sm .btn-text-wrap {
  height: 24px;
  transform: translateY(-1px);
}
.search-form  .eac-btn-primary.btn-sm {
  border-radius:50px;
}
.eac-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: var(--fw-medium);
  color: var(--color-secondary-100);
  transition: color var(--transition);
}
.eac-btn-play .pp {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--text);
  background: rgba(var(--surface-rgb), 0.08);
  border: 1px solid rgba(var(--surface-rgb), 0.18);
  transition: var(--transition-4);
  position: relative;
}
.eac-btn-play .pp::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-dark-rgb), 0.5);
  animation: eacPulse 2.4s infinite;
}
@keyframes eacPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.eac-btn-play:hover .pp {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
}
.eac-btn-play:hover {
  color: #fff;
}

/* badge */
.eac-badge-gradient {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: var(--fw-medium);
  background: rgba(var(--surface-rgb), 0.05);
}
.eac-badge-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 100px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(var(--secondary-rgb), 0.55) 0%,
    rgba(var(--primary-rgb), 0.6) 50%,
    rgba(var(--primary-dark-rgb), 0.55) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* =============================================================
   HERO
   ============================================================= */
.eac-hero {
  position: relative;
  padding-top: 104px;
  padding-bottom: 0;
  overflow: hidden;
}
.eac-hero-in {
  position: relative;
  z-index: 2;
  text-align: center;
}
/* the badge reads as a separate eyebrow, not as part of the headline */
.eac-hero-in > .eac-badge-gradient {
  margin-bottom: 22px;
}
/* capped so the two lines clear the cube and the progress chip on either
   side — the decorative layer frames the headline instead of touching it */
.eac-hero-title {
  font-size: clamp(40px, 5.4vw, 76px);
  max-width: 900px;
  margin-inline: auto;
  line-height: 1.1;
  letter-spacing: -1.6px;
  padding-top: 0;
  font-weight: var(--fw-bold);
  color: var(--color-secondary-100);
}
/* secondary to the headline: narrower measure, calmer weight and colour */
.eac-hero-disc {
  max-width: 520px;
  margin: 24px auto 44px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--muted);
}
.eac-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
/* both actions share one 58px optical height so they sit on a common line */
.eac-hero-actions .eac-btn-primary {
  padding: 14px 40px;
  font-size: 18px;
}
.eac-hero-actions .eac-btn-primary .btn-text-wrap {
  height: 30px;
}
.eac-hero-actions .eac-btn-play {
  font-size: 17px;
  gap: 12px;
}
.eac-hero-actions .eac-btn-play .pp {
  width: 50px;
  height: 50px;
  font-size: 15px;
}
.eac-gradient-line {
  height: 1px;
  margin-top: 64px;
  background: linear-gradient(
    90deg,
    rgba(var(--secondary-rgb), 0) 0%,
    rgba(var(--secondary-rgb), 0.45) 25%,
    rgba(var(--primary-rgb), 0.75) 50%,
    rgba(var(--primary-dark-rgb), 0.45) 75%,
    rgba(var(--primary-dark-rgb), 0) 100%
  );
}
.eac-cube {
  position: absolute;
  top: 9%;
  right: 4%;
  width: 158px;
  z-index: 1;
  opacity: 0.8;
  animation: eacFloat 7s ease-in-out infinite;
}
.eac-cube svg {
  width: 100%;
  height: auto;
}
@keyframes eacFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-26px) rotate(6deg);
  }
}

/* marquee */
/* a single tilted plane so the deck reads as one dashboard rising from below,
   not as a row of individually-angled cards */
.eac-marquee-area {
  position: relative;
  z-index: 2;
  margin-top: 58px;
  padding: 34px 0 0;
  perspective: 1500px;
  perspective-origin: 50% 0%;
}
.eac-marquee {
  position: relative;
  overflow: hidden;
  height: 246px;
  transform: rotateX(9deg);
  transform-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
/* the deck sinks back into the page rather than being cut off */
.eac-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 104px;
  background: linear-gradient(
    180deg,
    rgba(var(--bg-rgb), 0) 0%,
    rgba(var(--bg-rgb), 0.34) 66%,
    rgba(var(--bg-rgb), 0.9) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* hero-only card proportions: the deck is a supporting element, so the
   tile is shorter and the label sits clear of the clipped bottom edge */
.eac-marquee .eac-card-2 {
  min-height: 0;
}
.eac-marquee .eac-card-thumb {
  height: 264px;
}
.eac-marquee .eac-card-thumb b {
  font-size: 52px;
}
.eac-marquee .eac-card-ov {
  bottom: 62px;
}
.eac-marquee-track {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  width: max-content;
  will-change: transform;
  padding: 25px 0 0;
}
.eac-marquee.is-paused .eac-marquee-track {
  animation-play-state: paused;
}

.eac-card-2 {
  position: relative;
  display: block;
  overflow: hidden;
  flex: none;
  width: 290px;
  min-height: 345px;
  padding: 10px;
  border-radius: var(--radius-15);
  background: rgba(var(--surface-rgb), 0.1);
  border: 2px solid rgba(var(--surface-rgb), 0.15);
  transition: var(--transition-4);
}
.eac-card-2:hover {
  border-color: rgba(var(--primary-dark-rgb), 0.5);
  transform: translateY(-6px);
}

/* ---- angled banner cards (reference: rotateZ ±10deg alternating) ---- */
.eac-card-2.card-angle {
  --tilt: -2.5deg;
  transform: rotate(var(--tilt));
  transition:
    transform 0.55s var(--ease-out),
    border-color var(--transition);
}
.eac-card-2.card-angle {
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.9);
}
.eac-card-2.card-angle:hover {
  transform: rotate(var(--tilt)) translateY(-14px) scale(1.03);
  border-color: rgba(var(--primary-dark-rgb), 0.6);
  box-shadow: var(--shadow-2);
  z-index: 4;
}
.eac-card-thumb {
  position: relative;
  display: grid;
  place-items: center;
  height: 325px;
  border-radius: var(--radius-big);
  overflow: hidden;
}
.eac-card-thumb b {
  font-size: 64px;
  font-weight: var(--fw-black);
  color: rgba(255, 255, 255, 0.28);
}
.eac-card-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.78) 100%
  );
}
.eac-card-ov {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: block;
}
.eac-card-ov .nm {
  display: block;
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--color-secondary-100);
}
.eac-card-ov .rl {
  display: block;
  font-size: 14px;
  color: rgba(var(--surface-rgb), 0.8);
  margin-bottom: 8px;
}
.eac-card-ov .tg {
  display: flex;
  gap: 8px;
}
.eac-card-ov .tg i {
  font-style: normal;
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* gradient placeholder tiles */
.ph-1 .eac-card-thumb,
.ph-1.cs-thumb,
.ph-1.tm-thumb,
.ph-1.pt-thumb,
.ph-1.ev-thumb,
.ph-1.ab-shot,
.ph-1.tst-shot,
.ph-1.ps-card {
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
}
.ph-2 .eac-card-thumb,
.ph-2.cs-thumb,
.ph-2.tm-thumb,
.ph-2.pt-thumb,
.ph-2.ev-thumb,
.ph-2.ab-shot,
.ph-2.tst-shot,
.ph-2.ps-card {
  background: linear-gradient(140deg, var(--primary-dark), var(--secondary));
}
.ph-3 .eac-card-thumb,
.ph-3.cs-thumb,
.ph-3.tm-thumb,
.ph-3.pt-thumb,
.ph-3.ev-thumb,
.ph-3.ab-shot,
.ph-3.tst-shot,
.ph-3.ps-card {
  background: linear-gradient(140deg, var(--primary-dark), var(--primary));
}
.ph-4 .eac-card-thumb,
.ph-4.cs-thumb,
.ph-4.tm-thumb,
.ph-4.pt-thumb,
.ph-4.ev-thumb,
.ph-4.ab-shot,
.ph-4.tst-shot,
.ph-4.ps-card {
  background: linear-gradient(140deg, var(--primary), var(--secondary));
}
.ph-5 .eac-card-thumb,
.ph-5.cs-thumb,
.ph-5.tm-thumb,
.ph-5.pt-thumb,
.ph-5.ev-thumb,
.ph-5.ab-shot,
.ph-5.tst-shot,
.ph-5.ps-card {
  background: linear-gradient(140deg, var(--primary), var(--secondary));
}
.ph-6 .eac-card-thumb,
.ph-6.cs-thumb,
.ph-6.tm-thumb,
.ph-6.pt-thumb,
.ph-6.ev-thumb,
.ph-6.ab-shot,
.ph-6.tst-shot,
.ph-6.ps-card {
  background: linear-gradient(140deg, #273148, var(--primary));
}
.ph-7 .eac-card-thumb,
.ph-7.cs-thumb,
.ph-7.tm-thumb,
.ph-7.pt-thumb,
.ph-7.ev-thumb,
.ph-7.ab-shot,
.ph-7.tst-shot,
.ph-7.ps-card {
  background: linear-gradient(140deg, var(--secondary), var(--secondary));
}
.ph-8 .eac-card-thumb,
.ph-8.cs-thumb,
.ph-8.tm-thumb,
.ph-8.pt-thumb,
.ph-8.ev-thumb,
.ph-8.ab-shot,
.ph-8.tst-shot,
.ph-8.ps-card {
  background: linear-gradient(140deg, var(--primary-dark), var(--primary));
}

/* =============================================================
   SECTION SHELL
   ============================================================= */
.eac-section {
  position: relative;
  padding: 110px 0;
}

/* decorative glows/shapes sit outside the section box on purpose —
   clip horizontally so they never widen the document.
   overflow-x:clip (not hidden) keeps the vertical axis visible. */
.eac-section,
.eac-cta-area,
.eac-footer {
  overflow-x: clip;
}

/* every section ends on a visible gradient rule, so it is always
   obvious where one band stops and the next begins */
.eac-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 40px));
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--primary-rgb), 0.65) 20%,
    rgba(var(--primary-dark-rgb), 0.95) 50%,
    rgba(var(--secondary-rgb), 0.65) 80%,
    transparent 100%
  );
  box-shadow: 0 0 20px 1px rgba(var(--primary-dark-rgb), 0.35);
}
/* the footer draws its own top edge — avoid a double line */
#blog::after {
  display: none;
}

/* alternating band tint so neighbouring sections read as separate.
   kept translucent so the ambient shapes still show through */
body > section:nth-of-type(even) {
  background: rgba(var(--bg-2-rgb), 0.75);
}
.eac-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.eac-title {
  font-size: clamp(30px, 4.4vw, var(--h2));
  line-height: 1.18;
  letter-spacing: -1.2px;
  padding-top: 15px;
}

/* =============================================================
   CATEGORIES
   ============================================================= */
.eac-cate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.eac-cate {
  position: relative;
  overflow: hidden;
  padding: 34px 28px;
  border-radius: var(--radius-15);
  background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.09);
  transition: var(--transition-4);
}
.eac-cate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-400);
  opacity: 0;
  transition: opacity var(--transition);
}
.eac-cate:hover::before {
  opacity: 1;
}
.eac-cate:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-dark-rgb), 0.45);
  box-shadow: var(--shadow-2);
}
.eac-cate > * {
  position: relative;
  z-index: 2;
}
.ci {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 27px;
  color: #fff;
  margin-bottom: 22px;
  transition: var(--transition-4);
}
.eac-cate:hover .ci {
  transform: rotate(-8deg) scale(1.06);
}
.ci-1 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.ci-2 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.ci-3 {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.ci-4 {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.ci-5 {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.ci-6 {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.ci-7 {
  background: linear-gradient(135deg, var(--secondary), var(--secondary));
}
.ci-8 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.eac-cate h3 {
  font-size: 19px;
  margin-bottom: 5px;
  transition: color var(--transition);
}
.eac-cate:hover h3 {
  color: #fff;
}
.eac-cate p {
  font-size: 14px;
  color: var(--color-secondary-700);
}
.eac-cate .go {
  position: absolute;
  right: 24px;
  bottom: 26px;
  font-size: 17px;
  color: var(--color-error-100);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition-4);
}
.eac-cate:hover .go {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================================
   COURSE TABS + GRID
   ============================================================= */
.eac-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}
.eac-tab {
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--color-secondary-200);
  background: rgba(var(--surface-rgb), 0.06);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
  transition: var(--transition-4);
  border-color:#f7dfbe;
  color:#5a6478;
  background:#fff;
}
.eac-tab:hover {
  color: #fff;
  border-color: rgba(var(--primary-dark-rgb), 0.5);
}
.eac-tab.is-active {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-1);
}

.eac-course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.eac-course {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-15);
  background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.09);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s,
    border-color 0.3s,
    opacity 0.35s;
}
.eac-course:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-dark-rgb), 0.45);
  box-shadow: var(--shadow-2);
}
.eac-course.is-hidden {
  display: none;
}
.eac-course.is-filtering {
  opacity: 0;
  transform: scale(0.96);
}
.cs-thumb {
  position: relative;
  height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cs-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--bg-rgb), 0) 40%,
    rgba(var(--bg-rgb), 0.55)
  );
}
.cs-em {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.42);
  position: relative;
  z-index: 2;
  transition: transform 0.5s var(--ease-out);
}
.eac-course:hover .cs-em {
  transform: scale(1.14) rotate(-6deg);
}
.cs-off {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: #fff;
  background: var(--color-error-100);
  box-shadow: var(--shadow-1);
}
.cs-off.free {
  background: var(--color-success-100);
}
.cs-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cs-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.cs-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: #fff;
}
.av-1 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.av-2 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.av-3 {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.av-4 {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.av-5 {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.av-6 {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.av-7 {
  background: linear-gradient(135deg, var(--secondary), var(--secondary));
}
.av-8 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.cs-au {
  font-size: 13px;
  color: var(--color-secondary-200);
}
.cs-tag {
  margin-left: auto;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  background: var(--grad-400);
  color: var(--color-basic-100);
  border: 1px solid rgba(var(--primary-dark-rgb), 0.3);
}
.cs-body h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 11px;
}
.cs-body h3 a {
  background-image: linear-gradient(
    var(--color-error-100),
    var(--color-error-100)
  );
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition:
    background-size 0.4s,
    color 0.3s;
}
.cs-body h3 a:hover {
  color: var(--color-error-100);
  background-size: 100% 1px;
}
.cs-rate {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--color-warning);
  margin-bottom: 13px;
}
.cs-rate .stars {
  display: flex;
  gap: 2px;
  font-size: 13px;
}
.cs-rate i {
  font-style: normal;
  font-weight: var(--fw-regular);
  color: var(--color-secondary-700);
}
.cs-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--color-secondary-700);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--surface-rgb), 0.09);
}
.cs-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  margin-top: auto;
}
.cs-price {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
}
.cs-price del {
  font-size: 14px;
  font-weight: var(--fw-regular);
  color: var(--color-secondary-700);
  margin-right: 5px;
}
.cs-price.free {
  color: var(--color-success-100);
}
.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: var(--fw-semiBold);
  color: var(--color-error-100);
  transition:
    gap var(--transition),
    color var(--transition);
}
.cs-btn:hover {
  gap: 12px;
  color: var(--color-warning);
}

/* =============================================================
   ABOUT
   ============================================================= */
.eac-about {
  position: relative;
  display: grid;
  /* the slider carries the section, so it takes the larger share */
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
  align-items: center;
}
.eac-about-media {
  position: relative;
  padding: 20px 0 30px;
}

/* ---- about: centred 3-up card slider ---- */
/* Grid/flex items default to min-width:auto, which lets a Swiper's
   slide row dictate the column width and blow the layout sideways.
   Pinning min-width:0 + width:100% keeps every track inside its column. */
.eac-about-media,
.eac-about-copy,
.tst-left,
.tst-right {
  min-width: 0;
}
.about-visual-swiper,
.about-content-swiper,
.testimonial-image-swiper,
.testimonial-content-swiper {
  width: 100%;
  max-width: 100%;
}

/* ---- about visual swiper (slide + scale) ---- */
.about-visual-swiper {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 56px 0;
}
.about-visual-swiper .swiper-wrapper {
  align-items: center;
}
.about-visual-swiper.swiper-initialized .swiper-slide {
  height: auto;
  transform: scale(0.66);
  transform-origin: center center;
  z-index: 1;
  filter: brightness(0.82);
  transition:
    transform 0.75s var(--ease-out),
    filter 0.75s var(--ease-out);
}
/* neighbours shrink toward the centre so they tuck under the active card */
.about-visual-swiper.swiper-initialized .swiper-slide-prev {
  transform-origin: right center;
}
.about-visual-swiper.swiper-initialized .swiper-slide-next {
  transform-origin: left center;
}
.about-visual-swiper.swiper-initialized .swiper-slide-active {
  transform: scale(1.1);
  z-index: 3;
  filter: none;
}
.about-nav {
  margin-top: 8px;
}

/* ---- about content swiper (fade + translateY) ---- */
.about-content-swiper {
  overflow: hidden;
}
.about-content-swiper .swiper-slide {
  height: auto;
}
.swiper-initialized .ab-content > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.swiper-slide-active .ab-content > * {
  opacity: 1;
  transform: none;
}
.swiper-slide-active .ab-content > *:nth-child(1) {
  transition-delay: 0.05s;
}
.swiper-slide-active .ab-content > *:nth-child(2) {
  transition-delay: 0.12s;
}
.swiper-slide-active .ab-content > *:nth-child(3) {
  transition-delay: 0.19s;
}
.swiper-slide-active .ab-content > *:nth-child(4) {
  transition-delay: 0.26s;
}
.ab-content .eac-title {
  margin-bottom: 18px;
}
.ab-content .eac-feature-list {
  margin-bottom: 0;
}
.ab-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
}
.ab-arrows {
  display: flex;
  gap: 12px;
}

/* static gradient headline (used inside sliders where per-char split is skipped) */
.eac-grad-text {
  background: var(--grad-500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ab-card {
  padding: 10px;
  border-radius: 20px;
  background: rgba(var(--surface-rgb), 0.1);
  border: 2px solid rgba(var(--surface-rgb), 0.15);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.eac-slide.is-active .ab-card {
  border-color: rgba(var(--primary-dark-rgb), 0.42);
  box-shadow:
    var(--shadow-4),
    0 0 70px rgba(var(--primary-dark-rgb), 0.22);
}
.ab-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: var(--radius-15);
  display: grid;
  place-items: center;
}
.ab-shot b {
  font-size: 66px;
  font-weight: var(--fw-black);
  color: rgba(255, 255, 255, 0.26);
}
.ab-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* play badge — blurred pill, bottom centre */
.eac-ply-badge {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  transform: translateX(-50%);
}
.eac-ply-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.1);
  border: 2px solid rgba(var(--surface-rgb), 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: var(--transition-4);
}
.eac-ply-badge .ic {
  font-size: 11px;
}
.eac-ply-badge:hover span {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
}

/* decorative dot grid + flow lines */
/* scattered multi-colour dot matrix */
.ab-dots {
  position: absolute;
  left: -46px;
  bottom: 6px;
  z-index: 1;
  width: 200px;
  height: 150px;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--primary-dark) 1.7px, transparent 1.8px),
    radial-gradient(circle, var(--primary-dark) 1.7px, transparent 1.8px),
    radial-gradient(circle, var(--secondary) 1.7px, transparent 1.8px),
    radial-gradient(circle, var(--accent) 1.7px, transparent 1.8px),
    radial-gradient(circle, var(--secondary) 1.7px, transparent 1.8px);
  background-size:
    46px 34px,
    46px 34px,
    46px 34px,
    46px 34px,
    46px 34px;
  background-position:
    0 0,
    14px 12px,
    28px 5px,
    7px 24px,
    35px 19px;
  -webkit-mask-image: radial-gradient(75% 85% at 22% 78%, #000, transparent);
  mask-image: radial-gradient(75% 85% at 22% 78%, #000, transparent);
  opacity: 0.85;
}
.ab-lines {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  width: 260px;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}
.eac-about-copy {
  position: relative;
  z-index: 2;
}

.ab-float {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius-big);
  background: var(--color-dark-400);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
  box-shadow: var(--shadow-4);
  animation: eacFloat 6s ease-in-out infinite;
}
.af-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fff;
  background: var(--grad-btn);
}
.af-tx b {
  display: block;
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.1;
}
.af-tx i {
  font-style: normal;
  font-size: 13px;
  color: var(--color-secondary-700);
}
.af-tx b::after {
  content: "+";
}

.eac-about-copy .eac-title {
  margin-bottom: 18px;
}
.eac-lead {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.eac-feature-list {
  display: grid;
  gap: 24px;
  margin-bottom: 38px;
}
.eac-feature-list li {
  display: flex;
  gap: 18px;
}
.fl-ic {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: var(--grad-400);
  border: 1px solid rgba(var(--primary-dark-rgb), 0.35);
  color: var(--color-basic-100);
}
.eac-feature-list h4 {
  font-size: 19px;
  margin-bottom: 5px;
}
.eac-feature-list p {
  font-size: 15px;
}
#counter{
      background-image: url("images/counter-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* =============================================================
   COUNTDOWN CTA
   ============================================================= */
.eac-cta-area {
  padding: 80px 0 80px;
      background-color: #fdf6ee;
    background-image: url("images/timer-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
}

.eac-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  /* padding: 78px 40px; */
  border-radius: 26px;
  /* background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.1); */
  
}
.eac-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 100% at 50% 0%,
    rgba(var(--primary-dark-rgb), 0.16),
    transparent 70%
  );
  pointer-events: none;
}
.eac-cta > * {
  position: relative;
  z-index: 2;
}
.eac-cta .eac-title {
  margin-bottom: 44px;
}
.eac-countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.cd-box {
  min-width: 118px;
  padding: 20px 14px;
  border-radius: var(--radius-15);
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
  backdrop-filter: blur(6px);
}
.cd-box b {
  display: block;
  font-size: 46px;
  font-weight: var(--fw-bold);
  line-height: 1;
  background: var(--grad-500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.cd-box span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-secondary-700);
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.eac-tst-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 76px;
  align-items: center;
}

/* ---- testimonial image swiper (slide + scale) ---- */
/* cards effect: the real slides form the deck, so the container is
   sized to one card and Swiper stacks/rotates the rest behind it.
   overflow stays visible so the offset cards are not clipped. */
/* the buried cards fan out to the left, so the column reserves
   room for them — otherwise body{overflow-x:hidden} clips the deck */
.tst-left {
  padding-left: 52px;
}
.testimonial-image-swiper {
  width: 100%;
  max-width: 400px;
  overflow: visible;
  margin: 0;
  padding: 0;
}
.testimonial-image-swiper .swiper-slide {
  height: auto;
  border-radius: 22px;
  overflow: visible;
}
/* cards behind the top one get progressively dimmer */
.testimonial-image-swiper.swiper-initialized .swiper-slide {
  filter: brightness(0.88);
  transition: filter 0.6s var(--ease-out);
}
.testimonial-image-swiper.swiper-initialized .swiper-slide-active {
  filter: none;
}

/* ---- testimonial content swiper (fade + translateY) ---- */
.testimonial-content-swiper {
  overflow: hidden;
}
.testimonial-content-swiper .swiper-slide {
  height: auto;
}
.testimonial-content-swiper.swiper-initialized .tst-quote > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.testimonial-content-swiper .swiper-slide-active .tst-quote > * {
  opacity: 1;
  transform: none;
}
.testimonial-content-swiper .swiper-slide-active .tst-quote > *:nth-child(2) {
  transition-delay: 0.1s;
}

/* left — the card face itself (one per slide; Swiper stacks them) */
.tst-person {
  position: relative;
  padding: 26px 26px 30px;
  border-radius: 22px;
  background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
  box-shadow: var(--shadow-4);
}

.tst-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1.12;
  border-radius: var(--radius-15);
  display: grid;
  place-items: center;
}
.tst-shot b {
  font-size: 70px;
  font-weight: var(--fw-black);
  color: rgba(255, 255, 255, 0.26);
}
.tst-id {
  text-align: center;
  padding-top: 22px;
}
.tst-id a {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--color-secondary-100);
  transition: color var(--transition);
}
.tst-id a:hover {
  color: var(--color-error-100);
}
.tst-id p {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-secondary-700);
  padding-top: 5px;
}

/* right — oversized quote */
.tst-quote .tq {
  display: block;
  font-size: 66px;
  line-height: 1;
  color: rgba(var(--surface-rgb), 0.16);
  margin-bottom: 26px;
}
.tst-quote p {
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.5;
  font-weight: var(--fw-regular);
  color: var(--color-secondary-700);
}

/* controls: arrows + pagination pill */
.tst-controls {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}
.eac-dots.tst-pagination,
.eac-dots.about-pagination,
.eac-dots.team-pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  width: auto;
  padding: 9px 17px;
  border-radius: 100px;
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
}
/* swiper bullets restyled to match the existing dot design */
.eac-dots .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin: 0;
  opacity: 1;
  background: rgba(var(--surface-rgb), 0.25);
  transition: var(--transition-4);
}
.eac-dots .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 10px;
  background: var(--grad-btn);
}
.eac-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* =============================================================
   SLIDER (shared)
   ============================================================= */
.eac-slider {
  position: relative;
}
.eac-slider-view {
  overflow: hidden;
}
.eac-slider-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.eac-slide {
  flex: none;
}
.eac-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
}
.eac-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
  transition: var(--transition-4);
}
.eac-arrow:hover {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
  transform: scale(1.07);
}
.eac-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: rgba(var(--surface-rgb), 0.07);
  color: var(--color-secondary-100);
}
.eac-dots {
  display: flex;
  gap: 9px;
}
.eac-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(var(--surface-rgb), 0.25);
  transition: var(--transition-4);
}
.eac-dots button.is-active {
  width: 30px;
  border-radius: 10px;
  background: var(--grad-btn);
}

/* =============================================================
   TEAM
   ============================================================= */
/* ---- team slider shell: arrows sit in the side gutters ---- */
.eac-team-slider {
  position: relative;
  padding-inline: 64px;
}
.team-swiper {
  overflow: hidden;
  border-radius: var(--radius-15);
}
.team-swiper .swiper-slide {
  height: auto;
}

/* arrows: hidden until the slider is hovered or keyboard-focused */
.eac-team-slider .eac-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%) scale(0.85);
  opacity: 0;
  pointer-events: none;
  /* background: rgba(var(--card-rgb), 0.96); */
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    background var(--transition),
    border-color var(--transition);
}
.eac-team-slider:hover .eac-arrow,
.eac-team-slider:focus-within .eac-arrow {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.eac-team-slider .eac-arrow:hover {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.eac-team-slider .eac-arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid var(--color-basic-100);
  outline-offset: 3px;
}
.team-prev {
  left: 2px;
}
.team-next {
  right: 2px;
}

/* ---- team card: portrait with a floating overlay panel ---- */
.eac-team {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-15);
  border: 1px solid rgba(var(--surface-rgb), 0.09);
  transition: var(--transition-4);
}
.eac-team:hover {
  border-color: rgba(var(--primary-dark-rgb), 0.45);
  /* box-shadow: var(--shadow-2); */
}
.tm-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1.16;
  display: grid;
  place-items: center;
}
.tm-thumb b {
  font-size: 58px;
  font-weight: var(--fw-black);
  color: rgba(255, 255, 255, 0.28);
}
.tm-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--bg-rgb), 0) 45%,
    rgba(var(--bg-rgb), 0.55) 100%
  );
}
.tm-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 16px 14px;
  border-radius: var(--radius-big);
  border-radius:0 0 12px 12px;
  text-align: center;
  background: rgba(var(--bg-2-rgb), 0.72);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition-4);
}
.eac-team:hover .tm-panel {
  background: rgba(var(--bg-2-rgb), 0.86);
  border-color: rgba(var(--primary-dark-rgb), 0.35);
}
.eac-team h3 {
  font-size: 18px;
  margin-bottom: 5px;
}
.eac-team h3 a:hover {
  color: var(--color-error-100);
}
.tm-panel > p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-secondary-200);
  margin-bottom: 10px;
}
.tm-rate {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--color-secondary-700);
}
.tm-rate .ic {
  color: var(--color-warning);
  font-size: 13px;
}
.tm-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: var(--fw-semiBold);
  color: var(--color-secondary-100);
  border-bottom: 1px solid rgba(var(--surface-rgb), 0.35);
  padding-bottom: 2px;
  transition:
    gap var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.tm-link:hover {
  gap: 12px;
  color: var(--color-error-100);
  border-color: var(--color-error-100);
}
.tm-link:hover {
  gap: 12px;
}

/* =============================================================
   COUNTERS + BRANDS
   ============================================================= */
.eac-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 52px 30px;
  border-radius: 24px;
  background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
}
.eac-count {
  text-align: center;
  position: relative;
}
.eac-count + .eac-count::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(var(--surface-rgb), 0.12);
}
.eac-count b,
.eac-count .plus {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: var(--fw-bold);
  line-height: 1;
  background: var(--grad-500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.eac-count p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-secondary-700);
}
.eac-brand-note {
  text-align: center;
  margin: 56px 0 26px;
  font-size: 17px;
}
.eac-brand-note b {
  color: var(--color-error-100);
}
.eac-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.eac-brands span {
  padding: 13px 30px;
  border-radius: var(--radius-big);
  font-size: 19px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.4px;
  color: var(--color-secondary-700);
  background: rgba(var(--surface-rgb), 0.05);
  border: 1px solid rgba(var(--surface-rgb), 0.09);
  transition: var(--transition-4);
}
.eac-brands span:hover {
  color: var(--color-white);
  border-color: rgba(var(--primary-dark-rgb), 0.45);
  transform: translateY(-4px);
}

/* =============================================================
   EVENTS
   ============================================================= */
.eac-event {
  display: flex;
  gap: 0;
  overflow: hidden;
  height: 100%;
  border-radius: var(--radius-15);
  background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.09);
  transition: var(--transition-4);
}
.eac-event:hover {
  border-color: rgba(var(--primary-dark-rgb), 0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.ev-thumb {
  flex: none;
  width: 190px;
  display: grid;
  place-items: center;
  font-size: 44px;
  color: rgba(255, 255, 255, 0.4);
}
.ev-body {
  padding: 26px;
  flex: 1;
}
.ev-date {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  background: var(--grad-400);
  border: 1px solid rgba(var(--primary-dark-rgb), 0.3);
}
.ev-date b {
  font-size: 19px;
  font-weight: var(--fw-bold);
  color: var(--color-error-100);
}
.ev-date i {
  font-style: normal;
  font-size: 13px;
  color: var(--color-secondary-200);
}
.ev-body h3 {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 13px;
}
.ev-body h3 a:hover {
  color: var(--color-error-100);
}
.ev-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-secondary-700);
  margin-bottom: 18px;
}
.ev-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =============================================================
   APP
   ============================================================= */
.eac-app {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
  align-items: center;
  padding: 64px 60px;
  border-radius: 26px;
  background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
}
.eac-app > * {
  position: relative;
  z-index: 2;
}
.app-copy .eac-title {
  margin-bottom: 18px;
}
.app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 22px;
}
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-big);
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.14);
  transition: var(--transition-4);
}
.store:hover {
  border-color: rgba(var(--primary-dark-rgb), 0.55);
  transform: translateY(-3px);
  background: var(--grad-400);
}
.store .ic {
  font-size: 28px;
  color: var(--color-secondary-100);
}
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.store i {
  font-style: normal;
  font-size: 11px;
  color: var(--color-secondary-700);
}
.store b {
  font-size: 16px;
  color: var(--color-white);
}
.app-stores.small .store {
  padding: 9px 16px;
}
.app-stores.small .store .ic {
  font-size: 22px;
}
.app-stores.small b {
  font-size: 14px;
}
.app-alt {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.app-alt a {
  color: var(--color-secondary-700);
  transition: color var(--transition);
}
.app-alt a:hover {
  color: var(--color-error-100);
}

.app-media {
  display: grid;
  place-items: center;
}
.phone {
  position: relative;
  width: 260px;
  height: 520px;
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(160deg, var(--border), var(--bg-2));
  border: 1px solid rgba(var(--surface-rgb), 0.16);
  box-shadow:
    var(--shadow-4),
    0 0 90px rgba(var(--primary-dark-rgb), 0.25);
  animation: eacFloat 8s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  border-radius: 20px;
  background: var(--bg);
  z-index: 3;
}
.phone-scr {
  height: 100%;
  border-radius: 28px;
  padding: 44px 16px 16px;
  background: var(--color-dark-100);
  overflow: hidden;
}
.ps-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}
.ps-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: #fff;
}
.ps-row b {
  display: block;
  font-size: 14px;
  color: var(--color-white);
}
.ps-row i {
  font-style: normal;
  font-size: 11px;
  color: var(--color-secondary-700);
}
.ps-bar {
  height: 7px;
  border-radius: 10px;
  background: rgba(var(--surface-rgb), 0.12);
  margin-bottom: 20px;
  overflow: hidden;
}
.ps-bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 10px;
  background: var(--grad-btn);
  animation: eacGrow 2.4s var(--ease-out) infinite alternate;
}
@keyframes eacGrow {
  from {
    width: 24%;
  }
  to {
    width: var(--w);
  }
}
.ps-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: var(--fw-semiBold);
  color: #fff;
}
.ps-card .ic {
  font-size: 19px;
  opacity: 0.85;
}

/* =============================================================
   BLOG
   ============================================================= */
.eac-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.eac-post {
  overflow: hidden;
  border-radius: var(--radius-15);
  background: var(--default-gradient-2);
  border: 1px solid rgba(var(--surface-rgb), 0.09);
  transition: var(--transition-4);
  margin:0;
}
.eac-post:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-dark-rgb), 0.45);
  box-shadow: var(--shadow-2);
}
.pt-thumb {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
  font-size: 52px;
  color: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.pt-thumb .ic {
  transition: transform 0.55s var(--ease-out);
}
.eac-post:hover .pt-thumb .ic {
  transform: scale(1.15) rotate(-5deg);
}
.pt-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: var(--fw-semiBold);
  color: #fff;
  background: rgba(var(--bg-rgb), 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.pt-body {
  padding: 26px;
}
.pt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--color-secondary-700);
  margin-bottom: 14px;
}
.pt-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pt-body h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.pt-body h3 a:hover {
  color: var(--color-error-100);
}
.pt-body p {
  font-size: 15px;
  margin-bottom: 20px;
}
.pt-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: var(--fw-semiBold);
  color: var(--color-error-100);
  transition: gap var(--transition);
}
.pt-link:hover {
  gap: 12px;
}

/* =============================================================
   FOOTER
   ============================================================= */
.eac-footer {
  position: relative;
  padding-top: 0;
  background: linear-gradient(180deg, var(--color-dark-100) 0%, var(--bg) 100%);
  border-top: 1px solid rgba(var(--surface-rgb), 0.07);
}
/* the angle the conic gradient starts from; registering it as an <angle>
   is what lets it be animated at all — plain custom properties cannot be
   interpolated, so the border light would just jump. */
@property --nl-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ---- newsletter: centred, glowing arc behind ----
   Two blurred gradient blobs counter-rotate behind a solid dark disc.
   Only the light that spills past the disc's edge survives, so the glow
   reads as a halo hugging the upper arc and drifts as the blobs turn.
   The background stays flat — the gradient is the only thing moving. */
.eac-newsletter {
  position: relative;
  /* break out of .container so the arc spans the viewport */
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 70px;
  padding: 122px 20px 92px;
  overflow: hidden;
  text-align: center;
  /* the hairline itself, and the soft bloom sitting under it */
  --nl-line: 1px;
  --nl-blur: 9px;
  /* outer circle, and how far the inner one sits inside it */
  --nl-size: min(1360px, 120vw);
  --nl-top: 52px;
  --nl-gap: 56px;
}
.nl-arc {
  position: absolute;
  left: 50%;
  top: var(--nl-top);
  transform: translateX(-50%);
  width: var(--nl-size);
  aspect-ratio: 1;
  pointer-events: none;
}
/* the inner ring — concentric with the first, --nl-gap of dark between
   them, same drifting light running the other way */
.nl-arc-2 {
  top: calc(var(--nl-top) + var(--nl-gap));
  width: calc(var(--nl-size) - var(--nl-gap) * 2);
}
/* The arc is a hairline, not a band. A conic gradient is clipped to a
   1px ring by the two-layer mask below (paint the padding box, punch out
   the content box, keep the difference). .nl-arc-spin is the same ring a
   touch thicker and blurred, sitting underneath — that is the only thing
   giving the line its glow, so it stays faint on purpose.

   The gradient runs the full circumference through our three brand hues,
   so every part of the arc is lit; rotating it drifts those hues around
   the circle rather than chasing a bright spot along it. */
.nl-arc::before,
.nl-arc-spin {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 50%;
  padding: var(--nl-line);
  /* Written out here rather than held in a variable on the parent: a var
     resolves where it is declared, so --nl-angle would never animate. */
  background: conic-gradient(
    from var(--nl-angle),
    rgba(var(--accent-rgb), 0.62) 0deg,
    rgba(var(--primary-rgb), 0.95) 52deg,
    rgba(var(--secondary-rgb), 0.9) 118deg,
    rgba(var(--primary-rgb), 0.75) 172deg,
    rgba(var(--accent-rgb), 0.85) 228deg,
    rgba(var(--primary-rgb), 0.95) 292deg,
    rgba(var(--secondary-rgb), 0.7) 330deg,
    rgba(var(--accent-rgb), 0.62) 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: nl-sweep 22s linear infinite;
}
.nl-arc::before {
  content: "";
  opacity: 0.85;
}
/* the bloom under the line — same phase, barely thicker, soft and dim */
.nl-arc-spin {
  padding: calc(var(--nl-line) * 2);
  filter: blur(var(--nl-blur));
  opacity: 0.34;
}

/* the whole inner ring travels the opposite way from the outer one */
.nl-arc-2::before,
.nl-arc-2 .nl-arc-spin {
  animation-direction: reverse;
}
/* the inner ring reads a shade quieter than the outer one */
.nl-arc-2::before {
  opacity: 0.62;
}
.nl-arc-2 .nl-arc-spin {
  opacity: 0.22;
}
/* the gradient's own start angle walks a full turn — the ring never moves,
   only the light running along it */
@keyframes nl-sweep {
  to {
    --nl-angle: 360deg;
  }
}
.nl-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-inline: auto;
}
.nl-badge {
  font-size: 15px;
  padding: 5px 20px;
}
.nl-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 20px 0 34px;
}
.eac-nl-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.eac-nl-form:focus-within {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}
.eac-nl-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-size: 16px;
  color: var(--color-white);
  padding: 14px 16px;
}
.eac-nl-form input::placeholder {
  color: var(--color-secondary-700);
}
.nl-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: #fff;
  background: var(--grad-btn);
  box-shadow: var(--shadow-1);
  transition: var(--transition-4);
}
.nl-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.nl-btn .ic {
  font-size: 16px;
  transition: transform var(--transition);
}
.nl-btn:hover .ic {
  transform: translateX(4px);
}
/* three reassurances in a row, split by hairline rules */
.nl-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--color-secondary-700);
}

.eac-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding-bottom: 56px;
}
.eac-fcol > .eac-logo {
  margin-bottom: 20px;
}
.eac-fcol > p {
  font-size: 15px;
  margin-bottom: 22px;
}
.eac-fcol h4 {
  font-size: 19px;
  margin-bottom: 24px;
}
.eac-fcontact {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.eac-fcontact li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
}
.eac-fcontact .ic {
  font-size: 17px;
  color: var(--color-error-100);
}
.eac-flinks {
  display: grid;
  gap: 13px;
}
.eac-flinks a {
  font-size: 15px;
  color: var(--color-body);
  display: inline-block;
  transition: var(--transition-4);
}
.eac-flinks a:hover {
  color: var(--color-error-100);
  transform: translateX(6px);
}
.eac-social {
  display: flex;
  gap: 11px;
}
.eac-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
  transition: var(--transition-4);
}
.eac-social a:hover {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
}

.eac-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0;
  border-top: 1px solid rgba(var(--surface-rgb), 0.09);
  font-size: 14px;
}
.eac-copy b {
  color: var(--color-secondary-100);
}
.eac-copy-links {
  display: flex;
  gap: 26px;
}
.eac-copy-links a {
  transition: color var(--transition);
}
.eac-copy-links a:hover {
  color: var(--color-error-100);
}

/* =============================================================
   BACK TO TOP
   ============================================================= */
.eac-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-secondary-100);
  background: rgba(var(--card-rgb), 0.9);
  border: 1px solid rgba(var(--surface-rgb), 0.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-4);
}
.eac-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.eac-top:hover {
  color: #fff;
  border-color: rgba(var(--primary-dark-rgb), 0.6);
  background: var(--grad-btn);
}
.eac-top .ic {
  font-size: 18px;
  position: relative;
  z-index: 2;
}
.eac-top .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.eac-top .ring circle {
  fill: none;
  stroke-width: 2;
}
.eac-top .rt {
  stroke: rgba(var(--surface-rgb), 0.12);
}
.eac-top .rp {
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transition: stroke-dashoffset 0.15s linear;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1199px) {
  .eac-cate-grid,
  .eac-course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .eac-app {
    padding: 48px 40px;
  }
  .eac-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .eac-section {
    padding: 80px 0;
  }
  /* A backdrop-filter makes an element the containing block for any fixed
     descendant — with it on, the drawer inside the header is positioned and
     sized against the header box rather than the viewport, so it never
     reaches the screen. The mobile header goes solid instead. */
  .eac-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--color-dark-100);
  }
  .eac-cta-area {
    padding-bottom: 80px;
  }
  .hide-md {
    display: none;
  }
  .eac-burger {
    display: grid;
  }
  .eac-nav-close {
    display: grid;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    place-items: center;
    font-size: 19px;
    color: var(--color-secondary-100);
    background: rgba(var(--surface-rgb), 0.08);
  }

  .eac-nav {
    position: fixed;
    top: 0;
    /* E-ACADEMY: the design moved the mobile drawer to the LEFT edge. Both
       this and the translateX below flipped together — one without the other
       leaves the panel sliding in from one side and docking at the other. */
    left: 0;
    z-index: 80;
    width: min(340px, 86vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 24px 30px;
    margin: 0;
    background: var(--color-dark-300);
    /* border-RIGHT, not left. The design left this on `border-left` when it
       moved the drawer to the left edge, which puts the line hard against the
       screen edge where nothing can see it; the panel's visible edge is now
       the right one. */
    border-right: 1px solid rgba(var(--surface-rgb), 0.1);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.45s var(--ease-out);
  }
  .eac-nav.is-open {
    transform: none;
  }
  .eac-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .eac-menu > li > a {
    padding: 14px 12px;
    justify-content: space-between;
    font-size: 17px;
  }
  .eac-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(var(--surface-rgb), 0.04);
    display: none;
    margin: 4px 0 8px;
  }
  .eac-menu > li.is-open .eac-drop {
    display: block;
  }
  .eac-menu > li.is-open .caret {
    transform: rotate(180deg);
  }
  .eac-nav-cta {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--surface-rgb), 0.1);
    flex-wrap: wrap;
  }
  .eac-nav-cta > * {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .eac-about {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .ab-lines {
    display: none;
  }
  .eac-tst-wrap {
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
  }
  .tst-left {
    padding-left: 0;
  }
  .testimonial-image-swiper {
    max-width: 330px;
    margin-inline: auto;
  }
  .tst-quote .tq {
    margin-inline: auto;
    margin-bottom: 16px;
  }
  .tst-controls {
    justify-content: center;
  }
  .ab-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .ab-arrows {
    justify-content: center;
  }
  .eac-app {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .app-media {
    order: -1;
  }
  .eac-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .eac-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
    padding: 40px 20px;
  }
  .eac-count:nth-child(3)::before {
    display: none;
  }
  .eac-newsletter {
    padding: 96px 20px 72px;
    --nl-blur: 8px;
    --nl-top: 40px;
    --nl-size: 140vw;
    --nl-gap: 44px;
  }
  .eac-cube {
    width: 126px;
    top: 7%;
    right: 3%;
    opacity: 0.7;
  }
  .eac-hero-in > .eac-badge-gradient {
    margin-bottom: 24px;
  }
  .eac-marquee {
    height: 236px;
    transform: rotateX(7deg);
  }
  .eac-marquee-area {
    margin-top: 48px;
    padding-top: 26px;
  }
  .eac-marquee .eac-card-thumb {
    height: 248px;
  }
  .eac-marquee .eac-card-ov {
    bottom: 56px;
  }
  .eac-topbar-links {
    display: none;
  }
  .eac-topbar-in {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .eac-section {
    padding: 64px 0;
  }
  .eac-cta-area {
    padding-bottom: 64px;
  }
  .eac-hero {
    padding-top: 70px;
  }
  .eac-hero-in > .eac-badge-gradient {
    margin-bottom: 20px;
  }
  .eac-hero-disc {
    margin: 18px auto 34px;
    max-width: 420px;
  }
  .eac-hero-actions {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .eac-hero-actions > * {
    justify-content: center;
  }
  .eac-hero-actions .eac-btn-primary {
    padding: 14px 26px;
    font-size: 17px;
  }
  .eac-hero-actions .eac-btn-primary .btn-text-wrap {
    height: 26px;
  }
  .eac-cube {
    display: none;
  }
  .eac-gradient-line {
    margin-top: 50px;
  }
  .eac-btn-primary {
    padding: 14px 26px;
    font-size: 17px;
  }
  .eac-btn-primary .btn-text-wrap {
    height: 26px;
  }
  .eac-cate-grid,
  .eac-course-grid,
  .eac-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .eac-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .eac-card-2 {
    width: 210px;
    min-height: 248px;
  }
  .eac-card-thumb {
    height: 228px;
  }
  .eac-card-thumb b {
    font-size: 46px;
  }
  /* flat, shorter deck — perspective costs more legibility than it buys here */
  .eac-card-2.card-angle {
    --tilt: 0deg;
  }
  .eac-marquee-area {
    margin-top: 40px;
    padding: 16px 0 0;
    perspective: none;
  }
  .eac-marquee {
    height: 190px;
    transform: none;
  }
  .eac-marquee::after {
    height: 80px;
  }
  .eac-marquee .eac-card-thumb {
    height: 210px;
  }
  .eac-marquee .eac-card-thumb b {
    font-size: 44px;
  }
  .eac-marquee .eac-card-ov {
    bottom: 48px;
  }
  .ab-dots {
    left: -16px;
    width: 140px;
    height: 110px;
  }
  /* single card on phones — no neighbours to tuck behind */
  .about-visual-swiper {
    padding: 20px 0;
  }
  .about-visual-swiper.swiper-initialized .swiper-slide {
    transform: scale(0.94);
    filter: none;
  }
  .about-visual-swiper.swiper-initialized .swiper-slide-active {
    transform: scale(1);
  }
  .eac-event {
    flex-direction: column;
  }
  .ev-thumb {
    width: 100%;
    height: 170px;
  }
  .eac-tabs {
    gap: 9px;
  }
  .eac-tab {
    padding: 9px 17px;
    font-size: 14px;
  }
  .cd-box {
    min-width: 88px;
    padding: 16px 10px;
  }
  .cd-box b {
    font-size: 34px;
  }
  .eac-section-head {
    margin-bottom: 40px;
  }
  .eac-copy {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575px) {
  /* four tools now share the bar — trim them so nothing wraps on phones */
  .eac-nav-tools {
    gap: 7px;
  }
  .eac-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
  .eac-cate-grid,
  .eac-course-grid,
  .eac-blog-grid {
    grid-template-columns: 1fr;
  }
  .eac-counter-grid {
    grid-template-columns: 1fr;
  }
  .eac-count + .eac-count::before {
    display: none;
  }
  .eac-nav-wrap {
    gap: 12px;
    min-height: 70px;
  }
  .eac-logo-img {
    height: 36px !important;
  }
  .eac-logo-text {
    font-size: 20px;
  }
  .eac-app {
    padding: 36px 22px;
  }
  .eac-cta {
    padding: 48px 22px;
  }
  .eac-countdown {
    gap: 12px;
  }
  .cd-box {
    min-width: 70px;
  }
  .eac-nl-form {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 14px;
  }
  .ab-float {
    display: none;
  }
  .eac-top {
    right: 16px;
    bottom: 16px;
  }
}

/* ---- team slider: responsive + touch ---- */
@media (max-width: 1199px) {
  .eac-team-slider {
    padding-inline: 52px;
  }
}
@media (max-width: 767px) {
  .eac-team-slider {
    padding-inline: 0;
  }
  .team-prev {
    left: 6px;
  }
  .team-next {
    right: 6px;
  }
}
/* touch devices have no hover, so keep the arrows on screen */
@media (hover: none) {
  .eac-team-slider .eac-arrow {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }
}

/* ---- newsletter: small screens ---- */
@media (max-width: 575px) {
  .eac-newsletter {
    padding: 78px 16px 58px;
    --nl-blur: 7px;
    --nl-top: 28px;
    --nl-size: 168vw;
    --nl-gap: 32px;
  }
  .nl-title {
    margin: 16px 0 26px;
  }
  .eac-nl-form {
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .eac-nl-form input {
    flex: 1 1 100%;
    text-align: center;
  }
  .nl-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================================
   AMBIENT BACKGROUND SHAPES
   Fixed layer that drifts behind every section. Sections sit
   above it (they come later in DOM order with position:relative).
   ============================================================= */
.eac-bg-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bs {
  position: absolute;
  display: block;
  will-change: transform;
}

/* --- shape primitives --- */
.bs-ring {
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.22);
}
.bs-ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-dark-rgb), 0.14);
}
.bs-sq {
  border: 1px solid rgba(var(--primary-dark-rgb), 0.2);
  border-radius: 16px;
}
.bs-blob {
  border-radius: 50%;
  filter: blur(90px);
}
.bs-tri {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(
    160deg,
    rgba(var(--secondary-rgb), 0.16),
    rgba(var(--primary-rgb), 0.05)
  );
}
.bs-cross::before,
.bs-cross::after {
  content: "";
  position: absolute;
  background: rgba(var(--secondary-rgb), 0.35);
  border-radius: 2px;
}
.bs-cross::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
.bs-cross::after {
  top: 50%;
  left: 0;
  height: 2px;
  width: 100%;
  transform: translateY(-50%);
}
.bs-dots {
  background-image: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.55) 1.5px,
    transparent 1.6px
  );
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

/* --- placement + motion --- */
.bs-1 {
  top: 8%;
  left: -90px;
  width: 320px;
  height: 320px;
  animation: bsFloat 19s ease-in-out infinite;
}
.bs-2 {
  top: 22%;
  right: 6%;
  width: 120px;
  height: 120px;
  animation: bsSpin 34s linear infinite;
}
.bs-3 {
  top: 4%;
  right: 14%;
  width: 280px;
  height: 280px;
  background: var(--grad-100);
  opacity: 0.3;
  animation: bsPulse 14s ease-in-out infinite;
}
.bs-4 {
  top: 56%;
  left: 8%;
  width: 180px;
  height: 180px;
  animation: bsDrift 23s ease-in-out infinite;
}
.bs-5 {
  top: 70%;
  right: 12%;
  width: 130px;
  height: 118px;
  animation: bsFloat 17s ease-in-out infinite reverse;
}
.bs-6 {
  top: 78%;
  left: 44%;
  width: 78px;
  height: 78px;
  animation: bsSpin 27s linear infinite reverse;
}
.bs-7 {
  bottom: 2%;
  left: 24%;
  width: 300px;
  height: 300px;
  background: var(--grad-200);
  opacity: 0.22;
  animation: bsPulse 18s ease-in-out infinite 2s;
}
.bs-8 {
  top: 34%;
  left: 34%;
  width: 190px;
  height: 150px;
  opacity: 0.5;
  animation: bsDrift 26s ease-in-out infinite reverse;
}
.bs-9 {
  bottom: 12%;
  right: -70px;
  width: 260px;
  height: 260px;
  animation: bsFloat 21s ease-in-out infinite 1.5s;
}
.bs-10 {
  top: 16%;
  left: 26%;
  width: 26px;
  height: 26px;
  animation: bsPulse 9s ease-in-out infinite;
}

@keyframes bsFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-46px) rotate(24deg);
  }
}
@keyframes bsDrift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(38px, -30px) rotate(12deg);
  }
  66% {
    transform: translate(-26px, 26px) rotate(-10deg);
  }
}
@keyframes bsSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes bsPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.5;
  }
}

@media (max-width: 767px) {
  /* fewer, calmer shapes on small screens */
  .bs-2,
  .bs-5,
  .bs-6,
  .bs-8,
  .bs-10 {
    display: none;
  }
  .bs-1,
  .bs-4,
  .bs-9 {
    opacity: 0.6;
  }
}

/* =============================================================
   CANVAS FX LAYER
   Canvases are injected as the first child of any [data-fx]
   host. They never receive pointer events and always sit
   beneath the content.
   ============================================================= */
.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}
/* keep every content wrapper above the canvas */
[data-fx] > .container,
[data-fx] > .eac-hero-in,
[data-fx] > .eac-marquee-area {
  position: relative;
  z-index: 1;
}

/* =============================================================
   HERO FLOATING PROGRESS CHIPS
   ============================================================= */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(var(--card-rgb), 0.78);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: chipFloat 9s var(--ease-premium) infinite;
}
.chip-a {
  top: 23%;
  left: 3%;
  animation-delay: -1.5s;
}
.chip-b {
  top: 55%;
  right: 4%;
  animation-delay: -5s;
}
.hc-ic {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.hc-ic.alt {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.hc-tx {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hc-tx i {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.hc-tx b {
  font-size: 19px;
  color: var(--text);
}
.hc-sub {
  font-size: 11px;
  color: var(--muted);
}
.hc-bar {
  display: block;
  width: 104px;
  height: 5px;
  margin-top: 6px;
  border-radius: 10px;
  background: rgba(var(--muted-rgb), 0.2);
  overflow: hidden;
}
.hc-bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}
@media (max-width: 1199px) {
  .hero-chip {
    display: none;
  }
}

/* =============================================================
   LEARNING JOURNEY
   ============================================================= */
.eac-journey {
  position: relative;
  padding-top: 10px;
}
.jr-svg {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  margin-bottom: 6px;
  overflow: visible;
  pointer-events: none;
}
.jr-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 9;
}
.jr-progress {
  fill: none;
  stroke: url(#jrGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.jr-dot {
  fill: var(--secondary);
}

.jr-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: jr;
}
.jr-step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-15);
  background: rgba(var(--card-rgb), 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.5s var(--ease-premium),
    border-color 0.5s var(--ease-premium),
    box-shadow 0.5s var(--ease-premium);
}

.jr-step.is-lit {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow:
    0 0 0 1px rgba(var(--primary-rgb), 0.14),
    0 18px 46px rgba(var(--primary-rgb), 0.16);
  transform: translateY(-6px);
}
.jr-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.5px;
  color: var(--muted);
  background: rgba(var(--muted-rgb), 0.08);
  border: 1px solid var(--border);
  transition:
    color 0.5s var(--ease-premium),
    background 0.5s var(--ease-premium);
}
.jr-step.is-lit .jr-num {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.jr-step h4 {
  font-size: 19px;
  margin-bottom: 7px;
}
.jr-step p {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 991px) {
  .jr-svg {
    display: none;
  }
  .jr-steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 575px) {
  .jr-steps {
    grid-template-columns: 1fr;
  }
}

/* reduced motion: hold the decorative layers still */
@media (prefers-reduced-motion: reduce) {
  .hero-chip {
    animation: none;
  }
}

/* =============================================================
   AUTH — login / sign up modal
   ============================================================= */
.eac-auth {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}
.eac-auth[hidden] {
  display: none;
}
.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--bg-rgb), 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.32s var(--ease-premium);
}
.auth-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 452px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 34px 34px 30px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid rgba(var(--surface-rgb), 0.14);
  box-shadow:
    var(--shadow-2),
    0 40px 90px -40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  /* The same 3D arc the dashboard's dialogs and notification toasts use:
     pushed back in z and tipped forward, so the panel arrives THROUGH the
     page rather than sliding up it. The perspective is in the transform
     because the parent is a fixed-position overlay with no perspective of
     its own to inherit. */
  transform: perspective(1400px) translate3d(0, 26px, -220px) rotateX(12deg) scale(0.94);
  transition:
    opacity 0.28s var(--ease-premium),
    transform 0.36s var(--ease-premium);
}
.eac-auth.is-open .auth-backdrop {
  opacity: 1;
}
.eac-auth.is-open .auth-dialog {
  opacity: 1;
  transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0) scale(1);
}

/* Somebody who has asked for less motion gets the panel, not the flight. The
   fade stays: it is what stops the modal appearing to teleport. */
@media (prefers-reduced-motion: reduce) {
  .auth-dialog { transform: none; transition: opacity 0.12s linear; }
  .eac-auth.is-open .auth-dialog { transform: none; }
}

.auth-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--muted);
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.1);
  transition: var(--transition-4);
}
.auth-x:hover {
  color: var(--text);
  background: rgba(var(--surface-rgb), 0.14);
}

.auth-head {
  text-align: center;
  margin-bottom: 22px;
}
.auth-mark {
  display: block;
  width: auto;
  height: 44px;
  margin: 0 auto 14px;
}
.auth-mark--light {
  display: none;
}
:root[data-scheme="light"] .auth-mark--dark {
  display: none;
}
:root[data-scheme="light"] .auth-mark--light {
  display: block;
}
.auth-title {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.auth-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* tabs — one sliding pill instead of two separate active states */
.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: rgba(var(--surface-rgb), 0.07);
}
.auth-tab {
  position: relative;
  z-index: 1;
  padding: 10px 8px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--muted);
  transition: color 0.28s var(--ease-premium);
}
.auth-tab.is-active {
  color: #fff;
}
.auth-ink {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 0;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 9px;
  background: var(--grad-btn);
  box-shadow: var(--shadow-1);
  transition: transform 0.38s var(--ease-premium);
}
.auth-tabs.at-signup .auth-ink {
  transform: translateX(100%);
}

/* oauth */
.auth-oauth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.oa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 10px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text);
  background: rgba(var(--surface-rgb), 0.06);
  border: 1px solid rgba(var(--surface-rgb), 0.14);
  transition: var(--transition-4);
}
.oa-btn .ic {
  font-size: 18px;
}
.oa-btn:hover {
  background: rgba(var(--surface-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.45);
  transform: translateY(-2px);
}

.auth-or {
  position: relative;
  text-align: center;
  margin: 18px 0;
  font-size: 13px;
  color: var(--muted);
}
.auth-or::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(var(--surface-rgb), 0.14);
}
.auth-or span {
  position: relative;
  padding: 0 12px;
  background: var(--card);
}

/* forms */
.auth-form {
  display: none;
}
.auth-form.is-active {
  display: block;
}
.au-field {
  margin-bottom: 15px;
}
.au-label {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--muted);
  margin-bottom: 7px;
}
.au-input {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  background: rgba(var(--surface-rgb), 0.06);
  border: 1px solid rgba(var(--surface-rgb), 0.14);
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}
.au-input:focus-within {
  border-color: rgba(var(--primary-rgb), 0.7);
  background: rgba(var(--surface-rgb), 0.1);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.16);
}
.au-ic {
  flex: none;
  margin-left: 14px;
  font-size: 17px;
  color: var(--muted);
}
.au-input input {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
}
.au-input input::placeholder {
  color: var(--muted);
  opacity: 0.65;
}
.au-eye {
  flex: none;
  width: 40px;
  height: 40px;
  margin-right: 4px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--muted);
  transition:
    color var(--transition),
    background var(--transition);
}
.au-eye:hover {
  color: var(--text);
  background: rgba(var(--surface-rgb), 0.1);
}

/* validation */
.au-err {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #ff6b7a;
}
.au-field.has-error .au-input {
  border-color: rgba(255, 107, 122, 0.6);
}
.au-field.has-error .au-err {
  display: block;
}

/* password strength */
.au-meter {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}
.au-meter i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(var(--surface-rgb), 0.18);
  transition: background 0.35s var(--ease-premium);
}
.au-meter[data-score="1"] i:nth-child(-n + 1) {
  background: #ff6b7a;
}
.au-meter[data-score="2"] i:nth-child(-n + 2) {
  background: var(--accent);
}
.au-meter[data-score="3"] i:nth-child(-n + 3) {
  background: var(--secondary);
}
.au-meter[data-score="4"] i {
  background: var(--secondary);
}

/* checkbox + rows */
.au-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 20px;
}
.au-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.au-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.au-box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  background: rgba(var(--surface-rgb), 0.08);
  border: 1px solid rgba(var(--surface-rgb), 0.24);
  transition: var(--transition-4);
}
.au-box .ic {
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-4);
}
.au-check input:checked + .au-box {
  background: var(--grad-btn);
  border-color: transparent;
}
.au-check input:checked + .au-box .ic {
  opacity: 1;
  transform: none;
}
.au-check input:focus-visible + .au-box {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3);
}
.au-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: var(--fw-medium);
}
.au-link:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 17px;
}
.auth-submit .btn-text-wrap {
  height: 26px;
}
.auth-submit.is-busy {
  pointer-events: none;
  opacity: 0.75;
}

.auth-swap {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.auth-swap button {
  color: var(--primary);
  font-weight: var(--fw-medium);
  font-family: inherit;
  font-size: 14px;
}
.auth-swap button:hover {
  text-decoration: underline;
}

.auth-status {
  display: none;
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  text-align: center;
}
.auth-status.is-shown {
  display: block;
}
.auth-status.is-ok {
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.12);
  border: 1px solid rgba(var(--secondary-rgb), 0.3);
}

/* the extra header control needs to sit tighter than the nav ghost button */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 15px;
  white-space: nowrap;
}
.btn-login .ic {
  font-size: 17px;
}
/* 992-1199px: the full nav is still showing but the bar is out of room,
   so the label drops and the control becomes an icon button */
@media (max-width: 1199px) {
  .btn-login {
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .btn-login .bl-tx {
    display: none;
  }
  /* claw back the rest of the row: the bar carries five controls here */
  .eac-nav-wrap {
    gap: 14px;
  }
  .eac-menu > li > a {
    padding: 12px 11px;
    font-size: 15px;
  }
  .eac-nav-tools {
    gap: 8px;
  }
  .eac-icon-btn,
  .btn-login {
    width: 40px;
    height: 40px;
  }
  .eac-nav-tools .eac-btn-primary.btn-sm {
    padding: 11px 18px;
    font-size: 15px;
  }
  .eac-nav-tools .eac-btn-primary.btn-sm .btn-text-wrap {
    height: 22px;
  }
}

@media (max-width: 575px) {
  /* a sheet is easier to reach than a centred dialog on a phone */
  .eac-auth {
    padding: 0;
    place-items: end stretch;
  }
  .auth-dialog {
    max-width: none;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    padding: 28px 20px 24px;
    transform: translateY(28px);
  }
  .auth-oauth {
    grid-template-columns: 1fr;
  }
  .au-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-backdrop,
  .auth-dialog,
  .auth-ink {
    transition: none;
  }
}

/* =============================================================
   INNER PAGES
   Only used by the sub-pages (courses, blog, instructors,
   events, contact, 404...). It leans on the same tokens and
   card primitives as the home page — these are layouts and a
   few page-specific parts, not a second system.
   ============================================================= */

/* ---- page head: title + breadcrumb, stands in for the hero ---- */
.eac-pagehead {
  position: relative;
  padding: 132px 0 64px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(var(--surface-rgb), 0.07);
}
.eac-pagehead::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -60%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.16) 0%,
    rgba(var(--primary-rgb), 0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.eac-pagehead > .container {
  position: relative;
  z-index: 2;
}
.eac-pagehead h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin: 18px 0 0;
}
.eac-pagehead p {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 16px;
}
.eac-crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--color-secondary-700);
}
.eac-crumb a {
  color: var(--color-secondary-700);
  transition: color var(--transition);
}
.eac-crumb a:hover {
  color: var(--color-primary-100);
}
.eac-crumb .sep {
  opacity: 0.5;
}
.eac-crumb [aria-current] {
  color: var(--color-secondary-100);
}

/* ---- listing toolbar: result count + sort ---- */
.eac-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(var(--surface-rgb), 0.09);
  font-size: 15px;
}
.eac-toolbar b {
  color: var(--color-secondary-100);
}
.eac-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eac-sort select {
  appearance: none;
  padding: 10px 38px 10px 14px;
  border-radius: var(--radius-10);
  border: 1px solid var(--primary-border-2);
  background: var(--color-dark-400);
  color: var(--color-secondary-100);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% + 2px),
    calc(100% - 14px) calc(50% + 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.eac-sort select:focus {
  outline: none;
  border-color: rgba(var(--primary-rgb), 0.55);
}

/* ---- pagination ---- */
.eac-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.eac-pager a,
.eac-pager span {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-10);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--color-secondary-700);
  border: 1px solid var(--primary-border-2);
  transition: var(--transition-4);
}
.eac-pager a:hover {
  color: var(--color-secondary-100);
  border-color: rgba(var(--primary-rgb), 0.5);
}
.eac-pager .is-current {
  color: #fff;
  background: var(--grad-btn);
  border-color: transparent;
}
.eac-pager .gap {
  border: none;
}

/* ---- content + sidebar shell ---- */
.eac-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
.eac-layout.rev {
  grid-template-columns: 340px minmax(0, 1fr);
}
.eac-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 22px;
}
.eac-widget {
  padding: 24px;
  border-radius: 16px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
}
.eac-widget h4 {
  font-size: 18px;
  margin-bottom: 18px;
}
.eac-widget .w-search {
  display: flex;
  gap: 8px;
}
.eac-widget .w-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--radius-10);
  border: 1px solid var(--primary-border-2);
  background: rgba(var(--surface-rgb), 0.06);
  color: var(--color-white);
  font: inherit;
  outline: none;
}
.eac-widget .w-search input:focus {
  border-color: rgba(var(--primary-rgb), 0.55);
}
.eac-widget .w-search button {
  flex: none;
  width: 44px;
  border-radius: var(--radius-10);
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-btn);
}
.eac-wlist {
  display: grid;
  gap: 12px;
}
.eac-wlist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--color-body);
  transition: var(--transition-4);
}
.eac-wlist a:hover {
  color: var(--color-primary-100);
  transform: translateX(4px);
}
.eac-wlist a i {
  font-style: normal;
  font-size: 13px;
  color: var(--color-secondary-700);
}
.eac-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.eac-tagcloud a {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-body);
  border: 1px solid var(--primary-border-2);
  transition: var(--transition-4);
}
.eac-tagcloud a:hover {
  color: #fff;
  background: var(--grad-btn);
  border-color: transparent;
}
.eac-wpost {
  display: flex;
  gap: 14px;
  align-items: center;
}
.eac-wpost + .eac-wpost {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--surface-rgb), 0.08);
}
.eac-wpost .wp-thumb {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
}
.eac-wpost h5 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: var(--fw-medium);
}
.eac-wpost h5 a {
  color: var(--color-secondary-100);
  transition: color var(--transition);
}
.eac-wpost h5 a:hover {
  color: var(--color-primary-100);
}
.eac-wpost time {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-secondary-700);
}

/* ---- course card, row variant (course-list) ---- */
.eac-course-rows {
  display: grid;
  gap: 22px;
}
.eac-course.is-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}
.eac-course.is-row .cs-thumb {
  height: 100%;
  min-height: 210px;
}
.eac-course.is-row .cs-body {
  display: flex;
  flex-direction: column;
}
.eac-course.is-row .cs-desc {
  font-size: 15px;
  margin: 12px 0 0;
}
.eac-course.is-row .cs-foot {
  margin-top: auto;
}

/* =============================================================
   COURSE DETAIL
   ============================================================= */
.eac-cd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eac-cd-head .cd-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-primary-100);
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}
.eac-cd-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 22px;
  font-size: 15px;
  color: var(--color-body);
}
.eac-cd-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eac-cd-stats .ic {
  font-size: 17px;
  color: var(--color-primary-100);
}
.eac-cd-media {
  height: clamp(240px, 34vw, 420px);
  border-radius: 20px;
  margin-bottom: 40px;
  display: grid;
  place-items: center;
  font-size: 62px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.eac-cd-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(var(--bg-rgb), 0.55) 100%
  );
}
.eac-cd-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.8px;
  margin: 46px 0 18px;
}
.eac-cd-body h2:first-child {
  margin-top: 0;
}
.eac-cd-body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.eac-ticks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
  margin: 6px 0 10px;
}
.eac-ticks li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  line-height: 1.6;
}
.eac-ticks .ic {
  flex: none;
  margin-top: 3px;
  font-size: 15px;
  color: var(--color-success-100);
}

/* curriculum accordion — native <details>, no JS needed */
.eac-curriculum {
  display: grid;
  gap: 12px;
}
.eac-cu {
  border-radius: 14px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
  overflow: hidden;
}
.eac-cu > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: var(--fw-medium);
  color: var(--color-secondary-100);
}
.eac-cu > summary::-webkit-details-marker {
  display: none;
}
.eac-cu > summary .cu-n {
  font-size: 14px;
  font-weight: var(--fw-regular);
  color: var(--color-secondary-700);
}
.eac-cu > summary .ic {
  flex: none;
  font-size: 16px;
  color: var(--color-secondary-700);
  transition: transform var(--transition);
}
.eac-cu[open] > summary .ic {
  transform: rotate(180deg);
}
.eac-cu ul {
  padding: 0 22px 8px;
}
.eac-cu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  font-size: 15px;
  border-top: 1px solid rgba(var(--surface-rgb), 0.08);
}
.eac-cu li .ls {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.eac-cu li .ic {
  flex: none;
  font-size: 15px;
  color: var(--color-primary-100);
}
.eac-cu li time {
  flex: none;
  font-size: 13px;
  color: var(--color-secondary-700);
}

/* sticky enrol card */
.eac-buy {
  padding: 26px;
  border-radius: 18px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
  box-shadow: var(--shadow-4);
  margin-bottom: 40px;
}
.eac-buy .by-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 34px;
  font-weight: var(--fw-bold);
  color: var(--color-secondary-100);
}
.eac-buy .by-price del {
  font-size: 19px;
  font-weight: var(--fw-regular);
  color: var(--color-secondary-700);
}
.eac-buy .by-off {
  margin-left: auto;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 100px;
  color: var(--color-success-100);
  background: rgba(var(--secondary-rgb), 0.12);
}
.eac-buy .eac-btn-primary {
  width: 100%;
  justify-content: center;
  margin: 20px 0 10px;
}
/* ---------------------------------------------------------------------------
   Payment method chooser.

   The shape every checkout uses, because buyers already know how to read it:
   one full-width row per provider, the whole row a hit target, a radio on the
   left, what you can actually pay with underneath the name, and the selected
   row outlined rather than merely dotted.

   Nothing is preselected — see the view. The rows therefore have to read as
   "choose one" at a glance rather than "one is already chosen", which is why
   the resting state is deliberately quiet.
--------------------------------------------------------------------------- */
.eac-buy .ea-paychoice {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.eac-buy .ea-paychoice__legend {
  padding: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-secondary-600, #6b7280);
}
.eac-buy .ea-paychoice__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--color-secondary-200, #e4e6ee);
  border-radius: 12px;
  cursor: pointer;

  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.eac-buy .ea-paychoice__item:hover {
  border-color: var(--color-primary-400, #a78bfa);
}
.eac-buy .ea-paychoice__item input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-primary-600, #7c3aed);
  cursor: pointer;
}
.eac-buy .ea-paychoice__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.eac-buy .ea-paychoice__name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}
.eac-buy .ea-paychoice__desc {
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-secondary-600, #6b7280);
}
/* :has keeps the selected state in CSS alone. Browsers without it still show
   the radio, which is a complete control on its own. */
.eac-buy .ea-paychoice__item:has(input:checked) {
  border-color: var(--color-primary-600, #7c3aed);
  box-shadow: 0 0 0 3px var(--color-primary-100, #ede9fe);
}
.eac-buy .ea-paychoice__item:has(input:focus-visible) {
  outline: 2px solid var(--color-primary-600, #7c3aed);
  outline-offset: 2px;
}
.eac-buy .ea-paychoice__mode {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--color-warning-300, #fcd34d);
  background: var(--color-warning-50, #fffbeb);
  color: var(--color-warning-800, #92400e);
}
@media (max-width: 480px) {
  .eac-buy .ea-paychoice__item { padding: 12px 13px; gap: 11px; }
  .eac-buy .ea-paychoice__name { font-size: 14px; }
  .eac-buy .ea-paychoice__desc { font-size: 12px; }
}

.eac-buy .by-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-secondary-700);
}
.eac-buy dl {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--surface-rgb), 0.09);
  display: grid;
  gap: 13px;
}
.eac-buy dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}
.eac-buy dt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-body);
}
.eac-buy dt .ic {
  font-size: 16px;
  color: var(--color-primary-100);
}
.eac-buy dd {
  color: var(--color-secondary-100);
  font-weight: var(--fw-medium);
}

/* =============================================================
   BLOG ARTICLE
   ============================================================= */
.eac-article {
  font-size: 17px;
  line-height: 1.85;
}
.eac-article > * + * {
  margin-top: 20px;
}
.eac-article h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.7px;
  margin-top: 44px;
}
.eac-article h3 {
  font-size: 21px;
  margin-top: 32px;
}
.eac-article ul,
.eac-article ol {
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.eac-article li {
  list-style: disc;
}
.eac-article ol li {
  list-style: decimal;
}
.eac-article blockquote {
  position: relative;
  margin: 34px 0;
  padding: 28px 30px 28px 68px;
  border-radius: 16px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--color-secondary-100);
  background: var(--grad-400);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}
.eac-article blockquote .ic {
  position: absolute;
  left: 26px;
  top: 28px;
  font-size: 26px;
  color: var(--color-primary-100);
}
.eac-article figure {
  height: clamp(200px, 30vw, 360px);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 48px;
  color: #fff;
}
.eac-postmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 22px;
  font-size: 15px;
  color: var(--color-body);
}
.eac-postmeta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eac-postmeta .ic {
  font-size: 16px;
  color: var(--color-primary-100);
}
.eac-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(var(--surface-rgb), 0.09);
}
.eac-share b {
  font-size: 15px;
  color: var(--color-secondary-100);
}
.eac-share .sh {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.eac-share .sh a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.07);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
  transition: var(--transition-4);
}
.eac-share .sh a:hover {
  color: #fff;
  background: var(--grad-btn);
  border-color: transparent;
  transform: translateY(-3px);
}
.eac-author {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 34px;
  padding: 26px;
  border-radius: 18px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
}
.eac-author .au-av {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: #fff;
}
.eac-author h4 {
  font-size: 19px;
  margin-bottom: 6px;
}
.eac-author p {
  font-size: 15px;
  margin: 0;
}

/* =============================================================
   INSTRUCTOR PROFILE
   ============================================================= */
.eac-profile {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.eac-profile .pf-card {
  padding: 28px;
  border-radius: 20px;
  text-align: center;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
}
.eac-profile .pf-av {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: var(--fw-bold);
  color: #fff;
}
.eac-profile .pf-card h1 {
  font-size: 25px;
  letter-spacing: -0.6px;
}
.eac-profile .pf-role {
  font-size: 15px;
  margin: 6px 0 18px;
}
.eac-profile .eac-social {
  justify-content: center;
  margin-top: 20px;
}
.eac-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--surface-rgb), 0.09);
}
.eac-stats div b {
  display: block;
  font-size: 21px;
  color: var(--color-secondary-100);
}
.eac-stats div span {
  font-size: 13px;
  color: var(--color-secondary-700);
}

/* =============================================================
   EVENTS LIST
   ============================================================= */
.eac-event-rows {
  display: grid;
  gap: 18px;
}
.eac-event-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
  transition: var(--transition-4);
}
.eac-event-row:hover {
  border-color: rgba(var(--primary-rgb), 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}
.eac-event-row .ev-date {
  text-align: center;
  padding: 12px 0;
  border-radius: 14px;
  background: var(--grad-400);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
}
.eac-event-row .ev-date b {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: var(--color-secondary-100);
}
.eac-event-row .ev-date span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-100);
}
.eac-event-row h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.eac-event-row h3 a {
  color: var(--color-secondary-100);
  transition: color var(--transition);
}
.eac-event-row h3 a:hover {
  color: var(--color-primary-100);
}
.eac-event-row .ev-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--color-body);
}
.eac-event-row .ev-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.eac-event-row .ev-meta .ic {
  font-size: 15px;
  color: var(--color-primary-100);
}

/* =============================================================
   CONTACT
   ============================================================= */
.eac-contact {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.eac-cinfo {
  display: grid;
  gap: 16px;
}
.eac-cinfo li {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
}
.eac-cinfo .ci-ic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  background: var(--grad-btn);
}
.eac-cinfo h4 {
  font-size: 17px;
  margin-bottom: 5px;
}
.eac-cinfo p {
  font-size: 15px;
  margin: 0;
}
.eac-form {
  padding: 30px;
  border-radius: 20px;
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
}
.eac-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.eac-field label {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-secondary-100);
}
.eac-field input,
.eac-field textarea,
.eac-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-big);
  border: 1px solid var(--primary-border-2);
  background: rgba(var(--surface-rgb), 0.06);
  color: var(--color-white);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.eac-field textarea {
  min-height: 148px;
  resize: vertical;
}
.eac-field input::placeholder,
.eac-field textarea::placeholder {
  color: var(--color-secondary-700);
}
.eac-field input:focus,
.eac-field textarea:focus,
.eac-field select:focus {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}
.eac-field-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.eac-form .eac-btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.eac-map {
  height: 340px;
  margin-top: 60px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  color: var(--color-secondary-700);
  background: var(--color-dark-400);
  border: 1px solid var(--primary-border-2);
}
.eac-map .ic {
  font-size: 34px;
  color: var(--color-primary-100);
}

/* =============================================================
   404
   ============================================================= */
.eac-404 {
  text-align: center;
  padding: 120px 0 110px;
}
.eac-404 .big {
  font-size: clamp(96px, 20vw, 210px);
  line-height: 1;
  font-weight: var(--fw-black);
  letter-spacing: -6px;
}
.eac-404 h1 {
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -1px;
  margin: 10px 0 14px;
}
.eac-404 p {
  max-width: 470px;
  margin: 0 auto 32px;
}
.eac-404 .acts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* =============================================================
   INNER PAGES — RESPONSIVE
   ============================================================= */
@media (max-width: 1199px) {
  .eac-layout,
  .eac-layout.rev {
    grid-template-columns: minmax(0, 1fr);
  }
  .eac-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .eac-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 991px) {
  .eac-pagehead {
    padding: 110px 0 54px;
  }
  .eac-profile {
    grid-template-columns: minmax(0, 1fr);
  }
  .eac-course.is-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .eac-event-row {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .eac-event-row > .eac-btn-primary {
    grid-column: 1 / -1;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .eac-side {
    grid-template-columns: 1fr;
  }
  .eac-ticks {
    grid-template-columns: 1fr;
  }
  .eac-course.is-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .eac-course.is-row .cs-thumb {
    min-height: 190px;
  }
}
@media (max-width: 575px) {
  .eac-pagehead {
    padding: 96px 0 44px;
  }
  .eac-field-2 {
    grid-template-columns: 1fr;
  }
  .eac-form,
  .eac-widget,
  .eac-buy {
    padding: 20px;
  }
  .eac-article blockquote {
    padding: 24px 20px;
  }
  .eac-article blockquote .ic {
    position: static;
    display: block;
    margin-bottom: 10px;
  }
  .eac-share .sh {
    margin-left: 0;
  }
  .eac-author {
    flex-direction: column;
    text-align: center;
  }
  .eac-event-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* instructors grid — the home page shows the same card in a slider, the
   inner pages just lay them out */
.eac-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
@media (max-width: 1199px) {
  .eac-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .eac-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .eac-team-grid {
    grid-template-columns: 1fr;
  }
}

/* current page in the header nav */
.eac-menu > li > a[aria-current] {
  color: var(--color-primary-100);
}

/* The ph-1..8 rules above pair each swatch with a specific element class.
   The inner pages introduce new surfaces that want the same swatches, so
   each ph- class also publishes its gradient as --ph for them to read. */
.ph-1 { --ph: linear-gradient(140deg, var(--primary), var(--primary-dark)); }
.ph-2 { --ph: linear-gradient(140deg, var(--primary-dark), var(--secondary)); }
.ph-3 { --ph: linear-gradient(140deg, var(--primary-dark), var(--primary)); }
.ph-4 { --ph: linear-gradient(140deg, var(--primary), var(--secondary)); }
.ph-5 { --ph: linear-gradient(140deg, var(--secondary), var(--primary-dark)); }
.ph-6 { --ph: linear-gradient(140deg, #273148, var(--primary)); }
.ph-7 { --ph: linear-gradient(140deg, var(--secondary), var(--primary)); }
.ph-8 { --ph: linear-gradient(140deg, var(--primary-dark), var(--primary)); }

.eac-cd-media,
.eac-article figure,
.eac-wpost .wp-thumb,
.eac-author .au-av,
.eac-profile .pf-av {
  background: var(--ph, var(--grad-btn));
}

/* =============================================================
   NEWSLETTER + FOOTER — reference pass
   ============================================================= */

/* lead line under the title */
.nl-sub {
  max-width: 480px;
  margin: -18px auto 30px;
  font-size: 16px;
  line-height: 1.7;
}

/* mail glyph sitting inside the field */
.nl-at {
  flex: none;
  display: grid;
  place-items: center;
  padding-left: 16px;
  font-size: 18px;
  color: var(--color-secondary-700);
}
.eac-nl-form:focus-within .nl-at {
  color: var(--color-primary-100);
}
.eac-nl-form input {
  padding-left: 12px;
}

/* the reassurance line gets its shield */
.nl-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nl-note li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 26px;
}
/* a rule between items rather than around them, so the row reads as one
   line and the ends stay flush */
.nl-note li + li {
  border-left: 1px solid rgba(var(--surface-rgb), 0.14);
}
.nl-note .ic {
  font-size: 16px;
}
.nl-note .ic-shield {
  color: var(--secondary);
}
.nl-note .ic-lock {
  color: var(--color-primary-100);
}
.nl-note .ic-heart {
  color: var(--primary);
}
@media (max-width: 575px) {
  /* stacked, a left border on each row would read as a stray tick */
  .nl-note {
    flex-direction: column;
    gap: 10px;
  }
  .nl-note li {
    padding: 0;
  }
  .nl-note li + li {
    border-left: 0;
  }
}

/* a lit seam where the newsletter hands off to the footer columns */
.eac-newsletter::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1180px, 92vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--primary-rgb), 0.75) 35%,
    rgba(var(--primary-rgb), 0.95) 50%,
    rgba(var(--primary-rgb), 0.75) 65%,
    transparent
  );
  box-shadow:
    0 0 10px 0 rgba(var(--primary-rgb), 0.8),
    0 0 30px 2px rgba(var(--primary-rgb), 0.28);
  pointer-events: none;
}

/* drifting specks, so the arc area is not flat black */
.nl-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(var(--surface-rgb), 0.55), transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(var(--primary-rgb), 0.75), transparent),
    radial-gradient(1px 1px at 33% 61%, rgba(var(--surface-rgb), 0.4), transparent),
    radial-gradient(1.5px 1.5px at 88% 55%, rgba(var(--secondary-rgb), 0.6), transparent),
    radial-gradient(1px 1px at 60% 8%, rgba(var(--surface-rgb), 0.45), transparent),
    radial-gradient(1.5px 1.5px at 22% 78%, rgba(var(--primary-rgb), 0.5), transparent),
    radial-gradient(1px 1px at 68% 72%, rgba(var(--surface-rgb), 0.35), transparent),
    radial-gradient(1.5px 1.5px at 46% 30%, rgba(var(--accent-rgb), 0.5), transparent);
  animation: nl-twinkle 7s ease-in-out infinite alternate;
}
@keyframes nl-twinkle {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

/* ---- footer detailing ---- */
.eac-fcol h4 {
  position: relative;
  padding-bottom: 12px;
}
.eac-fcol h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-500);
}

/* chevron bullets on the link columns */
.eac-flinks a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eac-flinks a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.eac-flinks a:hover::before {
  opacity: 1;
}

.eac-made {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eac-made .ic {
  font-size: 15px;
  color: var(--color-primary-100);
}

@media (max-width: 991px) {
  .eac-copy {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 575px) {
  .nl-sub {
    margin: -8px auto 24px;
    font-size: 15px;
  }
  .nl-at {
    display: none;
  }
  .eac-nl-form input {
    padding-left: 16px;
  }
}

/* the footer column is narrow, so the two store badges sit side by side
   rather than wrapping onto separate rows */
.eac-fcol .app-stores.small {
  flex-wrap: nowrap;
  gap: 10px;
  margin: 22px 0 0;
}
.eac-fcol .app-stores.small .store {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 12px;
}

/* =============================================================
   PHOTOGRAPHY
   Each thumb keeps its ph-N gradient underneath, so a missing or
   still-loading file leaves the card looking deliberate rather
   than broken. The photo is the first child, so every badge,
   overlay and scrim already stacks above it.
   ============================================================= */
.eac-card-thumb img,
.cs-thumb img,
.tm-thumb img,
.ab-shot img,
.tst-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* portraits are framed so the head sits in the upper third */
.tm-thumb img.is-portrait,
.ab-shot img.is-portrait,
.tst-shot img.is-portrait {
  object-position: top center;
}
/* photos are busier than a flat gradient — deepen the scrim so the
   name and role printed over them keep their contrast */
.eac-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  /* fixed dark, not themed: the label over it is forced white in both
     themes (it used to sit on a brand gradient), so a light scrim would
     leave white-on-white in light mode */
  background: linear-gradient(
    180deg,
    transparent 24%,
    rgba(8, 11, 20, 0.55) 56%,
    rgba(8, 11, 20, 0.94) 100%
  );
  pointer-events: none;
}

/* =============================================================
   VIDEO LIGHTBOX
   ============================================================= */
.eac-video {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
}
.eac-video[hidden] {
  display: none;
}
.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--bg-rgb), 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}
.eac-video.is-open .video-backdrop {
  opacity: 1;
}
.video-dialog {
  position: relative;
  width: min(1020px, 100%);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 0.32s var(--ease-premium),
    transform 0.32s var(--ease-premium);
}
.eac-video.is-open .video-dialog {
  opacity: 1;
  transform: none;
}
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--primary-border-2);
  box-shadow: 0 40px 120px -30px rgba(var(--bg-rgb), 0.9);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-x {
  position: absolute;
  top: -54px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.12);
  border: 1px solid rgba(var(--surface-rgb), 0.18);
  transition: var(--transition-4);
}
.video-x:hover {
  color: #fff;
  background: var(--grad-btn);
  border-color: transparent;
}
@media (max-width: 767px) {
  .eac-video {
    padding: 16px;
  }
  .video-x {
    top: -50px;
    width: 38px;
    height: 38px;
  }
  .video-frame {
    border-radius: 14px;
  }
}

/* the inner-page surfaces take photos the same way */
.eac-cd-media img,
.eac-author .au-av img,
.eac-profile .pf-av img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.eac-author .au-av,
.eac-profile .pf-av {
  position: relative;
  overflow: hidden;
}
.eac-author .au-av img.is-portrait,
.eac-profile .pf-av img.is-portrait {
  object-position: top center;
}

/* =============================================================
   BLOG + EVENT PHOTOGRAPHY
   Same contract as the card photos above: the ph-N gradient stays
   underneath as the fallback, the photo is the first child, so the
   category chip and any scrim already stack on top of it.
   ============================================================= */
.pt-thumb img,
.ev-thumb img,
.eac-wpost .wp-thumb img,
.eac-article figure img,
.eac-event-row .ev-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ev-thumb,
.eac-wpost .wp-thumb,
.eac-article figure {
  position: relative;
  overflow: hidden;
}
/* the category chip now sits on a photo instead of a flat gradient.
   Pin it dark in both themes — its text is forced white, so a themed
   translucent background would go white-on-white in light mode. */
.pt-cat {
  background: rgba(8, 11, 20, 0.55);
  border-color: rgba(255, 255, 255, 0.24);
}
/* and give that chip something consistent to sit against */
.pt-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 20, 0.42) 0%, transparent 44%);
  pointer-events: none;
}

/* the event list rows carry a photo between the date chip and the copy */
.eac-event-row {
  grid-template-columns: 88px 132px minmax(0, 1fr) auto;
}
.eac-event-row .ev-shot {
  position: relative;
  overflow: hidden;
  height: 84px;
  border-radius: 14px;
  background: var(--ph, var(--grad-btn));
}
@media (max-width: 991px) {
  .eac-event-row {
    grid-template-columns: 84px 116px minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  /* at phone width the row stacks, and a 132px-wide strip of photo
     reads as clutter rather than context */
  .eac-event-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .eac-event-row .ev-shot {
    height: 150px;
  }
  /* stacked, the date chip should hug its text rather than run the
     full width of the card */
  .eac-event-row .ev-date {
    justify-self: start;
    min-width: 88px;
    padding: 12px 20px;
  }
}

/* =============================================================
   SEARCH OVERLAY
   Same shape as the video lightbox: a fixed full-screen layer with
   a blurred backdrop and one centred dialog. It sits above the
   lightbox so a search opened over anything still reads on top.
   ============================================================= */
.eac-search {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}
.eac-search[hidden] {
  display: none;
}
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--bg-rgb), 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}
.eac-search.is-open .search-backdrop {
  opacity: 1;
}
.search-dialog {
  position: relative;
  width: min(680px, 100%);
  opacity: 0;
  transform: translateY(-16px) scale(0.97);
  transition:
    opacity 0.32s var(--ease-premium),
    transform 0.32s var(--ease-premium);
}
.eac-search.is-open .search-dialog {
  opacity: 1;
  transform: none;
}
.search-x {
  position: absolute;
  top: -54px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.12);
  border: 1px solid rgba(var(--surface-rgb), 0.18);
  transition: var(--transition-4);
}
.search-x:hover {
  color: #fff;
  background: var(--grad-btn);
  border-color: transparent;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 9px 9px 20px;
  border-radius: 100px;
  background: var(--color-dark-300);
  border: 1px solid var(--primary-border-2);
  box-shadow: 0 40px 120px -30px rgba(var(--bg-rgb), 0.9);
  transition: var(--transition-4);
}
.search-form:focus-within {
  border-color: rgba(var(--primary-rgb), 0.55);
}
.search-ic {
  flex: none;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--color-primary-100);
}
.search-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: none;
  font-family: inherit;
  font-size: 17px;
  color: var(--color-secondary-100);
}
.search-form input::placeholder {
  color: var(--color-secondary-700);
}
/* the browser's own clear button fights the pill shape */
.search-form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--color-secondary-700);
}
.search-chips button {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-family: inherit;
  color: var(--color-secondary-100);
  background: rgba(var(--surface-rgb), 0.08);
  border: 1px solid rgba(var(--surface-rgb), 0.12);
  transition: var(--transition-4);
}
.search-chips button:hover {
  color: #fff;
  background: var(--grad-btn);
  border-color: transparent;
}

.search-results {
  margin-top: 16px;
  max-height: min(46vh, 420px);
  overflow-y: auto;
  border-radius: 18px;
  background: var(--color-dark-300);
  border: 1px solid var(--primary-border-2);
  box-shadow: 0 40px 120px -30px rgba(var(--bg-rgb), 0.9);
}
.search-results:empty {
  display: none;
}
.search-results a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(var(--surface-rgb), 0.07);
  transition: var(--transition-4);
}
.search-results a:last-child {
  border-bottom: 0;
}
.search-results a:hover,
.search-results a.is-active {
  background: rgba(var(--primary-rgb), 0.12);
}
.search-results .sr-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  background: var(--grad-btn);
}
.search-results .sr-tx {
  min-width: 0;
}
.search-results .sr-tx b {
  display: block;
  font-size: 15px;
  font-weight: var(--fw-semiBold);
  color: var(--color-secondary-100);
}
.search-results .sr-tx span {
  font-size: 13px;
  color: var(--color-secondary-700);
}
.search-results mark {
  background: none;
  color: var(--color-primary-100);
}
.search-empty {
  padding: 26px 18px;
  text-align: center;
  font-size: 14px;
  color: var(--color-secondary-700);
}

@media (max-width: 767px) {
  .eac-search {
    padding: 16px;
    /* on a phone the keyboard eats the lower half, so sit the dialog
       near the top rather than dead centre */
    align-content: start;
    padding-top: 84px;
  }
  .search-x {
    top: -52px;
  }
  .search-form {
    padding-left: 16px;
  }
  .search-form input {
    font-size: 16px; /* anything smaller makes iOS zoom on focus */
  }
}

/* =============================================================
   HELPERS THAT REPLACE INLINE STYLE ATTRIBUTES
   The two progress bars and the narrow prose column used to carry
   their values in a style="" attribute; they live here instead so
   the markup stays free of CSS.
   ============================================================= */
.hc-bar .bar-75 {
  --w: 75%;
}
.ps-bar .bar-78 {
  --w: 78%;
}
/* a prose column that reads better narrower than the grid it sits in */
.eac-cd-body.is-narrow {
  max-width: 820px;
  margin-inline: auto;
}

/* the modals lock the page behind them; this replaces setting
   body.style.overflow from three different scripts */
body.is-locked {
  overflow: hidden;
}


/* =============================================================
   EDUCO BANNER — topbar, header and hero
   Appended last so these rules win over the generic .eac-*
   header/hero styles they replace. Everything is driven by the
   --edu-* tokens below, which flip with the theme attribute.

   E-ACADEMY CHANGES in this block, all four of them:

   1. [data-theme="light"] became [data-scheme="light"], 22 times.
      `data-theme` on <html> is the APPLICATION's — it holds the academy's
      palette name. The template's light/dark switch was renamed to
      data-scheme when learnhub.css was first integrated so the two could
      not collide. Do not rename these back; see the note at the top of
      app/Helpers/sitetheme_helper.php.

   2. The accent glows and shadows — rgba(235, 127, 28, x), 22 of them —
      now read rgba(var(--primary-rgb), x). The design's orange is the
      DEFAULT value of --primary, so an academy that has not chosen a
      palette looks exactly like the design as shared; one that has chosen
      violet or green gets a header that matches the rest of its site
      rather than an orange band above a violet page.

   3. --edu-accent / --edu-accent-2 / --edu-accent-soft point at the brand
      tokens for the same reason.

   4. The neutral drop shadows — rgba(14, 44, 72, x) — went to
      --edu-navy-rgb instead. They are a SURFACE, not the brand: tying the
      shadow under a card to the academy's accent would tint every shadow
      on the page and is not what the design does.
   ============================================================= */

/* dark ground (page default) */
:root {
  /* The brand tokens, not literals — see change 3 above. --primary defaults
     to the design's #eb7f1c, so nothing moves until an admin picks a colour. */
  --edu-accent: var(--primary);
  --edu-accent-2: var(--primary-dark);
  --edu-accent-soft: rgba(var(--primary-rgb), 0.16);
  --edu-navy: #071624;
  --edu-navy-rgb: 20, 29, 51;
  --edu-ink: var(--text);
  --edu-nav-ink: var(--muted);
  --edu-line: rgba(var(--surface-rgb), 0.14);
  --edu-card: var(--card);
  --edu-input: rgba(var(--surface-rgb), 0.06);
  --edu-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --edu-head-bg: rgba(var(--bg-rgb), 0.86);
  --edu-head-solid: var(--bg);
  --edu-hero-bg: radial-gradient(
      1100px 520px at 62% 0%,
      rgba(var(--primary-rgb), 0.15) 0%,
      transparent 68%
    ),
    linear-gradient(180deg, #17130d 0%, var(--bg) 78%);
  --edu-doodle-op: 0.12;
}

/* light ground — this is the design as shared */
:root[data-scheme="light"] {
  --edu-accent: var(--primary);
  --edu-accent-2: var(--primary-dark);
  /* A tint of the brand rather than the design's flat #fbe1c3, so the chip
     backgrounds follow the palette like everything else in the block. */
  --edu-accent-soft: rgba(var(--primary-rgb), 0.14);
  --edu-navy: #071624;
  --edu-navy-rgb: 14, 44, 72;
  --edu-ink: #10243d;
  --edu-nav-ink: #16324f;
  --edu-line: rgba(var(--edu-navy-rgb), 0.1);
  --edu-card: #ffffff;
  --edu-input: #faf4ec;
  --edu-shadow: 0 20px 50px -24px rgba(var(--edu-navy-rgb), 0.28);
  --edu-head-bg: #fffaf3;
  --edu-head-solid: #fffaf3;
  --edu-hero-bg: linear-gradient(180deg, #fffaf4 0%, #fdf1e3 62%, #fcecdb 100%);
  --edu-doodle-op: 0.055;
}

/* -------------------------------------------------------------
   TOPBAR
   ------------------------------------------------------------- */
.edu-topbar {
  background: var(--edu-navy);
  border-bottom: 0;
  font-size: 15px;
  position: relative;
  z-index: 60;
}
.edu-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  flex-wrap: wrap;
}
.edu-welcome {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}
.edu-topbar-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.edu-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.86);
  transition: color var(--transition);
}
.edu-call .ic {
  font-size: 16px;
  color: var(--edu-accent);
}
.edu-call b {
  color: var(--edu-accent);
  font-weight: var(--fw-bold);
}
.edu-call:hover {
  color: #ffffff;
}
.edu-social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.edu-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 15px;
  transition:
    background var(--transition),
    transform var(--transition);
}
.edu-social a:hover {
  background: var(--edu-accent);
  transform: translateY(-2px);
}
.edu-social a.is-ig {
  background: var(--edu-accent);
}

/* -------------------------------------------------------------
   HEADER
   ------------------------------------------------------------- */
.edu-header {
  background: var(--edu-head-bg);
  border-bottom: 1px solid transparent;
}
.edu-header.is-stuck {
  background: var(--edu-head-solid);
  background: var(--bg-2);
  border-bottom-color: var(--edu-line);
  box-shadow: 0 10px 34px -20px rgba(var(--edu-navy-rgb), 0.45);
}
.edu-nav-wrap {
  min-height: 92px;
  gap: 18px;
}
.edu-nav-wrap .eac-logo-img {
  height: 54px;
}
.edu-tools {
  gap: 12px;
}
.edu-login {
  display: grid;
}

/* the search pill that replaces the bare icon button */
.edu-searchbox {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 224px;
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #f7dfbe;
  background: var(--edu-card);
  color: var(--muted);
  font-size: 16px;
  text-align: left;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.edu-searchbox .ic {
  font-size: 19px;
  color: var(--edu-ink);
}
.edu-searchbox:hover {
  border-color: var(--edu-accent);
  box-shadow: 0 10px 26px -18px rgba(var(--primary-rgb), 0.85);
}

@media (min-width: 992px) {
  /* nav sits centred between the logo and the tools */
  .edu-nav {
    margin-left: auto;
    margin-right: auto;
  }
  .edu-menu {
    gap: 10px;
  }
  .edu-menu > li > a {
    padding: 12px 14px;
    font-size: 16px;
    white-space: nowrap;
    font-weight: var(--fw-medium);
    color: var(--edu-nav-ink);
    border-radius: 8px;
  }
  .edu-menu > li > a:hover,
  .edu-menu > li.has-drop:hover > a,
  .edu-menu > li > a[aria-current] {
    color: var(--edu-accent);
    background: transparent;
  }
  .edu-nav .eac-nav-cta {
    display: none;
  }
}

@media (max-width: 991px) {
  .edu-header {
    background: var(--edu-head-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .edu-nav-wrap {
    min-height: 74px;
  }
  .edu-searchbox {
    width: 50px;
    padding: 0;
    justify-content: center;
  }
  .edu-searchbox span {
    display: none;
  }
}
@media (max-width: 575px) {
  .edu-searchbox {
    display: none;
  }
  .edu-topbar-in {
    justify-content: center;
    text-align: center;
    padding-block: 10px;
  }
  .edu-welcome {
    width: 100%;
    justify-content: center;
  }
  .edu-topbar-in{
    gap:4px;
  }
  .edu-topbar-right {
    flex-direction: column;
    gap: 12px;
  }
}

/* -------------------------------------------------------------
   HERO
   ------------------------------------------------------------- */
.edu-hero {
  position: relative;
  padding-top: 0;
  padding-bottom: 70px;
  background: var(--edu-hero-bg);
  overflow: hidden;
}

/* hand-drawn education doodles behind everything */
.edu-doodles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--edu-doodle-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23eb7f1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 34h26v34H20zM50 34h26v34H50zM46 34v34'/%3E%3Cpath d='m130 18 6 13 14 2-10 10 3 14-13-7-13 7 3-14-10-10 14-2z'/%3E%3Cpath d='M190 62a10 10 0 0 1 3-19 14 14 0 0 1 26-4 10 10 0 0 1 2 23z'/%3E%3Cpath d='m26 152 6-20 22-22 8 8-22 22z'/%3E%3Ccircle cx='122' cy='128' r='19'/%3E%3Cpath d='M103 128h38M122 109a28 28 0 0 1 0 38 28 28 0 0 1 0-38'/%3E%3Cpath d='M206 148c-14-9-18-16-18-22a9 9 0 0 1 18-4 9 9 0 0 1 18 4c0 6-4 13-18 22z'/%3E%3Cpath d='M32 194h18M36 194v15l-11 21a4 4 0 0 0 4 6h26a4 4 0 0 0 4-6l-11-21v-15'/%3E%3Cpath d='M118 232a6 6 0 1 0 6-6v-30l20-6v29a6 6 0 1 0 6 6'/%3E%3Cpath d='M196 214h20M206 204v20'/%3E%3C/svg%3E");
  background-size: 320px 320px;
}

.edu-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  column-gap: 26px;
  align-items: start;
  padding-top: 60px;
  text-align: left;
}

/* ---------- copy ---------- */
.edu-hero-copy {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  padding-top: 46px;
}
.edu-hero-title {
  margin: 0;
  max-width: 680px;
  font-family: var(--font-primary);
  font-size: clamp(31px, 3.5vw, 50px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  font-weight: 700;
  color: var(--edu-ink);
}
.edu-hero-title .edu-brand {
  color: var(--edu-accent);
}
.edu-hero-disc {
  max-width: 520px;
  margin: 26px 0 0;
  font-size: 17px;
  line-height: 2;
  color: var(--muted);
}
.edu-hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.edu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--edu-accent);
  color: #ffffff;
  font-size: 17px;
  font-weight: var(--fw-medium);
  box-shadow: 0 18px 34px -16px rgba(var(--primary-rgb), 0.75);
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}
.edu-btn:hover {
  background: var(--edu-accent-2);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -16px rgba(var(--primary-rgb), 0.9);
}
.edu-btn svg{
  width:18px;
}
.edu-bnr-btn{
  min-width:unset;
  width: 58px;
  height: 58px;
  padding: 0;
}
.edu-play {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: var(--fw-medium);
  color: var(--edu-ink);
  background: none;
  border: 0;
  cursor: pointer;
}
.edu-play .pp {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--edu-navy);
  color: #ffffff;
  font-size: 17px;
  padding-left: 3px;
  transition: transform var(--transition);
}
.edu-play:hover .pp {
  transform: scale(1.08);
  background: var(--edu-accent);
}
:root[data-scheme="dark"] .edu-play .pp,
:root:not([data-scheme="light"]) .edu-play .pp {
  background: rgba(var(--surface-rgb), 0.12);
  border: 1px solid var(--edu-line);
}

/* the two hand-drawn arrows */
.edu-scribble {
  position: absolute;
  color: var(--edu-accent);
  opacity: 0.65;
  pointer-events: none;
}
.edu-scribble-1 {
  width: 108px;
  top: -46px;
  right: -34px;
}
.edu-scribble-2 {
  width: 58px;
  left: -76px;
  bottom: -30px;
}

/* ---------- visual ---------- */
.edu-hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 660px;
  align-self: stretch;
}
.edu-disc {
  position: absolute;
  right: 92px;
  top: 46px;
  width: 400px;
  max-width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--edu-accent-soft);
}
.edu-student {
  position: absolute;
  z-index: 1;
  right: 120px;
  bottom: -54px;
  width: min(460px, 98%);
  height: auto;
  filter: drop-shadow(0 26px 40px rgba(var(--edu-navy-rgb), 0.22));
}
:root:not([data-scheme="light"]) .edu-student {
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55));
}

/* floating glass cards */
.edu-float {
  position: absolute;
  z-index: 3;
  border-radius: 14px;
  background: var(--edu-card);
  border: 1px solid var(--edu-line);
  box-shadow: var(--edu-shadow);
}
.edu-tx {
  display: block;
  min-width: 0;
}
.edu-tx b {
  display: block;
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
  line-height: 1.3;
}
.edu-tx i {
  display: block;
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}
.edu-emoji {
  font-size: 34px;
  line-height: 1;
  flex: none;
}

.edu-video-card {
  top: 18px;
  left: -8%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 30px 20px 22px;
  animation: eduFloat 7s ease-in-out infinite;
}
.edu-video-card .edu-tx b {
  font-size: 26px;
}

.edu-results {
  top: 196px;
  right: 0;
  width: 288px;
  padding: 20px 22px;
  animation: eduFloat 9s ease-in-out infinite;
  animation-delay: -3s;
}
.edu-results h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
}
.edu-results ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.edu-results li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.edu-results li + li {
  border-top: 1px solid var(--edu-line);
}
.edu-results li img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.edu-results li .edu-tx {
  flex: 1;
}
.edu-results li em {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--edu-accent-soft);
  color: var(--edu-accent);
  font-style: normal;
  font-size: 14px;
  font-weight: var(--fw-bold);
}
.edu-results .edu-star {
  position: absolute;
  top: -26px;
  right: -22px;
  font-size: 46px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.edu-satisfied {
  right: 0;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  animation: eduFloat 8s ease-in-out infinite;
  animation-delay: -5s;
}
.edu-avatars {
  display: flex;
  flex: none;
}
.edu-avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--edu-card);
}
.edu-avatars img + img {
  margin-left: -16px;
}

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

/* ---------- course finder ---------- */
.edu-finder {
  position: relative;
  z-index: 5;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  width: min(880px, 116%);
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 0 20px;
  padding: 26px 24px;
  border-radius: 14px;
  background: var(--edu-card);
  border: 1px solid var(--edu-line);
  box-shadow: var(--edu-shadow);
}
.edu-field + .edu-field {
  border-left: 1px solid var(--edu-line);
  padding-left: 20px;
}
.edu-field label {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--edu-ink);
}
.edu-select {
  position: relative;
  display: block;
}
.edu-select select {
  width: 100%;
  height: 54px;
  padding: 0 36px 0 14px;
  border-radius: 10px;
  border: 1px solid var(--edu-line);
  background: var(--edu-input);
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.edu-select select:focus-visible {
  outline: 2px solid var(--edu-accent);
  outline-offset: 2px;
}
.edu-select .ic {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: var(--muted);
  pointer-events: none;
}
.edu-finder-go {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--edu-accent);
  color: #ffffff;
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 14px 26px -12px rgba(var(--primary-rgb), 0.8);
  transition:
    background var(--transition),
    transform var(--transition);
}
.edu-finder-go:hover {
  background: var(--edu-accent-2);
  transform: scale(1.06);
}

/* ---------- stats strip ---------- */
.edu-stats {
  position: relative;
  z-index: 6;
  margin-top: 54px;
  padding: 44px 20px;
  border-radius: 20px;
  background: var(--edu-navy);
  border: 1px solid var(--edu-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.edu-stat + .edu-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.edu-stat b {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(29px, 2.9vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.edu-stat p {
  margin: 10px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.74);
}

/* -------------------------------------------------------------
   HERO RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1199px) {
  .edu-hero-visual {
    min-height: 580px;
  }
  .edu-video-card {
    left: -14%;
    padding: 16px 22px 16px 18px;
  }
  .edu-results {
    right: 0;
    width: 268px;
  }
  .edu-satisfied {
    right: 0;
    bottom: 70px;
  }
  .edu-finder {
    width: 108%;
  }
  .edu-scribble-2 {
    display: none;
  }
}

@media (max-width: 991px) {
  .edu-hero {
    padding-bottom: 60px;
  }
  .edu-hero-in {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
  }
  .edu-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
    text-align: center;
  }
  .edu-hero-disc {
    margin-inline: auto;
  }
  .edu-hero-actions {
    justify-content: center;
  }
  .edu-hero-visual {
    grid-column: 1;
    grid-row: 2;
    min-height: 520px;
    margin-top: 30px;
  }
  .edu-disc {
    right: 50%;
    top: 10px;
    transform: translateX(50%);
    width: 360px;
  }
  .edu-student {
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    width: min(380px, 76%);
  }
  .edu-video-card {
    left: 0;
    top: 42px;
  }
  .edu-results {
    right: 0;
    top: 210px;
  }
  .edu-satisfied {
    right: auto;
    left: 0;
    bottom: 24px;
  }
  .edu-finder {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    margin-top: 44px;
  }
  .edu-scribble {
    display: none;
  }
}

@media (max-width: 767px) {
  .edu-hero-in {
    padding-top: 34px;
  }
  .edu-hero-disc {
    font-size: 16px;
    line-height: 1.85;
  }
  .edu-hero-actions {
    gap: 20px;
  }
  .edu-hero-visual {
    min-height: 430px;
  }
  .edu-disc {
    width: 300px;
  }
  .edu-video-card,
  .edu-satisfied {
    padding: 14px 18px;
    gap: 12px;
  }
  .edu-results {
    width: 236px;
    top: 150px;
    padding: 16px;
  }
  .edu-results li {
    padding: 9px 0;
  }
  .edu-results li img {
    width: 34px;
    height: 34px;
  }
  .edu-tx b {
    font-size: 15px;
  }
  .edu-tx i {
    font-size: 13px;
  }
  .edu-finder {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }
  .edu-field + .edu-field {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--edu-line);
    padding-top: 18px;
  }
  .edu-finder-go {
    justify-self: start;
  }
  .edu-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
    padding: 34px 16px;
  }
  .edu-stat:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 575px) {
  .edu-hero-visual {
    min-height: 380px;
  }
  .edu-results {
    display: none;
  }
  .edu-video-card {
    top: 10px;
  }
  .edu-btn,
  .edu-play {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-video-card,
  .edu-results,
  .edu-satisfied {
    animation: none;
  }
}

/* =============================================================
   SECTION HEADS — eyebrow pill, solid heading, sub-heading
   Overrides the gradient-badge treatment the .eac-* sheet ships
   with, so every section reads the same way as the banner.
   ============================================================= */
.eac-section-head {
  max-width: 780px;
  margin: 0 auto 54px;
}

/* the eyebrow becomes a flat, letter-spaced pill */
.eac-section-head .eac-badge-gradient {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: var(--fw-semiBold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--edu-accent-soft);
}
.eac-section-head .eac-badge-gradient::before {
  display: none;
}
.eac-section-head .eac-badge-gradient .ic {
  display: none;
}
/* .eac-gradient-500 paints itself with a clipped gradient — unset that
   so the pill label is a single accent colour */
.eac-section-head .eac-gradient-500 {
  background: none;
  color: var(--edu-accent);
  -webkit-text-fill-color: var(--edu-accent);
}

.eac-section-head .eac-title {
  padding-top: 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.26;
  letter-spacing: -0.7px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
}
/* initTextAnimation() writes a per-character colour inline for the
   highlighted span; !important is the only way past it */
.eac-section-head .eac-gradient-splite,
.eac-section-head .eac-gradient-splite .reveal-child {
  color: var(--edu-accent) !important;
}

.eac-section-sub {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* new banner css start */
/* Banner CSS Start*/
.edu-banner-wrapper {
    background: var(--edu-hero-bg);
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 90px);
}
.edu-banner-left{
    max-width: 888px;
    width: 100%;
    position: relative;
    z-index: 2;
}
.edu-banner-left h1{
    font-size: 54px;
    font-weight: 700;
    color: var(--title-color);
    text-transform: capitalize;
}
.edu-banner-left h1 span{
    color: var(--primary-color);
}
.edu-banner-left p {
    max-width: 520px;
    line-height: 1.8;
    padding-top: 20px;
}
.edu-banner-btns{
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
}
.edu-banner-play-icon{
    display: flex;
    align-items: center;
    gap: 10px;
}
.edu-banner-play-icon span{
    width: 60px;
    height: 60px;
    background-color: var(--title-color);
    border-radius: 50%;
    box-shadow: 15px 20px 60px 0px rgba(21, 121, 197, 0.02);
    box-shadow: 6px 6px 25px 0px #FFFFFF4D inset;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    animation: shadow-pulse 2s infinite;
}
@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.55)
    }
    100% {
        box-shadow: 0 0 0 20px rgb(255 255 0 / 0%);        
    }
}
.edu-banner-play-icon span svg,.edu-banner-play-icon span svg use{
    fill: var(--white-color);
    color: var(--white-color);
}
.edu-banner-play-icon a {
    font-size: 16px;
    font-weight: 400;
    color: var(--title-color);
    text-transform: capitalize;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.edu-banner-box {
    max-width: 888px;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 13px 14px 40px 0px rgba(var(--edu-navy-rgb), 0.15);
    border-radius: 20px;
    padding: 30px;
    margin-top: 80px;
    position: relative;
}
.edu-banner-form-flex{
    display: flex;
    flex-wrap: wrap;    
}
.edu-banner-form-info {
    position: relative;
    z-index: 1;
    max-width: 222px;
    width: 100%;
    margin-right: 40px;
}
.edu-banner-form-info::before{
    content: '';
    width: 1px;
    height: 108px;
    background-color: var(--edu-line);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    z-index: -1;
    display:none;
}
.edu-banner-form-info:first-child:before{
    display: none;
}
.edu-banner-form-info:nth-child(3){
    margin-right: 30px;
}
.edu-banner-form-info label{
    font-size: 16px;
    font-weight: 400;
    color: var(--title-color);
    text-transform: capitalize;
    padding-bottom: 10px;
}
.edu-banner-form-btn {
    margin-top: 38px;
}
.edu-banner-form-btn a {
    min-width: unset;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.edu-banner-form-btn a img {
    max-width: 17px;
    height: auto;
}
.edu-banner-box > img {
    position: absolute;
    top: -100px;
    left: -60px;
    animation: 4s installation infinite alternate;
}
@keyframes installation {
    0% {
        transform: translateY(0px);        
    }
    50% {
        transform: translateY(-20px);        
    }
}
.edu-video-box {
    max-width: 245px;
    width: 100%;
    min-height: 80px;
    padding: 15px;
    background-color: var(--edu-card);
    box-shadow: 13px 14px 40px 0px rgba(var(--edu-navy-rgb), 0.15);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: absolute;
    top: -40px;
    right: 0;
}
.edu-arrow1 {
    position: absolute;
    top: -70px;
    right: 220px;
    animation: wobble-vertically 5s linear infinite;
}
@keyframes wobble-vertically {
    16.65% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }
    33.3% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }
    49.95% {
        -webkit-transform: translateX(4px);
        transform: translateX(4px);
    }
    66.6% {
        -webkit-transform: translateX(-2px);
        transform: translateX(-2px);
    }
    83.25% {
        -webkit-transform: translateX(1px);
        transform: translateX(1px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
.edu-video-content h4{
    font-size: 28px;
    font-weight: 700;
    color:var(--title-color);
    text-transform: capitalize;
} 
.edu-video-content p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    text-transform: capitalize;
    padding-top: 0;
} 
.edu-banner-right {
    position: relative;
    max-width: 700px;
    width: 100%;
}
.edu-banner-img {
    position: relative;
    z-index: 1;
    margin-left: -100px;
}
.edu-banner-img:before{
    content: '';
    width: 826px;
    height: 826px;
    background: linear-gradient(180deg, var(--edu-accent-soft) -8.05%, rgba(217, 217, 217, 0) 82.2%);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}
.edu-banner-flex {
    display: flex;
    align-items: center;
}
.edu-banner-reslt-box {
    max-width: 275px;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 13px 14px 40px 0px rgba(var(--edu-navy-rgb), 0.15);
    border-radius: 10px;
    padding: 20px;
    position: absolute;
    top: 100px;
    right: -130px;
    z-index: 9;
}
.edu-star-smile{
    position: absolute;
    top: -20px;
    right: -20px;
}
.edu-banner-reslt-box > h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color);
    text-transform: capitalize;
    padding-bottom: 25px;
}   
.edu-reslt-flex{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.edu-reslt-flex:last-child{
    margin-bottom: 0;
}
.edu-reslt-flex > img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
}
.edu-reslt-info {
    min-width: 130px;
}
.edu-reslt-info h4{
    font-size: 16px;
    font-weight: 500;
    color: var(--title-color);
    text-transform: capitalize;
}
.edu-reslt-info p{
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    text-transform: capitalize;
}
.edu-reslt-grade span{
    width: 30px;
    height: 30px;
    background-color: var(--edu-accent-soft);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}
/* Banner CSS End*/
/* new banner css end  */
/* =============================================================
   STEP CARDS
   ============================================================= */
.edu-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding-top: 18px;
}

.edu-step {
  --step-c: var(--edu-accent);
  position: relative;
  padding: 48px 26px 34px;
  border-radius: 14px;
  text-align: center;
  background: var(--edu-card);
  border: 1px solid var(--edu-line);
  top: 0;
  transition:
    top 0.3s var(--ease-premium),
    box-shadow 0.3s var(--ease-premium),
    border-color 0.3s var(--ease-premium);
}
.edu-step:hover,
.edu-step:focus-within {
  top: -10px;
  border-color: transparent;
  box-shadow: 0 30px 55px -28px rgba(var(--edu-navy-rgb), 0.34);
}
:root:not([data-scheme="light"]) .edu-step:hover,
:root:not([data-scheme="light"]) .edu-step:focus-within {
  box-shadow: 0 30px 55px -26px rgba(0, 0, 0, 0.8);
  border-color: var(--edu-line);
}

/* the soft halo the reference puts under the raised card */
.edu-step::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38px;
  z-index: -1;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--step-c);
  filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scale(0.72);
  transition:
    opacity 0.4s var(--ease-premium),
    transform 0.45s var(--ease-premium);
}
.edu-step:hover::after,
.edu-step:focus-within::after {
  opacity: 0.16;
  transform: translateX(-50%) scale(1);
}

.edu-step__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 30px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--step-c);
  color: #fff;
  font-size: 12px;
  font-weight: var(--fw-semiBold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px var(--step-c);
}

.edu-step__ico {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  background: rgba(var(--surface-rgb), 0.07);
  background: color-mix(in srgb, var(--step-c) 13%, transparent);
}

.edu-step__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
}
.edu-step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

@media (max-width: 991px) {
  .edu-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 22px;
  }
  .edu-step::after {
    display: none;
  }
}
@media (max-width: 575px) {
  .edu-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .eac-section-head {
    margin-bottom: 42px;
  }
}

/* =============================================================
   TOP CATEGORIES — flat white tiles, centred, raised on hover
   The .eac-* sheet ships these as left-aligned gradient panels
   that fill violet on hover; everything below re-points them at
   the --edu-* palette and moves the "raised" state to :hover so
   every card gets it, not one hard-coded card.
   ============================================================= */
.eac-cate-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.eac-cate {
    overflow: visible;
    padding: 42px 22px 42px;
    text-align: center;
    border-radius: 12px;
    background: var(--edu-card);
    border: 1px solid var(--edu-line);
    box-shadow: none;
}
/* the violet wash the original fades in on hover */
.eac-cate::before {
  display: none;
}

/* the icon tile: smaller, centred, no rotation */
.eac-cate .ci {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 14px;
  font-size: 23px;
  box-shadow: 0 10px 20px -12px rgba(var(--edu-navy-rgb), 0.5);
}
.eac-cate:hover .ci {
  transform: none;
}

.eac-cate h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: var(--fw-semiBold);
  line-height: 1.4;
  color: var(--edu-ink);
}
.eac-cate p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
/* the original turns the title white once the violet wash is up */
.eac-cate:hover h3 {
  color: var(--edu-ink);
}

/* no arrow in this layout */
.eac-cate .go {
  display: none;
}

/* the raised state — every card, on hover.
   The second box-shadow is the tinted block that peeks out below:
   offset down, zero blur, negative spread, so it inherits the
   card's radius and paints behind it without a stacking context. */
.eac-cate:hover,
.eac-cate:focus-visible {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow:
    0 28px 48px -26px rgba(var(--edu-navy-rgb), 0.34),
    0 22px 0 -10px var(--edu-accent-soft);
}
:root:not([data-scheme="light"]) .eac-cate:hover,
:root:not([data-scheme="light"]) .eac-cate:focus-visible {
  border-color: var(--edu-line);
  box-shadow:
    0 28px 48px -24px rgba(0, 0, 0, 0.8),
    0 22px 0 -10px var(--edu-accent-soft);
}

@media (max-width: 991px) {
  .eac-cate-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .eac-cate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .eac-cate-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* the eight tiles carried the old violet ramp — recoloured into the
   varied set the reference uses, which also stops them fighting the
   orange accent */
/* Each tile names its two stops as rgb triplets rather than painting
   a gradient directly, so the hover ring can reuse the darker one at
   its own alpha instead of carrying a second hard-coded copy of the
   colour. They sit on the card, not the tile, so the card's own
   hover can reach them too. Recolour a tile here and its ring and
   slab both follow. */
.eac-cate:has(.ci-1) { --ci-a: 249, 122, 138; --ci-b: 240, 80, 110; }
.eac-cate:has(.ci-2) { --ci-a: 119, 217, 92;  --ci-b: 70, 191, 60; }
.eac-cate:has(.ci-3) { --ci-a: 85, 176, 242;  --ci-b: 47, 143, 224; }
.eac-cate:has(.ci-4) { --ci-a: 180, 119, 246; --ci-b: 209, 88, 216; }
.eac-cate:has(.ci-5) { --ci-a: 251, 154, 99;  --ci-b: 244, 112, 60; }
.eac-cate:has(.ci-6) { --ci-a: 252, 185, 69;  --ci-b: 247, 148, 32; }
.eac-cate:has(.ci-7) { --ci-a: 123, 140, 244; --ci-b: 85, 102, 232; }
.eac-cate:has(.ci-8) { --ci-a: 75, 216, 178;  --ci-b: 47, 192, 154; }
.eac-cate .ci {
  background: linear-gradient(135deg, rgb(var(--ci-a)), rgb(var(--ci-b)));
}

/* =============================================================
   ABOUT — image collage + copy
   ============================================================= */
.edu-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

/* ---------- collage ----------
   One image now, images/about-im.png, so the 2x2 grid and the 540px floor
   that held three <figure> frames are gone: the PNG's own aspect sets the
   column's height and the floats still position against this box.
   .edu-about__shot* below is kept for anyone restoring the CMS collage. */
.edu-about__media {
  position: relative;
}
.edu-about__hero {
  position: relative;
  z-index: 1;
  margin: 0;
}
.edu-about__hero img {
  display: block;
  width: 100%;
  height: auto;
}
.edu-about__disc {
  position: absolute;
  left: -13%;
  top: 4%;
  z-index: 0;
  width: 230px;
  max-width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--edu-accent-soft);
}

.edu-about__shot {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--edu-input);
  box-shadow: 0 22px 44px -30px rgba(var(--edu-navy-rgb), 0.5);
}
.edu-about__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edu-about__shot--tall {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.edu-about__shot--top {
  grid-column: 2;
  grid-row: 1;
}
.edu-about__shot--bottom {
  grid-column: 2;
  grid-row: 2;
}

/* rating card, top-left */
.edu-about__rating {
  position: absolute;
  z-index: 4;
  top: 4px;
  left: -9%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 14px;
  animation: eduFloat 8s ease-in-out infinite;
}
.edu-about__rating > img {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}
.edu-about__rating .edu-tx b {
  font-size: 15px;
}
.edu-about__rating .edu-tx i {
  font-size: 13px;
}
.edu-about__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 3px;
  font-size: 12px;
  color: #fbbf24;
}
.edu-about__stars em {
  margin-left: 6px;
  font-style: normal;
  font-weight: var(--fw-semiBold);
  color: var(--muted);
}
.edu-about__star {
  position: absolute;
  top: -26px;
  right: -20px;
  font-size: 42px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

/* The little chip that used to sit in the gutter between the three frames.
   about-im.png carries its own chips — Video Lectures, Learn Build Grow, the
   code and book glyphs — and this one landed on the second student's
   shoulder, a fourth chip in a composition that already had three. Hidden
   rather than deleted so restoring the CMS collage brings it back. */
.edu-about__chip {
  display: none;
}

/* The results card. It used to sit bottom-LEFT, which on the new artwork is
   exactly where the Programming / Mathematics / Career Growth book stack is.
   Moved to the right, over the quieter laptop corner. It only renders once a
   course has an approved review, so it is often absent entirely. */
.edu-about__results {
  z-index: 4;
  top: auto;
  left: auto;
  bottom: -26px;
  right: 0;
  width: 240px;
  padding: 16px 18px;
  animation-delay: -6s;
}
.edu-about__results h3 {
  font-size: 16px;
}
.edu-about__results li {
  padding: 9px 0;
}
.edu-about__results li img {
  width: 34px;
  height: 34px;
}
.edu-about__results li em {
  width: 30px;
  height: 30px;
  font-size: 13px;
}
.edu-about__results .edu-tx b {
  font-size: 14.5px;
}
.edu-about__results .edu-tx i {
  font-size: 12.5px;
}

/* ---------- copy ---------- */
/* same eyebrow + heading treatment as the section heads, left-aligned */
.edu-about__copy .eac-badge-gradient {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: var(--fw-semiBold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--edu-accent-soft);
}
.edu-about__copy .eac-badge-gradient::before,
.edu-about__copy .eac-badge-gradient .ic {
  display: none;
}
.edu-about__copy .eac-gradient-500 {
  background: none;
  color: var(--edu-accent);
  -webkit-text-fill-color: var(--edu-accent);
}
.edu-about__copy .eac-title {
  padding-top: 20px;
  margin-bottom: 20px;
  font-size: clamp(25px, 2.7vw, 35px);
  line-height: 1.3;
  letter-spacing: -0.6px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
}
.edu-about__copy .eac-gradient-splite {
  color: var(--edu-accent);
}
.edu-about__copy > p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.edu-checklist {
  list-style: none;
  margin: 26px 0 32px;
  padding: 0;
  display: grid;
  gap: 13px;
}
.edu-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--edu-ink);
}
.edu-check {
  width: 21px;
  height: 21px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 11px;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .edu-about {
    gap: 40px;
  }
  /* min-height was the floor under the three-frame grid. With one image the
     PNG's aspect sets the height, and the floor became dead space below it. */
  .edu-about__media {
    min-height: 0;
  }
  .edu-about__rating {
    left: 0;
  }
  .edu-about__results {
    left: 0;
    width: 224px;
  }
}
@media (max-width: 991px) {
  .edu-about {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .edu-about__media {
    max-width: 620px;
    margin-inline: auto;
  }
}
@media (max-width: 575px) {
  .edu-about__media {
    min-height: 0;
  }
  .edu-about__rating {
    padding: 10px 14px 10px 10px;
  }
  .edu-about__rating > img {
    width: 34px;
    height: 34px;
  }
  .edu-about__star {
    font-size: 32px;
    top: -18px;
    right: -12px;
  }
  .edu-about__chip {
    display: none;
  }
  .edu-about__results {
    width: 200px;
    bottom: -10px;
  }
  .edu-checklist li {
    font-size: 14px;
  }
}

/* =============================================================
   BUTTONS — one shape everywhere: the solid accent pill
   ============================================================= */
.eac-btn-primary {
  padding: 15px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: var(--fw-semiBold);
  background: var(--edu-accent);
  box-shadow: 0 16px 30px -14px rgba(var(--primary-rgb), 0.75);
}
/* the sheet paints a second gradient layer over the button face */
.eac-btn-primary::before {
  height: 100%;
  border-radius: 999px;
  background: var(--edu-accent);
}
.eac-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(var(--primary-rgb), 0.9);
}
.eac-btn-primary:hover::before {
  background: var(--edu-accent-2);
}
.eac-btn-primary.btn-sm {
  padding: 12px 28px;
  font-size: 15px;
}

.eac-btn-ghost {
  padding: 13px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--edu-accent);
  color: var(--edu-accent);
  font-weight: var(--fw-semiBold);
  background: transparent;
}
.eac-btn-ghost:hover {
  background: var(--edu-accent);
  border-color: var(--edu-accent);
  color: #fff;
}

/* every carousel arrow on the site */
.eac-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--edu-accent);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(var(--primary-rgb), 0.9);
}
.eac-arrow:hover {
  background: var(--edu-accent-2);
  color: #fff;
  transform: translateY(-2px);
}

/* course filter tabs pick up the accent too */
.eac-tab {
  border-radius: 999px;
}
.eac-tab.is-active {
  background: var(--edu-accent);
  border-color: var(--edu-accent);
  color: #fff;
}

/* =============================================================
   TESTIMONIALS — coverflow deck + quote column
   ============================================================= */
.tst-left {
  position: relative;
  padding-bottom: 34px;
}
.testimonial-image-swiper {
  overflow: visible;
  padding-block: 10px;
}
.testimonial-image-swiper .swiper-slide {
  height: auto;
  transition: opacity 0.5s var(--ease-premium);
  opacity: 0.72;
}
.testimonial-image-swiper .swiper-slide-active {
  opacity: 1;
  z-index: 3;
}

/* the card: a colour block with the portrait inset inside it */
.tst-person {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: var(--tst-c, var(--edu-accent-soft));
}
.tst-shot {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: none;
}
.tst-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* per-slide colour */
.tst-c1 {
  --tst-c: #a9e5ef;
}
.tst-c2 {
  --tst-c: #f6b32c;
}
.tst-c3 {
  --tst-c: #dcc9f7;
}
.tst-c4 {
  --tst-c: #bfe7c9;
}
/* the colour lives on .tst-shot in the markup — hand it to the card */
.tst-person:has(.tst-c1) {
  --tst-c: #a9e5ef;
}
.tst-person:has(.tst-c2) {
  --tst-c: #f6b32c;
}
.tst-person:has(.tst-c3) {
  --tst-c: #dcc9f7;
}
.tst-person:has(.tst-c4) {
  --tst-c: #bfe7c9;
}

/* the name plate hanging off the bottom of the card */
.tst-id {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 84%;
  padding: 11px 12px;
  border-radius: 12px;
  text-align: center;
  background: var(--edu-card);
  box-shadow: 0 16px 32px -20px rgba(var(--edu-navy-rgb), 0.6);
}
.tst-id a {
  display: block;
  font-size: 14.5px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
}
.tst-id p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.swiper-slide-active .tst-id {
  box-shadow: 0 20px 38px -18px rgba(var(--edu-navy-rgb), 0.5);
}

/* arrows flank the deck */
.tst-controls {
  position: static;
}
.tst-controls .eac-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 6;
}
.tst-controls .eac-arrow:hover {
  transform: translateY(calc(-50% - 2px));
}
.tst-prev {
  left: -10px;
}
.tst-next {
  right: -10px;
}
.tst-pagination {
  display: none;
}

/* ---------- quote column ---------- */
.tst-quote .tq {
  display: block;
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1;
  color: var(--edu-accent);
  opacity: 0.55;
}
.tst-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.tst-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.tst-rating__ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--edu-accent-soft);
  color: var(--edu-accent);
  font-size: 18px;
}
.tst-rating b {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
}
.tst-stars {
  display: inline-flex;
  gap: 3px;
  font-size: 15px;
  color: #fbbf24;
}
.tst-stars .is-off {
  color: rgba(var(--surface-rgb), 0.28);
}

@media (max-width: 767px) {
  .tst-prev {
    left: 0;
  }
  .tst-next {
    right: 0;
  }
  .tst-quote p {
    font-size: 15px;
    line-height: 1.85;
  }
}

/* ---- coverflow needs the column to clip, not fan out to the left ---- */
.tst-left {
  padding-left: 0;
}
.testimonial-image-swiper {
  max-width: none;
  overflow: hidden;
  /* room inside the clip for the name plate that hangs off each card */
  padding: 10px 0 42px;
}
/* .eac-dots.tst-pagination is (0,2,0) — match it to win */
.eac-dots.tst-pagination {
  display: none;
}

/* the deck needs more room than the old single-card layout reserved */
.eac-tst-wrap {
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
}

/* names like "Charlotte Elizabeth" need the room to stay on one line */
.tst-id {
  width: 94%;
  padding: 10px 8px;
}
.tst-id a {
  font-size: 13.5px;
  line-height: 1.3;
}
.tst-id p {
  font-size: 12px;
}

/* the CTA and app-download heads sit outside .eac-section-head —
   give them the same eyebrow + title treatment */
.eac-cta .eac-badge-gradient,
#app .eac-badge-gradient {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: var(--fw-semiBold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--edu-accent-soft);
}
.eac-cta .eac-badge-gradient::before,
.eac-cta .eac-badge-gradient .ic,
#app .eac-badge-gradient::before,
#app .eac-badge-gradient .ic {
  display: none;
}
.eac-cta .eac-gradient-500,
#app .eac-gradient-500 {
  background: none;
  color: var(--edu-accent);
  -webkit-text-fill-color: var(--edu-accent);
}
.eac-cta .eac-title,
#app .eac-title {
  padding-top: 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.26;
  letter-spacing: -0.7px;
  font-weight: var(--fw-bold);
  color: var(--edu-ink);
}
.eac-cta .eac-gradient-splite,
.eac-cta .eac-gradient-splite .reveal-child,
#app .eac-gradient-splite,
#app .eac-gradient-splite .reveal-child {
  color: var(--edu-accent) !important;
}

/* =============================================================
   INSTRUCTORS — photo card, name plate, socials on hover
   The .eac-* sheet overlays the name on the photo; here the panel
   sits under it and the social row reveals on hover.
   ============================================================= */
.eac-team {
  height: 100%;
  border-radius: 14px;
  background: var(--edu-card);
  border: 1px solid var(--edu-line);
  text-align: center;
}
.eac-team:hover {
  transform: translateY(-8px);
  border-color: transparent;
  /* box-shadow: 0 28px 48px -26px rgba(var(--edu-navy-rgb), 0.34); */
}
:root:not([data-scheme="light"]) .eac-team:hover {
  border-color: var(--edu-line);
  box-shadow: 0 28px 48px -24px rgba(0, 0, 0, 0.8);
}

.tm-thumb {
  aspect-ratio: 1 / 1.08;
  display: block;
  border-radius: 14px 14px 0 0;
}
.tm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the sheet darkens the foot of the photo for the overlaid name */
.tm-thumb::after {
  display: none;
}

.tm-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--edu-card);
  color: var(--edu-ink);
  font-size: 12.5px;
  font-weight: var(--fw-semiBold);
  box-shadow: 0 6px 16px -8px rgba(var(--edu-navy-rgb), 0.7);
}
.tm-badge .ic {
  font-size: 12px;
  color: #fbbf24;
}

/* the panel drops out of the photo and sits beneath it */
.tm-panel {
  position: static;
  padding: 16px 14px 18px;
  background: none;
}
.tm-panel h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: var(--fw-bold);
}
.tm-panel h3 a {
  color: var(--edu-ink);
}
.tm-panel h3 a:hover {
  color: var(--edu-accent);
}
.tm-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.tm-role .ic {
  font-size: 14px;
  color: var(--edu-accent);
}

/* the row is always in the layout — revealing it by growing the card
   would reflow the slider (and the dots) on every hover */
.tm-social {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.28s var(--ease-premium),
    transform 0.28s var(--ease-premium);
}
.eac-team:hover .tm-social,
.eac-team:focus-within .tm-social {
  opacity: 1;
  transform: none;
}
.tm-social a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--edu-accent);
  color: #fff;
  font-size: 13px;
  transition: background 0.2s, transform 0.2s;
}
.tm-social a:hover {
  background: var(--edu-accent-2);
  transform: translateY(-2px);
}

/* slides share a height so the cards line up */
.team-swiper {
  border-radius: 0;
  padding: 6px 4px 16px;
}
.team-swiper .swiper-slide {
  height: auto;
}

/* pagination picks up the accent */
.eac-dots .swiper-pagination-bullet-active {
  background: var(--edu-accent);
}

/* the .ph-* gradients behind these cut-out portraits are the old violet
   ramp — soft neutral tints read as studio backdrops instead */
.tm-thumb.ph-1 { background: #eef1f7; }
.tm-thumb.ph-2 { background: #f7efe4; }
.tm-thumb.ph-3 { background: #ecf2ee; }
.tm-thumb.ph-4 { background: #f2eef7; }
.tm-thumb.ph-5 { background: #f6eee9; }
.tm-thumb.ph-6 { background: #eaf0f5; }
.tm-thumb.ph-7 { background: #f4f1e8; }
.tm-thumb.ph-8 { background: #eef3f2; }
:root:not([data-scheme="light"]) .tm-thumb.ph-1,
:root:not([data-scheme="light"]) .tm-thumb.ph-2,
:root:not([data-scheme="light"]) .tm-thumb.ph-3,
:root:not([data-scheme="light"]) .tm-thumb.ph-4,
:root:not([data-scheme="light"]) .tm-thumb.ph-5,
:root:not([data-scheme="light"]) .tm-thumb.ph-6,
:root:not([data-scheme="light"]) .tm-thumb.ph-7,
:root:not([data-scheme="light"]) .tm-thumb.ph-8 {
  background: rgba(var(--surface-rgb), 0.1);
}

/* ---- instructor socials: a white drawer under the card ----
   Built the way the reference template does it (educo, .el-team-social):
   the row is `position: absolute` with left/right pinned but NO top or
   bottom, so it keeps the vertical STATIC POSITION it would have had in
   flow — directly under the role line — while contributing no height. It
   carries the card's own background and its bottom corners, so what hangs
   below the card reads as the card continuing rather than as loose icons.
   At rest it is parked 24px lower and hidden; on hover it slides up flush
   and fades in.

   Why not the two obvious approaches:
   1. Animating the row's max-height 0 -> 32px grew the card 36px, and since
      the card is the tallest thing in its slide that 36px propagated to the
      slide, wrapper, swiper, section and document. That is the jerk. Growing
      a box inside a shared-height track cannot be made jump-free — the track
      is sized by its tallest card, so the hovered one always resizes it.
   2. Reserving the row in flow killed the jerk but left 32px of empty white
      under every role line.

   Out of flow gives both: the card's height never changes, and nothing is
   reserved, so there is no blank.

   The card must stop clipping for the drawer to show, and it needs to win
   the stacking order over the next slide while open. The room the drawer
   hangs into is the swiper's bottom padding — the same trick the reference
   uses with padding-bottom on .el-team-parent — and the dots close most of
   that gap back up so the section does not grow a gutter. */
.eac-team {
  overflow: visible;
}
/* While the drawer is open the card hands it the bottom edge: the card's own
   bottom border and bottom corners go, the drawer supplies both, and the two
   read as ONE outline instead of a card with a second box under it. */
.eac-team:hover,
.eac-team:focus-within {
  z-index: 4;
  border-bottom-color: transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* The base .tm-panel is the old absolutely-positioned frosted panel: it still
   carries a border and a backdrop-filter even though the panel has since been
   made static with no background. Both have to go — the border drew a stray
   hairline across the card, and a backdrop-filter makes the element a
   containing block for absolute descendants, which is what was anchoring the
   drawer to the PANEL and insetting it 2px from the card on each side. With
   these cleared the card is the containing block again. */
.tm-panel {
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tm-social {
  position: absolute;
  /* -1px, not 0: the containing block is the card's PADDING box, so the
     drawer's own border lands exactly on the line the card's border was
     drawing rather than a pixel inside it. */
  left: -1px;
  right: -1px;
  z-index: 2;
  margin: 0;
  padding: 12px 14px 18px;
  background: var(--edu-card);
  /* The card's HOVER border, minus the top edge where the two meet. It has
     to be the hover colour, not the resting one, because the drawer is only
     ever seen while the card is hovered — and the card's hover border goes
     transparent on the light ground and --edu-line on the dark one. Giving
     the drawer a visible hairline in light drew an outline round the bottom
     half that the top half did not have, which is the seam. */
  border: 1px solid transparent;
  border-top: 0;
  border-radius: 0 0 var(--radius-15) var(--radius-15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition:
    opacity 0.3s var(--ease-premium),
    transform 0.3s var(--ease-premium),
    visibility 0s linear 0.3s;
}
:root:not([data-scheme="light"]) .tm-social {
  border-color: var(--edu-line);
}
.eac-team:hover .tm-social,
.eac-team:focus-within .tm-social {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}
/* The drawer hangs ~44px below the card and .swiper clips to its padding
   box, so this bottom padding is what lets it show at all; 48 leaves a
   little clearance over the measured overhang. This slider renders no
   .eac-slider-nav, so there is nothing underneath to pull back up. */
.team-swiper {
  padding: 6px 4px 48px;
}

/* The Instructors page and About ▸ The Team lay the SAME card out in a grid,
   so they need the same room the slider's bottom padding gives the drawer.
   The drawer hangs ~44px below the card, and the base 25px row gap alone let
   it land on top of the next row; the column gap is untouched, so the grid
   still reads as the design's. The bottom padding is what keeps the last row's
   drawer off whatever follows the section. */
.eac-team-grid {
  row-gap: 62px;
  padding-bottom: 48px;
}

/* =============================================================
   BANNER — glue for the imported markup
   The pasted block came with the template's own tokens, its own
   image paths and no breakpoints. These rules point it at the
   project palette, size the inline SVG/emoji that replaced the
   missing artwork, and make it responsive.
   ============================================================= */

/* the four tokens the imported CSS expects, mapped onto ours so
   they follow the theme instead of being fixed light-mode values */
:root {
  --primary-color: var(--edu-accent);
  --title-color: var(--edu-ink);
  --text-color: var(--muted);
  --white-color: var(--edu-card);
}

.edu-banner-parent {
  position: relative;
  z-index: 2;
}
.edu-banner-left h1 {
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.18;
  letter-spacing: -1px;
  max-width: 550px;
}
.edu-para {
  font-size: 16px;
  color: var(--muted);
}
.edu-banner-btns .edu-btn {
  text-transform: capitalize;
}
.edu-banner-play-icon span {
  flex: none;
}

/* ---- artwork that replaced the missing files ---- */
.edu-banner-curl {
  position: absolute;
  top: -104px;
  left: -56px;
  width: 108px;
  color: var(--edu-accent);
  opacity: 0.65;
  animation: 4s installation infinite alternate;
}
.edu-arrow1 {
  position: absolute;
  top: -46px;
  right: 96px;
  width: 132px;
  color: var(--edu-accent);
  opacity: 0.6;
  pointer-events: none;
}
.edu-star-smile {
  font-size: 44px;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}
.edu-video-emoji {
  font-size: 36px;
  line-height: 1;
  flex: none;
}
.edu-banner-form-btn a svg {
  width: 17px;
  height: 17px;
}
.edu-banner-img img {
  width: min(560px, 100%);
  height: auto;
  margin-inline: auto;
}

/* ---- the finder fields ---- */
.edu-banner-form-info label {
  display: block;
}
.mySelect {
  width: 100%;
  height: 52px;
  padding: 0 36px 0 14px;
  border-radius: 10px;
  border: 1px solid var(--edu-line);
  background-color: var(--edu-input);
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%238f86ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.mySelect:focus-visible {
  outline: 2px solid var(--edu-accent);
  outline-offset: 2px;
}

/* ---- dark ground ---- */
:root:not([data-scheme="light"]) .edu-banner-box,
:root:not([data-scheme="light"]) .edu-video-box,
:root:not([data-scheme="light"]) .edu-banner-reslt-box {
  border: 1px solid var(--edu-line);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

/* =============================================================
   BANNER — responsive
   ============================================================= */
@media (max-width: 1399px) {
  .edu-banner-reslt-box {
    right: -40px;
  }
  .edu-banner-img {
    margin-left: -40px;
  }
  .edu-banner-img::before {
    width: 660px;
    height: 660px;
  }
}

@media (max-width: 1199px) {
  .edu-banner-left {
    max-width: 560px;
  }
  .edu-banner-box {
    max-width: 100%;
    padding: 24px;
  }
  .edu-banner-form-info {
    max-width: none;
    flex: 1 1 150px;
    margin-right: 22px;
  }
  .edu-banner-form-info::before {
    left: -11px;
    height: 84px;
  }
  .edu-banner-reslt-box {
    right: 0;
    top: 60px;
  }
  .edu-arrow1 {
    display: none;
  }
}

@media (max-width: 991px) {
  .edu-banner-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }
  .edu-banner-left,
  .edu-banner-right {
    max-width: 100%;
  }
  .edu-banner-left {
    text-align: center;
  }
  .edu-banner-left p {
    margin-inline: auto;
  }
  .edu-banner-btns {
    justify-content: center;
  }
  .edu-banner-curl {
    display: none;
  }
  .edu-banner-box {
    margin-top: 44px;
    text-align: left;
  }
  .edu-video-box {
    position: static;
    margin: 26px auto 0;
  }
  .edu-banner-img {
    margin-left: 0;
  }
  .edu-banner-img::before {
    width: 420px;
    height: 420px;
    margin-inline: auto;
  }
  .edu-banner-reslt-box {
    position: static;
    margin: 0 auto 26px;
  }
}

@media (max-width: 767px) {
  .edu-banner-btns {
    gap: 18px;
  }
  .edu-banner-form-flex {
    gap: 18px;
  }
  .edu-banner-form-info {
    flex: 1 1 100%;
    margin-right: 0;
  }
  .edu-banner-form-info::before {
    display: none;
  }
  .edu-banner-form-btn {
    margin-top: 0;
  }
  .edu-banner-img::before {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 575px) {
  .edu-banner-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .edu-banner-btns .edu-btn {
    width: 100%;
  }
  .edu-banner-play-icon {
    justify-content: center;
  }
}

/* ---- finder row: three fields + the round submit on one line ----
   .edu-btn contributes min-width/padding meant for the pill buttons,
   which was stretching the circular submit into an ellipse and
   pushing it onto its own row. */
.edu-banner-form-flex {
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0;
}
.edu-banner-form-info {
  flex: 1 1 0;
  max-width: none;
  margin-right: 30px;
}
.edu-banner-form-info:nth-child(3) {
  margin-right: 26px;
}
.edu-banner-form-info::before {
  left: -15px;
  height: 84px;
}
.edu-banner-form-btn {
  margin-top: 0;
  flex: none;
}
.edu-banner-form-btn a {
  min-width: 0;
  padding: 0;
  flex: none;
}
.edu-banner-form-btn a svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* the nowrap above is a desktop rule — let the finder stack again,
   and keep the star anchored to the results card once that card
   drops out of absolute positioning */
@media (max-width: 991px) {
  .edu-banner-reslt-box {
    position: relative;
  }
}
@media (max-width: 767px) {
  .edu-banner-form-flex {
    gap: 18px;
  }
  .edu-banner-form-info {
    flex: 1 1 100%;
  }
  .edu-banner-form-btn {
    margin-inline: auto;
  }
}

/* =============================================================
   CONTAINER WIDTHS
   Sections use --container (1320px). The topbar, header, banner
   and the stats strip that belongs to it keep --container-wide.
   ============================================================= */
.container.edu-topbar-in,
.container.edu-nav-wrap,
.edu-banner-wrapper > .container,
.container.edu-stats-wrap {
  max-width: var(--container-wide);
}

/* =============================================================
   STATS STRIP
   The strip now straddles the banner: its top half sits over the
   banner's lower edge, its bottom half over the section below.
   The lift is a fixed px value per breakpoint because a margin
   percentage would resolve against width, not the strip's height.
   ============================================================= */
.container.edu-stats-wrap {
  --stats-lift: 128px;
  position: relative;
  z-index: 7;
  margin-top: calc(var(--stats-lift) * -1);
  /* give the pulled-up space back so the next section keeps its gap */
  margin-bottom: var(--stats-lift);
}

.edu-stats {
  position: relative;
  z-index: 1;
  margin-top: 0;
  overflow: hidden;
  padding: 44px 26px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  /* warm light bleeding in from the top-right keeps the navy from
     reading as a flat block next to the orange banner */
  background:
    radial-gradient(78% 130% at 100% 0%, rgba(var(--primary-rgb), 0.2), transparent 50%),
    var(--edu-navy);
  box-shadow: 0 34px 64px -34px rgba(9, 32, 58, 0.85);
}

/* slow sheen drifting across the card */
.edu-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    104deg,
    transparent 40%,
    rgba(255, 255, 255, 0.045) 50%,
    transparent 60%
  );
  transform: translateX(-130%);
  animation: edu-stats-sheen 9s ease-in-out 1.6s infinite;
}
@keyframes edu-stats-sheen {
  0% {
    transform: translateX(-130%);
  }
  48%,
  100% {
    transform: translateX(130%);
  }
}

.edu-stat {
  position: relative;
  z-index: 1;
  padding: 4px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.45s var(--ease-out);
}

/* dividers as pseudo-elements so they can fade out at both ends */
.edu-stat + .edu-stat {
  border-left: 0;
}
.edu-stat + .edu-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.24) 24%,
    rgba(255, 255, 255, 0.24) 76%,
    transparent
  );
}

.edu-stat-ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 17px;
  color: var(--edu-accent);
  background: rgba(var(--primary-rgb), 0.15);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  transition:
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* the float lives on the glyph so the box is free to react to hover */
.edu-stat-ic .ic {
  width: 25px;
  height: 25px;
  animation: edu-stat-float 4.6s ease-in-out infinite;
}
.edu-stat:nth-child(2) .edu-stat-ic .ic {
  animation-delay: 0.4s;
}
.edu-stat:nth-child(3) .edu-stat-ic .ic {
  animation-delay: 0.8s;
}
.edu-stat:nth-child(4) .edu-stat-ic .ic {
  animation-delay: 1.2s;
}
@keyframes edu-stat-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.edu-stat b {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  font-family: var(--font-primary);
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -1px;
}
.edu-stat b i {
  font-style: normal;
  font-size: 0.66em;
  color: var(--edu-accent);
}
.edu-stat p {
  margin: 12px 0 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.35s var(--ease-out);
}

/* hover — specificity kept above [data-reveal].is-in so the lift sticks */
.edu-stats .edu-stat:hover {
  transform: translateY(-7px);
}
.edu-stats .edu-stat:hover .edu-stat-ic {
  transform: scale(1.09) rotate(-7deg);
  background: var(--edu-accent);
  border-color: var(--edu-accent);
  color: #ffffff;
  box-shadow: 0 14px 26px -10px rgba(var(--primary-rgb), 0.85);
}
.edu-stats .edu-stat:hover p {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 1199px) {
  .container.edu-stats-wrap {
    --stats-lift: 96px;
  }
  .edu-stat {
    padding: 4px 12px;
  }
}

@media (max-width: 991px) {
  .container.edu-stats-wrap {
    --stats-lift: 120px;
  }
  .edu-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
    padding: 38px 16px;
  }
  .edu-stat:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 575px) {
  /* stays two-up: a single column makes the strip far too tall to
     straddle anything, so only the lift and the padding shrink */
  .container.edu-stats-wrap {
    --stats-lift: 84px;
  }
  .edu-stats {
    padding: 32px 10px;
    border-radius: 20px;
    row-gap: 30px;
  }
  .edu-stat {
    padding: 4px 8px;
  }
  .edu-stat-ic {
    width: 46px;
    height: 46px;
    margin-bottom: 13px;
    border-radius: 14px;
  }
  .edu-stat-ic .ic {
    width: 21px;
    height: 21px;
  }
  .edu-stat p {
    margin-top: 8px;
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-stats::after,
  .edu-stat-ic .ic {
    animation: none;
  }
}

/* =============================================================
   NEWSLETTER — navy band straddling the footer edge
   Fresh .eac-nlx / .nlx-* names rather than the old .nl-* ones so
   none of the full-bleed arc styling above applies here.
   ============================================================= */
.eac-nlx {
  --nlx-lift: 120px;
  position: relative;
  z-index: 3;
  /* pulls the band up so its top half sits on the section above */
  margin-top: calc(var(--nlx-lift) * -1);
  margin-bottom: 72px;
  padding: clamp(38px, 3.6vw, 54px) clamp(26px, 3.6vw, 62px);
  border-radius: 26px;
  overflow: hidden;
  background: var(--edu-navy);
  box-shadow: 0 34px 66px -34px rgba(9, 32, 58, 0.8);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
}

/* faint engraved lines, the texture the reference has on its band */
.nlx-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  background-image:
    repeating-linear-gradient(
      68deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 84px
    ),
    repeating-linear-gradient(
      -68deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 116px
    );
  -webkit-mask-image: linear-gradient(100deg, #000 8%, transparent 62%);
  mask-image: linear-gradient(100deg, #000 8%, transparent 62%);
}

/* warm light drifting behind the form side */
.nlx-glow {
  position: absolute;
  top: -62%;
  right: -4%;
  width: 38%;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.17),
    rgba(var(--primary-rgb), 0) 66%
  );
  animation: nlx-drift 9s ease-in-out infinite;
}
@keyframes nlx-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-26px, 22px) scale(1.08);
  }
}

.nlx-copy {
  position: relative;
  z-index: 1;
}
.nlx-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 33px);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: #ffffff;
}
.nlx-copy p {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.66);
}

/* one white pill holding the field and the button */
.nlx-form {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: none;
  width: min(470px, 100%);
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid transparent;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.nlx-form:focus-within {
  border-color: var(--edu-accent);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.22);
}
.nlx-at {
  flex: none;
  display: grid;
  place-items: center;
  color: #9aa6b4;
  transition: color var(--transition);
}
.nlx-at .ic {
  width: 19px;
  height: 19px;
}
.nlx-form:focus-within .nlx-at {
  color: var(--edu-accent);
}
.nlx-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 15.5px;
  color: #10243d;
  padding: 12px 14px;
}
.nlx-form input::placeholder {
  color: #9aa6b4;
}

.nlx-btn {
  flex: none;
  height: 50px;
  padding: 0 32px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: #ffffff;
  background: var(--edu-accent);
  box-shadow: 0 12px 24px -12px rgba(var(--primary-rgb), 0.9);
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.nlx-btn:hover {
  background: var(--edu-accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(var(--primary-rgb), 0.95);
}
.nlx-btn:active {
  transform: translateY(0);
}

@media (max-width: 991px) {
  .eac-nlx {
    --nlx-lift: 72px;
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }
  .nlx-form {
    width: 100%;
    margin-inline: auto;
  }
  .nlx-lines {
    -webkit-mask-image: linear-gradient(160deg, #000 8%, transparent 70%);
    mask-image: linear-gradient(160deg, #000 8%, transparent 70%);
  }
}

@media (max-width: 575px) {
  .eac-nlx {
    --nlx-lift: 54px;
    margin-bottom: 52px;
    border-radius: 20px;
  }
  .nlx-copy p br {
    display: none;
  }
  /* the pill cannot hold both at this width — stack, keep the round ends */
  .nlx-form {
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 22px;
    padding: 12px;
  }
  .nlx-at {
    padding-left: 6px;
  }
  .nlx-form input {
    flex: 1 1 auto;
    padding: 6px 8px;
  }
  .nlx-btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nlx-glow {
    animation: none;
  }
}

/* The newsletter band lifts into the bottom of the blog section, so that
   section has to give up the room the overlap needs — otherwise the band
   lands on top of the last row of posts. */
section:has(+ .eac-footer),
main:has(+ .eac-footer) {
  padding-bottom: 120px;
}
@media (max-width: 991px) {
  .eac-nlx {
    --nlx-lift: 100px;
  }
  section:has(+ .eac-footer),
main:has(+ .eac-footer) {
    padding-bottom: 150px;
  }
}
@media (max-width: 575px) {
  section:has(+ .eac-footer),
main:has(+ .eac-footer) {
    padding-bottom: 120px;
  }
}

/* the band gets shorter as the copy reflows, so the lift tracks it to
   keep roughly half of the card above the footer edge */
@media (max-width: 1199px) {
  .eac-nlx {
    --nlx-lift: 104px;
  }
}
@media (max-width: 575px) {
  .eac-nlx {
    --nlx-lift: 62px;
  }
}

/* The stats strip is lifted onto the banner, so the banner needs room at
   the bottom for it to land in — without this the strip sits right on top
   of the course finder instead of clearing it. */
.edu-banner-wrapper {
  padding-bottom: 222px;
}
.container.edu-stats-wrap {
  --stats-lift: 100px;
}
@media (max-width: 1199px) {
  .edu-banner-wrapper {
    padding-bottom: 180px;
  }
  .container.edu-stats-wrap {
    --stats-lift: 112px;
  }
}
@media (max-width: 991px) {
  .edu-banner-wrapper {
    padding-bottom: clamp(120px, 15vw, 165px);
  }
  .container.edu-stats-wrap {
    --stats-lift: 128px;
  }
}
@media (max-width: 575px) {
  .container.edu-stats-wrap {
    --stats-lift: 92px;
  }
}

/* With the banner taller, the cut-out's flat bottom edge would sit in
   open space instead of being hidden by the stats strip. Nudging only
   the <img> (not .edu-banner-img, which also paints the disc behind her)
   pushes that edge back under the strip. The wrapper clips the rest. */
.edu-banner-img img {
  position: relative;
  top: 86px;
}
@media (max-width: 991px) {
  .edu-banner-img img {
    top: 30px;
  }
}

/* =============================================================
   BANNER — supplied artwork + satisfied-students card
   ============================================================= */

/* the two doodles are now real files, so they carry their own colour
   and aspect ratio; only the box size and placement stay here */
.edu-banner-curl {
  width: 66px;
  height: auto;
  top: -128px;
  left: -52px;
  opacity: 1;
}
.edu-arrow1 {
  width: 112px;
  height: auto;
  top: -58px;
  right: 92px;
  opacity: 1;
}

/* the hero cut-out is square now, not portrait */
.edu-banner-img img {
  width: min(620px, 100%);
}

/* "40.5k Plus / Satisfied Students" */
.edu-satisfied {
  position: absolute;
  right: -30px;
  bottom: 96px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 14px;
  border-radius: 14px;
  background: var(--edu-card);
  box-shadow: 13px 14px 40px 0 rgba(var(--edu-navy-rgb), 0.15);
  animation: edu-sat-float 5.5s ease-in-out infinite;
}
@keyframes edu-sat-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
.edu-satisfied__faces {
  display: flex;
  flex: none;
}
.edu-satisfied__faces img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--edu-card);
}
.edu-satisfied__faces img + img {
  margin-left: -15px;
}
.edu-satisfied__info b {
  display: block;
  font-size: 19px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--edu-ink);
}
.edu-satisfied__info p {
  margin: 3px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* =============================================================
   STATS — icon in front of the figure rather than above it
   ============================================================= */
.edu-stat {
  flex-direction: row;
  justify-content: center;
  gap: 16px;
}
.edu-stat-ic {
  margin-bottom: 0;
}
.edu-stat-txt {
  text-align: left;
}
.edu-stat b {
  justify-content: flex-start;
}
.edu-stat p {
  margin-top: 4px;
}

@media (max-width: 1399px) {
  .edu-satisfied {
    right: 0;
  }
}
@media (max-width: 1199px) {
  .edu-stat {
    gap: 12px;
  }
  .edu-satisfied {
    bottom: 40px;
  }
}
@media (max-width: 991px) {
  .edu-satisfied {
    position: static;
    width: max-content;
    margin: 26px auto 0;
  }
}
@media (max-width: 575px) {
  .edu-stat {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .edu-satisfied {
    animation: none;
  }
}

/* flex children: these are fixed-size boxes, they must not shrink */
.edu-stat-ic,
.edu-satisfied__faces img {
  flex: none;
}
.edu-banner-curl {
    width: 82px;
    top: -70px;
    left: -74px;
}
/* Offset the whole .edu-banner-img, not just the <img>: the square
   cut-out carries transparent padding under her feet, so the visible
   edge lands well above the box edge and needs a bigger push to hide
   under the stats strip. Moving the wrapper keeps the disc behind her
   head aligned with the figure instead of drifting off it. */
.edu-banner-img img {
  top: 0;
}
.edu-banner-img {
  top: 140px;
}
@media (max-width: 991px) {
  .edu-banner-img img {
    top: 0;
  }
  .edu-banner-img {
    top: 60px;
  }
}

/* bnr-right.png is a 942x942 square with 13.2% of empty pixels below her
   feet. Trimming the box to the opaque area (aspect-ratio + object-fit)
   makes the element's bottom edge the same as the figure's, so the
   offsets that tuck her under the stats strip mean what they say. */
.edu-banner-img img {
  aspect-ratio: 942 / 818;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 991px) {
  /* keep it out of the flow here too, or it pushes the strip down and
     then gets clipped by it */
  .edu-satisfied {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    width: max-content;
    margin: 0 auto;
  }
}

/* banner-right.png is a tight cut-out — the figure runs to all four
   edges — so no trim is needed, and she sits higher in the banner. */
.edu-banner-img img {
  aspect-ratio: 674 / 728;
}
.edu-banner-img {
  top: 40px;
}
@media (max-width: 991px) {
  .edu-banner-img {
    top: 20px;
  }
}

/* The new cut-out is 670px tall against 538px before, so she outgrows
   the copy column by more and the banner floor has to come back up to
   meet her — otherwise she stops well short of the stats strip and the
   finder is left stranded in the middle. */
.edu-banner-wrapper {
  padding-bottom: 158px;
}
.edu-banner-img {
  top: 60px;
}
@media (max-width: 1199px) {
  .edu-banner-wrapper {
    padding-bottom: 140px;
  }
}

/* =============================================================
   BANNER FIGURE — sized, not nudged
   The cut-out used to be pushed down with `top` so its bottom edge
   would hide under the stats strip. That is a fudge: it decouples
   what the layout reserves from what you see. Instead the figure is
   simply big enough to reach the strip on its own, and the banner's
   bottom padding is the only thing deciding how far under it goes:
     figure under strip = stats lift - banner padding-bottom
   ============================================================= */
.edu-banner-img {
  top: auto;
}
.edu-banner-right {
  max-width: 780px;
}
.edu-banner-img img {
  width: min(754px, 100%);
}
.edu-banner-wrapper {
  padding-bottom: 95px;
}
@media (max-width: 1199px) {
  .edu-banner-wrapper {
    padding-bottom: 67px;
  }
}
@media (max-width: 991px) {
  .edu-banner-img {
    top: auto;
  }
}

/* The wider figure only fits where there is room for it. Below 1400px
   the copy column needs its width back, so the figure returns to the
   narrower size and the banner floor is retuned for it. */
.edu-banner-right {
  max-width: 700px;
}
.edu-banner-img img {
  width: min(620px, 100%);
}
@media (min-width: 1400px) {
  .edu-banner-right {
    max-width: 780px;
  }
  .edu-banner-img img {
    width: min(684px, 100%);
    margin-left: -50px;
  }
}

/* =============================================================
   BANNER FIGURE — overhang, not offset
   The figure is taller than the row it lives in, and says so: the
   negative bottom margin is how much of it hangs below the row.
   With the row bottom-aligned, both distances that matter become
   plain arithmetic and stop depending on how tall the copy column
   happens to be at a given width:
     finder -> strip   = banner padding-bottom - stats lift
     figure under strip = overhang - padding-bottom + stats lift
   ============================================================= */
@media (min-width: 992px) {
  .edu-banner-flex {
    align-items: flex-end;
  }
  .edu-banner-img {
    margin-bottom: -125px;
  }
  .edu-banner-wrapper {
    padding-bottom: 220px; /* lift 140 + 80 gap */
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .edu-banner-wrapper {
    padding-bottom: 192px; /* lift 112 + 80 gap */
  }
}
@media (max-width: 991px) {
  /* stacked: nothing sits beside the figure, so it does not overhang */
  .edu-banner-img {
    margin-bottom: 0;
  }
  .edu-banner-wrapper {
    padding-bottom: clamp(120px, 15vw, 165px);
  }
}

/* Stacked, the figure is the last thing in the flow, so the same
   arithmetic reduces to: figure under strip = stats lift - padding. */
@media (max-width: 991px) {
  .edu-banner-wrapper {
    padding-bottom: 83px; /* lift 128 - 45 */
  }
}
@media (max-width: 575px) {
  .edu-banner-wrapper {
    padding-bottom: 47px; /* lift 92 - 45 */
  }
}

/* the satisfied card sits between the results card above it and the
   stats strip below; both squeeze it as the column shortens */
@media (max-width: 1199px) {
  .edu-satisfied {
    bottom: 8px;
  }
}
@media (max-width: 991px) {
  .edu-satisfied {
    bottom: 90px;
  }
}

/* Between 992 and 1399 the copy column is too narrow for the "2k" chip
   to sit beside the headline — it was landing on top of it. Drop it to
   the empty space next to the play button instead. */
@media (min-width: 992px) and (max-width: 1399px) {
  .edu-video-box {
    top: auto;
    bottom: 196px;
    /* and out past the column edge, clear of the play button */
    right: -140px;
  }
}

/* 992-1199: the two columns ask for 560 + 700 out of ~970, so the flex
   shrinks both and the finder's labels start wrapping. Cap the figure
   column so the copy keeps the width its fields need. */
@media (min-width: 992px) and (max-width: 1199px) {
  .edu-banner-right {
    max-width: 44%;
  }
}

/* at 1024 the field labels wrap to two lines and knock the finder out
   of shape — tighten the gutter and the label before that happens */
@media (min-width: 992px) and (max-width: 1199px) {
  .edu-banner-form-info {
    margin-right: 12px;
  }
  .edu-banner-form-info label {
    font-size: 13.5px;
    white-space: nowrap;
  }
  .mySelect {
    padding: 0 30px 0 11px;
    font-size: 14px;
  }
}

/* 992-1199: the figure column is short here, so the two floating cards
   collide — pull the results card to the top and let the satisfied card
   hang below the column (the strip is still 50px clear of it). */
@media (min-width: 992px) and (max-width: 1199px) {
  .edu-banner-reslt-box {
    top: 20px;
  }
  .edu-satisfied {
    bottom: -26px;
  }
}

/* The row is bottom-aligned, so the copy column's bottom margin is how
   far it floats above the row's floor. Lifting it balances the headline
   against the figure's head instead of leaving a hole above the text.
   It widens the finder-to-strip gap by the same amount, so the banner
   floor gives a little back:
     finder -> strip = padding-bottom - stats lift + copy lift
   ============================================================= */
@media (min-width: 992px) {
  .edu-banner-left {
    margin-bottom: 70px;
  }
  .edu-banner-wrapper {
    padding-bottom: 200px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .edu-banner-wrapper {
    padding-bottom: 172px;
  }
}
@media (max-width: 991px) {
  /* stacked: the column gap already spaces it */
  .edu-banner-left {
    margin-bottom: 0;
  }
}

/* =============================================================
   BUTTONS — one hover, everywhere
   A light band sweeps across the face while the button lifts and
   its glow deepens. Nothing here reads a button's inner markup,
   so the plain-text ones behave exactly like the ones carrying a
   .btn-text-wrap — which is why the old label-roll is switched
   off below: only some buttons could ever do it.
   ============================================================= */
.eac-btn-primary,
.eac-btn-ghost,
.edu-btn,
.nlx-btn,
.nl-btn,
.oa-btn,
.eac-arrow {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.36s cubic-bezier(0.2, 0.8, 0.25, 1),
    box-shadow 0.36s cubic-bezier(0.2, 0.8, 0.25, 1),
    background-color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out);
}

.eac-btn-primary::after,
.eac-btn-ghost::after,
.edu-btn::after,
.nlx-btn::after,
.nl-btn::after,
.oa-btn::after,
.eac-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 47%,
    rgba(255, 255, 255, 0.4) 53%,
    transparent 70%
  );
  transform: translateX(-135%);
  transition: transform 0.62s cubic-bezier(0.3, 0.85, 0.3, 1);
}

.eac-btn-primary:hover::after,
.eac-btn-ghost:hover::after,
.edu-btn:hover::after,
.nlx-btn:hover::after,
.nl-btn:hover::after,
.oa-btn:hover::after,
.eac-arrow:hover::after {
  transform: translateX(135%);
}

.eac-btn-primary:hover,
.edu-btn:hover,
.nlx-btn:hover,
.nl-btn:hover,
.eac-arrow:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -14px rgba(var(--primary-rgb), 0.85);
}
/* the outlined one fills in first, so its glow only makes sense once
   the face is solid */
.eac-btn-ghost:hover {
  transform: translateY(-3px);
  background: var(--edu-accent);
  border-color: var(--edu-accent);
  color: #ffffff;
  box-shadow: 0 20px 34px -14px rgba(var(--primary-rgb), 0.85);
}
/* neutral surface, so a warm glow would look wrong on it */
.oa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -14px rgba(var(--edu-navy-rgb), 0.45);
}

.eac-btn-primary:active,
.eac-btn-ghost:active,
.edu-btn:active,
.nlx-btn:active,
.nl-btn:active,
.oa-btn:active,
.eac-arrow:active {
  transform: translateY(-1px);
}

/* the label-roll only ever worked on buttons with duplicated text */
.eac-btn-primary:hover .btn-text {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .eac-btn-primary::after,
  .eac-btn-ghost::after,
  .edu-btn::after,
  .nlx-btn::after,
  .nl-btn::after,
  .oa-btn::after,
  .eac-arrow::after {
    display: none;
  }
}

/* The two floating cards hung 130px and 30px outside the column, which
   only fits once the viewport is wider than the container. Between
   1400 and ~1780 they were being clipped by the banner's overflow. */
.edu-banner-reslt-box,
.edu-satisfied {
  right: -50px;
}

/* =============================================================
   INNER PAGE HEAD — same opening as the home banner
   It was a pale ground with a violet bloom left over from the old
   palette. Now it carries the banner's cream and its doodle field,
   so an inner page opens the way the home page does.
   ============================================================= */
.eac-pagehead {
  background: var(--edu-hero-bg);
  border-bottom: 0;
  padding: clamp(96px, 9vw, 118px) 0 clamp(58px, 6vw, 86px);
}
.eac-pagehead::before {
  /* every geometry property of the old circular bloom has to be
     unwound, not just its background */
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  transform: none;
  border-radius: 0;
  opacity: var(--edu-doodle-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23eb7f1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 34h26v34H20zM50 34h26v34H50zM46 34v34'/%3E%3Cpath d='m130 18 6 13 14 2-10 10 3 14-13-7-13 7 3-14-10-10 14-2z'/%3E%3Cpath d='M190 62a10 10 0 0 1 3-19 14 14 0 0 1 26-4 10 10 0 0 1 2 23z'/%3E%3Cpath d='m26 152 6-20 22-22 8 8-22 22z'/%3E%3Ccircle cx='122' cy='128' r='19'/%3E%3Cpath d='M103 128h38M122 109a28 28 0 0 1 0 38 28 28 0 0 1 0-38'/%3E%3Cpath d='M206 148c-14-9-18-16-18-22a9 9 0 0 1 18-4 9 9 0 0 1 18 4c0 6-4 13-18 22z'/%3E%3Cpath d='M32 194h18M36 194v15l-11 21a4 4 0 0 0 4 6h26a4 4 0 0 0 4-6l-11-21v-15'/%3E%3Cpath d='M118 232a6 6 0 1 0 6-6v-30l20-6v29a6 6 0 1 0 6 6'/%3E%3Cpath d='M196 214h20M206 204v20'/%3E%3C/svg%3E");
  background-size: 320px 320px;
}
.eac-pagehead h1 {
  color: var(--edu-ink);
}
.eac-crumb [aria-current] {
  color: var(--edu-ink);
  font-weight: var(--fw-medium);
}

/* The label-roll is gone, so the duplicated label has no job left — and
   .btn-text-wrap's fixed 30px only ever hid it by luck of the font size.
   Drop the second copy outright instead of relying on the clip. */
.eac-btn-primary .btn-text-wrap {
  height: auto;
  overflow: visible;
  transform: none;
}
.eac-btn-primary .btn-text + .btn-text {
  display: none;
}
.edu-welcome {
    display: block;
    width: 100%;
    max-width: 500px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
/* =============================================================
   BANNER HEADLINE
   The split-text animation wraps every word and every character
   in its own <span>, so the old ".edu-banner-left h1 span" would
   have painted the entire heading orange. The brand word carries
   its own class now.
   ============================================================= */
.edu-banner-left h1 span {
  color: inherit;
}
.edu-banner-left h1 .edu-hl {
  color: var(--edu-accent);
}
/* the characters are inline-blocks once split; keep the two lines
   sitting at the same rhythm they had as plain text */
.edu-banner-left h1 .word {
  display: inline-block;
  white-space: nowrap;
}

/* =============================================================
   BANNER HEADLINE — casing
   "capitalize" plus the split-text animation is a trap: once every
   character is its own inline element, each one counts as a word,
   so the browser capitalises all of them. The source text is
   already cased correctly, so the transform can just go.
   ============================================================= */
.edu-banner-left h1 {
  text-transform: none;
}

/* =============================================================
   "2k Video Courses" tile — icon and the arrow pointing at it
   ============================================================= */
.edu-video-emoji {
  display: block;
  width: 44px;
  height: 40px;
  font-size: 0;
}
.edu-video-emoji svg {
  width: 100%;
  height: 100%;
  display: block;
}
.edu-video-box {
  gap: 16px;
  padding: 16px 20px;
  justify-content: flex-start;
}
/* the arrow tucks into the tile's top-left corner rather than
   floating away from it */
.edu-arrow1 {
  top: -100px;
  right: 218px;
  width: 116px;
}

/* icon at the size the reference gives it, and the arrow's tail brought
   down to the tile's top-left corner instead of floating above it */
.edu-video-emoji {
  width: 54px;
  height: 49px;
}
.edu-arrow1 {
  top: -106px;
  right: 202px;
  width: 118px;
}

/* 1200-1399 the tile drops beside the play button, so the arrow has to
   drop with it — anchored from the bottom, the same corner-to-corner
   relationship as on the wide layout. */
@media (min-width: 1200px) and (max-width: 1399px) {
  .edu-arrow1 {
    top: auto;
    bottom: 275px;
    right: 61px;
  }
}

/* =============================================================
   SECTION RHYTHM
   One measurement everywhere: 80px above and below every section,
   and 40px between a section's heading block and its content.
   ============================================================= */
.eac-section {
  padding: 80px 0;
}
@media (max-width: 991px) {
  .eac-section {
    padding: 80px 0;
  }
}
@media (max-width: 767px) {
  .eac-section {
    padding: 50px 0;
  }
}
.eac-section-head {
  margin-bottom: 40px;
}

/* The strip's margin-bottom existed only to hand back the space its
   negative margin-top borrowed. Keeping it meant the gap under the
   strip was the lift (140px) plus the next section's padding — the
   section's own 80px is the whole gap now. */
.container.edu-stats-wrap {
  margin-bottom: 0;
  max-width:1320px
}

/* the CTA band kept an old 64px bottom on small screens */
@media (max-width: 767px) {
  .eac-cta-area {
    padding-bottom: 80px;
  }
}

/* =============================================================
   ROUND 12 — card frames, banner copy, phone screen, tab hover
   ============================================================= */

/* ---- testimonial deck: plain photos, no pastel frame, no shadow ----
   The frame was a coloured block the portrait sat inside; with it gone
   the card is the photo, so the name plate moves onto the image —
   it was only legible below the card because of the drop shadow. */
.tst-person {
  padding: 0;
  background: none;
  box-shadow: none;
}
.tst-shot {
  border-radius: 18px;
}
.tst-id {
  left: 50%;
  bottom: 12px;
  width: calc(100% - 24px);
  box-shadow: none;
}
.swiper-slide-active .tst-id {
  box-shadow: none;
}
/* the clip no longer needs room for a plate hanging off the bottom */
.testimonial-image-swiper {
  padding: 10px 0 12px;
}

/* ---- course tabs: hover was white-on-white left over from dark mode ---- */
.eac-tab:hover {
  color: var(--edu-accent);
  background: var(--edu-accent-soft);
  border-color: rgba(var(--primary-rgb), 0.45);
}
.eac-tab.is-active:hover {
  color: #fff;
  background: var(--edu-accent);
  border-color: var(--edu-accent);
}

/* ---- banner copy sits a little lower against the figure ---- */
@media (min-width: 992px) {
  .edu-banner-left {
    margin-bottom: 30px;
  }
}

/* ---- app mock: the screen ran out of content a third of the way up ---- */
.phone-scr {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 66px;
}
.ps-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}
.ps-stats div {
  padding: 9px 4px;
  border-radius: 12px;
  text-align: center;
  background: rgba(var(--edu-navy-rgb), 0.05);
  border: 1px solid rgba(var(--edu-navy-rgb), 0.08);
}
.ps-stats b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  color: var(--edu-ink);
}
.ps-stats i {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.ps-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(var(--edu-navy-rgb), 0.08);
  border-radius: 0 0 28px 28px;
  background: rgba(255, 255, 255, 0.5);
}
.ps-nav span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 17px;
  color: rgba(var(--edu-navy-rgb), 0.38);
}
.ps-nav .is-on {
  color: #fff;
  background: var(--edu-accent);
}

/* the screen is a flex column now — nothing in it may shrink, or the
   progress bar collapses to nothing and the tiles crush */
.phone-scr > * {
  flex: none;
}
.ps-card {
  margin-bottom: 10px;
}
.ps-stats i {
  white-space: nowrap;
}

/* The 50px overhang on the two floating cards only fits once the viewport
   is wider than the 1620px container plus that overhang; below ~1760 the
   banner's overflow:hidden was slicing the right edge off both cards. */
.edu-banner-reslt-box,
.edu-satisfied {
  right: 0;
}
@media (min-width: 1760px) {
  .edu-banner-reslt-box,
  .edu-satisfied {
    right: -50px;
  }
}

/* The wide-deck overrides above were written for the desktop layout but
   left unscoped, so they were also overriding the ≤991 single-column
   rules — the deck stayed two-up and shrank to a few dozen pixels. */
@media (max-width: 991px) {
  .eac-tst-wrap {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .testimonial-image-swiper {
    max-width: 330px;
    margin-inline: auto;
  }
}

/* three slides in a 330px deck left each card ~100px wide, so the name
   plate swallowed the portrait — widen the deck and shrink the plate */
@media (max-width: 991px) {
  .testimonial-image-swiper {
    max-width: 430px;
  }
  .tst-id {
    bottom: 8px;
    width: calc(100% - 16px);
    padding: 6px 5px;
  }
  .tst-id a {
    font-size: 11.5px;
  }
  .tst-id p {
    margin-top: 1px;
    font-size: 9.5px;
  }
}

/* =============================================================
   TOP CATEGORIES — hover
   The lift already carried a tinted block behind the card, but the
   tint was --edu-accent-soft (#fbe1c3), near enough to the section
   ground to disappear, and the spread ate the whole 12px radius so
   the sliver came out square. A wider radius leaves room for the
   spread to shrink and still round the block's corners.
   ============================================================= */
.eac-cate {
  border-radius: 16px;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1),
    box-shadow 0.32s cubic-bezier(0.2, 0.8, 0.25, 1),
    border-color 0.32s ease;
}
.eac-cate:hover,
.eac-cate:focus-visible {
  transform: translateY(-12px);
  border-color: transparent;
  /* the second layer is the block that peeks out below: offset down,
     zero blur, negative spread — inset 10px a side, 16px proud of the
     card, radius 6px, painted behind it with no stacking context */
  box-shadow:
    0 20px 36px -18px rgba(var(--edu-navy-rgb), 0.28),
    0 26px 0 -10px rgba(var(--ci-b, 235, 127, 28), 0.34);
}
:root:not([data-scheme="light"]) .eac-cate:hover,
:root:not([data-scheme="light"]) .eac-cate:focus-visible {
  border-color: var(--edu-line);
  box-shadow:
    0 20px 36px -16px rgba(0, 0, 0, 0.8),
    0 26px 0 -10px rgba(var(--ci-b, 235, 127, 28), 0.42);
}

/* =============================================================
   TESTIMONIAL DECK — coverflow with fixed-width slides
   Ported from the reference implementation, kept on our own class
   names. The slides carry their width so Swiper measures the deck
   from them; "stretch" then tucks the neighbours under the centre
   card, and the active slide is scaled up over them.
   ============================================================= */
@media (min-width: 992px) {
  /* the deck needs the room the reference gives it (col-7 vs col-5) */
  .eac-tst-wrap {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 44px;
  }
}
.testimonial-image-swiper {
  width: 100%;
  max-width: 743px;
  /* the centre card is scaled 1.18, so the clip needs the headroom */
  padding: 40px 0;
  text-align: center;
}
.testimonial-image-swiper .swiper-wrapper {
  align-items: center;
}
.testimonial-image-swiper .swiper-slide {
  width: 320px;
  opacity: 0.5;
  transition: opacity 0.5s var(--ease-premium);
}
/* Swiper writes its coverflow transform inline; the active slide sits at
   offset zero, so overriding it costs nothing but the scale. */
.testimonial-image-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.18) !important;
  z-index: 3;
}

/* the name plate, sized like the reference's */
.tst-id {
  left: 50%;
  bottom: 10px;
  width: calc(100% - 32px);
  max-width: 210px;
  min-height: 63px;
  display: grid;
  align-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: none;
}

@media (max-width: 1199px) {
  .testimonial-image-swiper .swiper-slide {
    width: 270px;
  }
}
@media (max-width: 991px) {
  .testimonial-image-swiper {
    max-width: 560px;
    padding: 30px 0;
  }
  .testimonial-image-swiper .swiper-slide {
    width: 240px;
  }
  .tst-id {
    width: calc(100% - 24px);
    min-height: 56px;
    padding: 7px 8px;
  }
}
@media (max-width: 575px) {
  .testimonial-image-swiper {
    max-width: 320px;
  }
  .testimonial-image-swiper .swiper-slide {
    width: 200px;
  }
}

/* the arrows flank the deck rather than sitting on the side cards */
.tst-controls .eac-arrow {
  top: 50%;
}
.tst-prev {
  left: -20px;
}
.tst-next {
  right: -20px;
}
/* below 1400 the container gutter is only 20px, so a fully outboard
   arrow would sit flush against the window edge */
@media (min-width: 992px) and (max-width: 1399px) {
  .tst-prev {
    left: -4px;
  }
  .tst-next {
    right: -4px;
  }
}

/* =============================================================
   TESTIMONIAL DECK — stop the centre card overlapping its
   neighbours.
   In the reference the card inside each slide is narrower than
   the slide itself, so "stretch" only closes the gap between
   cards; ours filled the slide edge to edge, so the same stretch
   dragged the neighbours underneath the scaled-up centre card.
   Giving the card its own width restores the gap, and it stays
   the same at every deck width:
     gap = slide - stretch - card x (perspective + 1.18) / 2
   ============================================================= */
.testimonial-image-swiper {
  --tst-slide: 320px;
  --tst-card: 236px;
}
.testimonial-image-swiper .swiper-slide {
  width: var(--tst-slide);
}
.testimonial-image-swiper .tst-person {
  width: var(--tst-card);
  margin-inline: auto;
}
@media (max-width: 1199px) {
  .testimonial-image-swiper {
    --tst-slide: 250px;
    --tst-card: 200px;
  }
}
@media (max-width: 991px) {
  .testimonial-image-swiper {
    --tst-slide: 240px;
    --tst-card: 180px;
  }
}
@media (max-width: 575px) {
  .testimonial-image-swiper {
    --tst-slide: 200px;
    --tst-card: 150px;
  }
}

/* Correction to the sizing above: a slide pushed back by translateZ is
   also pulled toward the vanishing point, so its whole *position* is
   scaled by the perspective, not just its size. The real clearance is
     gap = p(slide - stretch) - card x (p + 1.18) / 2,  p = 1200/(1200+depth)
   which the previous numbers made negative — hence the overlap. */
.testimonial-image-swiper {
  --tst-slide: 366px;
  --tst-card: 235px;
}
@media (max-width: 1199px) {
  .testimonial-image-swiper {
    --tst-slide: 248px;
    --tst-card: 180px;
  }
}
@media (max-width: 991px) {
  .testimonial-image-swiper {
    --tst-slide: 240px;
    --tst-card: 174px;
  }
}
@media (max-width: 575px) {
  .testimonial-image-swiper {
    /* the deck is too narrow here to hold three cards side by side, so
       the neighbours run off the edge instead of under the centre one */
    max-width: 100%;
    --tst-slide: 250px;
    --tst-card: 190px;
  }
}
/* 992-1199 only: at the wide end of this band a sliver of the
   second-out slide crept back inside the clip — widening the slide
   walks it off the edge without touching the visible three. */
@media (min-width: 992px) and (max-width: 1199px) {
  .testimonial-image-swiper {
    --tst-slide: 260px;
  }
}

/* =============================================================
   VIDEO LIGHTBOX — light-theme scrim
   The lightbox was written against the dark ground, so its scrim
   resolved to rgba(246,247,251,.82) here: a near-white wash that
   left the player floating on milk. A video wants a dark room.
   ============================================================= */
.video-backdrop {
  background: rgba(9, 25, 41, 0.74);
}
.video-frame {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 120px -30px rgba(9, 25, 41, 0.8);
}
.video-x {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}
.video-x:hover {
  color: #fff;
  background: var(--edu-accent);
  border-color: transparent;
}

/* =============================================================
   CATEGORY ICON — the play button's ring, on card hover
   Same idea as .edu-banner-play-icon's shadow-pulse: a ring that
   grows out of the tile and fades. It rides on ::before/::after
   so it never touches the tile's own drop shadow, and the two
   waves are half a cycle apart so a ring is always in flight.
   ============================================================= */
.eac-cate .ci {
  position: relative;
}
.eac-cate .ci::before,
.eac-cate .ci::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}
.eac-cate:hover .ci::before,
.eac-cate:focus-visible .ci::before,
.eac-cate:hover .ci::after,
.eac-cate:focus-visible .ci::after {
  opacity: 1;
  animation: eacIconRing 1.9s cubic-bezier(0.25, 0.6, 0.35, 1) infinite;
}
.eac-cate:hover .ci::after,
.eac-cate:focus-visible .ci::after {
  animation-delay: 0.95s;
}
@keyframes eacIconRing {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--ci-b, 235, 127, 28), 0.55);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(var(--ci-b, 235, 127, 28), 0);
  }
}

/* =============================================================
   HEADER — 992 to 1279
   The desktop bar needs about 1250px to lay out: logo 162, seven
   nav links 724, and a 276px tools group whose search pill alone
   is 224. Below that the tools ran past the viewport and the
   search box was sliced off — it was gone entirely at 992. The
   pill collapses to its icon here (the same shape the phone
   header already uses) and the links tighten up.
   ============================================================= */
@media (min-width: 992px) and (max-width: 1279px) {
  .eac-nav-wrap {
    gap: 16px;
  }
  .edu-searchbox {
    width: 50px;
    padding: 0;
    justify-content: center;
  }
  .edu-searchbox span {
    display: none;
  }
  .edu-menu {
    gap: 2px;
  }
  .edu-menu > li > a {
    padding: 12px 10px;
    font-size: 15px;
  }
  .eac-nav {
    gap: 16px;
  }
}

/* =============================================================
   EVENTS CARD — 768 to 1199
   The card is image-left / text-right with a fixed 190px thumb,
   and the slider shows two of them from 768 up. At 768 that left
   the body 107px wide: the title broke into five lines and the
   times split mid-range. It only stacked below 768, so the whole
   two-up band was cramped. Stack it across that band instead —
   the body then gets the card's full width.
   ============================================================= */
@media (max-width: 1199px) {
  .eac-event {
    flex-direction: column;
  }
  .eac-event .ev-thumb {
    width: 100%;
    height: 170px;
  }
  .edu-banner-reslt-box, .edu-satisfied{
    display:none;
  }
  .edu-video-box{
    display:none;
  }
}

/* =============================================================
   COURSE GRID — 768 to 991
   The grid stepped 4 -> 3 at 1199 and only reached 2 at 767, so
   the whole tablet band ran three cards across a 728px row: 232px
   each, which wrapped "12 Lessons" and "(20 Reviews)" onto two
   lines. Two up from 991 gives them 351px, the same room the
   four-up desktop cards get.
   ============================================================= */
@media (max-width: 991px) {
  .eac-course-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* the quote column centres below 992, but the rating is a flex row
   and kept hugging the left edge under centred text */
@media (max-width: 991px) {
  .tst-rating {
    justify-content: center;
  }

}

/* =============================================================
   EVENTS PAGE — the Reserve Seat button on tablet
   Below 992 the button drops onto its own grid row spanning every
   column, and grid's default stretch turned it into a 690px bar.
   Let it hug its label there; a full-width CTA still makes sense
   on a phone, so that stays below 576.
   ============================================================= */
@media (min-width: 576px) and (max-width: 991px) {
  .eac-event-row > .eac-btn-primary {
    justify-self: start;
  }
}

@media(max-width: 575px) {
  .eac-course-grid{
    grid-template-columns: 1fr ;
  }
}

/* =============================================================
   MOBILE APPS BAND — home ▸ #app
   Appended last so it wins over the .eac-app / .phone rules
   further up, which the band no longer uses.

   The band is a rounded CARD inside .container, and both design
   PNGs live on it rather than on the section:
     images/mbap-bg.png    the card ground, the orange blooms,
                           the dot grid at its bottom-left
     images/mbap-right.png the handset with its floating chips
                           and the paper plane

   Everything else is --edu-* / brand tokens, so the badge, the
   heading tail, the feature tiles and the focus rings follow the
   academy's palette and the light/dark switch. The ground is the
   one fixed thing: it is warm in both schemes, dimmed in dark.
   ============================================================= */
.eac-mbap-sec {
  padding: clamp(56px, 6vw, 96px) 0;
}

/* THE BOX. The band is a rounded card inside the container, not a
   full-bleed strip: the ground, the blooms and the dot grid are the
   CARD's, and the page's own background runs to the viewport edge
   either side of it — the same shape .eac-app had before it. */
.eac-mbap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(34px, 4vw, 64px) clamp(24px, 3.6vw, 60px);
  border: 1px solid var(--edu-line);
  /* under the artwork so the blooms never wash out the copy */
  background-color: var(--edu-card);
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
}
/* the ground, as a layer rather than an <img>: it is decoration and
   carries nothing a reader needs */
.eac-mbap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/mbap-bg.png") center / cover no-repeat;
  /* dark card: the cream would be a slab of light in the middle of
     the page, so it drops to a warm glow behind the copy instead */
  opacity: 0.14;
}
:root[data-scheme="light"] .eac-mbap::before {
  opacity: 1;
}

/* ---- copy ---------------------------------------------------- */
.mbap-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--edu-accent-soft);
  color: var(--edu-accent);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  line-height: 1;
}
.mbap-title {
  margin: 0;
  /* No max-width: the grid column already sets the measure, and a ch cap on
     top of it wrapped the accent tail onto a third line. The size is picked
     so the design's own heading -- "Download now the eAcademy Mobile Apps" --
     breaks where the design breaks it, before the last two words. */
  font-size: clamp(28px, 3vw, 44px);
  font-weight: var(--fw-bold);
  line-height: 1.16;
  letter-spacing: -1px;
  color: var(--edu-ink);
}
/* flat accent, not the four-stop ramp .eac-gradient-splite paints */
.mbap-title .mbap-hi {
  color: var(--edu-accent);
}
.mbap-lead {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--edu-nav-ink);
  opacity: 0.9;
}

/* ---- the three furniture cells ------------------------------- */
.mbap-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.mbap-feats li {
  display: flex;
  align-items: center;
  gap: 13px;
}
.mbap-fic {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--edu-accent-soft);
  color: var(--edu-accent);
  transition: var(--transition-4);
}
.mbap-fic .ic {
  font-size: 23px;
}
.mbap-feats li:hover .mbap-fic {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px -12px rgba(var(--primary-rgb), 0.65);
}
.mbap-feats b {
  font-size: 16px;
  font-weight: var(--fw-semiBold);
  line-height: 1.35;
  color: var(--edu-ink);
}

/* ---- store badges --------------------------------------------
   The badge IS the artwork (images/appstore.png, images/playstore.png)
   — each PNG ships its own black pill, rule and wordmark. So nothing
   here paints a background, a border or type; the rules below only
   size the lockup, keep the two the same height, and give the anchor
   its hover and focus states. */
.mbap-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 34px 0 0;
}
.mbap-store {
  display: inline-flex;
  border-radius: 10px;
  transition: var(--transition-4);
}
/* Height, not width: the two PNGs share a 163x49 box today, and driving
   from height keeps them aligned even if one is re-exported at another
   aspect. width:auto overrides the intrinsic width attribute, which is
   there only to reserve the space before the image lands. */
.mbap-store img {
  display: block;
  width: auto;
  height: clamp(46px, 3.6vw, 54px);
}
a.mbap-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -18px rgba(var(--edu-navy-rgb), 0.85);
}
a.mbap-store:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.35);
}
/* the "Coming soon" state: the same artwork, visibly not a link */
.mbap-store.is-soon {
  /* opacity: 0.62; */
  cursor: pointer;
}

/* ---- Windows / Linux / Web App row --------------------------- */
.mbap-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--edu-nav-ink);
}
.mbap-alt a {
  color: var(--edu-nav-ink);
  font-weight: var(--fw-medium);
  transition: color var(--transition);
}
.mbap-alt a:hover {
  color: var(--edu-accent);
}
.mbap-alt span {
  opacity: 0.7;
}

/* ---- artwork ------------------------------------------------- */
.mbap-media {
  display: grid;
  place-items: center;
}
.mbap-media img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  animation: mbap-float 7s ease-in-out infinite;
}
@keyframes mbap-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 1199px) {
  .mbap-feats {
    gap: 16px 24px;
  }
}

@media (max-width: 991px) {
  .eac-mbap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* artwork first on a phone, the same order .app-media had */
  .mbap-media {
    order: -1;
  }
  .mbap-lead {
    max-width: none;
  }
  .mbap-media img {
    max-width: 420px;
  }
  .edu-banner-left h1{
    margin:0 auto;
  }
}

@media (max-width: 575px) {
  .mbap-feats {
    gap: 14px 18px;
  }
  .mbap-feats li {
    gap: 10px;
  }
  .mbap-fic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .mbap-fic .ic {
    font-size: 20px;
  }
  .mbap-feats b {
    font-size: 14.5px;
  }
  /* Tighter gap only. The badges are fixed-aspect artwork, so the row is
     left to wrap them rather than stretch either to the full width. */
  .mbap-stores {
    gap: 12px;
  }
  .eac-nav-cta{
    flex-direction: column;
  }
  .edu-banner-form-flex {
    flex-wrap: wrap;
    gap: 10px;
  }
  .edu-banner-form-info{
    margin-right:0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mbap-media img {
    animation: none;
  }
}
