/* ============================================================
   Event Detail v2 — DOGOUT NATION SPORTS design system
   (hv2-nav* styles for the public nav partial live in public_home_v2.css)
   ============================================================ */

:root {
  --navy:   #0a1931;
  --navy-2: #0d2242;
  --red:    #c8102e;
  --white:  #ffffff;
  --ink:    #0a1931;
  --muted:  #6b7c8f;
  --line:   #e8eef5;
  --bg:     #f5f7fa;
  --font:   "Montserrat", "Segoe UI", sans-serif;
  --epd2-gutter: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.epd2 {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* ── Layout wrapper ── */
.epd2-wrap {
  width: min(1180px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--epd2-gutter);
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */

.epd2-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  padding: .55rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 800;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background .15s, border-color .15s, transform .12s;
  cursor: pointer;
}
.epd2-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.epd2-btn:hover { transform: translateY(-1px); }

.epd2-btn-red { background: var(--red); color: #fff; }
.epd2-btn-red:hover { background: #a80e26; color: #fff; }

/* Primary event-registration CTA — larger, clearer, harder to miss */
.epd2-btn-register {
  position: relative;
  gap: .7rem;
  min-height: 58px;
  padding: .7rem 1.15rem .7rem .85rem;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 0 0 0 rgba(200, 16, 46, .45),
    0 10px 28px rgba(200, 16, 46, .42);
  animation: epd2-register-pulse 2.4s ease-out infinite;
  z-index: 1;
}
.epd2-btn-register:hover {
  background: #a80e26;
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 0 rgba(200, 16, 46, .35),
    0 14px 32px rgba(200, 16, 46, .5);
}
.epd2-btn-register:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.epd2-btn-register-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.epd2-btn-register-icon svg {
  width: 18px;
  height: 18px;
}
.epd2-btn-register-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  line-height: 1.15;
  text-align: left;
}
.epd2-btn-register-eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.epd2-btn-register-label {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.epd2-btn-register-arrow {
  width: 18px !important;
  height: 18px !important;
  margin-left: .15rem;
  flex: 0 0 auto;
  transition: transform .15s ease;
}
.epd2-btn-register:hover .epd2-btn-register-arrow {
  transform: translateX(3px);
}
.epd2-btn-register--card {
  width: 100%;
  justify-content: space-between;
  min-height: 54px;
  padding: .75rem 1rem;
  animation: none;
  box-shadow: 0 8px 22px rgba(200, 16, 46, .35);
}
.epd2-btn-register--card .epd2-btn-register-label {
  font-size: .9rem;
}
.epd2-btn-register--compact {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1rem;
  animation: none;
  box-shadow: 0 8px 20px rgba(200, 16, 46, .35);
}
.epd2-btn-register--compact .epd2-btn-register-label {
  font-size: .85rem;
}

/* Second registration option — same size, clearly distinct from team CTA */
.epd2-btn-register--alt {
  background: #fff;
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(6, 16, 40, .22);
  animation: none;
}
.epd2-btn-register--alt:hover {
  background: #f4f6f9;
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(6, 16, 40, .28);
}
.epd2-btn-register--alt .epd2-btn-register-icon {
  background: rgba(10, 25, 49, .08);
}
.epd2-btn-register--card.epd2-btn-register--alt {
  border: 1.5px solid var(--navy);
  box-shadow: none;
}
.epd2-btn-register--compact.epd2-btn-register--alt {
  border: 1.5px solid rgba(255, 255, 255, .45);
  background: transparent;
  color: #fff;
  box-shadow: none;
}
.epd2-btn-register--compact.epd2-btn-register--alt:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: #fff;
}
.epd2-btn-register--compact.epd2-btn-register--alt .epd2-btn-register-icon {
  background: rgba(255, 255, 255, .14);
}

@keyframes epd2-register-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 16, 46, .5), 0 10px 28px rgba(200, 16, 46, .42); }
  70%  { box-shadow: 0 0 0 14px rgba(200, 16, 46, 0), 0 10px 28px rgba(200, 16, 46, .42); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0), 0 10px 28px rgba(200, 16, 46, .42); }
}

@media (prefers-reduced-motion: reduce) {
  .epd2-btn-register { animation: none; }
}

.epd2-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.epd2-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.epd2-btn-live {
  gap: .45rem;
  background: #fff;
  color: var(--red);
  border-color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.epd2-btn-live:hover {
  background: #fff5f6;
  color: var(--red);
  border-color: #fff;
}

.epd2-btn-secondary {
  min-height: 42px;
  opacity: .92;
  font-size: .78rem;
  font-weight: 700;
}

.epd2-btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.epd2-btn-outline:hover { border-color: var(--navy); }

/* ══════════════════════════════════════
   NAV — hv2-nav* styles now live ONLY in public_home_v2.css (single shared
   navbar for every public page). This file used to carry a stale duplicate
   (e.g. `position: sticky` instead of `relative`, and mobile `.is-open`
   selectors targeting `.hv2-nav-links`/`.hv2-nav-right` directly instead of
   the actual `.hv2-nav-panel` wrapper the JS toggles), which made the mobile
   menu behave differently here than on the home page. Do not re-add it.
══════════════════════════════════════ */

/* ══════════════════════════════════════
   HERO — full-width with stadium photo bg
══════════════════════════════════════ */

.epd2-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

/* Background photo (absolutely behind everything) */
.epd2-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.epd2-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Heavy gradient: almost opaque on left, nearly transparent on right */
.epd2-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(10, 25, 49, .97) 0%,
    rgba(10, 25, 49, .92) 38%,
    rgba(10, 25, 49, .60) 60%,
    rgba(10, 25, 49, .22) 100%
  );
}

/* Decorative diamond + diagonal red ribbon on the far right edge of the hero */
.epd2-hero-deco {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 130px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: .9;
}
.epd2-hero-deco::before {
  /* diagonal red stripe pair, top-right corner ribbon */
  content: "";
  position: absolute;
  top: -40px; right: -70px;
  width: 220px; height: 220px;
  background: linear-gradient(
    135deg,
    transparent 0%, transparent 42%,
    rgba(200,16,46,.55) 42%, rgba(200,16,46,.55) 48%,
    transparent 48%, transparent 56%,
    rgba(200,16,46,.35) 56%, rgba(200,16,46,.35) 60%,
    transparent 60%
  );
}
.epd2-hero-deco::after {
  /* rotated diamond outline, faint */
  content: "";
  position: absolute;
  top: 90px; right: 10px;
  width: 90px; height: 90px;
  border: 2px solid rgba(255,255,255,.14);
  transform: rotate(45deg);
}

@media (max-width: 880px) {
  .epd2-hero-deco { display: none; }
}

/* ── Breadcrumb overlay (top-left, inside hero) ── */
.epd2-hero-breadcrumb {
  position: relative;
  z-index: 2;
  padding: .9rem 0 0;
}
.epd2-hero-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.epd2-hero-breadcrumb li {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
}
.epd2-hero-breadcrumb li::after {
  content: "/";
  opacity: .5;
}
.epd2-hero-breadcrumb li:last-child::after { display: none; }
.epd2-hero-breadcrumb a { color: rgba(255,255,255,.5); }
.epd2-hero-breadcrumb a:hover { color: rgba(255,255,255,.9); }
.epd2-hero-breadcrumb [aria-current] { color: rgba(255,255,255,.85); }

