/* ==========================================================================
   EMDC Asia — Shared Stylesheet
   Mobile-first, responsive component system built on the EMDC Brand
   Expression Guide. Add this file once (e.g. as a custom CSS asset or
   enqueued stylesheet) and every page below just uses these classes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* EMDC brand colors */
  --emdc-black: #111827;      /* Main Black */
  --emdc-orange: #EA580C;     /* Main Orange */
  --emdc-orange-dark: #C2410C;
  --emdc-orange-light: #FFF1E9;
  --emdc-gray-dark: #6D7280;  /* Dark Gray */
  --emdc-gray-light: #D2D5DA; /* Light Gray */
  --emdc-bg: #F9FAFB;         /* Page Background */
  --emdc-white: #FFFFFF;

  /* Semantic aliases */
  --emdc-text: var(--emdc-black);
  --emdc-text-muted: var(--emdc-gray-dark);
  --emdc-border: var(--emdc-gray-light);
  --emdc-accent: var(--emdc-orange);

  /* Type scale (fluid, mobile-first) */
  --emdc-h1: clamp(1.9rem, 4.5vw, 3rem);
  --emdc-h2: clamp(1.5rem, 3vw, 2.1rem);
  --emdc-h3: clamp(1.15rem, 2vw, 1.5rem);
  --emdc-body: 1rem;
  --emdc-small: 0.875rem;

  /* Layout */
  --emdc-radius: 12px;
  --emdc-radius-sm: 8px;
  --emdc-max: 1120px;
  --emdc-gap: 1.5rem;
  --emdc-shadow: 0 1px 2px rgba(17,24,39,0.04), 0 8px 24px rgba(17,24,39,0.06);
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
.emdc-page * { box-sizing: border-box; }

.emdc-page {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  color: var(--emdc-text);
  background: var(--emdc-bg);
  line-height: 1.6;
  font-size: var(--emdc-body);
  -webkit-font-smoothing: antialiased;
}

.emdc-page h1, .emdc-page h2, .emdc-page h3, .emdc-page h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--emdc-black);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
.emdc-page h1 { font-size: var(--emdc-h1); }
.emdc-page h2 { font-size: var(--emdc-h2); }
.emdc-page h3 { font-size: var(--emdc-h3); }

.emdc-page p { margin: 0 0 1em; color: var(--emdc-text); }
.emdc-page a { color: var(--emdc-orange-dark); text-decoration: none; }
.emdc-page a:hover, .emdc-page a:focus-visible { text-decoration: underline; }
.emdc-page img { max-width: 100%; display: block; }

