/* ==========================================================================
   Arshan – Education / Online Learning / LMS demo (demos/education/)
   Loads after style.css, before motion.css. Self-contained: it does not
   depend on any other demo or component stylesheet.
   Everything is scoped to body.ed-page and uses the ed- prefix. The demo
   re-skins the shared header, nav, buttons and footer by overriding the
   global tokens – style.css itself is untouched.
   --------------------------------------------------------------------------
    1. Tokens & base               13. Course card (.ed-course)
    2. Type helpers & buttons      14. Topic / category card
    3. Header, logo & actions      15. Course catalogue toolbar
    4. Navigation & menus          16. Instructor card
    5. Header search panel         17. Testimonials
    6. Footer                      18. Page hero & breadcrumb
    7. Home hero                   19. Course details
    8. Stats & counters            20. About, globe & timeline
    9. Dark band / learning        21. Pricing & compare table
   10. Logo strip                  22. Events
   11. CTA band                    23. Blog, article & sidebar
   12. Icons, badges, stars        24. Contact, FAQ, careers
                                   25. 404, coming soon, sitemap
                                   26. Forms (.ar-field contract)
                                   27. Modal, player, lightbox, toast
                                   28. Responsive
   ========================================================================== */

/* 1. Tokens & base ---------------------------------------------------------- */
.ed-page {
  --primary: #cc4824;            /* coral – 4.6:1 with white text */
  --primary-600: #b13b1b;
  --primary-50: #fff1ea;
  --primary-100: #ffe0d2;
  --ink: #141a3a;
  --ink-2: #363c5c;
  --muted: #5b6180;              /* 6.1:1 on white */
  --muted-2: #8b90aa;
  --line: #e7e8f1;
  --bg: #ffffff;
  --surface: #ffffff;
  --dark: #11173a;               /* deep navy */
  --dark-2: #1b2252;
  --font: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 58, .04), 0 6px 18px -10px rgba(20, 26, 58, .12);
  --shadow: 0 22px 44px -24px rgba(20, 26, 58, .28);
  --shadow-lg: 0 36px 70px -30px rgba(20, 26, 58, .38);
  --section-y: 104px;
  --container: 1240px;
  --ar-header-h: 80px;

  --ed-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ed-coral: #f26b45;           /* decorative coral (not for text) */
  --ed-coral-light: #ff9a7a;     /* coral text on navy */
  --ed-peach: #fff4ee;
  --ed-peach-2: #ffe7db;
  --ed-sky: #eef3ff;             /* light blue decorative areas */
  --ed-sky-2: #dfe8ff;
  --ed-lav: #f3f1ff;
  --ed-soft: #f7f8fc;
  --ed-indigo: #4a54cf;
  --ed-indigo-50: #eceeff;
  --ed-green: #13805c;
  --ed-green-50: #e5f6ef;
  --ed-amber: #b86e00;
  --ed-amber-50: #fff4dc;
  --ed-star: #f5a524;
  --ed-grad: linear-gradient(135deg, #f26b45 0%, #e0532d 55%, #cc4824 100%);
  --ed-navy-grad: radial-gradient(900px 480px at 88% 0%, rgba(242, 107, 69, .20), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(74, 84, 207, .35), transparent 62%), linear-gradient(160deg, #141b44 0%, #11173a 60%, #0d1230 100%);

  font-size: 15.5px; line-height: 1.7; font-weight: 400;
  color: var(--ink-2); background: var(--bg);
}
.ed-page h1, .ed-page h2, .ed-page h3, .ed-page h4, .ed-page h5, .ed-page .ar-h3 { letter-spacing: 0; color: var(--ink); text-wrap: balance; }
.ed-page h1, .ed-page h2 { font-family: var(--ed-serif); font-weight: 500; line-height: 1.12; font-optical-sizing: auto; }
.ed-page h3, .ed-page h4, .ed-page h5, .ed-page .ar-h3 { font-family: var(--font); font-weight: 500; line-height: 1.35; }
.ed-page strong, .ed-page b { font-weight: 500; }
.ed-page ::selection { background: var(--primary-100); color: var(--ink); }
:where(.ed-page img[height]) { height: auto; }
.ed-page :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.ed-page .section { padding-block: var(--section-y); }
.ed-page .section--flush-top { padding-top: 0; }
.ed-page ol { margin: 0; padding: 0; list-style: none; }
.ed-main { min-height: 50vh; }
.ed-bg-soft { background: var(--ed-soft); }
.ed-bg-peach { background: var(--ed-peach); }
.ed-bg-sky { background: var(--ed-sky); }
.ar-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ed-skip:focus { position: fixed !important; z-index: 100; left: 16px; top: 12px; width: auto; height: auto; margin: 0; clip: auto; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--primary); color: #fff; font-weight: 500; }

/* 2. Type helpers & buttons ------------------------------------------------- */
.ed-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.ed-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.ed-eyebrow--light { color: var(--ed-coral-light); }
.ed-eyebrow--plain::before { display: none; }
.ed-title { font-size: clamp(30px, 3.2vw, 44px); max-width: 24ch; }
.ed-title em, .ed-page h1 em { font-style: italic; font-weight: 400; color: var(--primary); }
.ed-dark .ed-title em, .ed-dark h1 em, .ed-dark h2 em { color: var(--ed-coral-light); }
.ed-lead { margin-top: 16px; max-width: 58ch; color: var(--muted); font-size: 17px; font-weight: 300; line-height: 1.7; }
.ed-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 48px; }
.ed-head--center { justify-content: center; text-align: center; }
.ed-head--center .ed-title, .ed-head--center .ed-lead { margin-inline: auto; }
.ed-head--center .ed-eyebrow { justify-content: center; }
.ed-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--primary); white-space: nowrap; }
.ed-more .icon { width: 16px; height: 16px; transition: transform var(--ar-transition-base); }
.ed-more:hover .icon { transform: translateX(4px); }
.ed-dark .ed-more { color: var(--ed-coral-light); }

.ed-page .btn { height: 50px; padding: 0 26px; border-radius: 12px; font-size: 15px; font-weight: 500; gap: 10px; }
.ed-page .btn .icon { width: 18px; height: 18px; }
.ed-page .btn--sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.ed-page .btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.ed-page .btn--block { width: 100%; }
.ed-page .btn--primary { box-shadow: 0 14px 26px -14px rgba(204, 72, 36, .85); }
.ed-page .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -14px rgba(204, 72, 36, .9); }
.ed-page .btn--navy { --btn-bg: var(--dark); --btn-fg: #fff; }
.ed-page .btn--navy:hover { --btn-bg: var(--dark-2); transform: translateY(-1px); }
.ed-page .btn--indigo { --btn-bg: var(--ed-indigo); --btn-fg: #fff; box-shadow: 0 14px 26px -14px rgba(74, 84, 207, .9); }
.ed-page .btn--indigo:hover { --btn-bg: #3c45b8; transform: translateY(-1px); }
.ed-page .btn--outline { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line); }
.ed-page .btn--outline:hover { --btn-bd: var(--primary); --btn-fg: var(--primary); --btn-bg: var(--primary-50); }
.ed-page .btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.ed-page .btn--white:hover { --btn-bg: var(--ed-peach); transform: translateY(-1px); }
.ed-page .btn--ghost-light { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); }
.ed-page .btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: rgba(255, 255, 255, .5); }
.ed-play-ico { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; background: #fff; color: var(--primary); }
.ed-play-ico .icon { width: 12px !important; height: 12px !important; margin-left: 2px; }
.ed-link { color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(204, 72, 36, .35); text-underline-offset: 3px; }
.ed-link:hover { text-decoration-color: currentColor; }

/* 3. Header, logo & actions ------------------------------------------------- */
.ed-page .site-header { background: rgba(255, 255, 255, .92); }
.ed-page .site-header.is-scrolled { border-color: var(--line); box-shadow: 0 14px 30px -26px rgba(20, 26, 58, .5); }
.ed-page .site-header__inner { height: var(--ar-header-h); gap: 28px; }
.ed-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--ed-serif); font-size: 26px; font-weight: 500; color: var(--ink); line-height: 1; }
.ed-logo__mark { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px 12px 12px 4px; background: var(--ed-grad); box-shadow: 0 10px 20px -10px rgba(204, 72, 36, .9); }
.ed-logo__mark svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ed-logo--light { color: #fff; }
.ed-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ed-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); background: #fff; transition: border-color var(--ar-transition-base), color var(--ar-transition-base), background-color var(--ar-transition-base); }
.ed-icon-btn:hover, .ed-icon-btn[aria-expanded="true"] { border-color: var(--primary-100); color: var(--primary); background: var(--primary-50); }
.ed-icon-btn .icon { width: 19px; height: 19px; }
.ed-page .nav-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); place-items: center; color: var(--ink); background: #fff; }
.ed-page .nav-toggle .icon { width: 21px; height: 21px; }
.ed-nav-mobile { display: none; }

/* 4. Navigation & menus ----------------------------------------------------- */
.ed-page .nav { margin-inline: auto; }
.ed-page .nav__list { gap: 2px; }
.ed-page .nav__link { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 400; color: var(--ink-2); border-radius: var(--radius-sm); }
.ed-page .nav__link:hover, .ed-page .nav__item.is-active > .nav__link, .ed-page .nav__item.is-open > .nav__trigger { color: var(--primary); }
.ed-page .nav__item.is-active > .nav__link { font-weight: 500; }
@media (min-width: 992px) {
  .ed-page .nav__item > .nav__link::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--ed-coral); opacity: 0; transform: scale(.4); transition: opacity var(--ar-transition-base), transform var(--ar-transition-base); }
  .ed-page .nav__item.has-sub > .nav__link::after { margin-left: -11px; }
  .ed-page .nav__item.is-active > .nav__link::after { opacity: 1; transform: none; }
}
@media (min-width: 992px) { .ed-page .nav__panel-inner { border-color: var(--line); border-radius: var(--radius-lg); box-shadow: 0 2px 6px rgba(20, 26, 58, .04), 0 30px 60px -28px rgba(20, 26, 58, .34); } }
.ed-page .nav-menu__title { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; color: var(--muted-2); }
.ed-page .nav-menu__link { font-size: 14.5px; font-weight: 400; color: var(--ink-2); }
.ed-page .nav-menu__link .icon { width: 18px; height: 18px; color: var(--primary); }
.ed-page a.nav-menu__link:hover, .ed-page a.nav-menu__link:focus-visible, .ed-page .nav-menu__link.is-current { color: var(--primary); background: var(--primary-50); }
.ed-page .nav-menu__ico { background: var(--primary-50); color: var(--primary); }
.ed-page .nav-menu__item:hover .nav-menu__ico, .ed-page .nav-menu__item.is-current .nav-menu__ico { background: var(--primary); color: #fff; }
.ed-page .nav-menu__item:hover, .ed-page .nav-menu__item:focus-visible { background: var(--ed-peach); }
.ed-page .nav-menu__item strong { font-size: 14.5px; font-weight: 500; }
.ed-page .nav-menu__item small { font-size: 12.5px; }
.ed-page .nav-badge--new { color: var(--primary); background: var(--primary-50); }
.ed-menu-courses { grid-template-columns: 210px minmax(260px, 1fr) 240px; align-items: start; }
.ed-menu-course { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--ed-peach); transition: box-shadow var(--ar-transition-base); }
.ed-menu-course:hover { box-shadow: var(--shadow); }
.ed-menu-course img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 800ms var(--ar-ease-out); }
.ed-menu-course:hover img { transform: scale(1.04); }
.ed-menu-course > span { display: block; padding: 12px 14px 14px; }
.ed-menu-course small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.ed-menu-course strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 500; color: var(--ink); }
.ed-menu-course em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--muted); }