/* ── Hero inner grid: left info | right card ── */
.epd2-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  flex: 1;
}


/* ── Badge pill ── */
.epd2-kicker {
  margin: 0 0 .6rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e8182e;
  background: rgba(232,24,46,.14);
  border: 1px solid rgba(232,24,46,.4);
  display: inline-block;
  padding: .28rem .7rem;
  border-radius: 100px;
}
.epd2-kicker--live {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.epd2-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55);
  animation: epd2-live-pulse 1.45s ease-out infinite;
}
.epd2-kicker--live .epd2-live-dot {
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
}
@keyframes epd2-live-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(200, 16, 46, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .epd2-live-dot { animation: none; }
}

/* ── Hero title ── */
.epd2-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}

/* ── Meta chips row ── */
.epd2-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.1rem;
}

.epd2-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: .4rem .85rem .4rem .6rem;
  white-space: nowrap;
}
.epd2-meta-chip svg {
  width: 15px; height: 15px;
  flex: 0 0 auto;
  opacity: .85;
}

/* Stacked text inside chip */
.epd2-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.epd2-meta-main {
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
}
.epd2-meta-sub {
  font-size: .64rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Hero description ── */
.epd2-hero-desc {
  margin: 0 0 1.5rem;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 520px;
}
.epd2-hero-desc p {
  margin: 0 0 .65rem;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.epd2-hero-desc p:last-child { margin-bottom: 0; }
.epd2-hero-desc strong, .epd2-hero-desc b { font-weight: 800; color: #fff; }
.epd2-hero-desc em, .epd2-hero-desc i { font-style: italic; }
.epd2-hero-desc a { color: #fff; text-decoration: underline; }
.epd2-hero-desc ul, .epd2-hero-desc ol {
  margin: 0 0 .65rem;
  padding-left: 1.25rem;
}
.epd2-hero-desc li { margin-bottom: .25rem; }

/* ── CTA buttons ── */
.epd2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ══════════════════════════════════════
   EVENT CARD (floating on hero right)
══════════════════════════════════════ */

.epd2-hero-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(6,16,40,.38);
  color: var(--ink);
  align-self: center;
  max-width: 320px;
  width: 100%;
}

/* White logo top area */
.epd2-card-logo {
  background: #ffffff;
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}
/* Decorative diamond watermark */
.epd2-card-logo::before {
  content: "";
  position: absolute;
  right: -24px; bottom: -24px;
  width: 100px; height: 100px;
  border: 10px solid rgba(200,16,46,.08);
  transform: rotate(45deg);
  pointer-events: none;
}
.epd2-card-logo img {
  max-height: 120px;
  max-width: 240px;
  object-fit: contain;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.epd2-card-logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(0,0,0,.4);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
}
.epd2-card-logo-placeholder svg { width: 56px; height: 56px; }

/* Detail rows: icon | label / value stacked */
.epd2-card-details {
  list-style: none;
  margin: 0;
  padding: .5rem .9rem .4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.epd2-card-details li {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: .4rem;
  row-gap: 0;
  padding: .42rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.epd2-card-details li:last-child { border-bottom: 0; }

.epd2-detail-label {
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  gap: .32rem;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .06rem;
}
.epd2-detail-label svg { width: 11px; height: 11px; flex: 0 0 auto; }

.epd2-detail-val {
  grid-column: 1 / 3;
  font-size: .76rem;
  font-weight: 700;
  color: var(--navy);
  padding-left: 1rem;
  line-height: 1.3;
}

/* Share button */
.epd2-card-cta {
  padding: .85rem 1rem .35rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.epd2-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1rem;
  background: #f5f7fa;
  border: 0;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  transition: background .15s;
}
.epd2-share-btn svg { width: 15px; height: 15px; }
.epd2-share-btn:hover { background: var(--line); }

/* ══════════════════════════════════════
   BODY: VERTICAL TABS + CONTENT
══════════════════════════════════════ */

.epd2-body {
  background: #fff;
}
.epd2-body-inner {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  min-width: 0;
}
.epd2-body .epd2-wrap {
  width: min(1520px, 100%);
  max-width: 100%;
}
.epd2-body.has-tabs .epd2-body-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0 2rem;
  align-items: start;
}

.epd2-tabs {
  position: sticky;
  top: 90px;
  z-index: 30;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10,25,49,.1);
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.epd2-tabs::-webkit-scrollbar { display: none; }

.epd2-event-menu-toggle {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .85rem 1rem;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: default;
  pointer-events: none;
}
.epd2-event-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
}
.epd2-event-menu-icon svg {
  width: 18px;
  height: 18px;
}
.epd2-event-menu-copy {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
  flex: 1;
}
.epd2-event-menu-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.epd2-event-menu-current {
  display: none;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.epd2-event-menu-chevron {
  display: none;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.epd2-tabs-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .2rem;
  padding: .55rem;
}

.epd2-tab {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .75rem .85rem;
  font-size: .84rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.epd2-tab svg { width: 16px; height: 16px; flex: 0 0 auto; }
.epd2-tab:hover {
  color: var(--navy);
  background: #f5f7fa;
}
.epd2-tab.is-active {
  color: var(--red);
  background: rgba(200, 16, 46, .1);
  border-left-color: var(--red);
}
.epd2-tab-live {
  margin-left: auto;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: .16rem .42rem;
  border-radius: 999px;
}

.epd2-main.has-tabs .epd2-tab-panel { display: none; }
.epd2-main.has-tabs .epd2-tab-panel.is-active { display: block; }
.epd2-tab-panel[hidden] { display: none !important; }
.epd2-tab-panel { scroll-margin-top: 100px; width: 100%; min-width: 0; }

/* ══════════════════════════════════════
   DIVISIONS LIST
══════════════════════════════════════ */

.epd2-div-section .epd2-section-hd {
  margin-bottom: 0;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.epd2-div-section .epd2-section-title {
  padding-left: 0;
}
.epd2-div-section .epd2-section-title::before {
  display: none;
}

.epd2-div-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}
.epd2-div-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.epd2-div-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.epd2-div-list-name {
  display: block;
  font-size: .98rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.epd2-div-loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  font-size: .82rem;
  font-weight: 500;
  color: #4a5d73;
  line-height: 1.3;
}
.epd2-div-loc svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--navy);
}
.epd2-div-list-fee {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  flex: 0 0 auto;
}
.epd2-div-fee-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: .4rem;
}
.epd2-div-fee-kind {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #4a5d73;
}
.epd2-div-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.epd2-div-actions .epd2-btn-register {
  min-height: 42px;
  padding: .45rem .8rem;
  animation: none;
  box-shadow: none;
}

/* ══════════════════════════════════════
   MAIN / SECTIONS
══════════════════════════════════════ */

.epd2-main {
  padding: 0;
  background: #fff;
  width: 100%;
  min-width: 0;
}

.epd2-section {
  width: 100%;
  min-width: 0;
  margin-bottom: 1.5rem;
  scroll-margin-top: 140px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
  box-shadow: none;
}

.epd2-section + .epd2-section {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* Sección adyacente a epd2-two-col */
.epd2-section + .epd2-two-col,
.epd2-two-col + .epd2-section {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.epd2-section-title {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 0 0 0 .85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: none;
}
.epd2-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 3px;
  height: 1.05em;
  border-radius: 2px;
  background: var(--red);
}

.epd2-section-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  border-bottom: none;
}
.epd2-section-hd .epd2-section-title {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.epd2-section-link {
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  transition: opacity .15s;
}
.epd2-section-link:hover { opacity: .75; }

.epd2-section-meta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.epd2-section-meta .epd2-section-link + .epd2-section-link::before {
  content: "·";
  margin-right: .55rem;
  opacity: .55;
}

.epd2-empty {
  color: var(--muted);
  font-size: .85rem;
  font-style: italic;
  padding: .5rem 0;
}

/* ══════════════════════════════════════
   ACERCA DEL EVENTO
   Title → text → stats (full) → bullets grid
══════════════════════════════════════ */

.epd2-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.epd2-about > .epd2-section-title {
  margin-bottom: 0;
}

.epd2-about-text {
  width: 100%;
}

.epd2-about-text p {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
  color: #334155;
  text-align: justify;
}

/* Rich text rendered from |safe — normalize tags from editor */
.epd2-rich-text {
  width: 100%;
  max-width: none;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.9;
  color: #334155;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.epd2-rich-text p {
  margin: 0 0 1.1rem;
  text-align: justify;
  text-justify: inter-word;
}
.epd2-rich-text p:last-child { margin-bottom: 0; }
.epd2-rich-text ul, .epd2-rich-text ol {
  padding-left: 1.4rem;
  margin: 0 0 .9rem;
}
.epd2-rich-text li { margin-bottom: .35rem; }
.epd2-rich-text strong, .epd2-rich-text b { font-weight: 700; color: var(--navy); }
.epd2-rich-text a { color: var(--red); text-decoration: underline; }
.epd2-rich-text h1,.epd2-rich-text h2,.epd2-rich-text h3,.epd2-rich-text h4 {
  font-weight: 800; color: var(--navy); margin: 1.15rem 0 .45rem;
}
.epd2-rich-text br { display: block; content: ""; margin-bottom: .35rem; }
/* Ocultar completamente headings y párrafos vacíos generados por Quill */
.epd2-rich-text h1:empty,
.epd2-rich-text h2:empty,
.epd2-rich-text h3:empty,
.epd2-rich-text h4:empty,
.epd2-rich-text h5:empty,
.epd2-rich-text h6:empty,
.epd2-rich-text p:empty,
.epd2-rich-text h1:has(> br:only-child),
.epd2-rich-text h2:has(> br:only-child),
.epd2-rich-text h3:has(> br:only-child),
.epd2-rich-text h4:has(> br:only-child),
.epd2-rich-text h5:has(> br:only-child),
.epd2-rich-text h6:has(> br:only-child),
.epd2-rich-text p:has(> br:only-child) {
  display: none !important;
}

.epd2-stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
  width: 100%;
}

.epd2-stat-card {
  border-radius: 14px;
  padding: 1rem 1rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .18s, box-shadow .18s;
}
.epd2-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 25, 49, .22);
}
.epd2-stat-card--dark {
  background:
    radial-gradient(circle at 100% 0%, rgba(200,16,46,.22), transparent 45%),
    linear-gradient(155deg, #163a63 0%, #0a1931 55%, #06101f 100%);
  color: #fff;
}
.epd2-stat-card--dark::before {
  content: "";
  position: absolute;
  top: -28px;
  right: -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}

.epd2-stat-icon {
  margin-bottom: .5rem;
}
.epd2-stat-icon svg {
  width: 24px;
  height: 24px;
  opacity: .7;
  color: #fff;
}

.epd2-stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.epd2-stat-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
  line-height: 1.35;
  margin-top: .2rem;
}

