/* ================================
   /* =======================================
   Universal Search — Sharp corners theme
   (matches your previous look)
   ======================================= */

:root {
  --us-bg: #f7f7f8;
  --us-surface: #ffffff;
  --us-text: #232223;
  --us-muted: #6b7280;
  --us-border: #e5e7eb;
  --us-accent: #232223;   /* legacy dark */
  --us-accent-2: #A6C627; /* green accents */
  --us-shadow: 0 6px 22px rgba(35,34,35,.08), 0 2px 8px rgba(35,34,35,.05);
  --us-radius: 0;         /* sharp corners */
  --us-focus: 0 0 0 3px rgba(166,198,39,.35);
}
/* Intro two-column (H2 left, P right) */
.ea-intro__grid {
margin: 40px;
padding: 40px;
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,3vw,36px);
  align-items:start; max-width: 1200px; margin: 0 auto;
}
.ea-intro__left h2 { margin:0; font-weight:800; font-size: clamp(22px,3.2vw,34px); }
.ea-intro__right p { margin:0; font-size: clamp(15px,1.3vw,18px); line-height:1.55; color:#232223; }
@media (max-width:860px){ .ea-intro__grid { grid-template-columns: 1fr; } }


/* wrapper */
.tv-us {
  background: var(--us-bg);
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--us-radius);
  color: var(--us-text);
}

/* =========================
   Search: centered underline
   ========================= */
   .tv-us{
       margin: 36px;
       padding: 42px;
   }
.tv-us [data-us-form] {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.us-input-wrap {
  position: relative;
  width: min(75vw, 1200px);
}

.us-input-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--us-muted);
  pointer-events: none;
}

#us-input[type="search"] {
  width: min(75vw, 1200px);
  height: 56px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--us-text);
  border-radius: 0;
  padding: 0 52px 0 40px;   /* room if you add icons later */
  font-size: 24px;
  color: var(--us-text);
  outline: none;
  box-shadow: none;
  transition: border-color .15s ease;
}
#us-input::placeholder { color: var(--us-muted); }
#us-input:focus { border-bottom-color: var(--us-accent-2); }

/* status states */
.us-loading,
.us-none,
.us-error {
  background: var(--us-surface);
  border: 1px solid var(--us-border);
  border-radius: var(--us-radius);
  box-shadow: var(--us-shadow);
  padding: 14px 16px;
  font-size: 0.95rem;
}

/* optional: slim “loading bar” */
.us-loading::before{
  content:"";
  display:block;
  height:4px;
  background:
    linear-gradient(90deg,
      rgba(148,163,184,0.15) 25%,
      rgba(148,163,184,0.35) 37%,
      rgba(148,163,184,0.15) 63%);
  background-size: 300% 100%;
  animation: us-shimmer 1.2s infinite linear;
  margin-bottom: 10px;
}
@keyframes us-shimmer { 
  0%{ background-position: 0% 0; } 
  100%{ background-position: 100% 0; } 
}

/* =========================
   Results grid & cards
   ========================= */
.us-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
@media (max-width: 1100px){ .us-grid { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 700px) { .us-grid { grid-template-columns: repeat(4, 1fr); } }

/* card block (matches old sharp styles) */
.us-card {
  grid-column: span 4;                  /* 3-up desktop */
  background: var(--us-surface);
  border: 1px solid var(--us-border);
  border-radius: var(--us-radius);
  box-shadow: var(--us-shadow);
  overflow: clip;
  display: flex;
}
@media (max-width: 1100px){ .us-card { grid-column: span 4; } } /* 2-up on md grid */
@media (max-width: 700px) { .us-card { grid-column: span 4; } }  /* 1-up on sm grid */

.us-card__link {
  display: block;
  padding: 14px 16px 16px;
  color: inherit;
  text-decoration: none;
}

.us-card__title {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.us-card__meta {
  color: var(--us-muted);
  font-size: 13px;
  margin: 0 0 8px;
  text-transform: none;
}

.us-card__excerpt {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--us-text);
  opacity: 0.95;
}

/* if you later add a thumbnail container (.us-card__media) */
.us-card__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* =========================
   Load more button
   ========================= */
[data-us-more] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  padding: 0 16px;
  height: 44px;
  border-radius: 0; /* sharp */
  border: 1px solid var(--us-accent-2);
  background: var(--us-accent-2);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--us-shadow);
}
[data-us-more]:hover { filter: brightness(1.03); }
[data-us-more]:focus-visible { box-shadow: var(--us-focus), var(--us-shadow); }
[data-us-more][hidden] { display: none !important; }
/* ===== HIDE UNTIL SEARCH ===== */
/* Hide toggle + results when the module is 'empty' */
.tv-us[data-us-empty="true"] .us-toggle,
.tv-us[data-us-empty="true"] [data-us-results-wrapper]{ display:none !important; }