/* 5. Header search panel ---------------------------------------------------- */
.ed-page .ar-site-search { border-color: var(--line); box-shadow: 0 40px 60px -40px rgba(20, 26, 58, .45); }
.ed-search__inner { padding-block: 24px 28px; }
.ed-search__form { display: flex; align-items: center; gap: 12px; }
.ed-search__field { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px 6px 4px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--ed-soft); transition: border-color var(--ar-transition-base), box-shadow var(--ar-transition-base); }
.ed-search__field:focus-within { border-color: var(--primary-100); box-shadow: 0 0 0 4px var(--primary-50); background: #fff; }
.ed-search__field > .icon { width: 20px; height: 20px; color: var(--muted); }
.ed-search__field input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); outline: none; }
.ed-search__field input::-webkit-search-cancel-button { display: none; }
.ed-search__kbd { padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); background: #fff; }
.ed-search__close { flex-shrink: 0; }
.ed-search__body { display: grid; grid-template-columns: 1fr 280px; gap: 32px; margin-top: 22px; }
.ed-search__label { display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.ed-search__results { display: grid; gap: 4px; max-height: min(420px, 55vh); overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.ed-search__group { margin: 10px 0 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.ed-search__group:first-child { margin-top: 0; }
.ed-search__hit { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); transition: background-color var(--ar-transition-fast); }
.ed-search__hit:hover, .ed-search__hit:focus-visible { background: var(--ed-peach); outline-offset: 0; }
.ed-search__hit-ico { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--primary-50); color: var(--primary); }
.ed-search__hit-ico .icon { width: 18px; height: 18px; }
.ed-search__hit-ico--instructor { background: var(--ed-indigo-50); color: var(--ed-indigo); }
.ed-search__hit-ico--article { background: var(--ed-green-50); color: var(--ed-green); }
.ed-search__hit-ico--event { background: var(--ed-amber-50); color: var(--ed-amber); }
.ed-search__hit-ico--page { background: var(--ed-soft); color: var(--ink-2); }
.ed-search__hit strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.ed-search__hit small { display: block; font-size: 12.5px; color: var(--muted); }
.ed-search__hit mark { background: var(--primary-100); color: inherit; border-radius: 3px; padding: 0 1px; }
.ed-search__hit > .icon { margin-left: auto; width: 16px; height: 16px; color: var(--muted-2); }
.ed-search__empty { padding: 16px; border: 1px dashed var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); }
.ed-search__aside { padding: 18px; border-radius: var(--radius); background: var(--ed-sky); }
.ed-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font-size: 13.5px; color: var(--ink-2); transition: border-color var(--ar-transition-fast), color var(--ar-transition-fast), background-color var(--ar-transition-fast); }
.ed-chip:hover { border-color: var(--primary); color: var(--primary); }
.ed-chip .icon { width: 14px; height: 14px; }