.epd2-stat-sub {
  font-size: .7rem;
  font-weight: 600;
  opacity: .55;
  margin-top: .25rem;
}

.epd2-bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem 1rem;
  width: 100%;
}
.epd2-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  padding: .6rem .85rem;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.epd2-bullet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: .4rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
  flex: 0 0 auto;
}

/* ══════════════════════════════════════
   CAMPOS DE JUEGO — grid de venue cards
══════════════════════════════════════ */

.epd2-venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

/* Card base */
.epd2-vcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.epd2-vcard:hover {
  box-shadow: 0 8px 28px rgba(10,25,49,.13);
  transform: translateY(-3px);
  color: inherit;
}
.epd2-vcard--primary {
  border-color: rgba(200,16,46,.3);
  box-shadow: 0 2px 12px rgba(200,16,46,.08);
}

/* Image area */
.epd2-vcard-img {
  position: relative;
  display: block;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(145deg, #0f2744 0%, #0a1931 60%, #060f22 100%);
  flex: 0 0 auto;
}
.epd2-vcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.epd2-vcard:hover .epd2-vcard-img img { transform: scale(1.04); }

/* Placeholder with green field gradient */
.epd2-vcard-img--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(30,90,30,.6) 0%, transparent 65%),
    radial-gradient(ellipse 45% 25% at 50% 100%, rgba(40,110,40,.45) 0%, transparent 75%);
}
.epd2-vcard-img--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,.08)' stroke-width='1'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") center/48px no-repeat;
}

/* Badge overlay */
.epd2-vcard-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: .22rem .55rem;
  border-radius: 100px;
  z-index: 2;
}
.epd2-vcard-badge--alt {
  background: rgba(10,25,49,.65);
  backdrop-filter: blur(4px);
}

/* Body */
.epd2-vcard-body {
  padding: .85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.epd2-vcard-name {
  margin: 0;
  font-size: .92rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.epd2-vcard-loc {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  margin: 0;
  font-size: .74rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}
.epd2-vcard-loc svg { width: 12px; height: 12px; flex: 0 0 auto; color: var(--red); margin-top: .15rem; }
.epd2-vcard-addr { display: block; }
.epd2-vcard-fields {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}
.epd2-vcard-fields svg { width: 12px; height: 12px; flex: 0 0 auto; }
.epd2-vcard-cta {
  font-size: .74rem;
  font-weight: 700;
  color: var(--red);
  transition: opacity .15s;
}
.epd2-vcard-cta:hover { opacity: .75; }
.epd2-vcard-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: auto;
  padding-top: .65rem;
}
.epd2-vcard-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 38px;
  padding: .45rem .7rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background .15s, transform .12s;
}
.epd2-vcard-maps svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.epd2-vcard-maps:hover {
  background: var(--navy-2);
  color: #fff;
}

/* Responsive */
@media (max-width: 640px) {
  .epd2-venues-grid { grid-template-columns: 1fr; gap: .75rem; }
  .epd2-vcard-img { height: 160px; }
}
@media (max-width: 380px) {
  .epd2-venues-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   CALENDARIO DESTACADO
══════════════════════════════════════ */

.epd2-cal-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1.25rem;
  align-items: stretch;
}

/* ── Track de días (scroll horizontal) ── */
.epd2-cal-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.epd2-cal-track::-webkit-scrollbar { height: 4px; }
.epd2-cal-track::-webkit-scrollbar-track { background: transparent; }
.epd2-cal-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

