/* ==========================================================================
   Çarşambaspor Kulübü (1923) — Resmi Web Portalı Tasarım Sistemi
   Multi-Page Editorial Green & White · Mobile-First & WCAG AA
   ========================================================================== */

:root {
  --green-950: #042612;
  --green-900: #074723;
  --green-800: #095e2e;
  --green-700: #0b6e36;
  --green-600: #0e833f;
  --green-500: #15994c;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;

  --ink-950: #0f172a;
  --ink-900: #111827;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --line-200: #e2e8f0;
  --line-100: #f1f5f9;
  --surface-soft: #f4f6f8;
  --white: #ffffff;

  --gold-accent: #f59e0b;
  --red-accent: #dc2626;

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 22px 48px rgba(5, 46, 22, 0.18);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--green-800);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Editorial Typography */
.serif-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink-950);
}

.section-bar {
  width: 48px;
  height: 3px;
  background: var(--green-600);
  margin: 12px 0 16px;
  border-radius: 2px;
}
.section-bar.light {
  background: rgba(255, 255, 255, 0.85);
}

/* 1. Top Announcement Bar (Dismissible) */
.top-strip {
  background: var(--green-800);
  color: var(--white);
  font-size: 0.79rem;
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  max-height: 120px;
  overflow: hidden;
  transition: max-height 0.26s ease, padding 0.26s ease, opacity 0.22s ease, border-width 0.22s ease;
}
html.top-strip-dismissed .top-strip {
  display: none !important;
}
.top-strip.is-closing {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-width: 0;
}
.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.top-strip-left {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1;
}
.top-strip-pill {
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.top-strip-match-link {
  color: var(--white);
  font-weight: 600;
  transition: color 0.15s ease;
}
.top-strip-match-link:hover {
  color: #fde68a;
  text-decoration: underline;
}
.top-strip-countdown {
  display: inline-flex;
  align-items: center;
  background: #fbbf24;
  color: #042612;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.top-strip-countdown:empty {
  display: none;
}
.top-strip-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.top-strip-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.76rem;
}
.top-strip-right a {
  color: #dcfce7;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}
.top-strip-right a:hover {
  color: var(--white);
}
.top-strip-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.16s ease, transform 0.16s ease;
}
.top-strip-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}

/* 2. Crisp White Sticky Header with Dropdown */
.site-header {
  position: sticky;
  top: 0;
  z-index: 140;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-200);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-crest {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--green-800);
}
.brand-sub {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-700);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.18s ease, background 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--green-700);
  background: var(--green-50);
}
.nav-link.active {
  color: var(--green-800);
  background: var(--green-50);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2.5px;
  background: var(--green-600);
  border-radius: 2px;
}

/* Dropdown Menu for "Takımımız" (Oyuncular & Teknik Ekip) */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 245px;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-top: 3px solid var(--green-600);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 160;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-900);
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-item small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-500);
  margin-top: 1px;
}
.dropdown-item:hover,
.dropdown-item.active {
  background: var(--green-50);
  color: var(--green-800);
}