/* 6. Footer ----------------------------------------------------------------- */
.ed-footer { position: relative; overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.ed-footer::before { content: ""; position: absolute; right: -180px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 107, 69, .16), transparent 65%); pointer-events: none; }
.ed-footer .container { position: relative; }
.ed-footer .site-footer__grid { grid-template-columns: 1.5fr .9fr 1fr .9fr 1.6fr; gap: 40px; padding-block: 76px 52px; }
.ed-footer .site-footer__about p { margin-top: 18px; max-width: 34ch; line-height: 1.75; }
.ed-page .ed-footer__title { margin-bottom: 18px; font-family: var(--font); font-size: 15px; font-weight: 500; color: #fff; }
.ed-footer .footer-col li + li { margin-top: 10px; }
.ed-footer .footer-col a { display: inline-flex; transition: color var(--ar-transition-fast), transform var(--ar-transition-fast); }
.ed-footer .footer-col a:hover { color: #fff; transform: translateX(3px); }
.ed-footer .socials a { width: 38px; height: 38px; border-color: rgba(255, 255, 255, .16); }
.ed-footer .socials a:hover { background: var(--primary); border-color: var(--primary); }
.ed-footer .newsletter p { margin-bottom: 16px; }
.ed-footer .newsletter__form { padding: 5px 5px 5px 18px; border-radius: 12px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.ed-footer .newsletter__form:focus-within { border-color: rgba(255, 154, 122, .7); }
.ed-footer .newsletter__form input { height: 44px; font-size: 14.5px; }
.ed-footer .newsletter__form input::placeholder { color: rgba(255, 255, 255, .55); }
.ed-footer .newsletter__form button { width: auto; height: 44px; padding: 0 18px; border-radius: 9px; background: var(--primary); font-weight: 500; font-size: 14px; transition: background-color var(--ar-transition-base); }
.ed-footer .newsletter__form button:hover { background: var(--primary-600); }
.ed-footer .newsletter__msg { color: var(--ed-coral-light); }
.ed-footer__apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ed-footer__apps span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.ed-footer__apps .icon { width: 16px; height: 16px; color: var(--ed-coral-light); }
.ed-footer .site-footer__bottom { padding-block: 24px; border-color: rgba(255, 255, 255, .1); font-size: 13.5px; }
.ed-footer .site-footer__bottom a { transition: color var(--ar-transition-fast); }
.ed-footer--compact .site-footer__bottom { border-top: 0; align-items: center; }
.ed-footer--compact .socials { margin-top: 0; }

.ed-search__field input:focus-visible, .ed-searchbar input:focus-visible, .ed-newsletter input:focus-visible, .ed-soon__form input:focus-visible, .newsletter__form input:focus-visible { outline: none; }
.ed-newsletter form:focus-within, .ed-soon__form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }

/* 7. Home hero -------------------------------------------------------------- */
.ed-dark { color: rgba(255, 255, 255, .74); }
.ed-dark h1, .ed-dark h2, .ed-dark h3, .ed-dark h4 { color: #fff; }
.ed-dark .ed-lead { color: rgba(255, 255, 255, .72); }
.ed-hero { position: relative; overflow: hidden; padding: 72px 0 150px; background: var(--ed-navy-grad); }
.ed-hero__grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%); }
.ed-hero__inner { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; }
.ed-hero__tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 6px 14px 6px 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .05); font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.ed-hero__tag b { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--primary); color: #fff; font-size: 12px; font-weight: 500; }
.ed-hero h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.06; max-width: none; }
.ed-hero h1 em { position: relative; display: inline-block; }
.ed-hero__swash { position: absolute; left: 2%; right: -2%; bottom: -.12em; width: 100%; height: .28em; color: var(--ed-coral); overflow: visible; }
.ed-hero__swash path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; animation: ed-draw 1.4s .5s var(--ar-ease-out) both; }
@keyframes ed-draw { from { stroke-dashoffset: 420; } }
.ed-hero .ed-lead { margin-top: 24px; max-width: 46ch; font-size: 18px; }
.ed-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ed-hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 40px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.ed-hero__proof strong { display: block; color: #fff; font-size: 15px; }
.ed-avatars { display: flex; }
.ed-avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dark); }
.ed-avatars img + img { margin-left: -12px; }
.ed-avatars--light img { border-color: #fff; }
.ed-hero__proof .ed-stars .icon { width: 13px; height: 13px; }

.ed-hero__visual { position: relative; justify-self: center; width: min(100%, 500px); }
.ed-hero__blob { position: absolute; inset: 8% -6% -4% 8%; border-radius: 46% 54% 40% 60% / 50% 42% 58% 50%; background: var(--ed-grad); opacity: .95; animation: ed-morph 14s ease-in-out infinite alternate; }
@keyframes ed-morph { to { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; } }
.ed-hero__ring { position: absolute; right: -8%; top: -6%; width: 150px; height: 150px; color: rgba(255, 255, 255, .25); }
.ed-hero__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 240px 240px 28px 28px; border: 6px solid rgba(255, 255, 255, .08); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .7); }
.ed-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ed-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; color: var(--ink-2); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .45); font-size: 13px; line-height: 1.35; animation: ed-bob 6s ease-in-out infinite; }
.ed-float strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.ed-float--progress { left: -14%; bottom: 18%; min-width: 230px; flex-direction: column; align-items: stretch; padding: 16px; }
.ed-float--progress header { display: flex; align-items: center; gap: 12px; }
.ed-float--cert { right: -10%; top: 16%; animation-delay: -3s; }
.ed-float--live { right: 2%; bottom: -5%; padding: 10px 16px; animation-delay: -1.5s; background: var(--dark-2); color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .1); }
.ed-float--live strong { color: #fff; }
@keyframes ed-bob { 50% { transform: translateY(-8px); } }
.ed-live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #2fd38b; }
.ed-live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2fd38b; opacity: .6; animation: ed-pulse 1.8s ease-out infinite; }
@keyframes ed-pulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.ed-progress { height: 8px; margin-top: 12px; border-radius: 8px; background: var(--ed-peach-2); overflow: hidden; }
.ed-progress span { display: block; height: 100%; width: var(--value, 60%); border-radius: inherit; background: var(--ed-grad); }
.ed-progress-row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* 8. Stats & counters ------------------------------------------------------- */
.ed-statbar { position: relative; z-index: 3; margin-top: -86px; }
.ed-statbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 12px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ed-stat { display: flex; align-items: center; gap: 16px; padding: 4px 26px; }
.ed-stat + .ed-stat { border-left: 1px solid var(--line); }
.ed-stat strong { display: block; font-family: var(--ed-serif); font-size: 34px; font-weight: 500; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ed-stat span:not(.ed-icon) { display: block; font-size: 14px; color: var(--muted); }
.ed-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ed-number { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out); }
.ed-number::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--ed-peach); transition: transform var(--ar-dur-slow) var(--ar-ease-out); }
.ed-number:nth-child(2)::after { background: var(--ed-sky); }
.ed-number:nth-child(3)::after { background: var(--ed-green-50); }
.ed-number:nth-child(4)::after { background: var(--ed-indigo-50); }
.ed-number > * { position: relative; z-index: 1; }
.ed-number strong { display: block; margin-top: 22px; font-family: var(--ed-serif); font-size: clamp(40px, 4vw, 54px); font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ed-number h3 { margin-top: 12px; font-size: 16px; }
.ed-number p { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (hover: hover) { .ed-number:hover { transform: translateY(-4px); box-shadow: var(--shadow); } .ed-number:hover::after { transform: scale(1.25); } }
.ed-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.ed-stats-row > div { padding: 22px 12px; }
.ed-stats-row strong { display: block; font-family: var(--ed-serif); font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; line-height: 1.1; color: var(--ink); }
.ed-stats-row span { font-size: 14.5px; color: var(--muted); }
.ed-dark .ed-stats-row strong { color: #fff; }
.ed-dark .ed-stats-row span { color: rgba(255, 255, 255, .68); }

/* 9. Dark band / learning experience --------------------------------------- */
.ed-band { position: relative; overflow: hidden; background: var(--ed-navy-grad); }
.ed-band__pattern { position: absolute; right: -60px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); color: rgba(255, 255, 255, .06); pointer-events: none; }
.ed-learn { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 72px; }
.ed-benefits { display: grid; gap: 22px; margin-top: 34px; }
.ed-benefit { display: flex; align-items: flex-start; gap: 16px; }
.ed-benefit h3 { font-size: 16.5px; }
.ed-benefit p { margin-top: 3px; font-size: 14.5px; line-height: 1.6; }
.ed-media { position: relative; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 4 / 3; background: var(--dark-2); }
.ed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ar-ease-out); }
.ed-media:hover img { transform: scale(1.03); }
.ed-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(17, 23, 58, .55)); pointer-events: none; }
.ed-play { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #fff; color: var(--primary); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .55); transition: transform var(--ar-dur-slow) var(--ar-ease-out); }
.ed-play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); animation: ed-pulse-ring 2.4s ease-out infinite; }
@keyframes ed-pulse-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.ed-play .icon { width: 26px; height: 26px; margin-left: 4px; }
.ed-play:hover { transform: scale(1.08); }
.ed-media__caption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; font-size: 14px; }
.ed-media__caption strong { font-weight: 500; }
.ed-media__caption span { padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; }
.ed-learn__card { position: absolute; z-index: 3; left: -36px; top: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); font-size: 13px; color: var(--muted); }
.ed-learn__card strong { display: block; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.ed-learn__wrap { position: relative; }

/* 10. Logo strip ------------------------------------------------------------ */
.ed-logos { padding-block: 56px; border-bottom: 1px solid var(--line); }
.ed-logos__title { margin-bottom: 26px; text-align: center; font-size: 14px; color: var(--muted); }
.ed-logos__title strong { color: var(--ink); }
.ed-logos__row { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 24px; }
.ed-logos__row li { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; color: #8a8fa8; font-size: 19px; font-weight: 500; letter-spacing: .01em; transition: color var(--ar-transition-base); }
.ed-logos__row li:hover { color: var(--ink); }
.ed-logos__row svg { width: 24px; height: 24px; fill: currentColor; }
.ed-logos__row .is-serif { font-family: var(--ed-serif); font-style: italic; }

/* 11. CTA band -------------------------------------------------------------- */
.ed-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 64px 0 0 64px; border-radius: var(--radius-xl); background: var(--ed-navy-grad); color: rgba(255, 255, 255, .74); isolation: isolate; }
.ed-cta--plain { padding-bottom: 64px; }
.ed-cta__copy { position: relative; z-index: 1; padding-bottom: 64px; }
.ed-cta h2 { color: #fff; font-size: clamp(30px, 3.2vw, 44px); max-width: 18ch; }
.ed-cta p { margin-top: 16px; max-width: 46ch; font-weight: 300; font-size: 16.5px; }
.ed-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ed-cta__note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 13.5px; }
.ed-cta__note span { display: inline-flex; align-items: center; gap: 8px; }
.ed-cta__note .icon { width: 16px; height: 16px; color: var(--ed-coral-light); }
.ed-cta__visual { position: relative; align-self: end; height: 100%; min-height: 380px; }
.ed-cta__visual img { position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 180px 0 0 0; }
.ed-cta__deco { position: absolute; z-index: -1; left: 46%; top: -80px; width: 340px; height: 340px; color: rgba(255, 255, 255, .07); }
.ed-cta--center { grid-template-columns: 1fr; padding: 72px 32px; text-align: center; }
.ed-cta--center h2, .ed-cta--center p { margin-inline: auto; }
.ed-cta--center .ed-cta__copy { padding-bottom: 0; }
.ed-cta--center .ed-cta__actions, .ed-cta--center .ed-cta__note { justify-content: center; }
.ed-cta--light { background: linear-gradient(120deg, var(--ed-peach) 0%, #fff 55%, var(--ed-sky) 100%); color: var(--muted); border: 1px solid var(--line); }
.ed-cta--light h2 { color: var(--ink); }
.ed-cta--light .ed-cta__deco { color: rgba(242, 107, 69, .1); }

/* 12. Icons, badges, stars -------------------------------------------------- */
.ed-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--primary-50); color: var(--primary); transition: background-color var(--ar-transition-base), color var(--ar-transition-base), transform var(--ar-dur-slow) var(--ar-ease-out); }
.ed-icon .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.ed-icon--sm { width: 42px; height: 42px; border-radius: 12px; }
.ed-icon--sm .icon { width: 20px; height: 20px; }
.ed-icon--lg { width: 64px; height: 64px; border-radius: 18px; }
.ed-icon--lg .icon { width: 28px; height: 28px; }
.ed-icon--indigo { background: var(--ed-indigo-50); color: var(--ed-indigo); }
.ed-icon--green { background: var(--ed-green-50); color: var(--ed-green); }
.ed-icon--amber { background: var(--ed-amber-50); color: var(--ed-amber); }
.ed-icon--sky { background: var(--ed-sky); color: #2f63c7; }
.ed-icon--pink { background: #fdeef5; color: #c13a78; }
.ed-icon--solid { background: var(--ed-grad); color: #fff; box-shadow: 0 12px 22px -12px rgba(204, 72, 36, .9); }
.ed-icon--light { background: rgba(255, 255, 255, .08); color: var(--ed-coral-light); border: 1px solid rgba(255, 255, 255, .1); }
.ed-stars { display: inline-flex; gap: 2px; color: var(--ed-star); }
.ed-stars .icon { width: 15px; height: 15px; fill: currentColor; stroke-width: 1.2; }
.ed-stars .icon.is-off { color: #d9dcea; }
.ed-badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; background: #fff; color: var(--ink); }
.ed-badge--best { background: var(--ed-amber-50); color: #8a5300; }
.ed-badge--popular { background: var(--primary-50); color: var(--primary-600); }
.ed-badge--new { background: var(--ed-green-50); color: #0e6b4c; }
.ed-badge--sale { background: var(--primary); color: #fff; }
.ed-badge--indigo { background: var(--ed-indigo-50); color: #3a43b0; }
.ed-badge--dark { background: var(--dark); color: #fff; }
.ed-badge--outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.ed-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }

/* 13. Course card (.ed-course) --------------------------------------------- */
.ed-grid { display: grid; gap: 28px; }
.ed-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ed-course { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out), border-color var(--ar-transition-base); }
.ed-course[hidden] { display: none; }
.ed-course__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 14px; background: var(--ed-soft); }
.ed-course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ar-ease-out); }
.ed-course__media .ed-badge { position: absolute; left: 12px; top: 12px; box-shadow: 0 6px 14px -8px rgba(20, 26, 58, .5); }
.ed-bookmark { position: absolute; z-index: 3; right: 12px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(20, 26, 58, .5); transition: color var(--ar-transition-base), background-color var(--ar-transition-base), transform var(--ar-dur-slow) var(--ar-ease-out); }
.ed-bookmark .icon { width: 17px; height: 17px; }
.ed-bookmark:hover { color: var(--primary); transform: scale(1.08); }
.ed-bookmark[aria-pressed="true"] { background: var(--primary); color: #fff; }
.ed-bookmark[aria-pressed="true"] .icon { fill: currentColor; }
.ed-bookmark.is-pop { animation: ed-pop 420ms var(--ar-ease-out); }
@keyframes ed-pop { 40% { transform: scale(1.22); } }
.ed-course__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ed-course__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); }
.ed-course__cat { font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.ed-course__level { display: inline-flex; align-items: center; gap: 6px; }
.ed-course__level .icon { width: 14px; height: 14px; }
.ed-course__title { margin-top: 8px; font-size: 18px; line-height: 1.38; }
.ed-course__title a { transition: color var(--ar-transition-fast); }
.ed-course__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ed-course__title a:focus-visible { outline: none; }
.ed-course:has(.ed-course__title a:focus-visible) { outline: 2px solid var(--primary); outline-offset: 3px; }
.ed-course:hover .ed-course__title a { color: var(--primary); }
.ed-course__rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.ed-course__rating b { color: var(--ink); font-weight: 500; }
.ed-course__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ed-course__facts li { display: inline-flex; align-items: center; gap: 6px; }
.ed-course__facts .icon { width: 15px; height: 15px; color: var(--muted-2); }
.ed-course__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.ed-by { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; color: var(--ink-2); }
.ed-by img { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.ed-by span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-price { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.ed-price b { font-family: var(--ed-serif); font-size: 22px; font-weight: 500; color: var(--primary); }
.ed-price s { font-size: 13.5px; color: var(--muted-2); }
@media (hover: hover) {
  .ed-course:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
  .ed-course:hover .ed-course__media img { transform: scale(1.05); }
}

/* 14. Topic / category card ------------------------------------------------- */
.ed-topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ed-topic { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out), border-color var(--ar-transition-base); }
.ed-topic strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.ed-topic small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.ed-topic[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
@media (hover: hover) { .ed-topic:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow); } .ed-topic:hover .ed-icon { transform: rotate(-6deg) scale(1.05); } }

/* 15. Course catalogue toolbar --------------------------------------------- */
.ed-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 32px; }
.ed-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: var(--ed-soft); border: 1px solid var(--line); }
.ed-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: background-color var(--ar-transition-base), color var(--ar-transition-base), box-shadow var(--ar-transition-base); }
.ed-tabs button:hover { color: var(--primary); }
.ed-tabs button[aria-pressed="true"], .ed-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 6px 14px -8px rgba(20, 26, 58, .35); }
.ed-tabs--dark button[aria-pressed="true"], .ed-tabs--dark button[aria-selected="true"] { background: var(--dark); color: #fff; }
.ed-count-pill { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 11.5px; line-height: 20px; text-align: center; }
.ed-count-pill:empty, .ed-count-pill[data-zero] { display: none; }
.ed-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ed-select { position: relative; display: inline-flex; align-items: center; }
.ed-select select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color var(--ar-transition-base); }
.ed-select select:hover, .ed-select select:focus-visible { border-color: var(--primary); }
.ed-select .icon { position: absolute; right: 14px; width: 15px; height: 15px; pointer-events: none; color: var(--muted); }
.ed-result-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.ed-result-line strong { color: var(--ink); }
.ed-reset { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--primary); }
.ed-reset .icon { width: 15px; height: 15px; }
.ed-empty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; border: 1px dashed #d4d7e6; border-radius: var(--radius-lg); background: var(--ed-soft); }
.ed-empty .ed-icon { margin-bottom: 14px; }
.ed-empty h3 { font-size: 18px; }
.ed-empty p { margin: 6px auto 18px; max-width: 44ch; color: var(--muted); font-size: 14.5px; }
.ed-searchbar { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 640px; padding: 6px 6px 6px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -26px rgba(20, 26, 58, .45); }
.ed-searchbar:focus-within { box-shadow: 0 0 0 4px rgba(242, 107, 69, .22), 0 20px 40px -26px rgba(20, 26, 58, .45); }
.ed-searchbar > .icon { width: 20px; height: 20px; color: var(--muted); }
.ed-searchbar input { flex: 1; width: 0; min-width: 0; height: 48px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.ed-searchbar .btn { flex-shrink: 0; }

/* 16. Instructor card ------------------------------------------------------- */
.ed-instructor { position: relative; display: flex; flex-direction: column; height: 100%; padding: 10px 10px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-align: center; transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out), border-color var(--ar-transition-base); }
.ed-instructor[hidden] { display: none; }
.ed-instructor__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; border-radius: 14px; background: linear-gradient(160deg, var(--ed-peach), var(--ed-sky)); }
.ed-instructor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; transition: transform 900ms var(--ar-ease-out); }
.ed-instructor__social { position: absolute; left: 50%; bottom: 12px; display: flex; gap: 6px; padding: 6px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .95); box-shadow: 0 10px 20px -12px rgba(20, 26, 58, .55); transform: translate(-50%, 12px); opacity: 0; transition: opacity var(--ar-transition-base), transform var(--ar-dur-slow) var(--ar-ease-out); }
.ed-instructor:hover .ed-instructor__social, .ed-instructor:focus-within .ed-instructor__social { opacity: 1; transform: translate(-50%, 0); }
.ed-instructor__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); transition: background-color var(--ar-transition-fast), color var(--ar-transition-fast); }
.ed-instructor__social a:hover { background: var(--primary); color: #fff; }
.ed-instructor__social .icon { width: 15px; height: 15px; }
.ed-instructor__body { padding: 16px 8px 0; }
.ed-instructor h3 { font-size: 17.5px; }
.ed-instructor__role { margin-top: 2px; font-size: 13.5px; color: var(--primary); }
.ed-instructor__stats { display: flex; justify-content: center; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.ed-instructor__stats span { display: inline-flex; align-items: center; gap: 5px; }
.ed-instructor__stats .icon { width: 14px; height: 14px; }
.ed-instructor__stats .icon--star { color: var(--ed-star); fill: currentColor; stroke-width: 1.2; }
.ed-instructor--cta { justify-content: center; align-items: center; padding: 32px 22px; background: var(--ed-navy-grad); border: 0; color: rgba(255, 255, 255, .72); }
.ed-instructor--cta h3 { color: #fff; font-family: var(--ed-serif); font-size: 24px; font-weight: 500; }
.ed-instructor--cta p { margin: 10px 0 22px; font-size: 14.5px; }
@media (hover: hover) { .ed-instructor:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; } .ed-instructor:hover .ed-instructor__photo img { transform: scale(1.05); } }
@media (hover: none) { .ed-instructor__social { opacity: 1; transform: translate(-50%, 0); } }

/* 17. Testimonials ---------------------------------------------------------- */
.ed-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 24px; margin: -6px -2px 0; }
.ed-track::-webkit-scrollbar { display: none; }
.ed-track > * { scroll-snap-align: start; }
.ed-arrows { display: flex; gap: 10px; }
.ed-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background-color var(--ar-transition-base), color var(--ar-transition-base), border-color var(--ar-transition-base); }
.ed-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.ed-arrow .icon { width: 18px; height: 18px; }
.ed-testimonial { position: relative; margin: 0; display: flex; flex-direction: column; height: 100%; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow var(--ar-dur-slow) var(--ar-ease-out), transform var(--ar-dur-slow) var(--ar-ease-out); }
.ed-testimonial__quote { position: absolute; right: 26px; top: 24px; width: 40px; height: 40px; color: var(--ed-peach-2); }
.ed-testimonial blockquote { margin: 18px 0 26px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.ed-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.ed-person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.ed-person strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.ed-person span { display: block; font-size: 13px; color: var(--muted); }
@media (hover: hover) { .ed-testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.ed-rating-card { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--ed-peach); }
.ed-rating-card strong { font-family: var(--ed-serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--ink); }
.ed-rating-card small { display: block; font-size: 13px; color: var(--muted); }
.ed-cta h2 em, .ed-event-feature h2 em, .ed-newsletter h2 em, .ed-form-card h2 em { font-style: italic; font-weight: 400; color: var(--ed-coral-light); }
.ed-cta--light h2 em, .ed-newsletter h2 em, .ed-form-card h2 em { color: var(--primary); }
.ed-cta--center h2 { max-width: 24ch; }

/* 18. Page hero & breadcrumb ----------------------------------------------- */
.ed-page-hero { position: relative; overflow: hidden; padding: 64px 0 76px; background: linear-gradient(115deg, var(--ed-lav) 0%, #fbf7ff 38%, var(--ed-peach) 72%, #fff 100%); }
.ed-page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(74, 84, 207, .14) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%); opacity: .7; }
.ed-page-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.ed-page-hero--center .ed-page-hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.ed-page-hero--center .ed-lead { margin-inline: auto; }
.ed-page-hero h1 { font-size: clamp(36px, 4.4vw, 58px); max-width: 16ch; }
.ed-page-hero .ed-lead { max-width: 52ch; }
.ed-page-hero .ed-searchbar { margin-top: 30px; }
.ed-page-hero__visual { position: relative; justify-self: end; width: min(100%, 480px); }
.ed-page-hero__photo { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 28px 120px 28px 28px; box-shadow: var(--shadow-lg); }
.ed-page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.ed-page-hero__photo--tall { aspect-ratio: 4 / 4.4; }
.ed-page-hero__spark { position: absolute; z-index: 2; width: 44px; height: 44px; color: var(--ed-coral); }
.ed-page-hero__chip { position: absolute; z-index: 2; left: -28px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); font-size: 13px; color: var(--muted); line-height: 1.35; animation: ed-bob 6s ease-in-out infinite; }
.ed-page-hero__chip strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.ed-page-hero--dark { background: var(--ed-navy-grad); color: rgba(255, 255, 255, .74); }
.ed-page-hero--dark::before { background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); }
.ed-page-hero--dark h1 { color: #fff; }
.ed-page-hero--dark .ed-lead { color: rgba(255, 255, 255, .74); }
.ed-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 13.5px; color: var(--muted); }
.ed-crumbs a { transition: color var(--ar-transition-fast); }
.ed-crumbs a:hover { color: var(--primary); }
.ed-crumbs .icon { width: 13px; height: 13px; color: var(--muted-2); }
.ed-crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.ed-page-hero--dark .ed-crumbs, .ed-page-hero--dark .ed-crumbs [aria-current] { color: rgba(255, 255, 255, .8); }
.ed-page-hero--center .ed-crumbs { justify-content: center; }
.ed-page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 14px; }
.ed-page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.ed-page-hero__meta .icon { width: 17px; height: 17px; color: var(--primary); }