/* ── Tarjeta de día ── */
.epd2-cal-card {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.epd2-cal-card:hover {
  box-shadow: 0 8px 24px rgba(10,25,49,.12);
  transform: translateY(-3px);
}
.epd2-cal-card--final {
  border-color: rgba(200,16,46,.3);
}

/* Header de la tarjeta */
.epd2-cal-card-hd {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 100%);
  padding: 1rem 1.15rem .85rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
}
.epd2-cal-card--final .epd2-cal-card-hd {
  background: linear-gradient(135deg, #7b0f1f 0%, #c8102e 100%);
}
.epd2-cal-card-dow {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}
.epd2-cal-card-num {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.epd2-cal-card-mon {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
}

/* Lista de eventos del día */
.epd2-cal-list {
  list-style: none;
  margin: 0;
  padding: .9rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}
.epd2-cal-list li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-left: .75rem;
  border-left: 2.5px solid var(--line);
}
.epd2-cal-card--final .epd2-cal-list li {
  border-left-color: rgba(200,16,46,.35);
}
.epd2-cal-chip {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-style: normal;
}
.epd2-cal-ev-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* ── CTA card ── */
.epd2-cal-cta {
  background: var(--navy);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: sticky;
  top: 120px;
  border: 1px solid rgba(255,255,255,.06);
  min-height: 100%;
}
.epd2-cal-cta-eyebrow {
  margin: 0;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.3);
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 100px;
  align-self: flex-start;
}
.epd2-cal-cta-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.epd2-cal-cta-sub {
  margin: 0;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
}
.epd2-cal-cta-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .15rem;
}
.epd2-cal-cta-actions .epd2-btn {
  width: 100%;
  justify-content: center;
  font-size: .78rem;
}
.epd2-cal-cta-actions .epd2-btn-outline {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.25);
}
.epd2-cal-cta-actions .epd2-btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.epd2-cal-rules-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.epd2-cal-rules-link svg { width: 13px; height: 13px; }
.epd2-cal-rules-link:hover { color: rgba(255,255,255,.85); }

/* ══════════════════════════════════════
   MÁS QUE UN TORNEO
   4 horizontal feature cards in a row
══════════════════════════════════════ */

.epd2-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
}

.epd2-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem .9rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  transition: box-shadow .15s;
}
.epd2-feature:hover { box-shadow: 0 4px 16px rgba(10,25,49,.08); }

.epd2-feature-icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #eef3f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.epd2-feature-icon svg { width: 22px; height: 22px; color: var(--navy); }

.epd2-feature h3 {
  margin: 0 0 .3rem;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--navy);
}
.epd2-feature p {
  margin: 0;
  font-size: .73rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════
   TWO-COL: GALERÍA + NOTICIAS
══════════════════════════════════════ */

.epd2-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.epd2-two-col--gallery-only {
  grid-template-columns: 1fr;
}

/* Gallery: square thumbnails — 3 cols normally, 4 when full-width */
.epd2-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.epd2-two-col--gallery-only .epd2-gallery {
  grid-template-columns: repeat(4, 1fr);
}
.epd2-gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}
.epd2-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.epd2-gallery-item:hover img { transform: scale(1.04); }

.epd2-gallery-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.5rem 1.5rem;
  border: 2px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}
.epd2-gallery-placeholder svg { width: 40px; height: 40px; }

/* News items: thumbnail + title + excerpt */
.epd2-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.epd2-news-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: box-shadow .15s;
}
.epd2-news-item:hover { box-shadow: 0 4px 16px rgba(10,25,49,.08); }

.epd2-news-thumb {
  width: 82px; height: 66px;
  border-radius: 7px;
  object-fit: cover;
  flex: 0 0 82px;
  background: var(--bg);
}
.epd2-news-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.epd2-news-thumb--placeholder svg { width: 28px; height: 28px; color: var(--line); }

.epd2-news-body { flex: 1; min-width: 0; }
.epd2-news-date {
  font-size: .63rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: block;
  margin-bottom: .28rem;
}
.epd2-news-body h4 {
  margin: 0 0 .3rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.epd2-news-body p {
  margin: 0;
  font-size: .74rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

/* Public news list page */
.epd2-news-page {
  flex: 1 0 auto;
  width: 100%;
  padding: 2.25rem 0 4.5rem;
  background: var(--bg);
}

.epd2-news-list--page {
  max-width: 820px;
  width: 100%;
}
.epd2-news-list--page .epd2-news-item {
  padding: 1.05rem;
  background: #fff;
}
.epd2-news-list--page .epd2-news-thumb {
  width: 110px;
  height: 82px;
  flex-basis: 110px;
}
.epd2-news-list--page .epd2-news-body h4 {
  font-size: .95rem;
}
.epd2-news-list--page .epd2-news-body p {
  font-size: .8rem;
}

.epd2-news-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  max-width: 28rem;
  padding: .25rem 0 1rem;
}
.epd2-news-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: .15rem;
}
.epd2-news-empty-icon svg {
  width: 24px;
  height: 24px;
  color: var(--muted);
}
.epd2-news-empty h1,
.epd2-news-empty h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.epd2-news-empty p {
  margin: 0 0 .55rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .epd2-news-page { padding: 1.75rem 0 3.25rem; }
  .epd2-news-list--page .epd2-news-item {
    flex-direction: column;
  }
  .epd2-news-list--page .epd2-news-thumb {
    width: 100%;
    height: 160px;
    flex-basis: auto;
  }
}

/* Public news article page */
.epd2-news-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.epd2-news-crumb a { color: var(--navy); }
.epd2-news-crumb a:hover { color: var(--red); }

.epd2-news-article {
  max-width: 760px;
}
.epd2-news-article-hd h1 {
  margin: .35rem 0 .75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.epd2-news-article-lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.65;
}
.epd2-news-article-media {
  margin: 1.5rem 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}
.epd2-news-article-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.epd2-news-article-body {
  margin-top: .5rem;
}
.epd2-news-article-foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* ══════════════════════════════════════
   EQUIPOS REGISTRADOS
══════════════════════════════════════ */