/* Header Social Links & Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-200);
  background: var(--white);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.social-icon-btn:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
  transform: translateY(-1px);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  border: 1px solid var(--line-200);
  background: var(--white);
  transition: background 0.15s ease;
}
.icon-btn:hover {
  background: var(--line-100);
}
.menu-toggle {
  display: none;
}

/* Team Sub-Navigation Bar (Oyuncular & Teknik Ekip Split Bar) */
.team-subnav-bar {
  background: var(--green-50);
  border-bottom: 1px solid #bbf7d0;
  padding: 10px 0;
}
.team-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.team-subnav-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.team-subnav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.team-subnav-tab {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid #86efac;
  transition: all 0.18s ease;
}
.team-subnav-tab:hover {
  background: var(--green-100);
}
.team-subnav-tab.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-links a {
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-links a.sub-link {
  padding-left: 26px;
  font-size: 0.88rem;
  color: var(--green-800);
  background: var(--green-50);
  margin: 2px 0;
}
.drawer-links a:hover,
.drawer-links a.active {
  background: var(--green-100);
  color: var(--green-900);
}
.drawer-social-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-social-row a {
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 3. Emerald Stadium Hero with Background-Removed 11-Player Team Cutout */
.hero-section {
  position: relative;
  background: linear-gradient(125deg, #042f16 0%, #09582b 48%, #0e833f 100%);
  color: var(--white);
  padding: 46px 0 0;
  overflow: visible;
  margin-bottom: 56px;
}
.hero-bg-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}
.hero-bg-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(34, 197, 94, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, rgba(4, 38, 18, 0.35) 0%, rgba(4, 38, 18, 0.82) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: end;
  gap: 24px;
}
.hero-copy {
  padding-bottom: 32px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #bbf7d0;
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.05rem, 8vw, 4.05rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  white-space: nowrap;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.btn-hero-white {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  color: var(--green-900);
  font-weight: 800;
  font-size: 0.84rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-hero-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Hero Past Matches Redirect Card (Replaces Match Recap Cluster) */
.hero-past-matches-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(4, 38, 18, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(134, 239, 172, 0.35);
  border-left: 4px solid #fbbf24;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.hero-past-matches-card:hover {
  transform: translateY(-2px);
  background: rgba(4, 38, 18, 0.88);
  border-color: #fbbf24;
}
.hero-past-matches-info small {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fde68a;
  margin-bottom: 3px;
}
.hero-past-matches-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.hero-past-matches-info span {
  display: block;
  font-size: 0.81rem;
  color: #bbf7d0;
  margin-top: 2px;
}
.hero-past-matches-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fbbf24;
  color: #042612;
  font-weight: 800;
  font-size: 0.83rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.digimentra-footer-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.95;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.digimentra-footer-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.digimentra-footer-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Right Hero: Background-Removed 11-Player Team Group Cutout */
.hero-team-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: 10px;
}
.hero-team-glow {
  position: absolute;
  inset: 10% 5% 5% 5%;
  background: radial-gradient(ellipse at center, rgba(134, 239, 172, 0.26) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-team-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 650px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.48));
  transform-origin: bottom center;
}
.hero-team-caption {
  position: relative;
  z-index: 2;
  background: rgba(4, 38, 18, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(187, 247, 208, 0.3);
  color: #dcfce7;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-top: -14px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/* Inner Page Hero Header (for separated pages) */
.page-hero {
  background: linear-gradient(125deg, #042f16 0%, #09582b 55%, #0e833f 100%);
  color: var(--white);
  padding: 42px 0 38px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  max-width: 680px;
  margin-top: 8px;
}

/* Home Page Compact Hub (No Long Scrolling - Click Through to Dedicated Pages) */
.home-hub-section {
  padding: 20px 0 56px;
}
.home-hub-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.hub-panel {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-top: 4px solid var(--green-600);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hub-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-100);
}
.hub-panel-head h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink-950);
}
.hub-panel-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Quick Portal Strip on Home Page linking to Every Dedicated Page */
.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.portal-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-600);
}
.portal-card-media {
  position: relative;
  height: 148px;
  background: linear-gradient(135deg, var(--green-900), var(--green-600));
  overflow: hidden;
}
.portal-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.portal-card:hover .portal-card-media img {
  transform: scale(1.05);
}
.portal-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(4, 38, 18, 0.88);
  color: #bbf7d0;
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
}
.portal-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.portal-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink-950);
  margin-bottom: 6px;
}
.portal-card-body p {
  font-size: 0.82rem;
  color: var(--ink-600);
  line-height: 1.45;
  margin-bottom: 14px;
}
.portal-card-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Buttons */
.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--green-600);
  color: var(--white);
  font-weight: 700;
  font-size: 0.83rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-green:hover {
  background: var(--green-800);
}
.btn-green.sm {
  padding: 7px 13px;
  font-size: 0.78rem;
}
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid #86efac;
  font-weight: 700;
  font-size: 0.81rem;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
}
.btn-outline-green:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink-950);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.btn-dark:hover {
  background: #1e293b;
}