/* If the attribute is missing, treat as empty by default */
.tv-us:not([data-us-empty="false"]) .us-toggle,
.tv-us:not([data-us-empty="false"]) [data-us-results-wrapper]{ display:none !important; }

/* Center the filter group on its row */
.us-filters {
  justify-content: center;   /* center children */
  row-gap: 10px;             /* tidy wrap spacing */
}

/* Make each filter button wider with extra RL padding */
.us-filter .us-filter-btn {
  min-width: 240px;
  padding: 14px 72px 14px 24px !important; /* L/R beefed up */
  font-size: 16px;
}

/* Nudge caret so it stays visually balanced with the new padding */
.us-filter .us-filter-btn::after {
  right: 20px;
}

/* Small-screen tweak */
@media (max-width: 640px) {
  .us-filter .us-filter-btn {
    min-width: 200px;
    padding: 12px 60px 12px 20px !important;
  }
  .us-filter .us-filter-btn::after { right: 16px; }
}


/* ===== EA Image Switcher ===== */
.ea-switcher {
  padding: 60px 8%;
}
@media (min-width: 1280px) {
  .ea-switcher { padding-left: 11%; padding-right: 11%; }
}

.ea-switcher__wrap {
  display: flex;
  align-items: stretch;
  gap: 32px;
  /* prevent layout jank */
  overflow: hidden;
}

/* LEFT: media 60vw */
.ea-switcher__media {
  position: relative;
  width: 60vw;
  max-width: 60vw;
  aspect-ratio: 16/10; /* keeps a nice frame */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.ea-switcher__media .ea-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.ea-switcher__media .ea-img.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* RIGHT: tabs 40vw */
.ea-switcher__tabs {
  width: 40vw;
  max-width: 40vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Green tabs like your filter chips */
.ea-tab {
  appearance: none;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  background: #B5CE00;      /* brand green; matches filter vibe */
  color: #000;              /* black text as requested */
  font-weight: 700;
  text-transform: none;
  letter-spacing: .02em;
  cursor: pointer;
  outline: none;
  transition: transform .06s ease, box-shadow .2s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}
.ea-tab:hover   { box-shadow: 0 2px 0 rgba(0,0,0,.14), 0 8px 22px rgba(0,0,0,.08); }
.ea-tab:active  { transform: translateY(1px); }
.ea-tab.is-active {
  box-shadow: 0 2px 0 rgba(0,0,0,.16), 0 10px 28px rgba(0,0,0,.10);
background: #66781F;
}

/* Responsive: stack on small screens */
@media (max-width: 1024px) {
  .ea-switcher__wrap {
    flex-direction: column;
  }
  .ea-switcher__media,
  .ea-switcher__tabs {
    width: 100%;
    max-width: 100%;
  }
  .ea-switcher__media { aspect-ratio: 16/9; }
}
/* Tab cards */
.ea-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 0;
  background-color: var(--ea-green, #B5CE00); 
  color: #fff;
  margin-bottom: 0.75rem;
  transition: background-color .2s ease;
}

.ea-tab.is-active {
  background-color:#66781F;
}

/* Title text inside tab */
.ea-tab__title {
  font-weight: 700;
  font-size: 2rem;
color: #000;      
  margin-bottom: 0.35rem;
}

/* Learn more link */
.ea-learn {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;               /* black text + arrow */
  padding: .25rem .5rem;
  text-decoration: none;
  
}

.ea-arrow {
  display: inline-flex;
  transition: transform .18s ease;
}

.ea-learn:hover .ea-arrow,
.ea-learn:focus-visible .ea-arrow {
  transform: translateX(4px);
}

/* row container so box sits LEFT of label */
.ea-learn-row{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
}

/* the green square */
.ea-learn__box{
  width: 32px;
  height: 32px;
  background: #000;       /* brand green */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;            /* prevent squish */
  color: #000;               /* sets currentColor for the SVG stroke */
}

/* the arrow */
.ea-learn__box svg{
  width: 16px;
  height: 16px;
  display: block;
  color: #fff;
}

/* label */
.ea-learn{
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

/* hover motion */
.ea-learn-row:hover .ea-learn__box svg,
.ea-learn-row:focus-within .ea-learn__box svg{
  transform: translateX(4px);
  transition: transform .2s ease;
}

  .ea-learn__label{
      color:#fff;
  }
.ea-switcher__media .ea-img { display: none; }
.ea-switcher__media .ea-img.is-active { display: block; }
.ea-tab.is-active { /* optional active styles */ }

/* Tune colors/sizing via CSS variables */
.hmodule{
  --ea-green: #B5CE00;         /* your nice green */
  --ea-green-hover:#256428;    /* darker on hover if needed */
  --pad-block: clamp(48px, 10vw, 120px);
  --pad-inline: clamp(20px, 6vw, 80px);

  position: relative;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  color: #fff;
  padding: var(--pad-block) var(--pad-inline);
}

/* optional subtle dark overlay for readability */
.hmodule::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
  z-index:0;
}

.hmodule__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 900px;
  padding-left: 24px; /* space so text doesn’t overlap line */
}

/* White vertical line */
.hmodule__inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;              /* makes the line extend past button */
  left: 0;
  width: 2px;
  background: #fff;
  opacity: 0.8;           /* subtle transparency */
}
.hmodule__title{
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(28px, 4.5vw, 56px);
  letter-spacing: .02em;
  text-transform: none;
}