.epd2-sr { margin-bottom: 0; }
.epd2-sr-title {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.epd2-sr-subtabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.epd2-sr-subtab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 0 .75rem;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.epd2-sr-subtab svg { width: 16px; height: 16px; }
.epd2-sr-subtab.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.epd2-sr-layout {
  display: block;
  width: 100%;
}
.epd2-sr-main { min-width: 0; width: 100%; }
.epd2-sr-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .65rem;
  margin-bottom: 1rem;
}
.epd2-sr-select {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 140px;
}
.epd2-sr-select--team {
  min-width: 220px;
  flex: 1 1 220px;
}
.epd2-sr-select-label {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.epd2-sr-select select,
.epd2-sr-today {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  padding: 0 .75rem;
}
.epd2-sr-today {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.epd2-sr-day { margin-bottom: 1.1rem; }
.epd2-sr-day-hd {
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .55rem .85rem;
  border-radius: 6px 6px 0 0;
}
.epd2-sr-days { min-width: 0; }
.epd2-sr-day { overflow: hidden; }
a.epd2-sr-game,
div.epd2-sr-game,
.epd2-sr-game {
  display: grid;
  grid-template-columns: 88px minmax(132px, 200px) minmax(0, 1.6fr) minmax(120px, auto) auto;
  grid-template-areas: "time field match div pill";
  align-items: center;
  gap: .65rem 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}
.epd2-sr-hd { display: contents; }
.epd2-sr-time { grid-area: time; }
.epd2-sr-field { grid-area: field; }
.epd2-sr-match { grid-area: match; }
.epd2-sr-div { grid-area: div; }
.epd2-sr-pill { grid-area: pill; }
.epd2-sr-game[hidden],
.epd2-sr-day[hidden],
.epd2-sr-empty[hidden],
.epd2-sr-layout[hidden],
.epd2-sr-standings[hidden],
.epd2-sr-filter--games[hidden],
.epd2-st-div[hidden],
.epd2-brk[hidden],
.epd2-brk-board[hidden] { display: none !important; }
a.epd2-sr-game:hover { background: #f8fafc; }
.epd2-sr-game.is-live {
  background: #fff8f8;
  box-shadow: inset 3px 0 0 var(--red);
}
.epd2-sr-game.is-live:hover { background: #fff1f2; }
.epd2-sr-time {
  font-size: .78rem;
  font-weight: 800;
}
.epd2-sr-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .08rem;
  min-width: 0;
  line-height: 1.2;
  color: var(--muted);
}
.epd2-sr-venue,
.epd2-sr-diamond {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.epd2-sr-venue {
  font-size: .66rem;
  font-weight: 700;
  color: var(--muted);
}
.epd2-sr-diamond {
  font-size: .78rem;
  font-weight: 800;
  color: var(--navy);
}
.epd2-sr-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: .5rem;
  min-width: 0;
}
.epd2-sr-team {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
a.epd2-sr-team:hover strong {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.epd2-sr-team--away {
  flex-direction: row-reverse;
  justify-content: flex-end;
  text-align: right;
}
.epd2-sr-team strong {
  min-width: 0;
  font-size: .86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.epd2-sr-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #eef2f7;
}
.epd2-sr-logo--ph {
  display: grid;
  place-items: center;
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.epd2-sr-vs {
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 800;
  color: var(--muted);
}
.epd2-sr-score { color: var(--navy); font-size: .85rem; }
.epd2-sr-div {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  max-width: 100%;
  padding: .2rem .55rem;
  border-radius: 6px;
  background: #eef2f7;
  color: var(--navy);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.25;
  white-space: nowrap;
}
.epd2-sr-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .22rem .65rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #e8f1fb;
  color: #1d4ed8;
}
.epd2-sr-pill--in_progress { background: #fde8ec; color: var(--red); }
.epd2-sr-pill--completed { background: #fde8ec; color: var(--red); }
.epd2-sr-pill--cancelled { background: #eef2f7; color: #64748b; }
.epd2-sr-empty {
  display: none;
  margin: 1.5rem 0;
  color: var(--muted);
  font-weight: 700;
}
.epd2-sr-empty.is-visible,
.epd2-sr-empty:not([hidden]) { display: block; }
.epd2-sr-legend--bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.1rem;
  margin: 0 0 1rem;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.epd2-sr-legend--bar h3 { margin: 0; }
.epd2-sr-legend--bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
}
.epd2-sr-legend--bar li { margin: 0; }
.epd2-sr-legend--bar .epd2-sr-note {
  border: 0;
  padding: 0;
  margin: 0 0 0 auto;
  background: none;
}
.epd2-sr-cal,
.epd2-sr-legend,
.epd2-sr-note {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: .85rem;
}
.epd2-sr-cal-hd {
  font-size: .78rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .55rem;
}
.epd2-sr-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .2rem;
  text-align: center;
  font-size: .65rem;
  font-weight: 800;
  color: var(--muted);
}
.epd2-sr-cal-day,
.epd2-sr-cal-pad {
  height: 26px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--navy);
  font-size: .68rem;
  font-weight: 700;
}
.epd2-sr-cal-day.has-games {
  background: var(--navy);
  color: #fff;
}
.epd2-sr-cal-day.is-active {
  outline: 2px solid var(--red);
}
.epd2-sr-legend h3 {
  margin: 0 0 .55rem;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.epd2-sr-legend ul { list-style: none; margin: 0; padding: 0; }
.epd2-sr-legend li {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.epd2-sr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d4ed8;
}
.epd2-sr-dot--in_progress { background: var(--red); }
.epd2-sr-dot--completed { background: var(--red); }
.epd2-sr-dot--cancelled { background: #94a3b8; }
.epd2-sr-note {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
}
.epd2-sr-note svg { width: 16px; height: 16px; color: var(--red); flex: 0 0 auto; }
.epd2-sr-legend--bar .epd2-sr-note {
  border: 0;
  padding: 0;
  margin: 0 0 0 auto;
  background: none;
}
.epd2-sr-standings { display: flex; flex-direction: column; gap: 1.15rem; }
.epd2-st-div-hd {
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .55rem .85rem;
  border-radius: 6px 6px 0 0;
}
.epd2-st-tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
.epd2-st-tbl-wrap--fit {
  overflow-x: hidden;
}
.epd2-st-tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.epd2-st-tbl--fit {
  min-width: 0;
  table-layout: fixed;
}
.epd2-st-tbl th,
.epd2-st-tbl td {
  padding: .7rem .75rem;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.epd2-st-tbl th {
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f8fafc;
}
.epd2-st-tbl tr:last-child td { border-bottom: 0; }
.epd2-st-tbl td:not(:nth-child(2)) { text-align: center; }
.epd2-st-tbl th:not(:nth-child(2)) { text-align: center; }
.epd2-st-rank { font-weight: 800; }
.epd2-st-rank--1 { color: #b45309; }
.epd2-st-rank--2 { color: #64748b; }
.epd2-st-rank--3 { color: #b45309; }
.epd2-st-wlt { font-variant-numeric: tabular-nums; }
.epd2-st-rd--pos { color: #15803d; }
.epd2-st-rd--neg { color: var(--red); }
.epd2-st-pts { font-weight: 800; }
.epd2-st-lead {
  margin: -.35rem 0 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.epd2-st-view[hidden] { display: none !important; }
.epd2-st-tbl--stats { min-width: 920px; }
.epd2-st-tbl--stats.epd2-st-tbl--fit { min-width: 0; }
.epd2-st-tbl--fit th,
.epd2-st-tbl--fit td {
  padding: .42rem .22rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .7rem;
}
.epd2-st-tbl--fit th { font-size: .58rem; }
.epd2-st-tbl--fit .epd2-st-avatar { width: 24px; height: 24px; }
.epd2-st-tbl--fit .epd2-sr-logo { width: 22px; height: 22px; }
.epd2-st-tbl--fit .epd2-st-jersey,
.epd2-st-tbl--fit .epd2-sr-div { display: none; }
.epd2-st-tbl--fit .epd2-st-player,
.epd2-st-tbl--fit .epd2-sr-team {
  min-width: 0;
  max-width: 100%;
  gap: .35rem;
}
.epd2-st-tbl--fit .epd2-st-player-copy,
.epd2-st-tbl--fit .epd2-st-player-copy strong,
.epd2-st-tbl--fit .epd2-sr-team strong {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#epd2StTeams th:nth-child(1),
#epd2StTeams td:nth-child(1) { width: 1.7rem; }
#epd2StTeams th:nth-child(2),
#epd2StTeams td:nth-child(2) { width: 11.5rem; }
#epd2StBatting th:nth-child(1),
#epd2StBatting td:nth-child(1),
#epd2StPitching th:nth-child(1),
#epd2StPitching td:nth-child(1) { width: 1.7rem; }
#epd2StBatting th:nth-child(2),
#epd2StBatting td:nth-child(2),
#epd2StPitching th:nth-child(2),
#epd2StPitching td:nth-child(2) { width: 9.4rem; }
#epd2StBatting th:nth-child(3),
#epd2StBatting td:nth-child(3),
#epd2StPitching th:nth-child(3),
#epd2StPitching td:nth-child(3) { width: 7.2rem; }
.epd2-st-col-extra { display: none; }
.epd2-st-tbl--stats th[data-st-sort] { cursor: pointer; user-select: none; }
.epd2-st-tbl--stats th[data-st-sort]:hover { color: var(--navy); }
.epd2-st-tbl--stats th[data-dir="desc"]::after { content: " ▾"; }
.epd2-st-tbl--stats th[data-dir="asc"]::after { content: " ▴"; }
.epd2-st-tbl--stats a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.epd2-st-tbl--stats a:hover { color: var(--red); }
.epd2-st-player {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: inherit;
  text-decoration: none !important;
}
.epd2-st-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #e8eef5;
}
.epd2-st-avatar--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 800;
  color: var(--navy);
}
.epd2-st-player-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .08rem;
  min-width: 0;
}
.epd2-st-leader-who {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .15rem 0 .1rem;
}
.epd2-st-leader-who .epd2-st-avatar { width: 28px; height: 28px; }
.epd2-st-tbl .epd2-sr-div,
.epd2-st-player .epd2-sr-div,
.epd2-st-leader-team .epd2-sr-div {
  justify-self: auto;
  margin: 0;
}
.epd2-st-jersey { color: var(--muted); font-size: .72rem; font-weight: 800; }
.epd2-st-leaders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
  margin: 0 0 1rem;
}
.epd2-st-leader {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: .75rem .85rem;
}
.epd2-st-leader[hidden] { display: none !important; }
.epd2-st-leader-kicker {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.epd2-st-leader-val {
  display: block;
  margin: .2rem 0 .15rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}
.epd2-st-leader-name {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}
a.epd2-st-leader-name:hover { color: var(--red); }
.epd2-st-leader-team {
  display: block;
  margin-top: .15rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
}

/* ── Brackets (schedule subtab) ── */
.epd2-brk {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.epd2-brk-board {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.epd2-brk-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .6rem .9rem;
}
.epd2-brk-tier {
  flex: 0 0 auto;
  letter-spacing: .04em;
  text-transform: none;
  font-size: .68rem;
  font-weight: 800;
  color: #f3d27a;
}
.epd2-brk-scroll {
  overflow-x: auto;
  padding: 1rem .85rem 1.15rem;
  background:
    linear-gradient(180deg, #f7f9fc 0%, #fff 72px);
}
.epd2-brk-tree {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 52px;
  width: max-content;
  min-width: 100%;
  min-height: 280px;
}
.epd2-brk-lines {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.epd2-brk-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 248px;
  flex: 0 0 248px;
}
.epd2-brk-col--champ {
  width: 168px;
  flex-basis: 168px;
}
.epd2-brk-col-hd {
  height: 34px;
  display: flex;
  align-items: flex-end;
  padding: 0 .15rem .45rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.epd2-brk-col-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.epd2-brk-cell {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  min-height: 118px;
  padding: 6px 0;
}
.epd2-brk-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .28rem;
  width: 100%;
  min-height: 102px;
  padding: .45rem .55rem .5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(10, 25, 49, .05);
  color: var(--navy);
  text-decoration: none;
}
a.epd2-brk-card:hover {
  border-color: #c5d4e6;
  box-shadow: 0 8px 18px rgba(10, 25, 49, .08);
}
.epd2-brk-card.is-in_progress {
  border-color: #f3b4c0;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .08);
}
.epd2-brk-card.is-completed { border-color: #d7e2ef; }
.epd2-brk-card.is-spacer {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
  align-items: center;
  color: var(--muted);
}
.epd2-brk-spacer {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.epd2-brk-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  margin-bottom: .1rem;
}
.epd2-brk-when {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  font-size: .62rem;
  font-weight: 800;
  color: var(--muted);
}
.epd2-brk-gnum { color: var(--navy); }
.epd2-brk-card .epd2-sr-pill {
  padding: .12rem .45rem;
  font-size: .56rem;
}
.epd2-brk-side {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 1.4rem;
  align-items: center;
  gap: .4rem;
  min-height: 24px;
}
.epd2-brk-side strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .75rem;
  font-weight: 700;
}
.epd2-brk-side.is-win strong { font-weight: 800; }
.epd2-brk-side.is-loss { opacity: .55; }
.epd2-brk-side.is-tbd strong {
  font-weight: 700;
  color: var(--muted);
}
.epd2-brk-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef3f8;
}
.epd2-brk-logo--ph {
  display: grid;
  place-items: center;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
.epd2-brk-score {
  justify-self: end;
  font-size: .78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.epd2-brk-side.is-win .epd2-brk-score { color: var(--red); }
.epd2-brk-lines path {
  fill: none;
  stroke: #c5d4e4;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.epd2-brk-champ {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  min-height: 132px;
  padding: .75rem .55rem;
  border-radius: 12px;
  border: 1px solid #ead49a;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 70%);
  text-align: center;
  box-shadow: 0 8px 18px rgba(166, 122, 18, .08);
}
.epd2-brk-champ svg {
  width: 22px;
  height: 22px;
  color: #b8860b;
}
.epd2-brk-champ-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid #f0e2b4;
}
.epd2-brk-champ .epd2-brk-logo--ph {
  width: 42px;
  height: 42px;
  font-size: .85rem;
}
.epd2-brk-champ strong {
  max-width: 100%;
  font-size: .78rem;
  line-height: 1.25;
  color: var(--navy);
}
.epd2-brk-champ strong.is-tbd {
  color: var(--muted);
  font-weight: 700;
}
.epd2-brk-third {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem .9rem 1rem;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}
.epd2-brk-third-kicker {
  flex: 0 0 auto;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.epd2-brk-third .epd2-brk-card { width: min(320px, 100%); }

@media (max-width: 880px) {
  .epd2-st-col-md { display: none; }
  #epd2StTeams th:nth-child(2),
  #epd2StTeams td:nth-child(2) { width: 42%; }
  #epd2StBatting th:nth-child(2),
  #epd2StBatting td:nth-child(2),
  #epd2StPitching th:nth-child(2),
  #epd2StPitching td:nth-child(2) { width: 34%; }
  #epd2StBatting th:nth-child(3),
  #epd2StBatting td:nth-child(3),
  #epd2StPitching th:nth-child(3),
  #epd2StPitching td:nth-child(3) { width: 24%; }
  .epd2-sr-layout {
    display: block;
    width: 100%;
  }
  .epd2-sr-legend--bar .epd2-sr-note {
    margin-left: 0;
    width: 100%;
  }
  .epd2-sr-main,
  .epd2-sr-days,
  .epd2-sr-day,
  a.epd2-sr-game,
  .epd2-sr-game {
    width: 100%;
    max-width: 100%;
  }
  .epd2-sr-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .epd2-sr-select { min-width: 0; }
  .epd2-sr-select select,
  .epd2-sr-today { width: 100%; }
  .epd2-sr-today { grid-column: 1 / -1; }
  a.epd2-sr-game,
  div.epd2-sr-game,
  .epd2-sr-game {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none;
    grid-template-areas: none;
    gap: .4rem;
    padding: .75rem .8rem;
  }
  .epd2-sr-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
  }
  .epd2-sr-time,
  .epd2-sr-field,
  .epd2-sr-match,
  .epd2-sr-div,
  .epd2-sr-pill {
    grid-area: auto;
  }
  .epd2-sr-time {
    font-size: .92rem;
    line-height: 1.2;
  }
  .epd2-sr-pill { justify-self: auto; flex: 0 0 auto; }
  .epd2-sr-div {
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }
  .epd2-sr-field {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15rem .4rem;
    width: 100%;
  }
  .epd2-sr-venue,
  .epd2-sr-diamond {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .epd2-sr-match {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: .28rem;
    padding: .15rem 0 0;
  }
  .epd2-sr-team,
  .epd2-sr-team--away {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    min-width: 0;
    gap: .55rem;
  }
  .epd2-sr-team strong {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .9rem;
    line-height: 1.3;
  }
  .epd2-sr-vs {
    align-self: flex-start;
    margin: 0 0 0 2.4rem;
    font-size: .62rem;
    letter-spacing: .08em;
  }
  .epd2-sr-logo {
    width: 32px;
    height: 32px;
  }
  .epd2-sr-logo--ph { font-size: .5rem; }
}
.epd2-whos-list {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  container-type: inline-size;
  container-name: whos;
}
.epd2-whos-row {
  display: block;
  width: 100%;
  border-top: 1px solid var(--line);
}
.epd2-whos-row:first-child { border-top: 0; }
.epd2-whos-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem 1.5rem;
  align-items: center;
  width: 100%;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  list-style: none;
}
.epd2-whos-summary::-webkit-details-marker { display: none; }
.epd2-whos-summary::marker { content: ""; }
.epd2-whos-row:hover > .epd2-whos-summary { background: #f8fafc; }
.epd2-whos-main { min-width: 0; }
.epd2-whos-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .85rem;
}
.epd2-whos-div {
  font-size: .98rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.epd2-whos-count {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.epd2-whos-loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .35rem 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
}
.epd2-whos-loc svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--muted);
}
.epd2-whos-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .4rem;
  min-width: 0;
}
.epd2-whos-price {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.epd2-whos-chevron {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  transition: transform .18s ease;
}
.epd2-whos-row[open] .epd2-whos-chevron { transform: rotate(180deg); }
.epd2-whos-bar {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e8eef5;
  overflow: hidden;
}
.epd2-whos-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
}
.epd2-whos-body {
  padding: 0 1.2rem 1.2rem;
}
.epd2-whos-teams-hd {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .35rem;
  color: var(--navy);
}
.epd2-whos-teams-hd svg {
  width: 18px;
  height: 18px;
}
.epd2-whos-teams-hd strong {
  font-size: .92rem;
  font-weight: 800;
}
.epd2-whos-status {
  margin: 0 0 .75rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}
.epd2-whos-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.epd2-whos-table {
  width: 100%;
  border-collapse: collapse;
}
.epd2-whos-table th,
.epd2-whos-table td {
  text-align: left;
  padding: .7rem .55rem;
  vertical-align: middle;
  font-size: .82rem;
}
.epd2-whos-table thead th {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.epd2-whos-table tbody td {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.epd2-whos-table tbody tr:last-child td { border-bottom: 0; }
.epd2-whos-table a {
  color: #1d4ed8;
  font-weight: 700;
}
.epd2-whos-table a:hover { text-decoration: underline; }
.epd2-whos-check {
  width: 2.2rem;
  text-align: center;
}
.epd2-whos-check svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
  display: block;
}
.epd2-whos-record {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.epd2-whos-open td {
  color: #94a3b8;
}
.epd2-whos-open em {
  font-style: italic;
  font-weight: 600;
}
.epd2-whos-team-meta { display: none; }
.epd2-whos-coming-empty {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.epd2-whos-season-note {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .9rem 0 0;
  padding: .55rem .75rem;
  background: var(--bg-subtle, #f8fafc);
  border-left: 3px solid var(--accent, #2563eb);
  border-radius: 0 .4rem .4rem 0;
  color: var(--muted, #64748b);
  font-size: .82rem;
}
.epd2-whos-season-note svg {
  flex-shrink: 0;
  color: var(--accent, #2563eb);
}
@container whos (max-width: 720px) {
  .epd2-whos-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem .7rem;
    padding: .95rem 1rem;
    align-items: start;
  }
  .epd2-whos-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: .12rem;
  }
  .epd2-whos-count {
    font-size: .64rem;
    letter-spacing: .05em;
    color: var(--muted);
  }
  .epd2-whos-loc { margin-top: .28rem; }
  .epd2-whos-aside {
    align-items: flex-end;
    min-width: 0;
    width: auto;
  }
  .epd2-whos-body { padding: 0 1rem 1rem; }
  .epd2-whos-status {
    line-height: 1.45;
    white-space: normal;
  }
  .epd2-whos-table-wrap { overflow: visible; }
  .epd2-whos-table thead { display: none; }
  .epd2-whos-table,
  .epd2-whos-table tbody {
    display: block;
    width: 100%;
  }
  .epd2-whos-table tr {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr) auto;
    grid-template-areas:
      "num name conf"
      "num name rec";
    column-gap: .55rem;
    row-gap: .12rem;
    align-items: start;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
  }
  .epd2-whos-table tbody tr:last-child { border-bottom: 0; }
  .epd2-whos-table th,
  .epd2-whos-table td {
    padding: 0;
    border: 0;
    width: auto;
    font-size: .84rem;
  }
  .epd2-whos-num {
    grid-area: num;
    font-weight: 800;
    color: var(--muted);
    padding-top: .12rem;
  }
  .epd2-whos-team-cell {
    grid-area: name;
    min-width: 0;
  }
  .epd2-whos-team-cell a,
  .epd2-whos-team-cell {
    overflow-wrap: anywhere;
  }
  .epd2-whos-team-meta {
    display: block;
    margin-top: .18rem;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--muted);
  }
  .epd2-whos-check {
    grid-area: conf;
    width: auto;
    justify-self: end;
    padding-top: .1rem;
  }
  .epd2-whos-div-cell,
  .epd2-whos-city-cell { display: none; }
  .epd2-whos-record {
    grid-area: rec;
    justify-self: end;
    font-size: .72rem;
  }
  .epd2-whos-open {
    grid-template-columns: 1.6rem minmax(0, 1fr);
    grid-template-areas: "num name";
  }
  .epd2-whos-open td:nth-child(2) { grid-area: name; }
  .epd2-whos-empty-row {
    display: block;
    padding: .65rem 0;
  }
}

/* ══════════════════════════════════════
   CTA BANNER — full-width dark navy
══════════════════════════════════════ */

.epd2-cta-banner {
  background: var(--navy);
  padding: 2rem 0;
}

.epd2-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

/* Trophy icon box with red border */
.epd2-cta-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(200,16,46,.18);
  border: 1.5px solid rgba(200,16,46,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.epd2-cta-icon svg { width: 28px; height: 28px; color: #fff; }

.epd2-cta-text { flex: 1; min-width: 240px; }
.epd2-cta-text h2 {
  margin: 0 0 .3rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
}
.epd2-cta-text p {
  margin: 0;
  font-size: .83rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.epd2-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  flex: 0 0 auto;
}
.epd2-cta-btn {
  min-width: 200px;
  justify-content: center;
  flex: 0 0 auto;
  padding: .7rem 1.5rem;
}
.epd2-cta-btn.epd2-btn-register--alt {
  border: 1.5px solid rgba(255, 255, 255, .45);
  background: transparent;
  color: #fff;
  box-shadow: none;
}
.epd2-cta-btn.epd2-btn-register--alt:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: #fff;
}
.epd2-cta-btn svg { width: 15px; height: 15px; }

/* ═══════════════ CONTACTS INLINE (inside About section) ═══════════════ */

.epd2-contacts-inline {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.epd2-contacts-inline-title {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ═══════════════ EVENT CONTACTS ═══════════════ */

.epd2-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/* Inline variant: up to 2 columns */
.epd2-contacts--inline {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.epd2-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.epd2-contact-photo {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
  display: grid;
  place-items: center;
}
.epd2-contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.epd2-contact-initials {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}
.epd2-contact-body {
  min-width: 0;
  flex: 1;
}
.epd2-contact-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.epd2-contact-role {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.35;
}
.epd2-contact-note {
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.epd2-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  margin-top: 0.45rem;
  min-width: 0;
  width: 100%;
}
.epd2-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.epd2-contact-phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.epd2-contact-links a:hover { text-decoration: underline; }
.epd2-contact-links svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--muted);
}

@media (max-width: 560px) {
  .epd2-contacts--inline { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

@media (max-width: 1100px) {
  .epd2-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .epd2-stats-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .epd2-cal-layout { grid-template-columns: 1fr; }
  .epd2-cal-cta { position: static; min-height: 0; }
  .epd2-cal-card { flex: 0 0 210px; max-width: none; }
  .epd2-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  :root { --epd2-gutter: 1rem; }
  body.epd2 { overflow-x: clip; }

  .epd2-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }
  .epd2-hero-card {
    max-width: 420px;
    margin: 0 auto;
    align-self: auto;
  }
  .epd2-hero-desc { max-width: 100%; }
  .epd2-hero-actions { display: none; }
  .epd2-hero-actions--live { display: flex; }
  .epd2-hero-actions--live .epd2-btn:not(.epd2-btn-live) { display: none; }

  .epd2-body.has-tabs .epd2-body-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 0 1.35rem;
    overflow-x: clip;
  }
  .epd2-body.has-tabs .epd2-main {
    padding-left: max(var(--epd2-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--epd2-gutter), env(safe-area-inset-right, 0px));
  }
  .epd2-tabs {
    position: sticky;
    top: 70px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 .85rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: var(--navy);
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(10,25,49,.28);
    z-index: 40;
  }
  .epd2-tabs.is-stuck {
    box-shadow: 0 12px 28px rgba(10,25,49,.32);
  }
  .epd2-event-menu-toggle {
    pointer-events: auto;
    cursor: pointer;
    min-height: 60px;
    padding: .8rem max(var(--epd2-gutter), env(safe-area-inset-right, 0px)) .8rem max(var(--epd2-gutter), env(safe-area-inset-left, 0px));
    -webkit-tap-highlight-color: transparent;
  }
  .epd2-event-menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .epd2-event-menu-icon svg {
    width: 20px;
    height: 20px;
  }
  .epd2-event-menu-kicker {
    font-size: .7rem;
    letter-spacing: .14em;
    color: rgba(255,255,255,.88);
  }
  .epd2-event-menu-current {
    display: block;
    font-size: 1.05rem;
  }
  .epd2-event-menu-chevron {
    display: block;
  }
  .epd2-tabs.is-open .epd2-event-menu-chevron {
    transform: rotate(180deg);
  }
  .epd2-tabs-inner {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    margin: 0;
    padding: .55rem max(var(--epd2-gutter), env(safe-area-inset-right, 0px)) .8rem max(var(--epd2-gutter), env(safe-area-inset-left, 0px));
    overflow: visible;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .epd2-tabs.is-open .epd2-tabs-inner {
    display: flex;
  }
  .epd2-tab {
    width: 100%;
    min-height: 48px;
    padding: .8rem .95rem;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--navy);
    font-size: .9rem;
  }
  .epd2-tab svg { width: 17px; height: 17px; }
  .epd2-tab:hover {
    background: #f5f7fa;
    color: var(--navy);
  }
  .epd2-tab.is-active {
    color: var(--red);
    background: rgba(200, 16, 46, .1);
    border-color: transparent;
    border-left-color: var(--red);
  }
  .epd2-tab-panel,
  .epd2-section { scroll-margin-top: 150px; }
}

@media (max-width: 640px) {
  :root { --epd2-gutter: .875rem; }
  .epd2-hero { min-height: auto; }
  .epd2-tabs { top: 58px; }
  .epd2-tab-panel,
  .epd2-section { scroll-margin-top: 150px; }
  .epd2-div-row {
    flex-wrap: wrap;
    gap: .75rem;
    padding: .85rem 0;
  }
  .epd2-div-actions { width: 100%; }
  .epd2-div-actions .epd2-btn-register { width: 100%; justify-content: center; }
  .epd2-hero-breadcrumb { padding-top: .65rem; }
  .epd2-hero-title { font-size: 1.55rem; }
  .epd2-hero-inner { gap: 1.5rem; padding-bottom: 1.75rem; }
  .epd2-features-grid { grid-template-columns: 1fr; }
  .epd2-section { margin-bottom: 1.15rem; }
  .epd2-section + .epd2-section { padding-top: .95rem; }
  .epd2-section-title {
    font-size: .95rem;
    letter-spacing: .06em;
  }
  .epd2-stats-cards {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .epd2-stat-card { min-height: 0; padding: .85rem .9rem .75rem; }
  .epd2-stat-num { font-size: 1.7rem; }
  .epd2-stat-label { font-size: .62rem; letter-spacing: .08em; }
  .epd2-stat-sub {
    font-size: .72rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .epd2-rich-text { font-size: .95rem; line-height: 1.7; }
  .epd2-bullet-list { grid-template-columns: 1fr; }
  .epd2-cta-inner { flex-direction: column; align-items: flex-start; }
  .epd2-cta-actions,
  .epd2-cta-btn { width: 100%; justify-content: center; }
  .epd2-sr-title { font-size: 1.15rem; }
  .epd2-sr-subtabs { gap: .85rem; overflow-x: auto; }
}

@media (max-width: 420px) {
  .epd2-features-grid { grid-template-columns: 1fr; }
  .epd2-meta-chip { padding: .35rem .65rem .35rem .5rem; }
  .epd2-hero-actions { flex-direction: column; }
  .epd2-btn { justify-content: center; }
  .epd2-btn-register {
    width: 100%;
    justify-content: flex-start;
  }
  .epd2-btn-register-label {
    white-space: normal;
  }
}