/* 4. About / History Section */
.about-section {
  padding: 56px 0 64px;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.about-copy-wrap {
  position: relative;
}
.watermark-crest {
  position: absolute;
  left: -26px;
  top: -28px;
  width: 190px;
  height: 190px;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}
.about-copy {
  position: relative;
  z-index: 1;
}
.about-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}
.about-copy p {
  color: var(--ink-600);
  font-size: 0.96rem;
  margin-bottom: 14px;
}
.club-facts-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.fact-box {
  background: var(--surface-soft);
  border-left: 3px solid var(--green-600);
  padding: 11px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.fact-box strong {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}
.fact-box span {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-950);
}

.about-media-card {
  position: relative;
  background: var(--ink-950);
  box-shadow: 12px 12px 0 var(--green-600);
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.about-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.92;
}
.about-media-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 35%, rgba(5, 46, 22, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}
.about-media-caption span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bbf7d0;
  font-weight: 700;
}
.about-media-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-top: 4px;
}

.honours-strip {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.honour-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-top: 3px solid var(--green-600);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.honour-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1.05;
}
.honour-label {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink-950);
  margin-top: 4px;
}
.honour-note {
  font-size: 0.76rem;
  color: var(--ink-500);
  margin-top: 3px;
}

/* 5. Match Center & Standings */
.match-center-section {
  padding: 48px 0 68px;
  background: linear-gradient(180deg, var(--white) 0%, #f8fafb 100%);
}
.match-center-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.match-center-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 22px;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar {
  display: none;
}
.pill-btn {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-200);
  background: var(--white);
  color: var(--ink-700);
  font-size: 0.83rem;
  font-weight: 700;
  transition: all 0.18s ease;
}
.pill-btn:hover {
  border-color: var(--green-600);
  color: var(--green-700);
}
.pill-btn.active {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
}

.match-standings-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.fixture-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-left: 5px solid var(--green-600);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.match-card.is-next {
  border-left-width: 6px;
  background: linear-gradient(90deg, #f0fdf4 0%, #ffffff 36%);
  border-color: #86efac;
}
.match-date-col {
  border-right: 1px solid var(--line-100);
  padding-right: 12px;
}
.match-date-day {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink-950);
}
.match-date-time {
  font-size: 0.76rem;
  color: var(--ink-500);
  font-weight: 600;
  margin-top: 2px;
}
.match-badge-mini {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
}
.match-badge-mini.next {
  background: var(--green-600);
  color: var(--white);
}
.match-badge-mini.win {
  background: var(--green-100);
  color: var(--green-800);
}
.match-badge-mini.home {
  background: var(--line-100);
  color: var(--ink-700);
}

.match-main-col {
  min-width: 0;
}
.match-venue-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.match-venue-line strong {
  color: var(--green-800);
  font-weight: 700;
}
.match-teams-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink-900);
}
.team-chip.carsamba {
  color: var(--green-800);
  font-weight: 800;
}
.team-chip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}
.score-pill {
  background: var(--ink-950);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.score-pill.win {
  background: var(--green-700);
}
.score-pill.vs {
  background: var(--line-100);
  color: var(--ink-700);
}
.scorers-note {
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--green-800);
  font-weight: 600;
}

.match-cta-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.18s ease;
}
.venue-map-link:hover {
  background: var(--green-800);
}