.hmodule__subtitle{
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.4;
  opacity: .95;
}
/* CTA: green square + black arrow + white label */
.hmodule__cta{
  display:inline-flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:#fff;
}

.hmodule__square{
  width:44px;
  height:44px;
  background:#B5CE00;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0; /* sharp corners */
}

.hmodule__arrow{
  display:block;
  color:#000;                /* black arrow */
  transition:transform .20s ease;
}
.hmodule__cta:hover .hmodule__arrow,
.hmodule__cta:focus-visible .hmodule__arrow{
  transform:translateX(6px);
}

.hmodule__label{
  font-weight:800;
  letter-spacing:.12em;
  font-size:14px;
  line-height:1;
  text-transform:uppercase;
}

/* Colors (adjust as needed) */
.uevents { --ea-green:#B5CE00; --ea-green-dark:#B5CE00; }

/* Section framing */
.uevents { padding: clamp(32px,6vw,72px) clamp(20px,6vw,80px); background:#f8f8f8; }
.uevents__inner { max-width: 1100px; margin-inline:auto; }
.uevents__title { margin:0 0 18px; font-weight:800; font-size: clamp(22px,3.2vw,34px); text-transform:uppercase; }

/* List layout */
.uevents__list { display:grid; gap: 16px; }
@media (min-width: 800px){
  .uevents__list { gap: 18px; }
}

/* Event card */
.uevent {
  display: flex;
  flex-direction: column;   /* stack calendar and body vertically */
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 0; /* sharp corners */
  padding: 32px;
  maring:12px;
  gap: 14px;
   max-width: 320px;         /* keep card narrower */

}

/* Calendar square */
.uevent__cal {
  width: 92px;
  height: 100px;
  background: var(--ea-green, #B5CE00);
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
   box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* subtle drop shadow */
}

.uevent__cal-mo { font-size: 18px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.uevent__cal-day { font-size: 32px; font-weight: 800; }

/* Text block */
.uevent__body { display: flex; flex-direction: column; gap: 6px; }

.uevent__name { margin: 0; font-weight: 800; font-size: 32px; }
.uevent__sub  { font-size: 14px; color: #1f2937; opacity: .9; }
.uevent__desc { margin: 4px 0 10px; color: #374151; font-size: 15px; line-height: 1.5; }

/* Button */
.uevent__btn {
  align-self: flex-start;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  padding: 12px 24px;
  border: 1px solid #000;
  border-radius: 0;
  transition: background-color .18s ease;
}
.uevent__btn:hover,
.uevent__btn:focus-visible {
  background: #111;
}

/* ===== EA Switcher base layout (unchanged 60/40) ===== */
.ea-switcher { padding: 60px 8%; }
@media (min-width: 1280px) { .ea-switcher { padding-left: 11%; padding-right: 11%; } }

.ea-switcher__wrap {
  display: flex;
  align-items: stretch;
  gap: 32px;
  overflow: hidden;
}

/* LEFT: media 60vw with padded frame */
.ea-switcher__media {
  width: 60vw;
  max-width: 60vw;
  /* frame */
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.ea-stage {
  position: relative;
  overflow: visible;      /* allow neighbors to peek */
  border-radius: 16px;
}



/* Slide content box */
.ea-hero__content {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  right: auto;
  bottom: clamp(18px, 4vw, 42px);
  top: auto;
  color: #000;
  width: min(62ch, 68%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(12px, 2.3vw, 20px);
  background: rgba(255, 255, 255, .44);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  border: 0;
  outline: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
  z-index: 3;
  pointer-events: none; /* image remains clickable behind content */
}

.ea-hero__content a {
  pointer-events: auto;
}

.ea-hero__image-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* Title: bigger + heavier */
.ea-hero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.08;
  color: #000;
}

/* Subtitle: lighter */
.ea-hero__sub {
  margin: 0;
  font-weight: 500;
  font-size: clamp(13px, 1.25vw, 16px);
  line-height: 1.4;
  color: #111;
  opacity: 1;
}

.ea-hero__sub .ea-hero__sub-link {
  color: #111;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.ea-hero__sub .ea-hero__sub-link:hover,
.ea-hero__sub .ea-hero__sub-link:focus-visible {
  color: #000;
  opacity: .88;
}

/* CTA: green box + black arrow + white label */
.ea-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #000;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index:5;
  margin-top: 4px;
  align-self: flex-start;
}

.ea-hero__cta-box {
  width: 44px;
  height: 44px;
  background: #A6C627; /* EA green */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000; /* arrow color via currentColor */
  z-index:5;
}

.ea-hero__cta-box svg {
  width: 20px;
  height: 20px;
  color: currentColor;
  transition: transform .2s ease;
}

.ea-hero__cta:hover .ea-hero__cta-box svg,
.ea-hero__cta:focus-visible .ea-hero__cta-box svg {
  transform: translateX(6px);
}


/* Understand page: remove link underlines */
.page-template-understand-bridge a,
.page-template-understand a,
.tv-us a,
.ea-switcher a,
.uevents a,
.module-video-podcasts a {
  text-decoration: none !important;
}

/* (Optional) keep underline on hover/focus for affordance */
.page-template-understand-bridge a:hover,
.page-template-understand-bridge a:focus,
.page-template-understand a:hover,
.page-template-understand a:focus,
.tv-us a:hover, .tv-us a:focus,
.ea-switcher a:hover, .ea-switcher a:focus,
.uevents a:hover, .uevents a:focus,
.module-video-podcasts a:hover, .module-video-podcasts a:focus {
  text-decoration: underline;
}
/* Full-width white button with page gutters */
.uevents__footer { margin-top: clamp(16px, 3vw, 28px); }
.uevents__seeall{
  display:block;
  width: 100%;
  max-width: 1100px;           /* match your container */
  margin: 0 auto;
  background:#fff;
  color:#000;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.08em;
  padding: 14px 18px;
  transition: background .18s ease, color .18s ease, filter .18s ease;
}
.uevents__seeall:hover,
.uevents__seeall:focus-visible{
  background:#f7f7f8;
  filter: brightness(0.98);
}
/* Make events lay out in a responsive row */
.uevents__list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* rows → columns */
  gap: 18px;
  align-items: stretch;
}

/* Optional: lock to 3-up on large screens */
@media (min-width: 1100px){
  .uevents__list{ grid-template-columns: repeat(3, 1fr); }
}

/* Let cards fill their grid column (remove narrow cap) */
.uevent{
  max-width: none;   /* overrides the old 320px */
  height: 100%;
}

/* EA green pull-quote */
.ea-quote{
  background:#B5CE00;  padding: 60px 8% 100px;
}
.ea-quote__inner{ max-width: 1100px; margin:0 auto; position:relative; }
.ea-quote__mark{
  font-size: clamp(64px, 10vw, 120px);
  line-height: 1;
  color: #000;
  font-weight: 800;
  margin-bottom: clamp(4px, 1vw, 8px);
}
.ea-quote__text{
  margin:0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color:#000;
  max-width: 70ch;
}
.ea-quote__by{
  margin-top: 10px;
  color:#000;
  font-weight:700;
}

/* Right-aligned CTA aligned with text block’s right edge */
.ea-quote__cta{
  margin-top: clamp(16px, 3vw, 24px);
  margin-bottom: clamp(16px, 3vw, 24px);
  display:inline-flex; align-items:center; gap:12px; text-decoration:none;
  float: right; /* aligns to the right edge of the text block line */
}
.ea-quote__cta-label{
  color:#fff; text-transform:uppercase; font-weight:800; letter-spacing:.12em;
  padding:10px 14px; line-height:1; display:inline-block;
}
.ea-quote__cta-square{
  width:44px; height:44px; background:#000; display:flex; align-items:center; justify-content:center;
}
.ea-quote__cta:hover .ea-quote__cta-label,
.ea-quote__cta:focus-visible .ea-quote__cta-label{ filter: brightness(1.1); }
@media (max-width:700px){ .ea-quote__cta{ float:none; } }


.module-video-podcasts { margin-block: clamp(24px, 6vw, 64px); }
.mvp-grid { display:grid; gap:1.25rem; grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:900px){ .mvp-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .mvp-grid{ grid-template-columns:1fr;} }
.mvp-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.06); }
.mvp-card-media img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; }
.mvp-card-body { padding:16px 18px 18px; }
.mvp-card-title { margin:0 0 6px; font-size:1.05rem; }
.mvp-card-desc { margin:0; opacity:.85; }

/* Understand page featured-image hero: shorter + full bleed */
.ea-page-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(220px, 28vw, 340px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* === Fix search bar shrinking & container spacing === */
.tv-us{
  /* kill hard margins, make padding responsive */
  margin: 0 auto;
  padding: clamp(16px, 4vw, 36px);
  max-width: 1200px; /* optional guard */
}

.tv-us [data-us-form]{
  padding-inline: 0;
}

.us-input-wrap{
  width: 100%;          /* full width of container */
  max-width: 100%;
}

#us-input[type="search"]{
  width: 100%;          /* stop using 75vw here */
  max-width: 100%;
  height: clamp(44px, 7.5vw, 56px);
  font-size: clamp(16px, 4.2vw, 24px);
  padding: 0 48px 0 40px;
}

@media (max-width: 520px){
  .us-input-icon{ left: 10px; }
  #us-input[type="search"]{ padding: 0 14px 0 36px; }
}

/* === Event cards grid already responsive — small nits === */
.uevents__list{ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* a tad narrower min */
}
/* === HERO: depth + peekaboo UX pass === */
#ea-hero-slider {
  max-width: 85vw;
  margin: auto;
  overflow: hidden; /* prevent page-wide horizontal scroll */
  padding-inline: 0;
  perspective: 1200px;
  isolation: isolate;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

#ea-hero-slider.is-dragging {
  cursor: grabbing;
}

#ea-hero-slider.is-dragging .ea-hero__track {
  transition: none !important;
}

#ea-hero-slider.is-dragging .ea-hero__slide {
  pointer-events: none;
}