.emdc-page :focus-visible {
  outline: 3px solid var(--emdc-orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .emdc-page * { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.emdc-container {
  max-width: var(--emdc-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.emdc-section {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.emdc-section--tight { padding-block: clamp(1.25rem, 3vw, 2rem); }
.emdc-section--alt { background: var(--emdc-white); }

.emdc-eyebrow {
  display: inline-block;
  font-size: var(--emdc-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emdc-orange-dark);
  margin-bottom: 0.5rem;
}

.emdc-lede {
  font-size: 1.1rem;
  color: var(--emdc-text-muted);
  max-width: 65ch;
}

.emdc-divider {
  border: none;
  border-top: 1px solid var(--emdc-border);
  margin: clamp(1.5rem, 4vw, 3rem) 0;
}

/* --------------------------------------------------------------------------
   4. Hero / page banner
   -------------------------------------------------------------------------- */
.emdc-hero {
  background: linear-gradient(135deg, var(--emdc-black) 0%, #1F2937 100%);
  color: var(--emdc-white);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.emdc-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 420px;
  height: 420px;
  background: var(--emdc-orange);
  opacity: 0.18;
  border-radius: 50%;
  filter: blur(10px);
}

.emdc-hero__inner { position: relative; z-index: 1; }

.emdc-hero__crumb {
  font-size: var(--emdc-small);
  color: var(--emdc-gray-light);
  margin-bottom: 0.75rem;
}
.emdc-hero__crumb a { color: var(--emdc-gray-light); }
.emdc-hero__crumb span { color: var(--emdc-orange); }

.emdc-hero h1 { color: var(--emdc-white); margin-bottom: 0.5rem; }

.emdc-hero p {
  color: #E5E7EB;
  max-width: 60ch;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.emdc-hero--compact { padding-block: clamp(1.75rem, 4vw, 2.5rem); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.emdc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.emdc-btn:hover { transform: translateY(-1px); text-decoration: none; }

.emdc-btn--primary { background: var(--emdc-orange); color: var(--emdc-white); }
.emdc-btn--primary:hover { background: var(--emdc-orange-dark); color: var(--emdc-white); }

.emdc-btn--outline {
  background: transparent;
  border-color: var(--emdc-white);
  color: var(--emdc-white);
}
.emdc-btn--outline:hover { background: rgba(255,255,255,0.1); color: var(--emdc-white); }

.emdc-btn--outline-dark {
  background: transparent;
  border-color: var(--emdc-black);
  color: var(--emdc-black);
}
.emdc-btn--outline-dark:hover { background: var(--emdc-black); color: var(--emdc-white); }

.emdc-btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   6. Grid / columns
   -------------------------------------------------------------------------- */
.emdc-grid {
  display: grid;
  gap: var(--emdc-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .emdc-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .emdc-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .emdc-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .emdc-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .emdc-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .emdc-grid--5 { grid-template-columns: repeat(5, 1fr); }
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.emdc-card {
  background: var(--emdc-white);
  border: 1px solid var(--emdc-border);
  border-radius: var(--emdc-radius);
  padding: 1.5rem;
  box-shadow: var(--emdc-shadow);
  height: 100%;
}

.emdc-card--accent {
  border-top: 4px solid var(--emdc-orange);
}

.emdc-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--emdc-orange-light);
  color: var(--emdc-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.emdc-card h3 { margin-bottom: 0.5rem; }
.emdc-card p:last-child { margin-bottom: 0; }
.emdc-card .emdc-small { color: var(--emdc-text-muted); font-size: var(--emdc-small); }

/* --------------------------------------------------------------------------
   8. Callout boxes
   -------------------------------------------------------------------------- */
.emdc-box {
  border-radius: var(--emdc-radius);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--emdc-orange);
  background: var(--emdc-orange-light);
}
.emdc-box h3, .emdc-box h4 { margin-bottom: 0.4rem; }
.emdc-box p:last-child { margin-bottom: 0; }

.emdc-box--neutral {
  background: var(--emdc-white);
  border-left-color: var(--emdc-gray-dark);
  border: 1px solid var(--emdc-border);
  border-left-width: 4px;
}

.emdc-box--dark {
  background: var(--emdc-black);
  color: var(--emdc-white);
  border-left-color: var(--emdc-orange);
}
.emdc-box--dark p, .emdc-box--dark h3, .emdc-box--dark h4 { color: var(--emdc-white); }

/* --------------------------------------------------------------------------
   9. Lists
   -------------------------------------------------------------------------- */
.emdc-list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.emdc-list-check li {
  position: relative;
  padding-left: 1.9rem;
}
.emdc-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--emdc-orange);
  color: var(--emdc-white);
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.emdc-stat { text-align: center; }
.emdc-stat__num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--emdc-orange);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.emdc-stat__label {
  font-size: var(--emdc-small);
  color: var(--emdc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   11. Quote / testimonial
   -------------------------------------------------------------------------- */
.emdc-quote {
  background: var(--emdc-white);
  border: 1px solid var(--emdc-border);
  border-radius: var(--emdc-radius);
  padding: 1.75rem;
  position: relative;
}
.emdc-quote::before {
  content: "\201C";
  font-size: 3.5rem;
  color: var(--emdc-orange);
  line-height: 1;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: -0.5rem;
}
.emdc-quote p { font-style: italic; color: var(--emdc-text); }
.emdc-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: var(--emdc-small);
  color: var(--emdc-text-muted);
}

/* --------------------------------------------------------------------------
   12. Timeline (History page)
   -------------------------------------------------------------------------- */
.emdc-timeline { position: relative; padding-left: 1.75rem; }
.emdc-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--emdc-border);
}
.emdc-timeline__item { position: relative; padding-bottom: 1.75rem; }
.emdc-timeline__item:last-child { padding-bottom: 0; }
.emdc-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--emdc-orange);
  border: 3px solid var(--emdc-bg);
}
.emdc-timeline__year { font-weight: 700; color: var(--emdc-orange-dark); }
.emdc-timeline__item p { margin: 0.25rem 0 0; color: var(--emdc-text-muted); }

/* --------------------------------------------------------------------------
   13. Tables (schedules, costs)
   -------------------------------------------------------------------------- */
.emdc-table-wrap {
  overflow-x: auto;
  border-radius: var(--emdc-radius);
  border: 1px solid var(--emdc-border);
  background: var(--emdc-white);
  -webkit-overflow-scrolling: touch;
}
.emdc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.95rem;
}
.emdc-table th, .emdc-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--emdc-border);
  vertical-align: top;
}
.emdc-table thead th {
  background: var(--emdc-black);
  color: var(--emdc-white);
  font-weight: 700;
  font-size: var(--emdc-small);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.emdc-table tbody tr:nth-child(even) { background: var(--emdc-bg); }
.emdc-table tbody tr:hover { background: var(--emdc-orange-light); }

/* --------------------------------------------------------------------------
   14. Pricing tiers (Costs / Sponsorship)
   -------------------------------------------------------------------------- */
.emdc-price-card {
  background: var(--emdc-white);
  border: 1px solid var(--emdc-border);
  border-radius: var(--emdc-radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}
.emdc-price-card--featured {
  border: 2px solid var(--emdc-orange);
  box-shadow: var(--emdc-shadow);
  position: relative;
}
.emdc-price-card__badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: var(--emdc-orange);
  color: var(--emdc-white);
  font-size: var(--emdc-small);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.emdc-price-card__amount { font-size: 1.9rem; font-weight: 700; color: var(--emdc-black); }
.emdc-price-card__amount span { font-size: var(--emdc-small); color: var(--emdc-text-muted); font-weight: 500; }
.emdc-price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.emdc-price-card ul li { font-size: 0.92rem; color: var(--emdc-text-muted); padding-left: 1.4rem; position: relative; }
.emdc-price-card ul li::before { content: "•"; color: var(--emdc-orange); position: absolute; left: 0; font-weight: 700; }

/* --------------------------------------------------------------------------
   15. Accordion (FAQ, Training Track descriptions) — pure HTML, no JS
   -------------------------------------------------------------------------- */
.emdc-accordion { display: grid; gap: 0.75rem; }
.emdc-accordion details {
  background: var(--emdc-white);
  border: 1px solid var(--emdc-border);
  border-radius: var(--emdc-radius-sm);
  overflow: hidden;
}
.emdc-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.emdc-accordion summary::-webkit-details-marker { display: none; }
.emdc-accordion summary::after {
  content: "+";
  color: var(--emdc-orange);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.emdc-accordion details[open] summary::after { transform: rotate(45deg); }
.emdc-accordion details[open] summary { border-bottom: 1px solid var(--emdc-border); }
.emdc-accordion__body { padding: 1rem 1.25rem 1.25rem; color: var(--emdc-text-muted); }
.emdc-accordion__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Badges / tags
   -------------------------------------------------------------------------- */
.emdc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--emdc-black);
  color: var(--emdc-white);
  letter-spacing: 0.02em;
}
.emdc-badge--orange { background: var(--emdc-orange); }
.emdc-badge--outline { background: transparent; border: 1px solid var(--emdc-border); color: var(--emdc-text-muted); }

/* --------------------------------------------------------------------------
   18. Site header / navigation (CSS-only, mobile-first, no JS)
   -------------------------------------------------------------------------- */
.emdc-topbar {
  background: var(--emdc-orange);
  color: var(--emdc-white);
  font-size: var(--emdc-small);
  text-align: center;
  padding: 0.4rem 1rem;
}
.emdc-topbar a { color: var(--emdc-white); font-weight: 700; text-decoration: underline; }

.emdc-header {
  background: var(--emdc-black);
  position: sticky;
  top: 0;
  z-index: 50;
}
.emdc-header__inner {
  max-width: var(--emdc-max);
  margin-inline: auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.emdc-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--emdc-white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.emdc-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--emdc-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--emdc-black);
  font-size: 0.95rem;
}
.emdc-logo span { color: var(--emdc-orange); }

/* checkbox hack for mobile toggle */
.emdc-nav-toggle-input { display: none; }
.emdc-nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 26px;
  cursor: pointer;
}
.emdc-nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--emdc-white);
  border-radius: 2px;
}