/* Standings Table */
.standings-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.standings-header {
  background: var(--green-800);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.standings-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.standings-sub {
  font-size: 0.74rem;
  color: #bbf7d0;
  font-weight: 600;
}
.standings-table-wrap {
  overflow-x: auto;
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}
.standings-table th {
  background: var(--surface-soft);
  color: var(--ink-500);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line-200);
}
.standings-table th.left,
.standings-table td.left {
  text-align: left;
}
.standings-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line-100);
  color: var(--ink-700);
}
.standings-table tr.is-carsamba {
  background: #ecfdf5;
  font-weight: 800;
}
.standings-table tr.is-carsamba td {
  color: var(--green-900);
}
.rank-badge {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--line-100);
  color: var(--ink-700);
}
.rank-badge.leader {
  background: var(--green-600);
  color: var(--white);
}
.rank-badge.playoff {
  background: var(--green-100);
  color: var(--green-800);
}
.st-team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink-900);
}
.st-team-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
}
.pts-cell {
  font-weight: 800;
  color: var(--ink-950) !important;
}
.standings-legend {
  padding: 11px 16px;
  background: var(--surface-soft);
  font-size: 0.73rem;
  color: var(--ink-600);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}

/* Venues Directory */
.venues-strip {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.venues-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.venues-cards-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}
.venue-loc-card {
  border: 1px solid var(--line-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fcfdfd;
}
.venue-loc-card.home-ground {
  border-color: #86efac;
  background: var(--green-50);
}
.venue-loc-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-950);
}
.venue-loc-info span {
  font-size: 0.75rem;
  color: var(--ink-500);
}

/* 6. Dedicated News Page & News Cards */
.news-page-section {
  padding: 48px 0 72px;
  background: var(--surface-soft);
}
.news-featured-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 32px;
}
.news-featured-media {
  position: relative;
  min-height: 320px;
  background: var(--ink-950);
}
.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-featured-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-featured-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  color: var(--ink-950);
  margin: 10px 0 12px;
  line-height: 1.2;
}
.news-featured-body p {
  color: var(--ink-600);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-600);
}
.news-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-950);
}
.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.news-card:hover .news-img-wrap img {
  transform: scale(1.05);
}
.news-tag-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: linear-gradient(90deg, var(--green-700) 0%, rgba(15, 23, 42, 0.88) 100%);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
}
.news-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-body h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.38;
  color: var(--ink-950);
  margin-bottom: 8px;
}
.news-body p {
  font-size: 0.84rem;
  color: var(--ink-600);
  line-height: 1.5;
  margin-bottom: 12px;
}
.news-read-more {
  font-size: 0.79rem;
  font-weight: 800;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Live Press Feed Box on News Page */
.press-feed-box {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-top: 4px solid var(--green-700);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.press-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.press-item {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-200);
  background: #fcfdfd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.press-item:hover {
  border-color: var(--green-600);
  background: var(--green-50);
}
.press-item strong {
  font-size: 0.88rem;
  color: var(--ink-950);
  line-height: 1.35;
}
.press-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--ink-500);
  font-weight: 600;
}
.press-source-pill {
  color: var(--green-800);
  font-weight: 800;
}

/* 7. Squad / Players & Technical Staff Pages */
.squad-section {
  padding: 48px 0 68px;
  background: var(--white);
}
.squad-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.squad-header h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
}
.squad-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: 100%;
}
.squad-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.squad-search-input {
  border: 1px solid var(--line-200);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-family: inherit;
  min-width: 240px;
  background: var(--surface-soft);
  color: var(--ink-900);
}
.squad-search-input:focus {
  background: var(--white);
  border-color: var(--green-600);
  outline: none;
}

.squad-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.player-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-200);
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.player-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-600);
}
.player-portrait-box {
  position: relative;
  background: linear-gradient(180deg, #f3f5f7 0%, #e9eef2 100%);
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.player-portrait-box img.real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.player-kit-svg-wrap {
  width: 84%;
  height: 90%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.player-pos-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.84);
  color: var(--white);
  font-size: 0.69rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.player-pos-badge.gk {
  background: #ea580c;
}
.player-live-stat-chip {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--green-700);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.player-card-info {
  text-align: center;
  padding: 12px 6px 6px;
}
.player-card-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ink-950);
}
.player-card-pos {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-700);
  margin-top: 2px;
}
.player-card-sub {
  font-size: 0.74rem;
  color: var(--ink-500);
  margin-top: 3px;
}