/* 19. Course details -------------------------------------------------------- */
.ed-cd-hero { padding: 48px 0 56px; }
.ed-cd-hero h1 { font-size: clamp(34px, 4vw, 52px); max-width: 20ch; }
.ed-cd-hero .ed-page-hero__inner { grid-template-columns: 1fr; }
.ed-cd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.ed-cd-meta > span, .ed-cd-meta > a { display: inline-flex; align-items: center; gap: 8px; }
.ed-cd-meta b { color: var(--ink); font-weight: 500; }
.ed-cd-meta .icon { width: 17px; height: 17px; color: var(--muted-2); }
.ed-cd-meta .ed-by img { width: 36px; height: 36px; }
.ed-cd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 56px; }
.ed-cd-media { aspect-ratio: 16 / 9; margin-top: -24px; box-shadow: var(--shadow-lg); }
.ed-cd-tabs { margin: 40px 0 32px; }
.ed-panel h2 { font-size: clamp(24px, 2.4vw, 30px); }
.ed-panel h3 { font-size: 18px; }
.ed-panel > * + h2 { margin-top: 42px; }
.ed-panel p { margin-top: 14px; color: var(--ink-2); }
.ed-panel p.ed-muted { color: var(--muted); }
.ed-learn-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 22px; padding: 28px; border-radius: var(--radius-lg); background: var(--ed-soft); border: 1px solid var(--line); }
.ed-learn-list li, .ed-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; }
.ed-learn-list .icon, .ed-checks .icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: var(--ed-green); }
.ed-checks { display: grid; gap: 12px; margin-top: 18px; }
.ed-checks--light li { color: rgba(255, 255, 255, .82); }
.ed-checks--light .icon { color: var(--ed-coral-light); }
.ed-skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ed-skill-tags span { padding: 7px 14px; border-radius: var(--radius-pill); background: var(--ed-indigo-50); color: #3a43b0; font-size: 13.5px; }
.ed-buy { position: sticky; top: calc(var(--ar-header-h) + 24px); margin-top: -260px; z-index: 4; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ed-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.ed-buy__price b { font-family: var(--ed-serif); font-size: 44px; font-weight: 500; line-height: 1; color: var(--ink); }
.ed-buy__price s { font-size: 17px; color: var(--muted-2); }
.ed-buy__timer { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--primary-600); }
.ed-buy__timer .icon { width: 16px; height: 16px; }
.ed-buy__timer b { font-variant-numeric: tabular-nums; font-weight: 500; }
.ed-buy__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 22px; }
.ed-buy__actions .btn--block { grid-column: 1 / -1; }
.ed-buy__save { width: 50px; height: 50px; position: static; border: 1px solid var(--line); box-shadow: none; border-radius: 12px; }
.ed-buy__guarantee { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.ed-buy h3 { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; }
.ed-includes { display: grid; gap: 12px; margin-top: 14px; font-size: 14.5px; }
.ed-includes li { display: flex; align-items: center; gap: 12px; }
.ed-includes .icon { width: 19px; height: 19px; color: var(--primary); }
.ed-buy__share { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.ed-buy__share button { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.ed-buy__share button.is-copied { color: var(--ed-green); }
.ed-buy__share .icon { width: 16px; height: 16px; }
.ed-curriculum-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.ed-curriculum { display: grid; gap: 12px; margin-top: 20px; }
.ed-module { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ed-module[open] { border-color: #d8dbe9; box-shadow: var(--shadow-sm); }
.ed-module > summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; list-style: none; cursor: pointer; }
.ed-module > summary::-webkit-details-marker { display: none; }
.ed-module > summary > .icon { width: 18px; height: 18px; color: var(--muted); transition: transform var(--ar-transition-slow); }
.ed-module[open] > summary > .icon { transform: rotate(180deg); color: var(--primary); }
.ed-module__num { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--primary-50); color: var(--primary); font-size: 13.5px; font-weight: 500; }
.ed-module__title { flex: 1; min-width: 0; }
.ed-module__title strong { display: block; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.ed-module__title small { display: block; font-size: 13px; color: var(--muted); }
.ed-lessons { padding: 0 20px 14px 70px; }
.ed-lessons li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.ed-lessons li > .icon { width: 17px; height: 17px; color: var(--muted-2); }
.ed-lessons span { flex: 1; }
.ed-lessons small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ed-lessons .ed-badge { height: 22px; font-size: 11.5px; }
.ed-teacher { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(140deg, var(--ed-peach), #fff 60%); }
.ed-teacher__photo { overflow: hidden; aspect-ratio: 4 / 4.6; border-radius: var(--radius); }
.ed-teacher__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.ed-teacher h3 { font-family: var(--ed-serif); font-size: 26px; font-weight: 500; }
.ed-teacher__role { color: var(--primary); font-size: 14.5px; }
.ed-teacher__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 6px; }
.ed-teacher__stats div { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: center; }
.ed-teacher__stats strong { display: block; font-family: var(--ed-serif); font-size: 22px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.ed-teacher__stats span { font-size: 12.5px; color: var(--muted); }
.ed-teacher .socials a { color: var(--ink); border-color: var(--line); }
.ed-teacher .socials a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.ed-reviews-summary { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius-lg); background: var(--ed-soft); border: 1px solid var(--line); }
.ed-reviews-summary__score { text-align: center; }
.ed-reviews-summary__score strong { display: block; font-family: var(--ed-serif); font-size: 60px; font-weight: 500; line-height: 1; color: var(--ink); }
.ed-reviews-summary__score small { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.ed-bars { display: grid; gap: 10px; }
.ed-bars li { display: grid; grid-template-columns: 54px 1fr 44px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.ed-bars i { display: block; height: 8px; border-radius: 8px; background: #e5e7f1; overflow: hidden; }
.ed-bars i::before { content: ""; display: block; width: var(--value); height: 100%; border-radius: inherit; background: var(--ed-star); }
.ed-review { padding: 24px 0; border-bottom: 1px solid var(--line); }
.ed-review header { display: flex; align-items: center; gap: 14px; }
.ed-review header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ed-review header strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.ed-review header small { font-size: 13px; color: var(--muted); }
.ed-review header .ed-stars { margin-left: auto; }
.ed-review p { margin-top: 12px; }
.ed-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ed-gallery__item { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--ed-soft); text-align: left; }
.ed-gallery__item .gl-img, .ed-gallery__item .gl-img img { width: 100%; height: 100%; }
.ed-gallery__item img { object-fit: cover; transition: transform 900ms var(--ar-ease-out); }
.ed-gallery__item:hover img { transform: scale(1.06); }
.ed-gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(180deg, transparent, rgba(17, 23, 58, .78)); color: #fff; font-size: 13px; line-height: 1.35; }
.ed-gallery__item figcaption strong { display: block; font-weight: 500; font-size: 14px; }
.ed-gallery__zoom { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity var(--ar-transition-base), transform var(--ar-transition-base); }
.ed-gallery__zoom .icon { width: 16px; height: 16px; }
.ed-gallery__item:hover .ed-gallery__zoom, .ed-gallery__item:focus-visible .ed-gallery__zoom { opacity: 1; transform: none; }

/* 20. About, globe & timeline ---------------------------------------------- */
.ed-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.ed-split--wide { grid-template-columns: 1.1fr .9fr; }
.ed-collage { position: relative; padding: 0 0 70px 0; }
.ed-collage__main { overflow: hidden; aspect-ratio: 4 / 3.3; border-radius: var(--radius-xl); }
.ed-collage__main img, .ed-collage__sub img { width: 100%; height: 100%; object-fit: cover; }
.ed-collage__sub { position: absolute; right: -24px; bottom: 0; width: 46%; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.ed-collage__badge { position: absolute; left: 24px; bottom: 30px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--dark); color: rgba(255, 255, 255, .75); box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.35; }
.ed-collage__badge strong { display: block; font-family: var(--ed-serif); font-size: 30px; font-weight: 500; color: #fff; line-height: 1; }
.ed-story-sign { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.ed-story-sign strong { display: block; color: var(--ink); font-weight: 500; }
.ed-story-sign span { font-size: 13.5px; color: var(--muted); }
.ed-value { height: 100%; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out); }
.ed-value h3 { margin-top: 22px; font-size: 18px; }
.ed-value p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.ed-value--center { text-align: center; }
.ed-value--center .ed-icon { margin-inline: auto; }
@media (hover: hover) { .ed-value:hover { transform: translateY(-5px); box-shadow: var(--shadow); } .ed-value:hover .ed-icon { transform: rotate(-6deg) scale(1.06); } }
.ed-globe-wrap { position: relative; display: grid; place-items: center; }
.ed-globe { width: min(100%, 470px); color: rgba(255, 255, 255, .5); overflow: visible; }
.ed-globe .ed-globe__spin { transform-origin: 240px 240px; animation: ed-spin 60s linear infinite; }
@keyframes ed-spin { to { transform: rotate(360deg); } }
.ed-globe__arc { fill: none; stroke: var(--ed-coral); stroke-width: 1.6; stroke-dasharray: 5 7; animation: ed-dash 2.4s linear infinite; }
@keyframes ed-dash { to { stroke-dashoffset: -24; } }
.ed-globe__pin { fill: var(--ed-coral); }
.ed-globe__pin--ring { fill: none; stroke: var(--ed-coral); stroke-width: 1.4; opacity: .7; transform-box: fill-box; transform-origin: center; animation: ed-pulse 2.2s ease-out infinite; }
.ed-globe-tag { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 13px; line-height: 1.3; }
.ed-globe-tag small { display: block; color: rgba(255, 255, 255, .65); font-size: 12px; }
.ed-globe-tag--1 { left: 0; top: 14%; }
.ed-globe-tag--2 { right: 0; bottom: 18%; }
.ed-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ed-timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--ed-coral), var(--ed-indigo)); opacity: .35; }
.ed-milestone { position: relative; text-align: center; }
.ed-milestone__dot { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--primary-100); color: var(--primary); box-shadow: 0 0 0 8px var(--ed-soft); transition: background-color var(--ar-transition-base), color var(--ar-transition-base); }
.ed-milestone__dot .icon { width: 22px; height: 22px; }
.ed-milestone:hover .ed-milestone__dot { background: var(--primary); color: #fff; }
.ed-milestone time { display: block; font-family: var(--ed-serif); font-size: 30px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.ed-milestone h3 { margin-top: 6px; font-size: 16.5px; }
.ed-milestone p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* 21. Pricing & compare table ---------------------------------------------- */
.ed-billing { display: inline-flex; align-items: center; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ed-billing button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: background-color var(--ar-transition-base), color var(--ar-transition-base); }
.ed-billing button.is-active { background: var(--dark); color: #fff; }
.ed-billing button small { padding: 2px 8px; border-radius: 6px; background: var(--primary-50); color: var(--primary-600); font-size: 11.5px; font-weight: 500; }
.ed-billing button.is-active small { background: var(--primary); color: #fff; }
.ed-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; margin-top: -40px; position: relative; z-index: 2; }
.ed-plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out); }
.ed-plan__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: var(--radius-pill); background: var(--ed-grad); color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(204, 72, 36, .9); }
.ed-plan h3, .ed-plan .ar-h3 { font-size: 20px; }
.ed-plan__desc { margin-top: 6px; font-size: 14.5px; color: var(--muted); min-height: 3.4em; }
.ed-plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.ed-plan__price strong { font-family: var(--ed-serif); font-size: 56px; font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ed-plan__price span { font-size: 15px; color: var(--muted); }
.ed-plan__note { min-height: 22px; margin-top: 6px; font-size: 13px; color: var(--ed-green); }
.ed-plan .ed-checks { margin: 24px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; }
.ed-plan .ed-checks li.is-off { color: var(--muted-2); }
.ed-plan .ed-checks li.is-off .icon { color: #c9cddd; }
.ed-plan .btn { margin-top: auto; }
.ed-plan--featured { background: var(--ed-navy-grad); border-color: transparent; color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg); transform: translateY(-14px); }
.ed-plan--featured h3, .ed-plan--featured .ed-plan__price strong { color: #fff; }
.ed-plan--featured .ed-plan__desc, .ed-plan--featured .ed-plan__price span { color: rgba(255, 255, 255, .68); }
.ed-plan--featured .ed-plan__note { color: #7fe0b6; }
.ed-plan--featured .ed-checks { border-color: rgba(255, 255, 255, .12); }
.ed-plan--featured .ed-checks li { color: rgba(255, 255, 255, .85); }
.ed-plan--featured .ed-checks .icon { color: var(--ed-coral-light); }
@media (hover: hover) { .ed-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); } .ed-plan--featured:hover { transform: translateY(-20px); box-shadow: var(--shadow-lg); } }
.ed-table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.ed-table-wrap:focus-visible { outline-offset: 2px; }
.ed-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.ed-table caption { text-align: left; }
.ed-table th, .ed-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: center; }
.ed-table thead th { position: sticky; top: 0; background: var(--ed-soft); font-weight: 500; color: var(--ink); font-size: 15px; }
.ed-table thead th small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ed-table tbody th { text-align: left; font-weight: 400; color: var(--ink-2); }
.ed-table tbody tr:hover { background: var(--ed-peach); }
.ed-table tbody tr:last-child > * { border-bottom: 0; }
.ed-table .is-featured { background: rgba(255, 241, 234, .55); }
.ed-table thead .is-featured { background: var(--primary); color: #fff; }
.ed-table thead .is-featured small { color: rgba(255, 255, 255, .8); }
.ed-table .icon { width: 19px; height: 19px; margin-inline: auto; }
.ed-table .is-yes { color: var(--ed-green); }
.ed-table .is-no { color: #c3c7d8; }
.ed-table-hint { display: none; margin-top: 10px; font-size: 13px; color: var(--muted); }
.ed-includes-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* 22. Events ---------------------------------------------------------------- */
.ed-event-feature { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: var(--radius-xl); background: var(--ed-navy-grad); color: rgba(255, 255, 255, .74); margin-bottom: 44px; }
.ed-event-feature__media { position: relative; min-height: 380px; }
.ed-event-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-event-feature__body { padding: 48px; }
.ed-event-feature h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); }
.ed-event-feature p { margin-top: 14px; font-weight: 300; }
.ed-event-feature .ed-countdown { margin-top: 26px; }
.ed-event-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: 14px; }
.ed-event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ed-event-meta .icon { width: 16px; height: 16px; color: var(--primary); }
.ed-event-feature .ed-event-meta .icon { color: var(--ed-coral-light); }
.ed-events { display: grid; gap: 18px; }
.ed-event { display: grid; grid-template-columns: 96px 200px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 16px 28px 16px 16px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out), border-color var(--ar-transition-base); }
.ed-event[hidden] { display: none; }
.ed-date { display: grid; place-items: center; align-content: center; height: 96px; border-radius: 16px; background: var(--ed-grad); color: #fff; text-align: center; line-height: 1; }
.ed-date strong { font-family: var(--ed-serif); font-size: 34px; font-weight: 500; }
.ed-date span { margin-top: 6px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.ed-event:nth-child(3n+2) .ed-date { background: linear-gradient(135deg, #6973e6, var(--ed-indigo)); }
.ed-event:nth-child(3n+3) .ed-date { background: linear-gradient(135deg, #283270, var(--dark)); }
.ed-event__thumb { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 12px; }
.ed-event__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ar-ease-out); }
.ed-event h3 { margin-top: 6px; font-size: 19px; }
.ed-event p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.ed-event .ed-event-meta { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.ed-event__side { display: grid; justify-items: end; gap: 10px; text-align: right; }
.ed-seats { font-size: 13px; color: var(--muted); }
.ed-seats b { color: var(--primary-600); font-weight: 500; }
.ed-event.is-registered .btn { --btn-bg: var(--ed-green); box-shadow: none; }
@media (hover: hover) { .ed-event:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow); } .ed-event:hover .ed-event__thumb img { transform: scale(1.06); } }
.ed-countdown { display: flex; gap: 12px; }
.ed-countdown > div { display: grid; place-items: center; min-width: 76px; padding: 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.ed-countdown strong { font-family: var(--ed-serif); font-size: 32px; font-weight: 500; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.ed-countdown small { margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.ed-countdown--light > div { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.ed-countdown--light strong { color: var(--ink); }
.ed-countdown--light small { color: var(--muted); }

/* 23. Blog, article & sidebar ---------------------------------------------- */
.ed-post { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out), border-color var(--ar-transition-base); }
.ed-post[hidden] { display: none; }
.ed-post__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 14px; }
.ed-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ar-ease-out); }
.ed-post__media .ed-badge { position: absolute; left: 12px; top: 12px; }
.ed-post__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.ed-post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.ed-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ed-post__meta .icon { width: 14px; height: 14px; }
.ed-post h3, .ed-post .ar-h3 { margin-top: 10px; font-size: 18.5px; line-height: 1.4; }
.ed-post h3 a::after, .ed-post .ar-h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ed-post h3 a:focus-visible, .ed-post .ar-h3 a:focus-visible { outline: none; }
.ed-post:has(h3 a:focus-visible), .ed-post:has(.ar-h3 a:focus-visible) { outline: 2px solid var(--primary); outline-offset: 3px; }
.ed-post:hover h3 a, .ed-post:hover .ar-h3 a { color: var(--primary); }
.ed-post p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.ed-post__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.ed-post__foot .ed-more { font-size: 14px; }
@media (hover: hover) { .ed-post:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; } .ed-post:hover .ed-post__media img { transform: scale(1.05); } }
.ed-post--feature { display: grid; grid-template-columns: 1.15fr 1fr; }
.ed-post--feature .ed-post__media { margin: 10px 0 10px 10px; aspect-ratio: auto; min-height: 360px; }
.ed-post--feature .ed-post__body { padding: 40px; justify-content: center; }
.ed-post--feature h3, .ed-post--feature .ar-h3 { font-family: var(--ed-serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; }
.ed-post--feature .ed-post__foot { margin-top: 26px; }
.ed-paged[data-ed-current="1"] > [data-ed-page="2"], .ed-paged[data-ed-current="2"] > [data-ed-page="1"] { display: none; }
.ed-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.ed-pagination[hidden] { display: none; }
.ed-pagination button { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink); transition: background-color var(--ar-transition-base), color var(--ar-transition-base), border-color var(--ar-transition-base); }
.ed-pagination button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.ed-pagination button[aria-current="page"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.ed-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.ed-pagination .icon { width: 16px; height: 16px; }
.ed-read-bar { position: fixed; z-index: 60; left: 0; top: 0; width: 100%; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--ar-progress, 0)); background: var(--ed-grad); pointer-events: none; }
.ed-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.ed-article-hero h1 { font-size: clamp(34px, 4vw, 54px); max-width: 22ch; }
.ed-author-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.ed-author-line .ed-person img { width: 44px; height: 44px; }
.ed-author-line > span { display: inline-flex; align-items: center; gap: 8px; }
.ed-author-line .icon { width: 16px; height: 16px; color: var(--muted-2); }
.ed-cover { overflow: hidden; aspect-ratio: 16 / 8; margin-top: -40px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.ed-cover img { width: 100%; height: 100%; object-fit: cover; }
.ed-prose { font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.ed-prose > * + * { margin-top: 22px; }
.ed-prose h2 { margin-top: 52px; font-size: clamp(26px, 2.6vw, 34px); scroll-margin-top: calc(var(--ar-header-h) + 24px); }
.ed-prose h3 { margin-top: 34px; font-size: 20px; }
.ed-prose h2 + p, .ed-prose h3 + p { margin-top: 12px; }
.ed-prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.ed-prose ul, .ed-prose ol { display: grid; gap: 10px; padding-left: 4px; }
.ed-prose ul li { position: relative; padding-left: 30px; }
.ed-prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 10px; border-radius: 3px; background: var(--ed-coral); transform: rotate(45deg); }
.ed-prose ol { counter-reset: ed; }
.ed-prose ol li { position: relative; padding-left: 44px; counter-increment: ed; }
.ed-prose ol li::before { content: counter(ed); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--primary-50); color: var(--primary); font-size: 14px; font-weight: 500; }
.ed-prose blockquote { position: relative; margin: 40px 0; padding: 30px 34px 30px 92px; border-radius: var(--radius-lg); background: var(--ed-peach); font-family: var(--ed-serif); font-size: 23px; font-style: italic; line-height: 1.5; color: var(--ink); }
.ed-prose blockquote svg { position: absolute; left: 30px; top: 30px; width: 40px; height: 40px; color: var(--ed-coral); }
.ed-prose blockquote cite { display: block; margin-top: 14px; font-family: var(--font); font-size: 14px; font-style: normal; color: var(--muted); }
.ed-prose figure { margin: 40px 0; }
.ed-prose figure img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.ed-prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.ed-callout { display: flex; gap: 18px; padding: 24px 26px; border-radius: var(--radius-lg); background: var(--ed-sky); border: 1px solid var(--ed-sky-2); font-size: 15.5px; line-height: 1.7; }
.ed-callout strong { display: block; color: var(--ink); }
.ed-article-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-block: 24px; border-block: 1px solid var(--line); }
.ed-share { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ed-share a, .ed-share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background-color var(--ar-transition-fast), color var(--ar-transition-fast), border-color var(--ar-transition-fast); }
.ed-share a:hover, .ed-share button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.ed-share button.is-copied { background: var(--ed-green); border-color: var(--ed-green); color: #fff; }
.ed-share .icon { width: 16px; height: 16px; }
.ed-author-box { display: flex; gap: 22px; margin-top: 36px; padding: 28px; border-radius: var(--radius-lg); background: var(--ed-soft); border: 1px solid var(--line); }
.ed-author-box img { width: 84px; height: 84px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.ed-author-box h3 { font-size: 18px; }
.ed-author-box p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.ed-sidebar { position: sticky; top: calc(var(--ar-header-h) + 24px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ed-widget { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.ed-widget h2 { margin-bottom: 18px; font-family: var(--font); font-size: 17px; font-weight: 500; }
.ed-widget--dark { background: var(--ed-navy-grad); border: 0; color: rgba(255, 255, 255, .74); }
.ed-widget--dark h2 { color: #fff; }
.ed-widget--peach { background: var(--ed-peach); border-color: var(--ed-peach-2); }
.ed-widget .ed-searchbar { box-shadow: none; padding: 4px 4px 4px 14px; border-radius: 12px; }
.ed-widget .ed-searchbar input { height: 42px; font-size: 14.5px; }
.ed-widget .ed-searchbar button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: #fff; }
.ed-widget .ed-searchbar button .icon { width: 17px; height: 17px; }
.ed-mini-posts { display: grid; gap: 16px; }
.ed-mini-post { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px; }
.ed-mini-post img { width: 76px; height: 64px; border-radius: 10px; object-fit: cover; }
.ed-mini-post strong { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--ink); transition: color var(--ar-transition-fast); }
.ed-mini-post small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.ed-mini-post:hover strong { color: var(--primary); }
.ed-cat-list li + li { border-top: 1px solid var(--line); }
.ed-cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 14.5px; transition: color var(--ar-transition-fast), padding var(--ar-transition-fast); }
.ed-cat-list a:hover { color: var(--primary); padding-left: 4px; }
.ed-cat-list small { min-width: 30px; padding: 2px 8px; border-radius: 8px; background: var(--ed-soft); font-size: 12.5px; color: var(--muted); text-align: center; }
.ed-toc { display: grid; gap: 2px; }
.ed-toc a { display: block; padding: 8px 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); transition: color var(--ar-transition-fast), border-color var(--ar-transition-fast); }
.ed-toc a:hover, .ed-toc a.is-current { color: var(--primary); border-color: var(--primary); }
.ed-inline-form { display: grid; gap: 10px; margin-top: 16px; }
.ed-inline-form input { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 14.5px; }
.ed-inline-form input::placeholder { color: rgba(255, 255, 255, .55); }
.ed-inline-form input:focus { outline: none; border-color: var(--ed-coral-light); }
.ed-widget .newsletter__msg { min-height: 18px; margin-top: 10px; font-size: 13px; color: var(--ed-coral-light); }
.ed-newsletter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 48px 56px; border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--ed-peach) 0%, #fff 50%, var(--ed-sky) 100%); border: 1px solid var(--line); }
.ed-newsletter h2 { font-size: clamp(26px, 2.6vw, 34px); }
.ed-newsletter form { display: flex; gap: 10px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ed-newsletter input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.ed-newsletter .newsletter__msg { color: var(--primary-600); margin-top: 10px; min-height: 20px; font-size: 13.5px; }
.ed-cd-meta .ed-stars .icon { color: var(--ed-star); width: 15px; height: 15px; }

/* 24. Contact, FAQ, careers ------------------------------------------------- */
.ed-contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: -56px; position: relative; z-index: 2; }
.ed-contact-card { padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out); }
.ed-contact-card h3, .ed-contact-card .ar-h3 { margin-top: 18px; font-size: 16.5px; }
.ed-contact-card p, .ed-contact-card a { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.ed-contact-card a:hover { color: var(--primary); }
@media (hover: hover) { .ed-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.ed-contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.ed-form-card { padding: 40px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ed-form-card h2 { font-size: clamp(26px, 2.6vw, 34px); }
.ed-form-card > p { margin-top: 8px; color: var(--muted); }
.ed-advisor { overflow: hidden; border-radius: var(--radius-xl); background: var(--ed-navy-grad); color: rgba(255, 255, 255, .74); }
.ed-advisor__photo { aspect-ratio: 4 / 3.2; overflow: hidden; }
.ed-advisor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.ed-advisor__body { padding: 28px 30px 32px; }
.ed-advisor h3 { color: #fff; font-family: var(--ed-serif); font-size: 24px; font-weight: 500; }
.ed-advisor p { margin-top: 8px; font-size: 14.5px; }
.ed-advisor .ed-checks { font-size: 14.5px; }
.ed-map { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); background: #eef1f8; aspect-ratio: 21 / 8; }
.ed-map > svg { width: 100%; height: 100%; }
.ed-map__card { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); max-width: 300px; padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.ed-map__card h3 { font-size: 17px; }
.ed-map__card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ed-map__card .ed-more { margin-top: 12px; font-size: 14px; }
.ed-map__pin { position: absolute; left: 62%; top: 44%; display: grid; place-items: center; width: 54px; height: 54px; margin: -54px 0 0 -27px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ed-grad); box-shadow: 0 14px 24px -10px rgba(204, 72, 36, .9); }
.ed-map__pin svg { width: 24px; height: 24px; transform: rotate(45deg); color: #fff; }
.ed-map__pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgba(242, 107, 69, .2); z-index: -1; animation: ed-pulse 2.4s ease-out infinite; }
.ed-faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.ed-faq-nav { position: sticky; top: calc(var(--ar-header-h) + 24px); display: grid; gap: 6px; }
.ed-faq-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; text-align: left; font-size: 14.5px; color: var(--ink-2); transition: background-color var(--ar-transition-base), color var(--ar-transition-base); }
.ed-faq-nav button .icon { width: 18px; height: 18px; color: var(--muted-2); transition: color var(--ar-transition-base); }
.ed-faq-nav button:hover { background: var(--ed-soft); }
.ed-faq-nav button[aria-pressed="true"] { background: var(--primary-50); color: var(--primary-600); font-weight: 500; }
.ed-faq-nav button[aria-pressed="true"] .icon { color: var(--primary); }
.ed-faqs { display: grid; gap: 14px; }
.ed-faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ed-faq[hidden] { display: none; }
.ed-faq[open] { border-color: var(--primary-100); box-shadow: 0 16px 34px -26px rgba(204, 72, 36, .55); }
.ed-faq > summary { display: flex; align-items: center; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; color: var(--ink); }
.ed-faq > summary::-webkit-details-marker { display: none; }
.ed-faq > summary:hover { color: var(--primary); }
.ed-faq__q { flex: 1; }
.ed-faq__toggle { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--ed-soft); color: var(--ink); transition: background-color var(--ar-transition-base), color var(--ar-transition-base); }
.ed-faq__toggle .icon { width: 17px; height: 17px; }
.ed-faq[open] .ed-faq__toggle { background: var(--primary); color: #fff; }
.ed-faq[open] .ed-faq__toggle .icon { transform: rotate(180deg); }
.ed-faq__a { padding: 0 22px 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.ed-faq__a p + p { margin-top: 10px; }
.ed-faq__a a { color: var(--primary); font-weight: 500; }
.ed-page .ed-faq-group-title { margin: 22px 0 4px; font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.ed-page .ed-faq-group-title:first-child { margin-top: 0; }
.ed-faq-group-title[hidden] { display: none; }
.ed-perk { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out); }
.ed-perk h3 { font-size: 16.5px; }
.ed-perk p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
@media (hover: hover) { .ed-perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.ed-jobs { display: grid; gap: 16px; }
.ed-job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform var(--ar-dur-slow) var(--ar-ease-out), box-shadow var(--ar-dur-slow) var(--ar-ease-out), border-color var(--ar-transition-base); }
.ed-job[hidden] { display: none; }
.ed-job h3 { font-size: 18px; }
.ed-job p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.ed-job__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ed-job__tags span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; background: var(--ed-soft); font-size: 13px; color: var(--ink-2); }
.ed-job__tags .icon { width: 14px; height: 14px; color: var(--muted); }
.ed-job.is-applied .btn { --btn-bg: var(--ed-green); box-shadow: none; }
@media (hover: hover) { .ed-job:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; } }
.ed-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.ed-step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); counter-increment: step; }
.ed-step::before { content: "0" counter(step); display: block; font-family: var(--ed-serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--ed-coral-light); }
.ed-step h3 { margin-top: 18px; font-size: 17px; }
.ed-step p { margin-top: 6px; font-size: 14.5px; }
.ed-culture { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 460px; }
.ed-culture figure { overflow: hidden; margin: 0; border-radius: var(--radius-lg); }
.ed-culture figure:first-child { grid-row: span 2; }
.ed-culture img { width: 100%; height: 100%; object-fit: cover; }
.ed-culture__stat { display: grid; align-content: center; padding: 26px; border-radius: var(--radius-lg); background: var(--ed-grad); color: rgba(255, 255, 255, .9); }
.ed-culture__stat strong { font-family: var(--ed-serif); font-size: 48px; font-weight: 500; line-height: 1; color: #fff; }

/* 25. 404, coming soon, sitemap -------------------------------------------- */
.ed-error { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(170deg, var(--ed-lav) 0%, #fff 55%, var(--ed-peach) 100%); }
.ed-error__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.ed-error__code { display: block; font-family: var(--ed-serif); font-size: clamp(110px, 15vw, 190px); font-weight: 500; line-height: .9; color: var(--ink); }
.ed-error__code span { color: var(--primary); font-style: italic; font-weight: 400; }
.ed-error h1 { margin-top: 14px; font-size: clamp(30px, 3.2vw, 42px); }
.ed-error .ed-searchbar { margin-top: 28px; }
.ed-error__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ed-error__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ed-illus { width: 100%; max-width: 520px; justify-self: center; overflow: visible; }
.ed-illus .ed-float-a { animation: ed-bob 6s ease-in-out infinite; }
.ed-illus .ed-float-b { animation: ed-bob 7s ease-in-out -2s infinite; }
.ed-illus .ed-twinkle { animation: ed-twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ed-twinkle { 50% { opacity: .35; transform: scale(.7); } }
.ed-soon { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #fbf9ff; overflow: hidden; }
.ed-soon__bg { position: absolute; inset: 0; z-index: 0; }
.ed-soon__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ed-soon__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 249, 255, .6), rgba(255, 255, 255, .92) 70%); }
.ed-soon__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; }
.ed-soon__main { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; padding: 24px 0 64px; text-align: center; }
.ed-soon__rocket { width: 150px; height: 150px; margin: 0 auto 10px; overflow: visible; }
.ed-soon__rocket .ed-rocket { animation: ed-bob 4s ease-in-out infinite; }
.ed-soon__rocket .ed-flame { transform-box: fill-box; transform-origin: top center; animation: ed-flame .35s ease-in-out infinite alternate; }
@keyframes ed-flame { to { transform: scaleY(.75); opacity: .85; } }
.ed-soon h1 { font-size: clamp(38px, 5vw, 64px); max-width: 14ch; margin-inline: auto; }
.ed-soon .ed-lead { margin-inline: auto; }
.ed-soon .ed-countdown { justify-content: center; margin-top: 36px; }
.ed-soon__form { display: flex; gap: 10px; width: min(100%, 500px); margin: 34px auto 0; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ed-soon__form input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.ed-soon__msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--primary-600); }
.ed-soon__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.ed-soon__perks span { display: inline-flex; align-items: center; gap: 8px; }
.ed-soon__perks .icon { width: 16px; height: 16px; color: var(--primary); }
.ed-soon .socials { justify-content: center; margin-top: 30px; }
.ed-soon .socials a, .ed-socials-dark a { color: var(--ink); border-color: var(--line); background: #fff; }
.ed-soon .socials a:hover, .ed-socials-dark a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.ed-soon__foot { position: relative; z-index: 1; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, .7); }
.ed-soon__foot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ed-soon__foot ul { display: flex; gap: 20px; }
.ed-soon__foot a:hover { color: var(--primary); }
.ed-sitemap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ed-sitemap section { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.ed-sitemap h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--font); font-size: 17px; font-weight: 500; }
.ed-sitemap li + li { margin-top: 6px; }
.ed-sitemap a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); transition: color var(--ar-transition-fast); }
.ed-sitemap a:hover { color: var(--primary); }
.ed-sitemap a .icon { width: 14px; height: 14px; color: var(--muted-2); }