.ea-hero__track {
  display: flex;
  transition: transform .46s cubic-bezier(.22,.9,.23,1);
  padding: 0 !important;
  margin: 0;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: grab;
}

.ea-hero__slide {
  position: relative;
  flex: 0 0 100%;
  margin: auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 340px;
  opacity: .58;
  filter: blur(1px) saturate(.88) brightness(.85);
  transform: translateY(14px) scale(.94);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  transition: transform .42s cubic-bezier(.22,.9,.23,1), opacity .34s ease, filter .34s ease, box-shadow .34s ease;
}

.ea-hero__slide.is-near {
  opacity: .78;
  filter: blur(.4px) saturate(.95) brightness(.92);
  transform: translateY(8px) scale(.97);
  box-shadow: 0 16px 30px rgba(0,0,0,.2);
}

.ea-hero__slide.is-far {
  opacity: .5;
  filter: blur(1.2px) saturate(.84) brightness(.8);
  transform: translateY(16px) scale(.92);
}

.ea-hero__slide.is-active {
  opacity: 1;
  filter: none;
  transform: translateY(0) scale(1);
  box-shadow: 0 24px 56px rgba(0,0,0,.28);
}

.ea-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ea-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.46), rgba(0,0,0,.18) 45%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}

.ea-hero__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 85vw;
  margin: 24px auto 0;
  padding-top: 24px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.ea-hero__ctrl {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.ea-hero__ctrl-box {
  width: 64px;
  height: 64px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: background .2s ease, transform .2s ease;
}

.ea-hero__ctrl-box svg {
  width: 24px;
  height: 24px;
  color: #fff;
  transition: transform .2s ease;
}

.ea-hero__ctrl:hover .ea-hero__ctrl-box,
.ea-hero__ctrl:focus-visible .ea-hero__ctrl-box {
  background: #181818;
}

.ea-hero__ctrl--next:hover .ea-hero__ctrl-box svg,
.ea-hero__ctrl--next:focus-visible .ea-hero__ctrl-box svg {
  transform: translateX(3px);
}

.ea-hero__ctrl--prev:hover .ea-hero__ctrl-box svg,
.ea-hero__ctrl--prev:focus-visible .ea-hero__ctrl-box svg {
  transform: translateX(-3px);
}

.ea-hero__dots {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.ea-hero__dots button {
  flex: 1 1 0;
  height: 3px;
  background: #c7c9cf;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  opacity: .72;
  transform-origin: center;
  transition: transform .25s ease, background .25s ease, opacity .25s ease;
}

.ea-hero__dots button:hover,
.ea-hero__dots button:focus-visible {
  background: #9ca3af;
  opacity: 1;
}

.ea-hero__dots button.is-active {
  background: #2b2b2b;
  opacity: 1;
  transform: scaleY(1.4);
}

@media (max-width: 640px) {
  .ea-hero__slide {
    min-height: 280px;
  }

  .ea-hero__content {
    width: calc(100% - 24px);
    left: 12px;
    bottom: 12px;
    padding: 12px;
  }

  .ea-hero__controls {
    max-width: 90vw;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .ea-hero__ctrl-box {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ea-hero__track,
  .ea-hero__slide,
  .ea-hero__ctrl-box,
  .ea-hero__ctrl-box svg,
  .ea-hero__dots button {
    transition: none !important;
  }

  .ea-hero__slide,
  .ea-hero__slide.is-near,
  .ea-hero__slide.is-active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* === Understand switcher: clickable cards + Learn More links === */
[data-ea-switcher] {
  background: #dddddd;
}

[data-ea-switcher] .ea-switcher__wrap {
  align-items: stretch;
  gap: 16px;
  overflow: hidden;
}

[data-ea-switcher] .ea-switcher__media {
  position: relative;
  flex: 0 0 56%;
  width: auto;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  aspect-ratio: 4 / 3;
}

[data-ea-switcher] .ea-switcher__media .ea-img {
  border-radius: 0;
}

[data-ea-switcher] .ea-switcher__tabs {
  flex: 1 1 44%;
  width: auto;
  max-width: none;
  gap: 14px;
}

[data-ea-switcher] .ea-tab-item {
  background: #aac81e;
  padding: 12px 14px;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

[data-ea-switcher] .ea-tab-item.is-active {
  background: #b6b6b6;
}

[data-ea-switcher] .ea-tab-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

[data-ea-switcher] .ea-tab {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  color: #111;
  line-height: 1.18;
}

[data-ea-switcher] .ea-tab:hover,
[data-ea-switcher] .ea-tab:active {
  transform: none;
  box-shadow: none;
}

[data-ea-switcher] .ea-tab:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

[data-ea-switcher] .ea-tab__title {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 27px); /* ~20% smaller */
  font-weight: 800;
  color: inherit;
  transition: transform .2s ease;
}

[data-ea-switcher] .ea-tab-item.is-active .ea-tab {
  color: #fff;
}

[data-ea-switcher] .ea-tab-item:hover .ea-tab__title {
  transform: translateX(2px);
}

[data-ea-switcher] .ea-learn-row.ea-learn {
  margin-top: 12px;
  gap: 10px;
  padding: 0;
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  color: #f7f7f7;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

[data-ea-switcher] .ea-learn__box {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  background: #000;
  color: #fff;
}

[data-ea-switcher] .ea-learn__box svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

[data-ea-switcher] .ea-learn__label {
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
  color: #f7f7f7;
}

[data-ea-switcher] .ea-learn-row:hover .ea-learn__box svg,
[data-ea-switcher] .ea-learn-row:focus-visible .ea-learn__box svg {
  transform: translateX(3px);
  transition: transform .2s ease;
}

@media (max-width: 1024px) {
  [data-ea-switcher] .ea-switcher__wrap {
    flex-direction: column;
  }

  [data-ea-switcher] .ea-switcher__media,
  [data-ea-switcher] .ea-switcher__tabs {
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
  }

  [data-ea-switcher] .ea-tab__title {
    font-size: clamp(16px, 4.5vw, 22px);
  }
}

/* Understand page polish: spacing + card padding + no-underlines */
.tv-us {
  margin-block: clamp(44px, 8vw, 92px);
  padding: clamp(28px, 5vw, 54px);
}

.tv-us [data-us-form] {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.us-card__link {
  padding: 20px 24px 24px;
}

.mvp-card-body {
  padding: 24px 24px 26px;
}

.tv-us a,
.tv-us a:hover,
.tv-us a:focus,
.ea-switcher a,
.ea-switcher a:hover,
.ea-switcher a:focus,
.uevents a,
.uevents a:hover,
.uevents a:focus,
.module-video-podcasts a,
.module-video-podcasts a:hover,
.module-video-podcasts a:focus {
  text-decoration: none !important;
}

/* Understand page: latest articles card polish */
.ea-latest-articles .ea-article-card__link,
.ea-latest-articles .ea-article-card__link:hover,
.ea-latest-articles .ea-article-card__link:focus,
.ea-latest-articles .ea-article-card__link *,
.ea-latest-articles .ea-article-card__link *:hover,
.ea-latest-articles .ea-article-card__link *:focus,
.ea-latest-articles .ea-latest-articles__more,
.ea-latest-articles .ea-latest-articles__more:hover,
.ea-latest-articles .ea-latest-articles__more:focus {
  text-decoration: none !important;
}

.ea-latest-articles .ea-article-card {
  border: 1px solid #d7dbe0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.ea-latest-articles .ea-article-card__body {
  padding: 24px 24px 26px;
}

.ea-latest-articles .ea-article-card__kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7280;
}

.ea-latest-articles .ea-article-card__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  line-height: 1.18;
  font-weight: 800;
  color: #111827;
  text-wrap: balance;
}

.ea-latest-articles .ea-article-card__excerpt {
  margin: 0 0 14px;
  font-size: .98rem;
  line-height: 1.58;
  color: #4b5563;
}

.ea-latest-articles .ea-article-card__date {
  margin: 0;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 500;
  color: #374151;
}

/* Full-width series banners; text stays aligned with the page content. */
.ea-article-promo {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.ea-article-promo__frame {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(300px, 42vw, 520px);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(18px, 4vw, 42px) 8%;
}
@media (min-width: 1280px) {
  .ea-article-promo__frame { padding-inline: 11%; }
}
.ea-article-promo__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.ea-article-promo .ea-hero__content {
  position: relative;
  inset: auto;
  width: min(62ch, 100%);
}
.ea-article-promo .ea-hero__overlay { z-index: -1; }
.module-view-frontier .mvp-header,
.ea-latest-articles .mvp-header {
  gap: 16px;
  flex-wrap: wrap;
}
.module-view-frontier .mvp-more,
.ea-latest-articles .mvp-more { flex-shrink: 0; }
