/* ============================================================
   BOMBERS — EVENTS HOMEPAGE (2026-10-21)
   Hero → Upcoming Events → College Exposure → Moments From the Invite
   → Oxford / M-Trade Park → Footer.  Tournaments first, recruiting second.
   One responsive layout (no separate phone markup). Loaded only by
   index.html, after theme.css + theme-white.css.
   ============================================================ */
.events-home {
  --eh-navy: #07172F;
  --eh-navy-2: #0A2145;
  --eh-deep: #050f24;
  --eh-blue: #2E86FF;          /* accents + large type */
  --eh-btn: #1F6FE0;           /* fills behind white normal-size text (4.76:1) */
  --eh-btn-hover: #1A63D6;
  --eh-ink: #ffffff;
  --eh-ink-2: rgba(232,240,255,0.82);
  --eh-line: rgba(140,185,255,0.22);
  --eh-card: #0B1F44;
  --eh-gutter: clamp(20px, 4vw, 48px);
  background: var(--eh-deep);
  color: var(--eh-ink);
}
.events-home main { display: block; }
/* skip link: off-screen until focused (its rule lives in inner.css, which this page doesn't load) */
.events-home .skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; padding: .6rem 1rem; background: var(--eh-btn); color: #fff; font-family: var(--font-cond); font-weight: 800; }
.events-home .skip-link:focus { left: 12px; }
.events-home section[id] { scroll-margin-top: 76px; }
.eh-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--eh-gutter); }
.eh-center { text-align: center; }
.eh-label { font-family: var(--font-cond); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--eh-ink-2); }

/* ---- type ---- */
.eh-eyebrow { font-family: var(--font-cond); font-weight: 800; font-size: clamp(13px, 1.4vw, 18px); letter-spacing: .28em; text-transform: uppercase; color: var(--eh-blue); margin: 0 0 10px; }
.eh-eyebrow-left { letter-spacing: .2em; }
.eh-h2 { font-family: var(--font-cond); font-weight: 900; font-size: clamp(36px, 7vw, 76px); line-height: .92; text-transform: uppercase; margin: 0 0 12px; color: var(--eh-ink); }
.eh-h2 em, .eh-hero-title em, .eh-loc-title em { font-style: normal; color: var(--eh-blue); }
.eh-lead { font-family: var(--font-body); font-size: clamp(17px, 1.8vw, 22px); line-height: 1.4; color: var(--eh-ink); margin: 0 0 clamp(24px, 3vw, 36px); }
.eh-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.eh-kicker span { font-family: var(--font-cond); font-weight: 800; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--eh-blue); white-space: nowrap; }
.eh-kicker::after { content: ''; flex: 1; height: 1px; background: var(--eh-line); }

/* ---- buttons (≥44px; white labels only on the 4.5:1 fill) ---- */
.eh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 6px;
  font-family: var(--font-body); font-size: 17px; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.eh-btn-solid { background: var(--eh-btn); color: #fff; border: 1.5px solid var(--eh-btn); }
.eh-btn-solid:hover { background: var(--eh-btn-hover); border-color: var(--eh-btn-hover); }
.eh-btn-outline, .eh-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.85); }
.eh-btn-outline:hover, .eh-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.eh-btn-block { display: flex; width: 100%; }
.eh-btn:focus-visible, .events-home a:focus-visible { outline: 2px solid #9CCAFF; outline-offset: 3px; }
.eh-arr { width: 16px; height: 12px; flex-shrink: 0; }
.eh-ico { width: 15px; height: 15px; flex-shrink: 0; color: var(--eh-blue); }

/* ============================================================
   1. HERO (approved composition: centred headline over navy sky,
   photograph below, college-exposure bar along the foot)
   ============================================================ */
.eh-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; min-height: 0;
  background: var(--eh-deep); padding-top: 72px; isolation: isolate; }   /* = shared header height (64px on phones, below) */
/* approved hero photo: a wide band along the foot of the hero, headline on the navy sky above;
   photo + content share one grid cell so the band ends exactly at the bar */