/* Technical Staff & Management Styles */
.staff-section {
  padding: 48px 0 68px;
}
.staff-lead-card {
  background: linear-gradient(125deg, #052e16 0%, #095e2e 60%, #0e833f 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 36px;
}
.staff-lead-photo {
  width: 210px;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.25);
  background: var(--ink-950);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.staff-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.staff-lead-meta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 6px 0 10px;
}
.staff-lead-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.staff-stat-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.staff-stat-pill small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #bbf7d0;
  font-weight: 700;
}
.staff-stat-pill strong {
  font-size: 0.96rem;
  color: var(--white);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.staff-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-top: 4px solid var(--green-600);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}
.staff-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-50);
  border: 2px solid #86efac;
  color: var(--green-800);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-info span.role-tag {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700);
  background: var(--green-50);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.staff-info h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink-950);
}
.staff-info p {
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: 2px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.board-member-card {
  background: var(--surface-soft);
  border: 1px solid var(--line-200);
  border-left: 4px solid var(--green-600);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}
.board-member-card.president {
  background: var(--green-50);
  border-color: #86efac;
  border-left: 5px solid var(--green-700);
}
.board-member-card small {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green-700);
}
.board-member-card strong {
  font-size: 0.94rem;
  color: var(--ink-950);
}

/* 8. Merch & Junior Sections */
.merch-section {
  background: var(--surface-soft);
  padding: 56px 0 68px;
}
.merch-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.merch-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.merch-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-600);
}
.merch-thumb {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #f5f6f8;
  object-fit: cover;
  flex-shrink: 0;
}
.merch-meta h3 {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink-950);
  line-height: 1.3;
}
.merch-tag {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--green-700);
}

.junior-section {
  padding: 56px 0 68px;
  background: var(--white);
}
.junior-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}
.junior-circle-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green-600);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14, 131, 63, 0.22);
  border: 6px solid var(--green-50);
}
.junior-circle-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 9. Flawless Production Footer with Social Links & Mini TFF Logo */
.site-footer {
  background: linear-gradient(180deg, #064420 0%, #042b14 100%);
  color: var(--white);
  padding-top: 52px;
  margin-top: auto;
}
.footer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand-cluster img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.footer-brand-text strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}
.footer-brand-text span {
  display: block;
  font-size: 0.82rem;
  color: #bbf7d0;
  margin-top: 3px;
}

.footer-social-tff-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.18s ease;
}
.footer-social-pill:hover {
  background: var(--white);
  color: var(--green-900);
  transform: translateY(-2px);
}
.tff-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-950);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, background 0.18s ease;
}
.tff-footer-badge:hover {
  transform: translateY(-2px);
  background: var(--white);
}
.tff-footer-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 42px;
}
.footer-col h3 {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col a,
.footer-col li {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.84);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}
.tff-inline-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
  padding: 1px;
}

.footer-bottom {
  background: #031c0d;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom-tff {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dcfce7;
  font-weight: 700;
}
.footer-bottom-tff img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  background: var(--white);
  border-radius: 3px;
  padding: 1px;
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: var(--white);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line-100);
  color: var(--ink-900);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.modal-stat-item {
  background: var(--surface-soft);
  padding: 10px 12px;
  border-radius: 8px;
}
.modal-stat-item small {
  display: block;
  font-size: 0.71rem;
  color: var(--ink-500);
  text-transform: uppercase;
  font-weight: 700;
}
.modal-stat-item strong {
  font-size: 0.9rem;
  color: var(--ink-950);
}
.modal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-200);
  flex-wrap: wrap;
}
.modal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-200);
  background: var(--surface-soft);
  color: var(--ink-800);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.16s ease;
}
.modal-nav-btn:hover {
  background: var(--green-50);
  border-color: var(--green-600);
  color: var(--green-800);
}

