/* ── UTC Bergheim — Hero Section ──────────────────────────────────────────── */

/* ── Section ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #1a1612;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem 1.25rem 1rem;
}

/* ── Backdrop ──────────────────────────────────────────────────────────────── */

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-photo--placeholder {
  background: #2a3628;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.66);
}

.hero-grad-h {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 12, 10, 0.55) 0%,
    rgba(15, 12, 10, 0.25) 45%,
    rgba(15, 12, 10, 0)    75%
  );
}

.hero-grad-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 12, 10, 0)    30%,
    rgba(15, 12, 10, 0.55) 100%
  );
}

/* ── Headline Block ────────────────────────────────────────────────────────── */

.hero-headline {
  position: relative;
  color: #fff;
  flex-shrink: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  animation: hero-up 700ms var(--ease, cubic-bezier(.22,1,.36,1)) 100ms both;
}

.hero-eyebrow__line {
  display: block;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.5px;
  background: var(--clay, #d8453a);
}

.hero-title {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 0.93;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  animation: hero-up 750ms var(--ease, cubic-bezier(.22,1,.36,1)) 240ms both;
}

.hero-title em {
  color: var(--clay, #d8453a);
  font-style: normal;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.375rem;
  animation: hero-up 700ms var(--ease, cubic-bezier(.22,1,.36,1)) 420ms both;
}

.hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.875rem 1.375rem;
  border-radius: 2px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.hero-btn--primary {
  background: var(--clay, #d8453a);
  color: #fff;
}
.hero-btn--primary:hover { background: #b8362c; color: #fff; }

.hero-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.hero-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.7); }

/* ── Match Box ─────────────────────────────────────────────────────────────── */

.hero-matchbox {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f4f0e8;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: max-height 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Match Box: Header ─────────────────────────────────────────────────────── */

.hero-mb__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6875rem 0.875rem;
  border-bottom: 1px solid #d8d2c4;
  flex-shrink: 0;
}

.hero-mb__head-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.59rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1612;
}

.hero-mb__dot {
  width: 6px;
  height: 6px;
  background: var(--clay, #d8453a);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-mb__all-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.59rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay, #d8453a);
  text-decoration: none;
}
.hero-mb__all-link:hover { text-decoration: underline; }

/* ── Match Box: Spotlight Row ──────────────────────────────────────────────── */

.hero-mb__spotlight {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 0.625rem;
  align-items: center;
  padding: 0.75rem 0.875rem;
  background: #1a1612;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  transition: background 0.15s;
}
.hero-mb__spotlight:hover { background: #252018; }

.hero-mb__pill {
  background: var(--clay, #d8453a);
  border-radius: 3px;
  padding: 0.375rem 0.25rem;
  text-align: center;
}

.hero-mb__pill-wd,
.hero-mb__pill-mo {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  opacity: 0.88;
}

.hero-mb__pill-day {
  display: block;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  margin: 1px 0;
}

.hero-mb__spot-info { min-width: 0; }

.hero-mb__spot-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay, #d8453a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mb__spot-teams {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mb__spot-vs {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.hero-mb__spot-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-top: 4px;
}

.hero-mb__spot-arrow {
  color: var(--clay, #d8453a);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Match Box: List ───────────────────────────────────────────────────────── */

.hero-mb__list {
  background: #fff;
  flex: none;
  min-height: 0;
}

.hero-matchbox.is-expanded .hero-mb__list {
  flex: 1;
  overflow-y: auto;
}

.hero-mb__row {
  display: grid;
  grid-template-columns: 38px 1fr auto auto;
  gap: 0.625rem;
  align-items: center;
  padding: 0.6875rem 0.875rem;
  text-decoration: none;
  color: #1a1612;
  border-top: 1px solid #d8d2c4;
  transition: background 0.12s;
}
.hero-mb__row--first { border-top: none; }
.hero-mb__row:hover  { background: #f4f0e8; }

.hero-mb__row-date {
  text-align: center;
  padding-right: 0.5rem;
  border-right: 1px solid #d8d2c4;
}

.hero-mb__row-day {
  display: block;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}

.hero-mb__row-mo {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8378;
  margin-top: 3px;
}

.hero-mb__row-info { min-width: 0; }

.hero-mb__row-league {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mb__row-opp {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #8a8378;
  margin-top: 2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mb__tag {
  padding: 3px 6px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.hero-mb__tag--home {
  background: var(--clay, #d8453a);
  color: #fff;
}
.hero-mb__tag--away {
  background: transparent;
  color: #8a8378;
  border: 1px solid #d8d2c4;
}

.hero-mb__row-chev {
  color: #8a8378;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ── Match Box: Extra (collapsible) ────────────────────────────────────────── */

.hero-mb__extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-matchbox.is-expanded .hero-mb__extra {
  max-height: 1200px;
}

/* ── Match Box: Toggle ─────────────────────────────────────────────────────── */

.hero-mb__toggle {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: none;
  background: #ebe5d8;
  border-top: 1px solid #d8d2c4;
  cursor: pointer;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1612;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.hero-mb__toggle:hover { background: #dfd8c8; }

.hero-mb__toggle-arrow {
  color: var(--clay, #d8453a);
}

/* ── Tablet ≥ 768px ────────────────────────────────────────────────────────── */

@media (min-width: 768px) {
  .hero {
    align-items: center;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
  }

  .hero-headline {
    max-width: 44rem;
    text-align: left;
    width: 100%;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .hero-btn {
    padding: 1rem 1.75rem;
  }

  .hero-matchbox {
    max-width: 28rem;
    width: 100%;
  }

  .hero-eyebrow__line {
    width: 3rem;
  }

  .hero-title {
    font-size: clamp(3.25rem, 6vw, 5rem);
  }
}

/* ── Desktop ≥ 992px ───────────────────────────────────────────────────────── */

@media (min-width: 992px) {
  .hero {
    display: block;
    min-height: calc(100svh - 4.5rem);
    min-height: 46rem;
    padding: 0;
  }

  .hero-photo {
    object-position: center 18%;
  }

  .hero-wash {
    background: rgba(15, 12, 10, 0.62);
  }

  .hero-grad-v {
    display: none;
  }

  .hero-headline {
    position: absolute;
    left: 3.5rem;
    top: 3.75rem;
    bottom: 3.5rem;
    width: 46%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .hero-eyebrow {
    font-size: 0.78rem;
    margin-bottom: 1.375rem;
  }

  .hero-eyebrow__line {
    width: 3rem;
    height: 2px;
  }

  .hero-title {
    font-size: clamp(3.75rem, 6.6vw, 6.875rem);
  }

  .hero-ctas {
    flex-direction: row;
    gap: 0.875rem;
    margin-top: 2rem;
  }

  .hero-btn {
    padding: 1rem 1.75rem;
    font-size: 0.75rem;
  }

  /* Match box: absolute right, vertically centered */
  .hero-matchbox {
    position: absolute;
    right: 2.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 27.5rem;    /* 440px */
    max-width: none;
    max-height: calc(100% - 5rem);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  }

  .hero-mb__head {
    padding: 0.875rem 1.25rem;
  }

  .hero-mb__head-label {
    font-size: 0.65rem;
  }

  .hero-mb__all-link {
    font-size: 0.65rem;
  }

  .hero-mb__spotlight {
    grid-template-columns: 52px 1fr auto;
    gap: 0.875rem;
    padding: 1.125rem 1.25rem;
  }

  .hero-mb__pill-day {
    font-size: 1.375rem;
  }

  .hero-mb__spot-eyebrow {
    font-size: 0.625rem;
    font-weight:700;
  }

  .hero-mb__spot-teams {
    font-size: 1.0625rem;
  }

  .hero-mb__spot-meta {
    font-size: 0.625rem;
  }

  .hero-mb__row {
    grid-template-columns: 46px 1fr auto auto;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
  }

  .hero-mb__row-day {
    font-size: 1.25rem;
  }

  .hero-mb__row-mo {
    font-size: 0.53rem;
  }

  .hero-mb__row-league {
    font-size: 1rem;
  }

  .hero-mb__row-opp {
    font-size: 0.78rem;
  }

  .hero-mb__tag {
    font-size: 0.5625rem;
    padding: 4px 8px;
  }

  .hero-mb__toggle {
    padding: 0.875rem 1.25rem;
    font-size: 0.65rem;
  }
}

/* ── Wide ≥ 1280px ─────────────────────────────────────────────────────────── */

@media (min-width: 1280px) {
  .hero-matchbox {
    right: 3.5rem;
    width: 27.5rem;
  }
}

@media (max-width: 792px) {
  .hero-matchbox {
    margin-top: 30px;
  }
}