.emdc-nav { width: 100%; }
.emdc-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}
.emdc-nav__list > li { border-top: 1px solid rgba(255,255,255,0.08); }
.emdc-nav__list > li:first-child { border-top: none; }

.emdc-nav__list a {
  display: block;
  color: var(--emdc-white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 0.25rem;
  text-decoration: none;
}
.emdc-nav__list a:hover, .emdc-nav__list a:focus-visible { color: var(--emdc-orange); text-decoration: none; }

.emdc-nav__sub {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0 0 0 1rem;
  display: none;
}
.emdc-nav__sub a { font-weight: 400; font-size: 0.9rem; color: var(--emdc-gray-light); padding: 0.5rem 0.25rem; }

/* mobile: show nav when checkbox is checked */
.emdc-nav-toggle-input:checked ~ .emdc-nav .emdc-nav__list { display: flex; }
.emdc-nav__item--dropdown > .emdc-nav__sub { display: block; }

@media (min-width: 900px) {
  .emdc-header__inner { flex-wrap: nowrap; }
  .emdc-nav-toggle-label { display: none; }
  .emdc-nav { width: auto; }
  .emdc-nav__list {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }
  .emdc-nav__list > li { border-top: none; position: relative; }
  .emdc-nav__list a { padding: 0.6rem 0.85rem; border-radius: 999px; }
  .emdc-nav__list a:hover, .emdc-nav__list a:focus-visible { background: rgba(255,255,255,0.08); color: var(--emdc-white); }

  .emdc-nav__sub {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--emdc-white);
    border: 1px solid var(--emdc-border);
    border-radius: var(--emdc-radius-sm);
    box-shadow: var(--emdc-shadow);
    min-width: 260px;
    padding: 0.5rem;
    margin: 0;
    z-index: 10;
  }
  .emdc-nav__item--dropdown:hover > .emdc-nav__sub,
  .emdc-nav__item--dropdown:focus-within > .emdc-nav__sub {
    display: block !important;
  }
  .emdc-nav__sub a { color: var(--emdc-black); border-radius: var(--emdc-radius-sm); }
  .emdc-nav__sub a:hover, .emdc-nav__sub a:focus-visible { background: var(--emdc-orange-light); color: var(--emdc-orange-dark); }
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.emdc-footer {
  background: var(--emdc-black);
  color: var(--emdc-gray-light);
  padding-block: 3rem 2rem;
  margin-top: 3rem;
}
.emdc-footer a { color: var(--emdc-gray-light); }
.emdc-footer a:hover { color: var(--emdc-orange); }
.emdc-footer h4 { color: var(--emdc-white); font-size: 0.95rem; margin-bottom: 0.85rem; }
.emdc-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .emdc-footer__grid { grid-template-columns: repeat(4, 1fr); }
}
.emdc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.emdc-footer__divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 2rem 0 1.5rem; }
.emdc-social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.emdc-social--row { justify-content: center; margin-bottom: 1.5rem; }
.emdc-social__link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--emdc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.emdc-social__link:hover { background: var(--emdc-orange); text-decoration: none; }
.emdc-social__link svg { width: 16px; height: 16px; }
.emdc-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: var(--emdc-small);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   20. Image carousel — vanilla JS, no external library
   -------------------------------------------------------------------------- */