/* 26. Forms (.ar-field contract used by main.js [data-ar-form]) ------------ */
.ed-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 28px; }
.ed-form .ar-field--full, .ed-form .ar-check, .ed-form__foot { grid-column: 1 / -1; }
.ed-page .ar-field { display: grid; gap: 7px; }
.ed-page .ar-field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.ed-page .ar-field label small { font-weight: 400; color: var(--muted); }
.ed-page .ar-input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #dcdfeb; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); transition: border-color var(--ar-transition-base), box-shadow var(--ar-transition-base); }
.ed-page textarea.ar-input { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.ed-page select.ar-input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6180' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.ed-page .ar-input::placeholder { color: #9a9fb6; }
.ed-page .ar-input:hover { border-color: #c5c9db; }
.ed-page .ar-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.ed-page .ar-input[aria-invalid="true"] { border-color: #c4314b; box-shadow: 0 0 0 4px #fdecef; }
.ed-page .ar-field__error { min-height: 0; font-size: 13px; color: #b42340; }
.ed-page .ar-field__error:empty { display: none; }
.ed-page .ar-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.ed-page .ar-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }
.ed-page .ar-check a { color: var(--primary); text-decoration: underline; }
.ed-page .ar-check .ar-field__error { flex-basis: 100%; }
.ed-page .ar-check { flex-wrap: wrap; }
.ed-form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.ed-form-msg { font-size: 14px; color: var(--ed-green); }
.ed-form-msg.is-error { color: #b42340; }
.ed-form-msg:empty { display: none; }

/* 27. Modal, player, lightbox, toast --------------------------------------- */
.ed-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--radius-xl); background: #fff; color: var(--ink-2); box-shadow: 0 50px 100px -30px rgba(10, 14, 40, .6); overflow: auto; }
.ed-modal::backdrop { background: rgba(13, 18, 48, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ed-modal[open] { animation: ar-scale-in var(--ar-dur-slow) var(--ar-ease-out); }
.ed-modal[open]::backdrop { animation: ar-fade-in var(--ar-dur-base) var(--ar-ease-standard); }
.ed-modal__head { position: relative; padding: 30px 32px 24px; background: linear-gradient(120deg, var(--ed-peach), var(--ed-lav)); }
.ed-modal__head h2 { padding-right: 40px; font-size: 26px; }
.ed-modal__head p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.ed-modal__close { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); transition: background-color var(--ar-transition-base), color var(--ar-transition-base); }
.ed-modal__close:hover { background: var(--primary); color: #fff; }
.ed-modal__close .icon { width: 18px; height: 18px; }
.ed-modal__body { padding: 8px 32px 32px; }
.ed-modal .ed-form { margin-top: 18px; }
.ed-modal__done { display: none; padding: 40px 32px 36px; text-align: center; }
.ed-modal__done .ed-icon { margin: 0 auto 16px; }
.ed-modal__done h3 { font-family: var(--ed-serif); font-size: 26px; font-weight: 500; }
.ed-modal__done p { margin: 8px auto 22px; max-width: 40ch; color: var(--muted); }
.ed-modal.is-done .ed-modal__body, .ed-modal.is-done .ed-modal__head { display: none; }
.ed-modal.is-done .ed-modal__done { display: block; animation: ar-fade-up var(--ar-dur-slow) var(--ar-ease-out); }
.ed-player { width: min(980px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--dark); color: rgba(255, 255, 255, .78); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.ed-player::backdrop { background: rgba(8, 11, 30, .82); }
.ed-player[open] { animation: ar-scale-in var(--ar-dur-slow) var(--ar-ease-out); }
.ed-player__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.ed-player__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.ed-player__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 900ms var(--ar-ease-standard); }
.ed-player__slide.is-active { opacity: 1; }
.ed-player__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.ed-player__slide.is-active img { animation: ed-kenburns 9s linear both; }
.ed-player.is-paused .ed-player__slide.is-active img { animation-play-state: paused; }
@keyframes ed-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1%, -1%); } }
.ed-player__slide figcaption { position: absolute; left: 24px; right: 24px; bottom: 58px; max-width: 46ch; padding: 12px 16px; border-radius: 12px; background: rgba(13, 18, 48, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 15px; line-height: 1.5; }
.ed-player__stage iframe, .ed-player__stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ed-player__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.ed-player__bar button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; }
.ed-player__bar button .icon { width: 15px; height: 15px; }
.ed-player__bar .is-pause { display: none; }
.ed-player:not(.is-paused) .ed-player__bar .is-pause { display: block; }
.ed-player:not(.is-paused) .ed-player__bar .is-play { display: none; }
.ed-player__track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ed-player__track span { display: block; height: 100%; width: 0; background: var(--ed-coral); }
.ed-player__side { display: flex; flex-direction: column; padding: 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.ed-player__side small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-coral-light); }
.ed-player__side h2 { margin-top: 6px; color: #fff; font-size: 22px; padding-right: 30px; }
.ed-player__chapters { display: grid; gap: 4px; margin-top: 18px; }
.ed-player__chapters button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 10px; text-align: left; font-size: 13.5px; color: rgba(255, 255, 255, .75); transition: background-color var(--ar-transition-fast), color var(--ar-transition-fast); }
.ed-player__chapters button:hover { background: rgba(255, 255, 255, .06); }
.ed-player__chapters button[aria-current="true"] { background: rgba(242, 107, 69, .16); color: #fff; }
.ed-player__chapters b { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 500; }
.ed-player__chapters span { flex: 1; }
.ed-player__chapters small { letter-spacing: 0; text-transform: none; font-size: 12px; color: rgba(255, 255, 255, .5); }
.ed-player__note { margin-top: auto; padding-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.ed-player__close { position: absolute; right: 14px; top: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background-color var(--ar-transition-base); }
.ed-player__close:hover { background: var(--primary); }
.ed-player__close .icon { width: 18px; height: 18px; }
.ed-page dialog.lightbox { width: min(1080px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--dark); color: #fff; overflow: hidden; }
.ed-page dialog.lightbox::backdrop { background: rgba(8, 11, 30, .85); }
.ed-page .lightbox__media img { width: 100%; max-height: 74vh; object-fit: contain; background: #000; }
.ed-page .lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; }
.ed-page .lightbox__cap { font-size: 14.5px; }
.ed-page .lightbox__nav { display: flex; gap: 8px; }
.ed-page .lightbox__nav button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background-color var(--ar-transition-base); }
.ed-page .lightbox__nav button:hover { background: var(--primary); }
.ed-page .lightbox__nav .icon { width: 18px; height: 18px; }
.ed-toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--dark); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-lg); transform: translate(-50%, 24px); opacity: 0; visibility: hidden; transition: opacity var(--ar-transition-base), transform var(--ar-dur-slow) var(--ar-ease-out), visibility 0s linear var(--ar-dur-base); }
.ed-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity var(--ar-transition-base), transform var(--ar-dur-slow) var(--ar-ease-out), visibility 0s; }
.ed-toast .icon { width: 18px; height: 18px; color: var(--ed-coral-light); }
.ed-toast a { color: var(--ed-coral-light); text-decoration: underline; text-underline-offset: 3px; }

