/* =========================================================
   FSV Veritas Wittenberge/Breese e.V. - Website Stylesheet
   ========================================================= */

:root {
  --color-primary: #0c6b30;
  --color-primary-dark: #084d22;
  --color-primary-light: #12893f;
  --color-accent: #9c1c2e;
  --color-accent-dark: #7a1522;
  --color-dark: #16201a;
  --color-text: #24302a;
  --color-muted: #5c6b63;
  --color-light: #f4f7f4;
  --color-white: #ffffff;
  --color-border: #e0e6e0;
  --shadow-sm: 0 1px 3px rgba(16, 30, 20, 0.08);
  --shadow-md: 0 6px 20px rgba(16, 30, 20, 0.12);
  --radius: 6px;
  --max-width: 1180px;
  --font-heading: 'Oswald', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section--muted {
  background: var(--color-light);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head p {
  color: var(--color-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  padding: 0.85rem 2.1rem;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  box-shadow: inset 0 0 0 2px var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: inset 0 0 0 2px var(--color-white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary-dark);
  box-shadow: inset 0 0 0 2px var(--color-primary-dark);
}

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

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

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

/* ---------- Entwurfs-Hinweis ---------- */
.draft-banner {
  background: #f2b705;
  color: var(--color-dark);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 0.5rem 1.25rem;
}

.draft-banner strong {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-dark);
  color: #f2b705;
  border-radius: 3px;
  padding: 0.1rem 0.45rem;
  margin-right: 0.5rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand__name {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
}

.brand__name strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.brand__name span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--color-dark);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
  border-color: var(--color-accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 480px;
  }

  .main-nav a {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-toggle {
    display: block;
  }
}

/* ---------- Homepage highlight split ---------- */
.highlight-split__grid {
  align-items: stretch;
}

.highlight-split__match {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: 2.25rem;
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
}

.highlight-split__match .eyebrow {
  color: rgba(255,255,255,0.8);
}

.highlight-split__match h2 {
  color: var(--color-white);
}

.highlight-split__match .btn {
  margin-top: 1.5rem;
}

.highlight-split__news {
  padding: 2.25rem;
  background: var(--color-light);
  border-radius: var(--radius);
}

.highlight-split__news h2 {
  color: var(--color-dark);
}

.news-compact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.news-compact__item {
  display: block;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
  transition: transform 0.15s ease;
}

.news-compact__item:hover {
  transform: translateX(4px);
  text-decoration: none;
}

.news-compact__item:hover h3 {
  color: var(--color-primary);
}

.news-compact__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-compact__date {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.news-compact__item h3 {
  font-size: 1.05rem;
  margin: 0.2rem 0 0;
}

/* Spiele am Wochenende */
.weekend__range,
.weekend__empty {
  color: rgba(255,255,255,0.8);
  margin: -0.6rem 0 1.25rem;
  font-size: 0.95rem;
}

.weekend__day + .weekend__day {
  margin-top: 1.25rem;
}

.weekend__day h3 {
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--color-accent);
}

.weekend__match {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  color: var(--color-white);
  transition: background 0.15s ease;
}

.weekend__match + .weekend__match {
  border-top: 1px solid rgba(255,255,255,0.12);
}

.weekend__match:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

.weekend__time {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.weekend__info {
  min-width: 0;
  line-height: 1.3;
}

.weekend__info strong {
  display: block;
  font-weight: 600;
}

.weekend__info span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.weekend__ha,
.weekend__result {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #ffd9de;
  white-space: nowrap;
}

.weekend__result {
  color: var(--color-white);
}

.weekend__result.is-score {
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .grid.highlight-split__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .highlight-split__match,
  .highlight-split__news {
    padding: 1.5rem 1.1rem;
  }
  .weekend__match {
    grid-template-columns: 44px 1fr auto;
    gap: 0.6rem;
    padding: 0.55rem 0.4rem;
  }
}

.match.match--on-dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: var(--color-white);
}

.match.match--on-dark .match__date {
  color: var(--color-white);
}

.match.match--on-dark .match__date span {
  color: rgba(255,255,255,0.7);
}

.match.match--on-dark .match__meta {
  color: rgba(255,255,255,0.75);
}

.match.match--on-dark .match__result {
  color: var(--color-white);
}

.match.match--on-dark.match--upcoming .match__result {
  color: #ffd9de;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary) 60%, var(--color-primary-light));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 90px);
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 35%, 100% 100%);
}

.hero__content {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  max-width: 720px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

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

.hero p {
  font-size: 1.1rem;
  color: #eaf2ec;
  max-width: 560px;
}

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Großes Startseitenfoto: Bild liegt unter assets/hero.jpg.
   Solange es fehlt, bleibt der grüne Verlauf als Hintergrund. */
.hero--photo {
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
}

.hero--photo.has-photo {
  background:
    linear-gradient(0deg, rgba(8, 24, 14, 0.88) 0%, rgba(8, 24, 14, 0.45) 45%, rgba(8, 24, 14, 0.1) 100%),
    url('../assets/hero.jpg') center 35% / cover no-repeat,
    var(--color-primary-dark);
}

.hero--photo.has-photo::before {
  display: none;
}

.hero--photo .hero__content {
  width: 100%;
  max-width: var(--max-width);
  padding-top: 6rem;
  padding-bottom: 6.5rem;
}

.hero--photo {
  align-items: center;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
}

.hero__text {
  max-width: 680px;
}

/* Vereinswappen groß im Kopfbereich */
.hero__crest {
  position: relative;
  width: clamp(200px, 26vw, 330px);
  justify-self: end;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
  animation: crest-in 0.7s ease-out both;
}

/* Heller Schein hinter dem Wappen */
.hero__crest::before {
  content: "";
  position: absolute;
  inset: -22%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 65%);
  z-index: -1;
}

/* Schneidet den weißen Bildhintergrund entlang der Schildkontur weg */
.hero__crest img {
  width: 100%;
  height: auto;
  clip-path: polygon(
    0.6% 0.4%, 91.5% 0.4%, 97% 2.2%, 99.6% 3.6%,
    99.6% 76%, 98.5% 81%, 95.5% 85%, 88% 88.5%,
    75% 92%, 60% 95.5%, 46.5% 97.2%,
    30% 93%, 16% 87.5%, 7% 80.5%, 2.5% 76%, 0.6% 71.5%
  );
}

@keyframes crest-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 760px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .hero__crest {
    order: -1;
    justify-self: start;
    width: 140px;
  }
  .hero--photo .hero__content {
    padding-top: 3rem;
  }
}