.eh-hero-media, .eh-hero-inner { grid-column: 1; grid-row: 1; }
.eh-hero-media { position: relative; z-index: -1; align-self: end; aspect-ratio: 1586 / 392; }
.eh-hero-media img:not(.eh-alliance) { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.eh-hero-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0a2558 0%, rgba(10,37,88,0.4) 14%, rgba(10,37,88,0) 34%, rgba(5,15,36,0) 88%, rgba(5,15,36,0.5) 100%); }
.eh-hero { background: linear-gradient(180deg, #050f24 0%, #0a2558 32%); }
.eh-hero-inner { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  /* the card overlaps the top of the photo (as in the approved visual), so the whole composition fits a laptop screen */
  padding: clamp(20px, 3vh, 40px) var(--eh-gutter) max(0px, calc(100vw * 392 / 1586 - 40px)); }   /* card dips only into the sky at the top of the photo, never the players */
/* "COMPETE." / "GET SEEN." always on two lines */
.eh-hero-title { position: relative; font-family: var(--font-cond); font-weight: 900; font-size: clamp(44px, 6.8vw, 94px); line-height: .88; text-transform: uppercase; margin: 0 0 10px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.25); }
/* soft blue radial behind the headline, fading to navy */
.eh-hero-title::before { content: ''; position: absolute; left: 50%; top: 50%; width: 140%; height: 190%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(46,134,255,0.34) 0%, rgba(46,134,255,0.14) 38%, rgba(5,15,36,0) 70%); }
.eh-hero-title em { white-space: nowrap; background: linear-gradient(180deg, #2E86FF 0%, #6FB3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
.eh-hero-sub { font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.4; margin: 0 0 14px; color: #fff; max-width: 56ch; }
.eh-hero-sub a { color: #9CCAFF; text-decoration: underline; text-underline-offset: 3px; }
/* Alliance logo: standalone, upper-right corner of the field photo, inset from the edges and above the players */
.eh-hero .eh-alliance { grid-column: 1; grid-row: 1; align-self: end; justify-self: end; z-index: 1; position: relative;
  width: clamp(110px, 11vw, 176px); height: auto; margin: 0 clamp(40px, 9vw, 160px) calc(100vw * 392 / 1586 + 3vw) 0;   /* sits above the photo band, clear of the scoreboard */
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)); }
/* next tournament: the one action that matters during the weekend */
.eh-hero-next { position: relative; z-index: 1; width: 100%; max-width: 600px; padding: clamp(12px, 1.8vw, 18px) clamp(16px, 2.4vw, 26px) clamp(14px, 2vw, 20px); border: 1px solid rgba(140,185,255,0.3); border-top: 3px solid #2E86FF; border-radius: 12px; background: #07152F; box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.eh-next-label { margin: 0 0 4px; font-family: var(--font-cond); font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--eh-blue); }
.eh-next-title { margin: 0 0 12px; font-family: var(--font-cond); font-weight: 900; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.05; text-transform: uppercase; color: #fff; }
.eh-next-date { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 600; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: 0; text-transform: none; color: var(--eh-ink-2); }
.eh-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.eh-hero-ctas .eh-btn { flex: 1 1 220px; }

/* ============================================================
   2. UPCOMING EVENTS
   ============================================================ */
.eh-events { padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 72px); background: var(--eh-navy-2); border-top: 1px solid rgba(46,134,255,0.35); }
.eh-ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.eh-ev { display: flex; flex-direction: column; background: #10285A; border: 1px solid rgba(46,134,255,0.5); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,0.3); }
.eh-ev-media { position: relative; }
.eh-ev-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8.5; object-fit: cover; object-position: 50% 45%; }
.eh-ev-body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px clamp(18px, 3vw, 36px) 16px; }
.eh-ev-title { font-family: var(--font-cond); font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; text-transform: uppercase; margin: 0 0 10px; }
.eh-ev-date { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 4px; font-family: var(--font-body); font-weight: 700; font-size: clamp(17px, 1.7vw, 20px); }
.eh-ev-meta { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--font-body); font-size: 17px; color: var(--eh-ink-2); }
.eh-status { --al-yellow: #FFDA15; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; max-width: 100%; margin: 0 0 10px; padding: 7px 16px 7px 14px; border-radius: 999px; overflow: hidden;
  background: #07172F; border: 1.5px solid var(--al-yellow); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; text-align: center; white-space: normal; }
/* small yellow diagonal accent on the left, inside the pill */
.eh-status::before { content: ''; flex: none; width: 5px; height: 14px; background: var(--al-yellow); transform: skewX(-18deg); border-radius: 1px; }
/* Bombers palette only: full = muted navy with a light-blue edge; open = the button blue */
.eh-ev-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; margin: 6px 0 0; }
.eh-ev-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #9CCAFF; font-family: var(--font-body); font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.eh-past { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--eh-line); }
.eh-past-title { margin: 0; padding: 2px 0 2px 16px; border-left: 4px solid var(--eh-blue); font-family: var(--font-cond); font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; }
.eh-past a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #9CCAFF; font-family: var(--font-body); font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   3. COLLEGE EXPOSURE — text left, wall of real college logos right
   (stays navy in both themes)
   ============================================================ */
.eh-expo { background: radial-gradient(90% 70% at 20% 30%, #0d3484 0%, #072056 45%, #050f24 100%); }
.eh-expo-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); }
.eh-expo-title { font-size: clamp(44px, 6vw, 96px); }
.eh-expo-title em { white-space: nowrap; }
.eh-expo-sub { font-family: var(--font-body); font-weight: 600; font-size: clamp(21px, 2.5vw, 32px); margin: 0 0 14px; }
.eh-expo-copy { font-family: var(--font-body); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; color: var(--eh-ink-2); margin: 0 0 28px; max-width: 30ch; }
/* white panel, thin dividers; column-major like the design (9 rows x 7 columns) */
.eh-logo-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(9, auto); grid-auto-flow: column;
  gap: 1px; background: #E3E8F0; border: 1px solid #E3E8F0; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.eh-logo-wall li { position: relative; aspect-ratio: 1.25; background: #fff; }
.eh-logo-wall img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.eh-wall-more { display: none; }
.eh-programs { background: #07172F; border-top: 1px solid rgba(46,134,255,0.5); padding: 26px 0 28px; }
.eh-programs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.eh-programs-title { margin: 0; padding: 2px 0 2px 16px; border-left: 4px solid var(--eh-blue); font-family: var(--font-cond); font-weight: 800; font-size: clamp(20px, 2.4vw, 32px); letter-spacing: .03em; text-transform: uppercase; }
.eh-programs-note { margin: 0; font-size: 14px; color: var(--eh-ink-2); }

/* ============================================================
   4. MOMENTS FROM THE INVITE — original photos, faces kept in frame
   ============================================================ */
.eh-moments { padding: clamp(56px, 8vw, 104px) 0; background: var(--eh-deep); border-top: 1px solid rgba(46,134,255,0.3); }
.eh-gal { display: grid; grid-template-columns: 1.42fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(10px, 1.4vw, 18px); }
.eh-gal figure { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.eh-gal img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 8px; }
.eh-gal-feature { grid-row: 1 / span 2; }
.eh-gal-feature img { flex: 1; aspect-ratio: auto; min-height: 0; height: 100%; }
.eh-gal figcaption { padding: 10px 2px 0; text-align: center; font-family: var(--font-cond); font-weight: 800; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: #fff; }

/* ============================================================
   5. OXFORD / M-TRADE PARK — the original map, shown whole
   ============================================================ */
.eh-loc { padding: clamp(56px, 8vw, 104px) 0; background: var(--eh-navy-2); border-top: 1px solid rgba(46,134,255,0.3); }
.eh-loc-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.eh-loc-panel { container-type: inline-size; background: linear-gradient(160deg, #0F3A8A 0%, #0B2A66 55%, #08214F 100%); border: 1px solid rgba(46,134,255,0.45);
  border-radius: 12px; padding: clamp(24px, 3.4vw, 44px); overflow: hidden; }
/* "Mississippi." is sized from the panel's own width, so it can never leave the panel */
.eh-loc-title { font-family: var(--font-cond); font-weight: 900; text-transform: uppercase; line-height: .9; margin: 0 0 22px; color: #fff;
  font-size: clamp(34px, 6vw, 92px); font-size: clamp(30px, 15cqi, 104px); overflow-wrap: normal; }
.eh-loc-title em { color: #7DB6FF; display: block; }
.eh-loc-park { font-family: var(--font-body); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 6px; }
.eh-loc-copy { font-family: var(--font-body); font-size: 18px; line-height: 1.45; color: var(--eh-ink-2); margin: 0 0 14px; }
.eh-loc-addr { font-style: normal; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: #fff; margin: 0 0 24px; }
.eh-loc-ctas { display: grid; gap: 12px; }
.eh-map { margin: 0; }
.eh-map a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid rgba(140,185,255,0.3); background: #fff; }
.eh-map img { display: block; width: 100%; height: auto; }           /* whole map, never cropped */
.eh-map figcaption { text-align: center; padding-top: 12px; }
.eh-map figcaption a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; color: #9CCAFF; font-family: var(--font-body); font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .eh-hero { min-height: 0; }
  .eh-hero .eh-alliance { width: 104px; margin-right: 20px; }
  .eh-expo-grid { grid-template-columns: minmax(0, 1fr); }
  .eh-expo-copy { max-width: none; }
  .eh-loc-grid { grid-template-columns: minmax(0, 1fr); }
  .eh-loc-panel { max-width: 640px; }
}
@media (max-width: 760px) {
  .eh-logo-wall li { aspect-ratio: 1.1; }
  .eh-expo-title { font-size: clamp(40px, 12.5vw, 64px); }
  .eh-hero { min-height: 0; }
  /* phones: headline block on the navy sky, then a SHORT, WIDE photo band (more of the group, less of the adults' backs) */
  .eh-hero-inner { padding-top: 28px; padding-bottom: calc(min(52vw, 270px) + 84px); }   /* room for the logo between the card and the photo */
  .eh-eyebrow { margin-bottom: 8px; }
  .eh-hero-title { font-size: clamp(42px, 12.5vw, 56px); margin-bottom: 8px; }
  .eh-hero-sub { font-size: 15px; margin-bottom: 12px; }
  .eh-hero .eh-alliance { justify-self: center; width: 96px; margin: 0 0 calc(min(52vw, 270px) + 10px) 0; }
  .eh-hero-next { padding: 12px 14px 10px; }
  .eh-next-title { margin-bottom: 10px; }
  .eh-hero-ctas { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
  .eh-hero-ctas .eh-btn { flex: none; }
  /* on phones the secondary action is a text link, so the card stays short */
  .eh-hero-ctas .eh-btn-outline { min-height: 44px; border: 0; background: none; color: #9CCAFF; text-decoration: underline; text-underline-offset: 3px; }
  .eh-hero-media { aspect-ratio: auto; height: min(52vw, 270px); }
  .eh-hero-media img:not(.eh-alliance) { object-position: 50% 42%; }
  .eh-hero-media::after { background: linear-gradient(180deg, #0a2558 0%, rgba(10,37,88,0.5) 10%, rgba(10,37,88,0) 30%, rgba(5,15,36,0) 86%, rgba(5,15,36,0.55) 100%); }
  /* college wall: 4 larger logos across; the first 16 show, the rest fold under the button */
  .eh-logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; }
  .eh-logo-wall:not(.is-open) li:nth-child(n+17) { display: none; }
  .eh-wall-more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 14px; padding: 0 18px; border: 1.5px solid rgba(255,255,255,0.85); border-radius: 6px; background: transparent; color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 600; }
  .eh-wall-more[aria-expanded="true"] .eh-arr { transform: rotate(-90deg); }
  .eh-ev-grid { grid-template-columns: minmax(0, 1fr); }
  .eh-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eh-gal-feature { grid-column: 1 / -1; grid-row: auto; }
  .eh-gal-feature img { height: auto; aspect-ratio: 4 / 4.6; object-position: 50% 28%; }
  .eh-gal figcaption { font-size: 13px; letter-spacing: .14em; }
}
@media (max-width: 380px) {
  .theme-seg button { padding: 0 11px; }
}

/* ============================================================
   WHITE THEME — light grounds, navy text, blue accents.
   Hero, College Exposure (photo sections), the location panel and the
   header/footer stay navy.  Colour only — no geometry changes.
   ============================================================ */
[data-theme="white"] .events-home,
[data-theme="white"] body.events-home { background: #F3F5F8; }
[data-theme="white"] .eh-events,
[data-theme="white"] .eh-moments,
[data-theme="white"] .eh-loc { background: #F3F5F8; color: #07172F; }
[data-theme="white"] .eh-moments { background: #ffffff; }
[data-theme="white"] .eh-events .eh-h2,
[data-theme="white"] .eh-moments .eh-h2,
[data-theme="white"] .eh-events .eh-lead,
[data-theme="white"] .eh-moments .eh-lead,
[data-theme="white"] .eh-gal figcaption,
[data-theme="white"] .eh-past-title { color: #07172F; }
[data-theme="white"] .eh-events .eh-h2 em,
[data-theme="white"] .eh-moments .eh-h2 em,
[data-theme="white"] .eh-events .eh-kicker span { color: #1E5FCC; }
[data-theme="white"] .eh-events .eh-kicker::after,
[data-theme="white"] .eh-past { border-color: rgba(7,23,47,0.14); }
[data-theme="white"] .eh-past-title { border-left-color: #1E5FCC; }
[data-theme="white"] .eh-ev { background: #ffffff; border-color: rgba(7,23,47,0.14); box-shadow: 0 1px 2px rgba(7,23,47,0.06), 0 10px 26px rgba(7,23,47,0.08); }
[data-theme="white"] .eh-ev-title,
[data-theme="white"] .eh-ev-date { color: #07172F; }
[data-theme="white"] .eh-ev-meta { color: #46566F; }
[data-theme="white"] .eh-ico { color: #1E5FCC; }
[data-theme="white"] .eh-status { background: #07172F; border-color: #FFDA15; color: #fff; }
[data-theme="white"] .eh-ev-links a,
[data-theme="white"] .eh-past a,
[data-theme="white"] .eh-map figcaption a { color: #1E5FCC; }
[data-theme="white"] .eh-map a { border-color: rgba(7,23,47,0.16); }
/* the blue text panel stays blue so "Oxford, Mississippi." keeps its look */
[data-theme="white"] .eh-loc-panel { color: #fff; }

[data-theme="white"] .eh-ev { background: #ffffff; }
[data-theme="white"] .eh-events, [data-theme="white"] .eh-moments, [data-theme="white"] .eh-loc { border-top-color: rgba(7,23,47,0.1); }
[data-theme="white"] .eh-wall-more { border-color: rgba(255,255,255,0.85); color: #fff; } /* sits on the navy exposure band */


/* shorter desktop/laptop windows: tighten the hero so headline, card and photo still fit on one screen */
@media (min-width: 1025px) and (max-height: 820px) {
  .eh-hero-inner { padding-top: 16px; }
  .eh-eyebrow { margin-bottom: 6px; }
  .eh-hero-title { font-size: clamp(44px, 6vw, 80px); margin-bottom: 8px; }
  .eh-hero-sub { margin-bottom: 10px; }
  .eh-hero-next { padding: 12px 20px 14px; }
  .eh-next-title { margin-bottom: 8px; font-size: clamp(22px, 2.4vw, 30px); }
}
/* tablets (portrait): not enough clear navy beside the card, so the logo sits centred under it, above the photo */
@media (min-width: 761px) and (max-width: 900px) {
  .eh-hero-inner { padding-bottom: calc(100vw * 392 / 1586 + 84px); }
  .eh-hero .eh-alliance { justify-self: center; width: 110px; margin: 0 0 calc(100vw * 392 / 1586 + 12px) 0; }
}

/* brief entrance for the hero text block; content is visible immediately (starts at 0.001 opacity for one frame only) */
@media (prefers-reduced-motion: no-preference) {
  .eh-hero-inner > * { animation: eh-rise .5s ease-out both; }
  .eh-hero-inner > :nth-child(2) { animation-delay: .06s; } .eh-hero-inner > :nth-child(3) { animation-delay: .12s; }
  @keyframes eh-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1100px) { .eh-hero { padding-top: 64px; } }