/* 28. Responsive ------------------------------------------------------------ */
@media (max-width: 1199px) {
  .ed-page { --section-y: 88px; }
  .ed-hero__inner { gap: 40px; }
  .ed-float--progress { left: -6%; }
  .ed-float--cert { right: -4%; }
  .ed-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ed-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ed-cd-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .ed-article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; }
  .ed-event { grid-template-columns: 88px 160px minmax(0, 1fr) auto; gap: 20px; }
  .ed-footer .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .ed-footer .site-footer__about, .ed-footer .newsletter { grid-column: span 3; }
  .ed-footer .newsletter { max-width: 560px; }
  .ed-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-menu-courses { grid-template-columns: 190px minmax(240px, 1fr); }
  .ed-menu-courses .ed-menu-course { display: none; }
  .ed-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .ed-page .nav__link { padding-inline: 10px; font-size: 14.5px; }
  .ed-actions .btn { padding-inline: 16px; }
  .ed-page .site-header__inner { gap: 16px; }
}
@media (max-width: 991px) {
  .ed-page { --section-y: 76px; --ar-header-h: 72px; }
  .ed-page .nav { inset: var(--ar-header-h) 0 auto; padding-bottom: 28px; }
  .ed-page .nav__link { padding: 14px 6px; font-size: 16px; border-radius: 0; }
  .ed-page .nav__link::after { display: none; }
  .ed-page .nav-menu__link { font-size: 15px; }
  .ed-nav-mobile { display: grid; gap: 12px; margin-top: 20px; }
  .ed-nav-mobile__search { display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ed-soft); color: var(--muted); font-size: 15px; text-align: left; }
  .ed-nav-mobile__search .icon { width: 18px; height: 18px; }
  .ed-actions__cta { display: none; }
  .ed-menu-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-search__body { grid-template-columns: 1fr; gap: 20px; }
  .ed-search__kbd { display: none; }
  .ed-hero { padding: 56px 0 140px; }
  .ed-hero__inner, .ed-learn, .ed-split, .ed-split--wide, .ed-page-hero__inner, .ed-error__inner, .ed-contact-layout, .ed-newsletter { grid-template-columns: minmax(0, 1fr); }
  .ed-hero__inner { gap: 64px; }
  .ed-hero__visual { width: min(100%, 440px); }
  .ed-float--progress { left: -4%; }
  .ed-float--cert { right: -4%; }
  .ed-statbar__inner { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .ed-stat:nth-child(3) { border-left: 0; }
  .ed-numbers, .ed-stats-row, .ed-includes-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-learn { gap: 48px; }
  .ed-learn__card { left: 12px; }
  .ed-logos__row { grid-template-columns: repeat(3, 1fr); }
  .ed-cta { grid-template-columns: 1fr; padding: 52px 36px 0; }
  .ed-cta__copy { padding-bottom: 0; }
  .ed-cta__visual { min-height: 320px; margin: 0 -36px; }
  .ed-cta__visual img { border-radius: 140px 140px 0 0; }
  .ed-grid--3, .ed-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ed-track { grid-auto-columns: calc((100% - 28px) / 2); }
  .ed-page-hero { padding: 52px 0 64px; }
  .ed-page-hero__visual { justify-self: start; width: min(100%, 560px); }
  .ed-cd-layout, .ed-article-layout, .ed-faq-layout { grid-template-columns: minmax(0, 1fr); }
  .ed-buy { position: static; margin-top: 0; }
  .ed-cd-media { margin-top: 0; }
  .ed-sidebar, .ed-faq-nav { position: static; }
  .ed-faq-nav { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .ed-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-teacher { grid-template-columns: 180px 1fr; }
  .ed-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .ed-timeline::before { display: none; }
  .ed-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .ed-plan--featured { transform: none; }
  .ed-event-feature { grid-template-columns: 1fr; }
  .ed-event-feature__media { min-height: 280px; }
  .ed-event { grid-template-columns: 80px minmax(0, 1fr) auto; }
  .ed-event__thumb { display: none; }
  .ed-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-map { aspect-ratio: 16 / 9; }
  .ed-post--feature { grid-template-columns: 1fr; }
  .ed-post--feature .ed-post__media { margin: 10px 10px 0; min-height: 0; aspect-ratio: 16 / 9; }
  .ed-post--feature .ed-post__body { padding: 26px; }
  .ed-culture { height: 380px; }
  .ed-error__inner { text-align: center; justify-items: center; }
  .ed-error__actions, .ed-error__links { justify-content: center; }
  .ed-illus { max-width: 420px; }
  .ed-newsletter { padding: 40px 32px; gap: 24px; }
  .ed-player__layout { grid-template-columns: 1fr; }
  .ed-player__side { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .ed-player__chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-player__note { display: none; }
}
@media (max-width: 767px) {
  .ed-page { --section-y: 64px; --gutter: 18px; font-size: 15px; }
  .ed-head { margin-bottom: 34px; }
  .ed-lead { font-size: 16px; }
  .ed-hero h1 { font-size: clamp(40px, 11vw, 54px); }
  .ed-hero .ed-lead { font-size: 16.5px; }
  .ed-hero__actions .btn { flex: 1 1 auto; }
  .ed-hero__proof { flex-wrap: wrap; }
  .ed-float { font-size: 12px; }
  .ed-float--progress { left: -2%; bottom: 10%; min-width: 0; width: 200px; padding: 12px; }
  .ed-float--cert { right: -2%; top: 8%; padding: 8px 12px 8px 8px; }
  .ed-float--cert .ed-icon { width: 36px; height: 36px; }
  .ed-float--live { right: 4%; bottom: -4%; }
  .ed-statbar { margin-top: -96px; }
  .ed-statbar__inner { padding: 22px 6px; }
  .ed-stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 4px 16px; }
  .ed-stat .ed-icon { width: 40px; height: 40px; border-radius: 12px; }
  .ed-stat strong { font-size: 28px; }
  .ed-stat span:not(.ed-icon) { font-size: 13px; }
  .ed-number { padding: 24px 20px; }
  .ed-logos__row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ed-logos__row li { font-size: 17px; }
  .ed-grid--2, .ed-grid--3, .ed-grid--4 { grid-template-columns: 1fr; }
  .ed-grid--instructors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ed-grid--instructors .ed-instructor { padding: 8px 8px 16px; }
  .ed-grid--instructors .ed-instructor h3 { font-size: 15.5px; }
  .ed-grid--instructors .ed-instructor__stats { flex-direction: column; gap: 2px; align-items: center; }
  .ed-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ed-topic { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .ed-topic .ed-icon { width: 42px; height: 42px; }
  .ed-track { grid-auto-columns: 86%; gap: 16px; }
  .ed-toolbar { align-items: stretch; }
  .ed-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .ed-tabs::-webkit-scrollbar { display: none; }
  .ed-filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ed-filters .ed-select, .ed-filters .ed-select select { width: 100%; }
  .ed-searchbar { padding-left: 14px; }
  .ed-searchbar .btn span { display: none; }
  .ed-searchbar .btn { padding: 0 16px; }
  .ed-cta { padding: 44px 22px 0; border-radius: var(--radius-lg); }
  .ed-cta--center { padding: 52px 22px; }
  .ed-cta__visual { margin: 0 -22px; min-height: 260px; }
  .ed-cta__actions .btn { flex: 1 1 auto; }
  .ed-page-hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .ed-page-hero__chip { left: 10px; }
  .ed-learn-list { grid-template-columns: 1fr; padding: 22px; }
  .ed-teacher { grid-template-columns: 1fr; padding: 22px; }
  .ed-teacher__photo { max-width: 220px; }
  .ed-teacher__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-reviews-summary { grid-template-columns: 1fr; padding: 22px; }
  .ed-review header { flex-wrap: wrap; }
  .ed-review header .ed-stars { margin-left: 62px; width: 100%; }
  .ed-lessons { padding: 0 16px 12px; }
  .ed-module > summary { padding: 16px; }
  .ed-gallery { gap: 10px; }
  .ed-collage__sub { right: 0; width: 52%; }
  .ed-collage__badge { left: 12px; bottom: 16px; padding: 12px 14px; }
  .ed-timeline { grid-template-columns: 1fr; }
  .ed-plan { padding: 28px 22px; }
  .ed-table-hint { display: block; }
  .ed-event-feature__body { padding: 30px 22px; }
  .ed-countdown { gap: 8px; }
  .ed-countdown > div { min-width: 0; flex: 1; padding: 12px 6px; }
  .ed-countdown strong { font-size: 26px; }
  .ed-event { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .ed-date { height: 72px; border-radius: 12px; }
  .ed-date strong { font-size: 26px; }
  .ed-event__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; text-align: left; }
  .ed-contact-cards { grid-template-columns: 1fr; margin-top: -40px; }
  .ed-form-card { padding: 26px 20px; }
  .ed-form { grid-template-columns: 1fr; }
  .ed-map { aspect-ratio: auto; height: 420px; }
  .ed-map > svg { width: 180%; max-width: none; margin-left: -40%; }
  .ed-map__card { left: 16px; right: 16px; top: auto; bottom: 16px; transform: none; max-width: none; }
  .ed-map__pin { top: 32%; left: 55%; }
  .ed-job { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .ed-job > .ed-icon { display: none; }
  .ed-job .btn { width: 100%; }
  .ed-steps { grid-template-columns: 1fr; }
  .ed-culture { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .ed-culture figure:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .ed-culture figure:not(:first-child) { aspect-ratio: 1; }
  .ed-culture__stat strong { font-size: 36px; }
  .ed-prose { font-size: 16px; }
  .ed-prose blockquote { padding: 70px 22px 24px; font-size: 19px; }
  .ed-prose blockquote svg { left: 22px; top: 22px; width: 34px; height: 34px; }
  .ed-cover { aspect-ratio: 4 / 3; margin-top: -24px; border-radius: var(--radius-lg); }
  .ed-author-box { flex-direction: column; padding: 22px; }
  .ed-post--feature .ed-post__body { padding: 22px; }
  .ed-newsletter { padding: 32px 22px; }
  .ed-newsletter form, .ed-soon__form { flex-direction: column; }
  .ed-newsletter input, .ed-soon__form input { height: 48px; }
  .ed-sitemap { grid-template-columns: 1fr; }
  .ed-footer .site-footer__grid { grid-template-columns: repeat(2, 1fr); padding-block: 56px 36px; gap: 32px 24px; }
  .ed-footer .site-footer__about, .ed-footer .newsletter { grid-column: span 2; }
  .ed-footer .site-footer__bottom { flex-direction: column; }
  .ed-footer .site-footer__bottom ul { flex-wrap: wrap; gap: 10px 18px; }
  .ed-modal__head { padding: 26px 22px 20px; }
  .ed-modal__body { padding: 4px 22px 26px; }
  .ed-player__chapters { grid-template-columns: 1fr; }
  .ed-player__slide figcaption { left: 12px; right: 12px; bottom: 54px; font-size: 13px; padding: 8px 12px; }
  .ed-soon__top .btn { display: none; }
}
@media (max-width: 479px) {
  .ed-statbar__inner { grid-template-columns: 1fr 1fr; }
  .ed-numbers, .ed-includes-row { grid-template-columns: 1fr; }
  .ed-hero__visual { width: 100%; }
  .ed-float--live { display: none; }
  .ed-buy__price b { font-size: 38px; }
  .ed-faq > summary { padding: 16px; font-size: 15px; }
  .ed-faq__a { padding: 0 16px 18px; }
  .ed-error__code { font-size: 110px; }
}

/* Reduced motion: switch off decorative loops (base reset lives in style.css) */
@media (prefers-reduced-motion: reduce) {
  .ed-hero__blob, .ed-float, .ed-page-hero__chip, .ed-play::before, .ed-live-dot::after, .ed-globe .ed-globe__spin, .ed-globe__arc, .ed-globe__pin--ring, .ed-map__pin::after, .ed-illus *, .ed-soon__rocket * { animation: none !important; }
  .ed-hero__swash path { animation: none !important; stroke-dashoffset: 0; }
  .ed-course:hover, .ed-instructor:hover, .ed-post:hover, .ed-plan:hover, .ed-event:hover, .ed-job:hover, .ed-topic:hover, .ed-value:hover, .ed-number:hover, .ed-testimonial:hover, .ed-contact-card:hover, .ed-perk:hover { transform: none; }
  .ed-plan--featured, .ed-plan--featured:hover { transform: none; }
}
.ed-page .ar-check > span:not(.ar-field__error) { flex: 1; min-width: 0; }
.ed-error { min-height: calc(100vh - var(--ar-header-h) - 88px); display: grid; align-items: center; }
.ed-soon__bg img { opacity: .85; }