.emdc-carousel {
  position: relative;
  width: 100%;
  height: clamp(260px, 48vw, 520px);
  border-radius: var(--emdc-radius);
  overflow: hidden;
  background: var(--emdc-black);
}
.emdc-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center 68%;
  background-repeat: no-repeat;
}
.emdc-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.emdc-carousel__caption {
  position: relative;
  z-index: 1;
  color: var(--emdc-white);
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  max-width: 640px;
}
.emdc-carousel__caption h3 { color: var(--emdc-white); margin: 0 0 0.35rem; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }
.emdc-carousel__caption p { color: #E5E7EB; margin: 0; font-size: 0.95rem; }

.emdc-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(17,24,39,0.55);
  color: var(--emdc-white);
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.emdc-carousel__arrow:hover { background: var(--emdc-orange); }
.emdc-carousel__arrow--prev { left: 12px; }
.emdc-carousel__arrow--next { right: 12px; }

.emdc-carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  margin: 0;
  padding: 0;
}
.emdc-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  padding: 0;
  cursor: pointer;
}
.emdc-carousel__dot.is-active { background: var(--emdc-orange); }

@media (max-width: 640px) {
  .emdc-carousel__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .emdc-carousel__slide { transition: none; }
}

/* --------------------------------------------------------------------------
   21. Home page hero (distinct from inner-page .emdc-hero banner)
   -------------------------------------------------------------------------- */
.emdc-home-hero {
  background: linear-gradient(135deg, var(--emdc-black) 0%, #1F2937 100%);
  color: var(--emdc-white);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.emdc-home-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -70% auto;
  width: 460px;
  height: 460px;
  background: var(--emdc-orange);
  opacity: 0.18;
  border-radius: 50%;
}
.emdc-home-hero__inner h1,
.emdc-home-hero h1 {
  color: #FFFFFF !important;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}
.emdc-home-hero__inner p,
.emdc-home-hero p {
  color: #E5E7EB !important;
  max-width: 60ch;
}

/* Plain wrapper links: put visual styling on the inner div/span, not the
   <a> itself — some link-processing plugins rebuild anchor tags and drop
   custom class/style attributes in the process. This keeps the anchor
   bare (nothing to strip) while the inner element still renders correctly. */
a.emdc-wrap-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.emdc-wrap-link:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   17. Utility classes
   -------------------------------------------------------------------------- */
.emdc-text-center { text-align: center; }
.emdc-mt-0 { margin-top: 0; }
.emdc-mb-0 { margin-bottom: 0; }
.emdc-muted { color: var(--emdc-text-muted); }
.emdc-max-content { max-width: 72ch; }