/* Search Input Clear & Sort Select */
.search-input-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.search-input-wrap .squad-search-input {
  padding-right: 34px;
}
.search-clear-btn {
  position: absolute;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line-200);
  color: var(--ink-700);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.search-clear-btn[hidden] {
  display: none !important;
}
.search-clear-btn:hover {
  background: var(--green-600);
  color: var(--white);
}
.squad-sort-select {
  border: 1px solid var(--line-200);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.83rem;
  font-weight: 700;
  font-family: inherit;
  background: var(--white);
  color: var(--ink-800);
  cursor: pointer;
}
.squad-sort-select:focus {
  border-color: var(--green-600);
  outline: none;
}

.empty-state-box {
  grid-column: 1 / -1;
  background: var(--surface-soft);
  border: 1px dashed var(--line-200);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  color: var(--ink-600);
}

/* Interactive Match Card & Responsive Helpers */
.match-card[role="button"] {
  cursor: pointer;
}
.match-card[role="button"]:hover {
  border-color: var(--green-600);
}
.hub-panel-history {
  margin-bottom: 36px;
  padding: 32px;
}
.honours-strip.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.staff-lead-card.team-overview-lead {
  grid-template-columns: 1.1fr 0.9fr;
}

/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 145;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px rgba(4, 38, 18, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.18s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--green-900);
  transform: translateY(-2px);
}

/* Mobile Sticky Bottom Quick Bar */
.mobile-bottom-bar {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-team-wrap {
    order: -1;
  }
  .hero-team-img {
    max-width: min(560px, 94vw);
  }
  .recap-cluster {
    transform: none;
    margin-top: 10px;
  }
  .recap-meta {
    padding-bottom: 0;
  }
  .hero-section {
    margin-bottom: 24px;
  }
  .home-hub-grid,
  .about-grid,
  .match-standings-grid,
  .news-featured-card,
  .staff-lead-card,
  .staff-lead-card.team-overview-lead {
    grid-template-columns: 1fr;
  }
  .portal-cards-grid,
  .honours-strip,
  .honours-strip.cols-4,
  .squad-track,
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-cards-grid,
  .staff-grid,
  .merch-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .press-feed-grid {
    grid-template-columns: 1fr;
  }
  .squad-controls {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 68px;
  }
  .top-strip-right {
    display: none;
  }
  .hub-panel-history {
    padding: 20px;
  }
  .back-to-top {
    bottom: 78px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
  .nav-inner {
    height: 64px;
  }
  .brand-crest {
    width: 38px;
    height: 38px;
  }
  .hero-section {
    padding-top: 24px;
  }
  .recap-cluster {
    flex-direction: column;
    align-items: flex-start;
    background: rgba(4, 38, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 14px;
    border-radius: var(--radius-md);
  }
  .recap-thumb-card {
    width: 100%;
    height: 170px;
    box-shadow: none;
    border-radius: 8px;
  }
  .portal-cards-grid,
  .club-facts-mini,
  .news-cards-grid,
  .staff-grid,
  .staff-lead-stats,
  .board-grid,
  .merch-items,
  .junior-grid {
    grid-template-columns: 1fr;
  }
  .honours-strip,
  .honours-strip.cols-4,
  .squad-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .match-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
  .match-date-col {
    border-right: none;
    border-bottom: 1px solid var(--line-100);
    padding-right: 0;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .match-cta-col {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 6px;
    border-top: 1px solid var(--line-100);
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-200);
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mob-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--ink-600);
    padding: 4px 2px;
  }
  .mob-tab.active,
  .mob-tab:hover {
    color: var(--green-700);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