.hero--photo.has-photo h1,
.hero--photo.has-photo p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero--page {
  padding: 2.6rem 0 3.6rem;
}

.hero--page .hero__content {
  padding-top: 0;
  padding-bottom: 0;
}

.hero--page::after {
  height: 34px;
}

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-accent);
  transform: translateY(-3px);
}

.card__date {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.card__tag {
  display: inline-block;
  background: var(--color-light);
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

/* ---------- Team list ---------- */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.team-row:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-accent);
  transform: translateX(4px);
  text-decoration: none;
}

.team-row__photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-light);
  border: 2px solid var(--color-border);
}

.team-row__info {
  flex: 1;
  min-width: 0;
}

.team-row__info h3 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.team-row__meta {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.team-row__stats {
  display: flex;
  gap: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.team-row__stats div {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  font-family: var(--font-heading);
}

.team-row__stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

.team-row__chevron {
  font-size: 1.8rem;
  color: var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
}

.trainer-row__name {
  text-align: right;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.trainer-row__name span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.trainer-row__name strong {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.trainer-row__name.is-open strong {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .team-row__stats {
    display: none;
  }
}

@media (max-width: 520px) {
  .trainer-list .team-row {
    flex-wrap: wrap;
  }
  .trainer-list .team-row__info {
    flex-basis: calc(100% - 60px - 1.25rem - 2.5rem);
  }
  .trainer-list .trainer-row__name {
    order: 3;
    width: 100%;
    text-align: left;
    padding-left: calc(60px + 1.25rem);
  }
}

/* ---------- News list ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.news-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.news-row:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-accent);
  transform: translateX(4px);
  text-decoration: none;
}

.news-row__date {
  flex-shrink: 0;
  width: 92px;
  text-align: center;
  font-family: var(--font-heading);
}

.news-row__date strong {
  display: block;
  font-size: 1.3rem;
  color: var(--color-primary-dark);
}

.news-row__date span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.news-row__info {
  flex: 1;
  min-width: 0;
}

.news-row__info h3 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
}

.news-row__meta {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.news-row__chevron {
  font-size: 1.8rem;
  color: var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
}

@media (max-width: 560px) {
  .news-row__date {
    width: 56px;
  }
}

/* ---------- Facebook-Feed ---------- */
.grid.news-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .grid.news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fb-feed {
  margin-top: 1rem;
}

.fb-feed + .btn {
  margin-top: 1.5rem;
}

.fb-feed iframe {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
}

.fb-consent {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid #1877f2;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.fb-consent > svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: #1877f2;
  fill: var(--color-white);
  margin: 0 auto 0.75rem;
  display: block;
}

.fb-consent h3 {
  margin-bottom: 0.5rem;
}

.fb-consent p {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: 0 auto 1.25rem;
  max-width: 420px;
}

.fb-consent__remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0.9rem 0 0;
  cursor: pointer;
}

.fb-consent__remember input {
  width: auto;
  margin: 0;
}

.fb-consent__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.btn--small {
  padding: 0.45rem 1.3rem;
  font-size: 0.8rem;
  margin: 0.4rem 0.5rem 0.4rem 0;
}

.fb-revoke-status {
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* ---------- Social icons ---------- */
.social-icons {
  display: flex;
  gap: 0.6rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: background 0.15s ease, transform 0.15s ease;
}

.social-icons a:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---------- Team cards ---------- */
.team-card__meta {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.team-card__meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--color-border);
}

.team-card__meta li:first-child {
  border-top: none;
}

.team-card__meta strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- Match / Spielplan ---------- */
.match {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.match__date {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
}

.match__date strong {
  display: block;
  font-size: 1.4rem;
}

.match__date span {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

.match__teams {
  font-weight: 600;
}

.match__meta {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  font-weight: 400;
}

.match__result {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-dark);
  text-align: right;
  white-space: nowrap;
}

.match--upcoming .match__result {
  color: var(--color-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .match {
    grid-template-columns: 70px 1fr;
  }
  .match__result {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 70px;
  }
}

.tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  color: var(--color-muted);
}

.tab-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ---------- Sponsors ---------- */
.sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: stretch;
}

.sponsor-badge {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  text-align: center;
  color: var(--color-muted);
  font-weight: 600;
}

.sponsor-badge small {
  font-weight: 400;
  color: var(--color-muted);
  margin-top: 0.2rem;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-white);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 1px;
}

.form-full {
  grid-column: 1 / -1;
}

/* ---------- Fee table ---------- */
table.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

table.fee-table th, table.fee-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

table.fee-table th {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  background: var(--color-light);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--color-primary-dark) 0%, var(--color-primary-dark) 60%, var(--color-accent-dark) 60%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 3.5rem 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.cta-band h2 {
  color: var(--color-white);
}

.cta-band p {
  color: #d9e8dd;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

/* ---------- Notice / placeholder box ---------- */
.notice {
  background: #fdf1f0;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.notice strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--color-primary-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #c7d3cb;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.55rem;
}

.footer-grid a {
  color: #c7d3cb;
}

.footer-grid a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #c7d3cb;
}

.footer-bottom nav a {
  margin-left: 1.25rem;
}

.footer-bottom nav a:first-child {
  margin-left: 0;
}

/* ---------- Utilities ---------- */
.empty-state {
  color: var(--color-muted);
  font-style: italic;
}

.map-frame {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
}
