/*
Theme Name: Manisa BBSK Modern
Theme URI: https://manisabbsk.com.tr
Author: Codex
Description: Modern, bold sports club theme with rich gradients and dynamic layouts.
Version: 1.0.0
Text Domain: manisa-bbsk-modern
*/

:root {
  --bg-ink: #0e141a;
  --bg-slate: #0f1c24;
  --bg-cream: #f5f1e8;
  --accent: #f05d23;
  --accent-4: #afc836;
  --accent-2: #ffd166;
  --accent-3: #1bb89a;
  --ink: #0f1b24;
  --muted: #6c7a86;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(10, 20, 30, 0.22);
  --shadow-sm: 0 14px 30px rgba(10, 20, 30, 0.08);
  --shadow-md: 0 20px 42px rgba(10, 20, 30, 0.14);
  --space-1: 10px;
  --space-2: 14px;
  --space-3: 18px;
  --space-4: 24px;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-lg: 20px;
  --text-xl: clamp(20px, 2vw, 28px);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --content-w: 1320px;
}

/*
 * Görsel Yok Fallback Sistemi
 * Bu site, görseli olmayan veya dosyası bulunamayan (404) çok sayıda içerik
 * barındırıyor. Her görsel kutusunun yanına bu fallback elemanlarından biri
 * eklenir; varsayılan olarak gizlidir, sadece görsel yoksa (.has-no-media /
 * .is-empty üst sınıfı) veya tarayıcıda yüklenemezse (onerror ile eklenen
 * img.is-broken) görünür olur. Gerçek görsel/logo yüklendiğinde otomatik
 * olarak devreden çıkar.
 */
.avatar-fallback,
.media-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

img.is-broken {
  display: none !important;
}

img.is-broken ~ .avatar-fallback,
img.is-broken ~ .media-fallback {
  display: flex;
}

.is-empty .avatar-fallback,
.is-empty .media-fallback,
.has-no-media .avatar-fallback,
.has-no-media .media-fallback {
  display: flex;
}

.avatar-fallback {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-3) 0%, var(--bg-slate) 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.media-fallback {
  background: linear-gradient(135deg, var(--bg-slate) 0%, var(--bg-ink) 100%);
  color: rgba(255, 255, 255, 0.85);
}

.media-fallback .ph,
.media-fallback .ph-fill {
  font-size: 2.4em;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #f4f4f0;
}

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

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

main {
  display: block;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100% - 32px, var(--content-w));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: static;
  z-index: 50;
  background: #f4f4f0;
  border-bottom: 1px solid #e1ddd6;
}

.header-top {
  background: #ffffff;
  border-bottom: 1px solid #e1ddd6;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 8px 0;
  font-size: 13px;
  color: #6f757b;
}

.top-nav {
  margin-left: 0;
  margin-right: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.top-nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.top-nav .menu-item-gtranslate {
  display: none;
}

.menu-item-gtranslate::before,
.menu-item-gtranslate::after,
.menu-item-gtranslate > a::before,
.menu-item-gtranslate > a::after {
  content: none !important;
}

.menu-item-gtranslate {
  list-style: none;
}

.menu-item-gtranslate::marker {
  content: '' !important;
}

.top-nav a {
  color: #6f757b;
}

.gt_switcher {
  position: relative;
  display: inline-block;
  line-height: 1.2;
  overflow: visible !important;
}

.header-top .gt_container,
.header-top [id^="gtranslate_menu_wrapper_"] {
  position: static !important;
  display: inline-block;
}

.gt_switcher .gt_selected a {
  background: #ffffff;
  border: 1px solid #dcd6cd;
  border-radius: 999px;
  padding: 6px 28px 6px 12px;
  color: #5f666d;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-nav-top .gt_switcher .gt_selected a {
  height: 32px;
  padding: 0 28px 0 12px;
  line-height: 32px;
}

.gt_container--y9e5ht .gt_switcher .gt_selected {
  width: 140px;
}

.gt_switcher .gt_option {
  position: absolute !important;
  left: auto !important;
  right: 0 !important;
  top: calc(100% + 12px) !important;
  bottom: auto !important;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 0;
  width: 240px !important;
  max-height: 260px;
  z-index: 80;
}

.gt_container--ycmavo .gt_switcher .gt_option {
  background: #eee;
}

.gt_container--yahrjk .gt_switcher .gt_option {
  background: #eee;
}

.social-nav-top .gt_switcher .gt_option {
  top: calc(100% + 8px) !important;
  width: 220px !important;
  max-height: 240px;
  overflow-y: auto;
  background: #ffffff;
}

.gt_switcher .gt_option a {
  padding: 10px 12px;
  color: #5f666d;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-nav-top .gt_switcher .gt_option a {
  padding: 10px 14px;
  font-size: 13px;
}

.social-nav-top .gt_switcher .gt_option a {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  justify-content: flex-start;
}

.gt_switcher .gt_option img {
  border-radius: 0 !important;
  background: transparent !important;
}

.gt_switcher .gt_option a:hover {
  background: #afc836;
  color: #1a1f1a;
}

.header-bottom {
  display: none;
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.social-nav-top li::before,
.social-nav-top li::after {
  content: none !important;
}

.social-nav > ul a {
  color: #5f666d;
  font-weight: 600;
  font-size: 13px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e1ddd6;
}

.gtranslate-hidden {
  display: none;
}

.social-nav a .ph {
  font-size: 16px;
}

.primary-nav-footer {
  display: none;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__toggle {
  list-style: none;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #dcd6cd;
  border-radius: 999px;
  padding: 0 28px 0 12px;
  color: #5f666d;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  line-height: 32px;
  white-space: nowrap;
}

.lang-switcher__toggle::-webkit-details-marker {
  display: none;
}

.lang-switcher__toggle::marker {
  content: "";
}

.lang-switcher__chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #5f666d;
  margin-left: 4px;
}

.lang-switcher__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #ffffff;
  margin-top: 6px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0;
  min-width: 220px;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 80;
}

.lang-switcher:not([open]) .lang-switcher__list {
  display: none;
}

.lang-switcher__list a {
  padding: 10px 14px;
  color: #5f666d;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  border: 0;
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
  justify-content: flex-start;
}

.lang-switcher__list a:hover {
  background: #afc836;
  color: #1a1f1a;
}

.lang-switcher[open] .lang-switcher__toggle {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.social-nav-top a {
  background: transparent;
  border: 0;
  color: #5f666d;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-nav-top a:hover,
.social-nav-top a:focus {
  background: rgba(15, 27, 36, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.social-nav-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 360px;
  flex: 0 0 auto;
}

.header-main {
  background: #f4f4f0;
  position: sticky;
  top: 0;
  z-index: 49;
  border-bottom: 1px solid #e1ddd6;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 0;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(15, 27, 36, 0.2);
  background: #ffffff;
  color: #1F2328;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  position: relative;
  z-index: 70;
  pointer-events: auto;
}

.menu-toggle-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #1F2328;
  box-shadow: 0 6px 0 #1F2328, 0 -6px 0 #1F2328;
  display: block;
}

.menu-toggle-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 27, 36, 0.2);
  background: #ffffff;
  color: #1F2328;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 65;
  pointer-events: auto;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #1F2328;
  border-radius: 2px;
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.menu-close-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.brand {
  margin-right: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
}

.brand .custom-logo {
  display: block;
  width: 52px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 18px;
}

.brand-text span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f757b;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.primary-nav li {
  position: relative;
}

.primary-nav ul ul {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0;
  display: none;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 40;
}

.primary-nav .menu-item-branch-root > .sub-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 0;
  min-width: min(720px, 90vw);
  padding: 10px;
  left: -120px;
}

.primary-nav .menu-item-branch-root > .sub-menu > li > a {
  padding-right: 18px;
}


.primary-nav ul ul ul {
  top: 0;
  left: calc(100% + 12px);
}

.primary-nav ul ul a {
  padding: 16px 30px 16px 14px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.primary-nav ul ul li:first-child > a {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.primary-nav ul ul li:last-child > a {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.primary-nav ul ul a:hover {
  background: #afc836;
  color: #1a1f1a;
  border-radius: 10px;
}

.primary-nav ul.sub-menu > li > a::after {
  display: none;
  content: "\e06c";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  font-size: 14px;
  line-height: 1;
  font-family: "Phosphor";
  font-weight: 400;
  pointer-events: none;
}

.primary-nav ul.sub-menu > li > a:hover::after {
  display: block;
}

.primary-nav li.is-open > ul {
  display: grid;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav a {
  padding: 8px 14px;
  position: relative;
  color: #5f666d;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.primary-nav a::after {
  display: none;
}

.primary-nav .menu-item-has-children > a::after {
  content: "\e136";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  font-size: 14px;
  line-height: 1;
  font-family: "Phosphor";
  font-weight: 400;
  display: inline-block;
}

.primary-nav .menu-item-has-children > a {
  padding-right: 28px;
}

.primary-nav li.is-open > a {
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.primary-nav li > a:hover {
  background: #afc836;
  color: #1a1f1a;
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.header-search input {
  width: min(240px, 40vw);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d7dbe0;
  background: var(--white);
  font-size: 14px;
}

.header-search input:focus {
  outline: 2px solid rgba(13, 92, 198, 0.2);
  border-color: rgba(13, 92, 198, 0.4);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(240, 93, 35, 0.3);
}

.button-ghost {
  background: transparent;
  border: 1px solid rgba(15, 27, 36, 0.18);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
}

.hero {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.page-hero {
  background: linear-gradient(115deg, #1F2328 0%, #0f1c24 45%, #afc836 120%);
  color: #ffffff;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(175, 200, 54, 0.2), transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-text {
  max-width: none;
  width: 100%;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-title {
  margin: 12px 0 10px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
}

.page-hero-teams {
  margin: 14px 0 8px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
}

.page-hero-center {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.page-hero-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  line-height: 1.4;
}

.page-hero-team {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero-team--away {
  justify-content: flex-end;
  flex-direction: row-reverse;
  text-align: right;
  justify-self: end;
}

.page-hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.page-hero-score {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero-logo-card {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(11, 60, 64, 0.12);
  overflow: hidden;
}

.page-hero-logo-card .media-fallback {
  border-radius: 20px;
}

.page-hero-logo-card .media-fallback .ph,
.page-hero-logo-card .media-fallback .ph-fill {
  font-size: 36px;
}


.page-hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.match-detail-content {
  color: var(--ink);
  line-height: 1.7;
}

.match-summary-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 60, 64, 0.08);
  box-shadow: 0 12px 24px rgba(11, 60, 64, 0.06);
  padding: 28px;
}

.match-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.match-detail-main,
.match-detail-aside {
  display: grid;
  gap: 20px;
}

.match-detail-title {
  margin: 0 0 16px;
  font-size: 18px;
  color: #1F2328;
}

.match-detail-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.match-detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(11, 60, 64, 0.12);
}

.match-detail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.match-detail-item dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.match-detail-item dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

@media (max-width: 900px) {
  .match-detail-grid {
    grid-template-columns: 1fr;
  }
}

.match-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.match-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 60, 64, 0.08);
  box-shadow: 0 12px 24px rgba(11, 60, 64, 0.06);
  padding: 22px 24px;
}

.match-info-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #1F2328;
}

.match-info-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.match-summary-card + .match-summary-card {
  margin-top: 20px;
}


.match-summary-title {
  margin: 0 0 14px;
  font-size: 20px;
  color: #1F2328;
}

.match-summary-content {
  color: var(--ink);
  line-height: 1.7;
}

.match-summary-empty {
  margin: 0;
  color: var(--muted);
}

.match-video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.match-video-embed iframe,
.match-video-embed embed,
.match-video-embed object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.match-detail-body .match-detail-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 60, 64, 0.08);
  box-shadow: 0 12px 24px rgba(11, 60, 64, 0.06);
  padding: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-slider {
  position: relative;
  min-height: 280px;
  background: #0b1116;
  color: var(--white);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 702;
  max-height: 702px;
  display: block;
  line-height: 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  background-color: #0b1116;
}

.hero-slide.is-active {
  opacity: 1;
  animation: none;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
}

.hero-slider h3 {
  margin: 0;
  font-size: 22px;
}

.hero-slider ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.hero-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  background: #afc836;
  border-color: #afc836;
  transform: scale(1.2);
}

.hero h1 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(36px, 4vw, 60px);
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0 0 28px;
}

.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.hero .button-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}


.hero-card {
  background: var(--bg-ink);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.22), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(240, 93, 35, 0.2), transparent 50%);
  opacity: 0.8;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-card h3 {
  font-size: 22px;
  margin-top: 0;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}



.section {
  padding: 80px 0 0;
}

.section:last-of-type {
  padding-bottom: 80px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 8px;
}

.section-header h2 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #1e3d2c;
  position: relative;
}

.team-hero h1 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.team-hero {
  background: linear-gradient(180deg, #f8f9f6 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(11, 60, 64, 0.08);
  padding-bottom: 48px;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.team-hero-main {
  display: grid;
  gap: 20px;
}

.team-hero-image {
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: none;
  justify-self: end;
  background: #ffffff;
  display: block;
  border: 2px solid rgba(11, 60, 64, 0.2);
  padding: 16px;
  box-sizing: border-box;
}

.team-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.team-detail-card {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.team-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 18px;
  padding: 12px 6px;
}

.team-info-item {
  display: grid;
  gap: 6px;
  padding: 14px 10px;
  border-bottom: 1px dashed rgba(11, 60, 64, 0.12);
}

.team-hero .entry {
  max-width: 760px;
  color: #3b4045;
}

.team-info-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.team-info-value {
  font-weight: 700;
  color: var(--ink);
}

.team-section h2 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
}

.team-about {
  padding-top: 40px;
}

.team-about-title {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: #1F2328;
}

.team-about-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 60, 64, 0.08);
  box-shadow: 0 12px 24px rgba(11, 60, 64, 0.06);
  padding: 28px;
}

@media (max-width: 980px) {
  .team-hero-grid {
    grid-template-columns: 1fr;
  }
}

.board-entry {
  max-width: 960px;
  margin: 0 auto 36px;
  padding: 28px 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f8f7f2 100%);
  border: 1px solid rgba(15, 27, 36, 0.08);
  box-shadow: 0 18px 40px rgba(15, 27, 36, 0.08);
  color: var(--ink);
}

.board-chart {
  overflow-x: auto;
  padding: 10px 0 14px;
}

.board-level {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 28px;
  position: relative;
}

.board-level--root {
  flex-wrap: wrap;
  align-items: flex-start;
}

.board-level--child {
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  max-width: 1080px;
}

.board-node {
  position: relative;
  padding-top: 26px;
  min-width: 240px;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.board-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 26px;
  background: rgba(175, 200, 54, 0.7);
  transform: translateX(-50%);
}

.board-node > .board-level {
  margin-top: 24px;
}

.board-card {
  border-radius: 24px;
  padding: 20px 18px 18px;
  text-align: center;
  display: grid;
  gap: 8px;
  color: inherit;
  min-width: 240px;
  border: 1px solid rgba(15, 27, 36, 0.08);
  box-shadow: 0 16px 34px rgba(15, 27, 36, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15, 27, 36, 0.12);
}

.board-card--root {
  background: linear-gradient(145deg, #1f2328 0%, #233640 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(15, 27, 36, 0.2);
}

.board-card--child {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9f7 100%);
  color: #1f2328;
}

.board-photo img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 5px solid rgba(175, 200, 54, 0.95);
  background: #ffffff;
  box-sizing: border-box;
}

.board-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 5px solid rgba(175, 200, 54, 0.95);
  background: #ffffff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.board-photo .avatar-fallback {
  font-size: 28px;
}

.board-name {
  font-size: 18px;
  font-weight: 700;
  color: inherit;
  line-height: 1.25;
}

.board-role {
  font-size: 12px;
  color: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.board-card--child .board-name {
  color: #1f2328;
}

.board-card--child .board-role {
  color: #5f666d;
  opacity: 1;
}

.board-level--child.is-multi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 120px;
  right: 120px;
  height: 2px;
  background: rgba(175, 200, 54, 0.7);
}

.board-level--child.is-single::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 2px;
  background: rgba(175, 200, 54, 0.7);
  transform: translateX(-50%);
}

@media (max-width: 800px) {
  .board-entry {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .board-level {
    flex-direction: column;
    align-items: center;
  }

  .board-node {
    padding-top: 16px;
    min-width: min(100%, 280px);
  }

  .board-node::before {
    height: 16px;
  }

  .board-level--child::before {
    left: 50%;
    right: auto;
    width: 2px;
    height: 16px;
  }

  .board-level--child.is-single::before,
  .board-level--child.is-multi::before {
    left: 50%;
    width: 2px;
    height: 16px;
    transform: none;
  }

  .board-card {
    min-width: min(100%, 280px);
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-grid .team-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(11, 60, 64, 0.12);
  padding: 14px;
  box-shadow: 0 10px 22px rgba(15, 27, 36, 0.06);
  display: grid;
  gap: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-grid .team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 27, 36, 0.12);
}

.player-photo,
.staff-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f4f0;
}

.player-photo img,
.staff-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.player-photo .avatar-fallback,
.staff-photo .avatar-fallback {
  border-radius: 0;
  font-size: 26px;
}

.player-number {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #afc836;
  color: #1F2328;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  font-size: 12px;
}

.player-name {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.staff-role {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.team-grid .team-card h3 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
}

.team-grid .team-card p {
  margin: 0;
  color: #6f757b;
  line-height: 1.45;
  font-size: 13px;
}

.team-matches {
  display: grid;
  gap: 20px;
}

.match-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.match-card h3 {
  margin: 0;
}

.match-header {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.match-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-opponent {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  font-weight: 700;
}

.match-opponent-name,
.match-team-name {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.match-team {
  display: grid;
  gap: 8px;
  justify-items: center;
  font-weight: 700;
  text-align: center;
}

.match-team-left {
  order: -1;
}

.match-team-right {
  order: 1;
}

.match-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain;
  background: #f6f6f6;
  padding: 6px;
}

.match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

.match-center {
  text-align: center;
  display: grid;
  gap: 6px;
}

.match-title-center {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.match-date {
  font-weight: 700;
  font-size: 18px;
}

.match-score-top {
  text-align: center;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.06em;
}

.match-venue {
  color: var(--muted);
  font-weight: 600;
}

.match-link {
  width: fit-content;
}

.match-video-button {
  position: relative;
  padding-left: 46px;
}

.match-video-button::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--white);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.branch-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.branch-slider {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.branch-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  cursor: grab;
  touch-action: pan-y;
}

.branch-viewport::-webkit-scrollbar {
  display: none;
}

.branch-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.branch-track {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.branch-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: calc((100% - 72px) / 4);
  scroll-snap-align: start;
}

.branch-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d7dbe0;
  background: var(--white);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.branch-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.branch-prev::before {
  border-right: 8px solid #5f666d;
}

.branch-next::before {
  border-left: 8px solid #5f666d;
}

.branch-prev {
  left: -56px;
}

.branch-next {
  right: -56px;
}

.branch-card {
  background: #0f1c24;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 12px 24px rgba(15, 27, 36, 0.08);
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.branch-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.branch-card-media {
  position: absolute;
  inset: 0;
}

.branch-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 20, 0) 35%, rgba(10, 16, 20, 0.72) 70%, rgba(10, 16, 20, 0.9) 100%);
}

.branch-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.branch-card-media .media-fallback .ph,
.branch-card-media .media-fallback .ph-fill {
  font-size: 64px;
}

.branch-card-body {
  position: relative;
  z-index: 1;
  padding: 22px 22px 26px;
  display: grid;
  gap: 10px;
  min-height: 320px;
  align-content: end;
}

.branch-card-title {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

.branch-card-title a {
  color: inherit;
}

.branch-card-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.sport-school-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.sport-school-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  background: linear-gradient(140deg, #ffffff 0%, #f7f9f7 100%);
  border: 1px solid rgba(11, 60, 64, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(15, 27, 36, 0.08);
  overflow: hidden;
  min-height: 280px;
}

.sport-school-card--list {
  display: block;
  min-height: 0;
}

.sport-school-card__media {
  position: relative;
  min-height: 100%;
  background: linear-gradient(145deg, #0f1c24 0%, #25363e 100%);
}

.sport-school-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sport-school-card__media .media-fallback {
  display: flex;
}

.sport-school-card__media .media-fallback .ph {
  font-size: 64px;
}

.sport-school-card__body {
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.sport-school-card--list .sport-school-card__body {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: end;
}

.sport-school-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sport-school-card__period {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(175, 200, 54, 0.14);
  color: #586d12;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sport-school-card__branch {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 27, 36, 0.06);
  color: #3d4b54;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sport-school-card__title {
  margin: 0;
  color: #1f2328;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
}

.sport-school-card--list .sport-school-card__meta,
.sport-school-card--list .sport-school-card__title,
.sport-school-card--list .sport-school-card__excerpt {
  grid-column: 1;
}

.sport-school-card__excerpt {
  margin: 0;
  color: #5f666d;
  line-height: 1.75;
  max-width: 820px;
}

.sport-school-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.sport-school-card--list .sport-school-card__actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  justify-content: flex-end;
  margin-top: 0;
}

.sport-school-card__actions .button-primary {
  background: var(--accent-4);
  color: #1f2328;
  box-shadow: 0 10px 24px rgba(175, 200, 54, 0.28);
}

.sport-school-card__actions .button-primary:hover,
.sport-school-card__actions .button-primary:focus {
  filter: brightness(0.98);
  box-shadow: 0 14px 28px rgba(175, 200, 54, 0.34);
}

.sport-school-detail {
  display: grid;
  gap: 28px;
}

.sport-school-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.sport-school-detail__top--compact {
  grid-template-columns: 1fr;
}

.sport-school-detail__content {
  max-width: none;
}

.sport-school-detail__aside {
  min-width: 0;
}

.sport-school-detail__top--compact .sport-school-detail__aside {
  max-width: none;
}

.sport-school-detail__card,
.sport-school-detail__viewer-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9f7 100%);
  border: 1px solid rgba(15, 27, 36, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 27, 36, 0.08);
}

.sport-school-detail__card {
  padding: 22px 24px;
}

.sport-school-detail__top--compact .sport-school-detail__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: end;
}

.sport-school-detail__card-title,
.sport-school-detail__viewer-title {
  margin: 0;
  color: #1f2328;
  font-size: clamp(22px, 2vw, 28px);
}

.sport-school-detail__card-title {
  margin-bottom: 0;
}

.sport-school-detail__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sport-school-detail__top--compact .sport-school-detail__card-title {
  grid-column: 1 / -1;
}

.sport-school-detail__top--compact .sport-school-detail__meta {
  margin: 0;
}

.sport-school-detail__meta-item {
  display: grid;
  gap: 6px;
  padding: 14px 0 16px;
  border-bottom: 1px solid rgba(15, 27, 36, 0.08);
}

.sport-school-detail__meta-item:last-child,
.sport-school-detail__meta-item:nth-last-child(2):nth-child(odd) {
  padding-bottom: 0;
  border-bottom: 0;
}

.sport-school-detail__meta-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sport-school-detail__meta-item strong,
.sport-school-detail__meta-item a {
  color: #1f2328;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.sport-school-detail__actions {
  margin-top: 0;
}

.sport-school-detail__actions .button {
  min-width: 168px;
  justify-content: center;
}

.sport-school-detail__top--compact .sport-school-detail__actions {
  justify-content: flex-end;
  align-self: end;
  grid-column: 2;
  grid-row: 2;
}

.sport-school-detail__viewer-head {
  padding: 24px 24px 0;
}

.sport-school-detail__viewer {
  padding: 20px 24px 24px;
}

.sport-school-detail__viewer iframe {
  display: block;
  width: 100%;
  min-height: 960px;
  border: 0;
  border-radius: 20px;
  background: #eef1f4;
}

.sport-school-detail__empty {
  max-width: none;
  margin: 20px 24px 24px;
}

.matches-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
  overflow: visible;
}

.match-schedule {
  background: #afc836;
  padding-bottom: 80px;
}

.match-schedule-inner {
  display: grid;
  gap: 24px;
}

.match-schedule-panel {
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.match-schedule-title {
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
}

.match-schedule-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 60, 64, 0.15);
  box-shadow: 0 10px 20px rgba(15, 27, 36, 0.1);
}

.match-schedule-tab-button {
  border: 1px solid transparent;
  background: transparent;
  color: #1F2328;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.match-schedule-tab-button:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 60, 64, 0.2);
}

.match-schedule-tab-button.is-active {
  background: #1F2328;
  color: #ffffff;
  border-color: #1F2328;
  box-shadow: 0 10px 20px rgba(15, 27, 36, 0.18);
}

.matches-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.matches-sidebar {
  position: sticky;
  top: 24px;
  background: #f4f4f0;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(11, 60, 64, 0.12);
  box-shadow: 0 12px 24px rgba(11, 60, 64, 0.06);
}

.matches-sidebar-title {
  margin: 0 0 16px;
  font-size: 18px;
  color: #1F2328;
}

.matches-filter {
  display: grid;
  gap: 12px;
}

.match-filter-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f4f0;
  border: 1px solid rgba(11, 60, 64, 0.16);
  color: #1F2328;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.match-filter-item:hover {
  border-color: #afc836;
  box-shadow: 0 10px 18px rgba(11, 60, 64, 0.12);
  transform: translateY(-2px);
}

.match-filter-item.is-active {
  background: #afc836;
  border-color: #afc836;
  box-shadow: 0 10px 24px rgba(175, 200, 54, 0.3);
}

.match-filter-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.match-filter-name {
  font-weight: 700;
}

.matches-list {
  margin-top: 24px;
}

.matches-list--list {
  display: grid;
  gap: 12px;
}

.match-list-title {
  margin: 0;
  font-size: 18px;
}

.match-list-team {
  font-weight: 700;
}

.match-list-opponent {
  color: var(--muted);
  font-weight: 600;
}

.match-list-score {
  font-weight: 700;
  color: #1F2328;
}

.match-list-row {
  background: #f4f4f0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 60, 64, 0.12);
  box-shadow: 0 12px 24px rgba(11, 60, 64, 0.08);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 220px) minmax(140px, 1fr);
  gap: 16px;
  align-items: center;
}

.match-list-details {
  display: grid;
  gap: 6px;
  text-align: center;
  justify-items: center;
}

.match-list-details .match-date,
.match-list-details .match-venue {
  color: var(--muted);
}

.match-list-team {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-list-team--home {
  text-align: left;
}

.match-list-team--away {
  text-align: right;
  justify-content: flex-end;
  flex-direction: row-reverse;
  justify-self: end;
}

.match-list-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .matches-layout {
    grid-template-columns: 1fr;
  }

  .matches-sidebar {
    position: static;
  }

  .match-filter-item {
    grid-template-columns: 36px 1fr;
  }

  .match-filter-logo {
    width: 36px;
    height: 36px;
  }

  .match-list-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .match-list-details {
    text-align: left;
  }

  .match-list-team--away {
    text-align: right;
    justify-self: start;
  }

  .branch-slider {
    grid-template-columns: 1fr;
  }

  .branch-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .branch-nav {
    display: none;
  }
}


.match-schedule-content {
  z-index: 1;
  display: grid;
  gap: 20px;
}

.match-schedule-tab {
  display: none;
}

.match-schedule-tab.is-active {
  display: block;
}

.match-schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
}

.match-schedule-column {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(11, 60, 64, 0.14);
  box-shadow: 0 14px 28px rgba(15, 27, 36, 0.1);
  display: grid;
  gap: 12px;
}

.match-schedule-subtitle {
  margin: 0;
  font-size: 18px;
  color: #1F2328;
}

.match-schedule-list,
.match-standings {
  display: grid;
  gap: 12px;
}

.match-schedule-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(11, 60, 64, 0.12);
  box-shadow: 0 10px 22px rgba(15, 27, 36, 0.08);
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.match-schedule-empty {
  margin: 0;
  border: 1px dashed rgba(11, 60, 64, 0.3);
  color: #5f666d;
  font-weight: 600;
}

/* Sezon Yöneticisi - canlı fikstür kartları */
.bbsk-fx-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bbsk-fx-stage {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--accent);
  background: rgba(240, 93, 35, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-block;
}

.bbsk-fx-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.bbsk-fx-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.bbsk-fx-team {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.bbsk-fx-vs {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.bbsk-fx-score {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(240, 93, 35, 0.1);
}

.bbsk-fx-venue {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.bbsk-fx-card.is-played .bbsk-fx-team {
  color: #1F2328;
}

.bbsk-standings-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

/* Sezon Yöneticisi - canlı puan durumu tablosu */
.match-standings {
  overflow-x: auto;
}

.bbsk-standings-mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.bbsk-standings-mini th,
.bbsk-standings-mini td {
  padding: 7px 3px;
  text-align: center;
  white-space: nowrap;
}

.bbsk-standings-mini th {
  color: var(--muted);
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(11, 60, 64, 0.14);
}

.bbsk-standings-mini td {
  border-bottom: 1px solid rgba(11, 60, 64, 0.08);
  color: var(--ink);
}

.bbsk-standings-mini .bbsk-standings-team {
  text-align: left;
  font-weight: 700;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

.bbsk-standings-mini .bbsk-standings-pts {
  font-weight: 800;
  color: var(--accent);
}

.bbsk-standings-mini tr.bbsk-first td {
  background: rgba(255, 209, 102, 0.18);
}

@media (max-width: 480px) {
  .bbsk-standings-mini .bbsk-standings-team {
    max-width: 64px;
  }
}

@media (max-width: 900px) {
  .match-schedule-panel {
    align-items: flex-start;
  }

  .match-schedule-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .match-schedule-grid {
    grid-template-columns: 1fr;
  }

  .branch-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Minimal homepage match schedule */
.match-schedule {
  background: #f4f4f0;
  padding: 34px 0 46px;
}

.match-schedule-inner {
  gap: 14px;
}

.match-schedule-panel {
  align-items: flex-end;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 27, 36, 0.1);
}

.match-schedule-title {
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
}

.match-schedule-tabs {
  max-width: 100%;
  padding: 0;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.match-schedule-tab-button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(15, 27, 36, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.match-schedule-tab-button .ph,
.match-schedule-tab-button .ph-fill {
  font-size: 16px;
}

.match-schedule-tab-button:hover {
  transform: none;
  border-color: rgba(175, 200, 54, 0.75);
}

.match-schedule-tab-button.is-active {
  background: var(--bg-slate);
  color: #ffffff;
  border-color: var(--bg-slate);
  box-shadow: none;
}

.match-schedule-content {
  gap: 0;
}

.match-schedule-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.match-schedule-column {
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(15, 27, 36, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.match-schedule-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.match-schedule-subtitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(15, 27, 36, 0.1);
}

.match-schedule-list,
.match-standings {
  gap: 8px;
}

.match-schedule-card {
  gap: 8px;
  padding: 10px 12px;
  border-color: rgba(15, 27, 36, 0.1);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.bbsk-fx-card {
  display: grid;
  grid-template-columns: minmax(70px, 90px) minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 10px;
}

.bbsk-fx-stage {
  grid-column: 1 / -1;
  width: fit-content;
  margin-bottom: -2px;
  padding: 3px 7px;
  background: rgba(175, 200, 54, 0.16);
  color: var(--bg-slate);
  font-size: 10px;
  letter-spacing: 0;
}

.bbsk-fx-date,
.bbsk-fx-venue {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.bbsk-fx-teams {
  justify-content: space-between;
  min-width: 0;
  gap: 8px;
}

.bbsk-fx-team {
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbsk-fx-team:last-child {
  text-align: right;
}

.bbsk-fx-vs,
.bbsk-fx-score {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(175, 200, 54, 0.22);
  color: var(--bg-slate);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.match-standings {
  display: block;
  overflow-x: auto;
  border: 1px solid rgba(15, 27, 36, 0.1);
  border-radius: 10px;
  background: #ffffff;
}

.bbsk-standings-group-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.bbsk-standings-mini {
  min-width: 520px;
  font-size: 11px;
}

.bbsk-standings-mini th,
.bbsk-standings-mini td {
  padding: 8px 7px;
}

.bbsk-standings-mini th {
  background: rgba(15, 27, 36, 0.035);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}

.bbsk-standings-mini td {
  color: var(--ink);
}

.bbsk-standings-mini .bbsk-standings-team {
  max-width: 150px;
  font-weight: 700;
}

.bbsk-standings-mini .bbsk-standings-pts {
  color: var(--bg-slate);
  font-weight: 900;
}

.bbsk-standings-mini tr.bbsk-first td {
  background: rgba(175, 200, 54, 0.16);
}

@media (max-width: 900px) {
  .match-schedule-grid {
    grid-template-columns: 1fr;
  }

  .match-schedule-panel {
    align-items: flex-start;
  }

  .match-schedule-tabs {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .match-schedule {
    padding: 28px 0 38px;
  }

  .match-schedule-tab-button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .bbsk-fx-card {
    grid-template-columns: 1fr;
  }

  .bbsk-fx-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

/* Homepage match center redesign */
.match-schedule {
  position: relative;
  overflow: hidden;
  background: #111923;
  padding: 58px 0 70px;
  isolation: isolate;
}

.match-schedule::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 48%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.match-schedule-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.match-schedule-panel {
  align-items: stretch;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  padding: 22px;
  border: 0;
  border-radius: 22px;
  background: #ffffff;
  color: #1F2328;
  box-shadow: 0 24px 54px rgba(15, 27, 36, 0.18);
}

.match-schedule-heading {
  display: grid;
  gap: 8px;
}

.match-schedule-kicker {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(175, 200, 54, 0.16);
  color: #6f861b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.match-schedule-title {
  color: #1F2328 !important;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.match-schedule-tabs {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.match-schedule-tab-button {
  width: 100%;
  min-height: 46px;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #f3f5f6;
  color: #44505a;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.match-schedule-tab-button:hover {
  transform: none;
  background: #ecefe8;
}

.match-schedule-tab-button.is-active {
  border-color: #afc836;
  background: #afc836;
  color: #0f1c24;
  box-shadow: none;
}

.match-schedule-content {
  min-width: 0;
  display: block;
  grid-column: span 2;
}

.match-schedule-grid {
  min-height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.match-schedule-column {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15, 27, 36, 0.08);
}

.match-schedule-column--fixtures {
  background: #ffffff;
}

.match-schedule-column--standings {
  background: #ffffff;
  color: #1F2328;
}

.match-schedule-subtitle {
  margin: 0;
  color: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.match-schedule-column--standings .match-schedule-subtitle {
  color: #1F2328;
}

.match-schedule-subtitle::after {
  display: none;
}

.match-schedule-list {
  display: grid;
  gap: 10px;
}

.match-schedule-more {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.match-schedule-more--light {
  border-color: rgba(15, 27, 36, 0.14);
  color: #1F2328;
}

.match-schedule-more--light:hover,
.match-schedule-more--light:focus {
  background: rgba(15, 27, 36, 0.05);
  color: #1F2328;
}

.match-schedule-card {
  box-shadow: none;
}

.bbsk-fx-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  align-items: center;
  padding: 12px 14px 12px 16px;
  border: 0;
  border-radius: 14px;
  background: #f8f9fa;
}

.bbsk-fx-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: rgba(15, 27, 36, 0.14);
}

.bbsk-fx-card.is-win::before {
  background: #1bb89a;
}

.bbsk-fx-card.is-loss::before {
  background: #e45a4f;
}

.bbsk-fx-card.is-upcoming::before {
  background: rgba(15, 27, 36, 0.14);
}

.bbsk-fx-card.is-draw::before {
  background: var(--accent);
}

.bbsk-fx-date,
.bbsk-fx-venue,
.bbsk-fx-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}

.bbsk-fx-meta {
  padding-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbsk-fx-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  justify-content: stretch;
  min-width: 0;
}

.bbsk-fx-team {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bbsk-fx-team:last-child {
  text-align: right;
}

.bbsk-fx-vs,
.bbsk-fx-score {
  min-width: 38px;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  background: #7a838c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.bbsk-fx-card.is-win .bbsk-fx-score {
  background: var(--accent-4);
  color: var(--ink);
}

.bbsk-fx-card.is-loss .bbsk-fx-score {
  background: #e45a4f;
  color: #ffffff;
}

.bbsk-fx-card.is-draw .bbsk-fx-score {
  background: var(--accent);
  color: #ffffff;
}

.bbsk-fx-stage {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(15, 27, 36, 0.07);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.match-standings {
  display: block;
  overflow: auto;
  min-height: 436px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.bbsk-standings-group-title {
  margin: 0;
  padding: 0 0 8px;
  color: #66717b;
  font-size: 11px;
  font-weight: 800;
}

.bbsk-standings-mini {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  color: #1F2328;
  table-layout: fixed;
  font-size: 12px;
}

.bbsk-standings-mini th,
.bbsk-standings-mini td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(15, 27, 36, 0.05);
  text-align: center;
  white-space: nowrap;
}

.bbsk-standings-mini th:first-child,
.bbsk-standings-mini td:first-child {
  width: 44px;
}

.bbsk-standings-mini th:last-child,
.bbsk-standings-mini td:last-child {
  width: 64px;
}

.bbsk-standings-mini th {
  background: transparent;
  color: #6d7680;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.bbsk-standings-mini td {
  color: #48525c;
}

.bbsk-standings-mini .bbsk-standings-team {
  max-width: none;
  overflow: hidden;
  color: #1F2328;
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
}

.bbsk-standings-mini .bbsk-standings-pts {
  color: #afc836;
  font-weight: 900;
}

.bbsk-standings-mini tr.bbsk-first td {
  background: transparent;
}

.bbsk-standings-mini tr.bbsk-selected-team td {
  background: rgba(175, 200, 54, 0.1);
  color: #1F2328;
}

.bbsk-standings-mini tr.bbsk-selected-team .bbsk-standings-team {
  color: #1F2328;
}

.bbsk-standings-mini tr.bbsk-selected-team .bbsk-standings-pts {
  color: #afc836;
}

@media (max-width: 980px) {
  .match-schedule-inner,
  .match-schedule-grid {
    grid-template-columns: 1fr;
  }

  .match-schedule-content {
    grid-column: auto;
  }

  .match-schedule-panel {
    gap: 16px;
  }

  .match-schedule-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .match-schedule {
    padding: 38px 0 48px;
  }

  .match-schedule-panel,
  .match-schedule-column {
    border-radius: 18px;
  }

  .match-schedule-tabs {
    grid-template-columns: 1fr;
  }

  .bbsk-fx-card {
    grid-template-columns: 1fr;
  }

  .bbsk-fx-teams {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

.team-season-stack {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.team-season-card {
  overflow: hidden;
  border: 1px solid rgba(15, 27, 36, 0.12);
  border-radius: var(--radius-lg);
  background: #f4f4f0;
  box-shadow: 0 18px 40px rgba(15, 27, 36, 0.1);
}

.team-season-card--link {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.team-season-card--link:hover {
  transform: translateY(-2px);
  border-color: rgba(175, 200, 54, 0.65);
  box-shadow: 0 22px 46px rgba(15, 27, 36, 0.15);
}

.team-season-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.team-season-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: #0f1c24;
  color: #ffffff;
}

.team-season-header h3 {
  margin: 8px 0 4px;
  color: #ffffff;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
}

.team-season-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.team-season-status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.team-season-status--active {
  background: #afc836;
  color: #0f1c24;
}

.team-season-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.team-previous-seasons {
  margin-top: 34px;
}

.team-previous-seasons h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.team-previous-season-list {
  display: grid;
  gap: 10px;
}

.team-previous-season {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(15, 27, 36, 0.1);
  border-radius: 12px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.team-previous-season:hover {
  transform: translateY(-1px);
  border-color: rgba(175, 200, 54, 0.7);
}

.team-previous-season h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.15;
}

.team-previous-season p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.team-previous-season em {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(27, 184, 154, 0.12);
  color: var(--bg-slate);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

/* ── Season Detail Page ──────────────────────────────────────── */

.season-detail-hero .team-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.season-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-3);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.season-back-link:hover {
  color: var(--ink);
}

.season-detail-section {
  padding-top: var(--space-4);
}

.season-detail-section + .season-detail-section {
  padding-top: var(--space-3);
}

.season-detail-hero .team-detail-card {
  max-width: 860px;
}

.season-detail-tabs {
  display: grid;
  gap: var(--space-3);
}

/* Card base — white surface for all content cards */
.season-detail-card {
  padding: var(--space-4);
  border: 1px solid rgba(15, 27, 36, 0.08);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* Card header */
.season-detail-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(15, 27, 36, 0.08);
}

.season-detail-card-head span {
  color: #6d7680;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.season-detail-card-head strong {
  color: var(--ink);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

/* Group standings layout */
.bbsk-week-tabs,
.bbsk-playoff-list,
.bbsk-standing-groups {
  display: grid;
  gap: var(--space-3);
}

.season-detail-card--standings .bbsk-standing-groups {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.season-detail-card--standings .bbsk-standing-groups--full {
  grid-template-columns: 1fr;
}

.season-detail-card--standings .bbsk-standing-group {
  overflow: hidden;
  padding: var(--space-3);
  border: 1px solid rgba(15, 27, 36, 0.08);
  border-radius: var(--radius-md);
  background: rgba(15, 27, 36, 0.02);
}

.season-detail-card--standings .bbsk-standing-group h3 {
  color: var(--ink);
}

.season-detail-card .match-schedule-list {
  display: grid;
  gap: 12px;
}

.bbsk-standings-table-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 27, 36, 0.24) transparent;
}

/* Full standings table inside dark standings card */
.season-detail-card--standings .bbsk-standings-mini {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 13px;
}

.season-detail-card--standings .bbsk-standings-full {
  min-width: 920px;
}

.season-detail-card--standings .bbsk-standings-mini th,
.season-detail-card--standings .bbsk-standings-mini td {
  padding: 10px 12px;
}

.season-detail-card--standings .bbsk-standings-mini th {
  background: rgba(175, 200, 54, 0.14);
  color: var(--ink);
  border-bottom-color: rgba(15, 27, 36, 0.1);
  font-size: 11px;
}

.season-detail-card--standings .bbsk-standings-mini td {
  color: var(--ink);
  border-bottom-color: rgba(15, 27, 36, 0.06);
}

.season-detail-card--standings .bbsk-standings-mini tr:last-child td {
  border-bottom: 0;
}

.season-detail-card--standings .bbsk-standings-mini .bbsk-standings-team {
  max-width: none;
  min-width: 220px;
  color: var(--ink);
  font-weight: 800;
}

.season-detail-card--standings .bbsk-standings-mini .bbsk-standings-pts {
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.season-detail-card--standings .bbsk-standings-mini tr.bbsk-selected-team td {
  background: var(--accent-4);
  color: var(--ink);
  font-weight: 800;
}

.season-detail-card--standings .bbsk-standings-mini tr.bbsk-selected-team .bbsk-standings-pts {
  color: var(--ink);
}

/* Tab buttons — standings context overrides */
.season-detail-card--standings .bbsk-week-tab-button {
  border-color: rgba(15, 27, 36, 0.12);
  background: #ffffff;
  color: var(--ink);
}

.season-detail-card--standings .bbsk-week-tab-button:hover {
  border-color: var(--accent-4);
  background: rgba(175, 200, 54, 0.12);
  color: var(--ink);
}

.season-detail-card--standings .bbsk-week-tab-button.is-active {
  border-color: var(--accent-4);
  background: var(--accent-4);
  color: var(--ink);
}

/* Strip sub-card wrapper when tab panels are inside standings */
.season-detail-card--standings .bbsk-week-tabs .bbsk-standing-group {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Tab scroll bar */
.bbsk-week-tab-scroll {
  display: flex;
  gap: var(--space-1);
  overflow-x: auto;
  padding: 4px 2px var(--space-2);
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.bbsk-week-tab-scroll::-webkit-scrollbar {
  display: none;
}

/* Tab buttons — default light context */
.bbsk-week-tab-button {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 8px 14px;
  border: 1px solid rgba(15, 27, 36, 0.12);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.bbsk-week-tab-button:hover {
  border-color: var(--accent-4);
  background: rgba(175, 200, 54, 0.08);
}

.bbsk-week-tab-button.is-active {
  border-color: var(--accent-4);
  background: var(--accent-4);
  color: var(--ink);
  font-weight: 800;
}

/* Week panels */
.bbsk-week-panels {
  position: relative;
  min-width: 0;
}

.bbsk-week-block[hidden] {
  display: none;
}

.bbsk-week-block,
.bbsk-standing-group {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.bbsk-week-block h3,
.bbsk-standing-group h3 {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-lg);
}

/* Playoff stage block */
.bbsk-playoff-standing {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding: var(--space-3);
  border: 1px solid rgba(15, 27, 36, 0.08);
  border-radius: var(--radius-md);
  background: rgba(15, 27, 36, 0.03);
}

.bbsk-playoff-standing h4 {
  margin: 0;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bbsk-playoff-standing .bbsk-standings-full {
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.bbsk-playoff-standing .bbsk-standings-mini {
  background: #ffffff;
}

.bbsk-playoff-standing .bbsk-standings-mini th {
  background: rgba(175, 200, 54, 0.14);
  color: var(--ink);
  border-bottom-color: rgba(15, 27, 36, 0.1);
  font-size: 11px;
}

.bbsk-playoff-standing .bbsk-standings-mini td {
  color: var(--ink);
  border-bottom-color: rgba(15, 27, 36, 0.06);
}

.bbsk-playoff-standing .bbsk-standings-mini tr:last-child td {
  border-bottom: 0;
}

.bbsk-playoff-standing .bbsk-standings-mini th,
.bbsk-playoff-standing .bbsk-standings-mini td {
  padding: 9px 10px;
}

.bbsk-playoff-standing .bbsk-standings-mini .bbsk-standings-team {
  max-width: none;
  min-width: 200px;
  color: var(--ink);
  font-weight: 800;
}

.bbsk-playoff-standing .bbsk-standings-mini .bbsk-standings-pts {
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.bbsk-playoff-standing .bbsk-standings-mini tr.bbsk-selected-team td {
  background: var(--accent-4);
  color: var(--ink);
  font-weight: 800;
}

.bbsk-playoff-standing .bbsk-standings-mini tr.bbsk-selected-team .bbsk-standings-pts {
  color: var(--ink);
}

/* Focused team highlight */
.bbsk-fx-card.is-team-match {
  outline: 2px solid rgba(175, 200, 54, 0.4);
  outline-offset: 0;
}

.bbsk-fx-card.is-played-neutral::before {
  background: var(--muted);
}

/* Fixture cards inside white season-detail cards: surface contrast */
.season-detail-card .bbsk-fx-card {
  background: rgba(15, 27, 36, 0.03);
}

.season-detail-card .bbsk-fx-card.is-played {
  background: rgba(15, 27, 36, 0.03);
}

@media (max-width: 900px) {
  .team-season-header,
  .team-previous-season,
  .season-detail-card-head {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .season-detail-card {
    padding: 18px;
  }

  .team-season-header,
  .season-detail-card-head {
    flex-direction: column;
  }

  .season-detail-card-head strong {
    text-align: left;
  }

  .season-detail-card--standings .bbsk-standings-full,
  .bbsk-playoff-standing .bbsk-standings-full {
    min-width: 760px;
  }
}

.matches-viewport::-webkit-scrollbar {
  display: none;
}

.matches-track {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  scroll-behavior: smooth;
  padding-right: 0;
  transition: transform 0.35s ease;
}

.match-card--slider {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 18px 46px;
  box-shadow: 0 12px 24px rgba(15, 27, 36, 0.12);
  display: grid;
  gap: 12px;
  text-align: center;
  scroll-snap-align: center;
  position: relative;
}

.match-card--slider.is-past {
  opacity: 0;
  pointer-events: none;
}

.match-card--slider.is-past.is-active {
  opacity: 1;
  pointer-events: auto;
}

.match-card--slider .match-logo {
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.match-card-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.match-card-team {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.match-card-team .match-team-name,
.match-card-team .match-opponent-name {
  text-align: center;
  word-break: break-word;
  max-width: 120px;
}

.match-card-vs {
  font-weight: 700;
  color: var(--muted);
  font-size: 18px;
}

.match-schedule .match-team-name,
.match-schedule .match-opponent-name {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.match-score-top {
  justify-self: end;
  font-size: 13px;
  color: #9aa3a9;
  font-weight: 700;
}

.match-card--slider::after {
  display: none;
}

.match-card-branch-icon {
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1F2328;
  color: #ffffff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.match-card-link {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #afc836;
  color: #1F2328;
  font-size: 18px;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.match-card-link::before {
  text-indent: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.match-date {
  font-weight: 700;
  font-size: 13px;
}

.match-venue {
  font-size: 12px;
  color: var(--muted);
}

.matches-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d7dbe0;
  background: var(--white);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.matches-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.matches-prev::before {
  border-right: 8px solid #5f666d;
}

.matches-next::before {
  border-left: 8px solid #5f666d;
}

.matches-prev {
  left: -56px;
}

.matches-next {
  right: -56px;
}

.card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(15, 27, 36, 0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.sponsor-slider {
  overflow: hidden;
  position: relative;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.sponsor-track {
  display: flex;
  gap: 24px;
  align-items: center;
  width: max-content;
  animation: sponsorScroll 30s linear infinite;
}

.sponsor-slider:hover .sponsor-track {
  animation-play-state: paused;
}

.sponsor-card {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  text-align: center;
  display: grid;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 24px rgba(15, 27, 36, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-card:hover,
.sponsor-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 27, 36, 0.14);
}

.sponsor-card--grid {
  width: auto;
  min-width: 0;
  max-width: none;
}

.sponsor-logo img {
  width: auto;
  height: 64px;
  max-width: 140px;
  max-height: 64px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.sponsor-card:hover .sponsor-logo img,
.sponsor-card:focus-within .sponsor-logo img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes sponsorScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(240, 93, 35, 0.12);
  color: var(--accent);
}

.slab {
  background: var(--bg-slate);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  gap: 24px;
}

.slab h3 {
  margin: 0;
  font-size: 28px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 24px;
}

.news-grid {
  display: grid;
  gap: 18px;
}

.news-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.news-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
  touch-action: pan-y;
}

.news-viewport::-webkit-scrollbar {
  display: none;
}

.news-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.news-track {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: stretch;
  scroll-behavior: smooth;
  transition: transform 0.6s ease;
}

.news-viewport.is-dragging .news-track {
  transition: none;
}

.news-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0), rgba(8, 12, 16, 0.75));
  color: var(--white);
}

.news-card-title h4 {
  margin: 0;
  font-size: 18px;
}

.news-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.news-dot {
  border: 1px solid #d7dbe0;
  background: var(--white);
  color: #5f666d;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.news-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.news-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d7dbe0;
  background: var(--white);
  cursor: pointer;
  position: relative;
}

.news-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.news-prev::before {
  border-right: 8px solid #5f666d;
}

.news-next::before {
  border-left: 8px solid #5f666d;
}

.news-item {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
}

.news-item time {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.news-item h4 {
  margin: 8px 0 8px;
}

.news-showcase {
  display: grid;
  gap: 24px;
}

.news-showcase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-showcase__header h2 {
  margin: 0;
  color: #1F2328;
}

.news-showcase__all {
  color: #8fb227;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.news-showcase__all:hover {
  color: var(--ink);
}

.news-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.news-showcase-feature {
  min-width: 0;
}

.news-showcase-feature__media {
  position: relative;
  display: block;
  min-height: 560px;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #0f1c24;
  box-shadow: 0 20px 50px rgba(15, 27, 36, 0.14);
}

.news-showcase-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-showcase-feature__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.84) 0%, rgba(8, 12, 16, 0.58) 42%, rgba(8, 12, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.02) 0%, rgba(8, 12, 16, 0.74) 100%);
}

.news-showcase-feature__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 28px;
  gap: 18px;
}

.news-showcase-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.news-showcase-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #afc836;
  color: #1F2328;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-showcase-date {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
}

.news-showcase-feature__title {
  margin: 0;
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.08;
  font-weight: 800;
}

.news-showcase-feature__excerpt {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
}

.news-showcase-feature__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(9, 15, 20, 0.46);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.news-showcase-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.news-showcase-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 27, 36, 0.08);
}

.news-showcase-item:last-child {
  border-bottom: 0;
}

.news-showcase-item__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #eef1f4;
  aspect-ratio: 1 / 1;
}

.news-showcase-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-showcase-item__body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.news-showcase-item__title {
  margin: 0;
  color: #1F2328;
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1.18;
  font-weight: 800;
}

.news-showcase-item__title a {
  color: inherit;
}

.news-showcase-list .news-showcase-date {
  color: #616771;
}

.news-showcase-list .news-feature-placeholder {
  min-height: 100%;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.news-grid-section {
  margin-top: 32px;
}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.news-filter-item {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 60, 64, 0.12);
  color: var(--ink);
  background: #ffffff;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-filter-item.is-active,
.news-filter-item:hover,
.news-filter-item:focus {
  background: #afc836;
  color: #1F2328;
  border-color: #afc836;
}

.news-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-grid-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 27, 36, 0.1);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
}

.news-grid-media {
  display: block;
  background: #0f1c24;
  border-radius: 0 var(--radius-md) 0 0;
  overflow: hidden;
  height: 220px;
  position: relative;
}

.news-grid-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.news-grid-media .news-feature-placeholder {
  min-height: 220px;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.news-grid-body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 10px;
}

.news-grid-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.news-grid-category {
  padding: 6px 10px;
  border-radius: 999px;
  background: #afc836;
  color: #1F2328;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-grid-category--overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: 0 8px 16px rgba(15, 27, 36, 0.2);
}

.news-grid-date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-grid-title {
  margin: 0;
  font-size: 18px;
  color: #1F2328;
}

.news-grid-title a {
  color: inherit;
}

.news-grid-excerpt {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.news-grid-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.news-grid-button {
  font-weight: 700;
}

.news-pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d7dbe0;
  background: var(--white);
  color: #5f666d;
  font-weight: 700;
}

.news-pagination .page-numbers.current {
  background: #afc836;
  border-color: #afc836;
  color: #1F2328;
}

.news-feature-placeholder {
  min-height: 320px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


.news-dots {
  gap: 12px;
  margin-top: 0;
  justify-content: flex-start;
}

.news-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-color: rgba(31, 35, 40, 0.2);
  color: #1F2328;
  background: #f4f4f0;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(15, 27, 36, 0.08);
}

.news-dot.is-active {
  background: #afc836;
  border-color: #afc836;
  color: #1F2328;
  box-shadow: 0 10px 20px rgba(175, 200, 54, 0.25);
}

.news-all-button {
  border-radius: 999px;
  padding: 12px 26px;
}

/* ── Manisa BBSK TV ──────────────────────────────────────────── */

.match-videos {
  padding: var(--space-6) 0 var(--space-5);
  margin-top: 56px;
}

.match-videos__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.match-videos__header h2 {
  margin: 0;
}

.match-videos__all {
  color: var(--accent-4);
  font-size: var(--text-sm);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.15s ease;
}

.match-videos__all:hover {
  color: var(--ink);
}

.match-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}

.match-video-layout__featured,
.match-video-layout__stack {
  min-width: 0;
}

.match-video-layout__stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.match-video-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}

.match-video-thumb--archive {
  min-height: 260px;
  aspect-ratio: 16 / 9;
  height: auto;
}

.match-video-card {
  background: transparent;
  border-radius: var(--radius-lg);
  padding: 0;
  display: block;
}

.match-video-card--empty {
  text-align: center;
  justify-items: center;
  padding: var(--space-5) var(--space-4);
  background: var(--bg-slate);
  color: #ffffff;
  border-radius: var(--radius-lg);
}

/* Featured card: aspect-ratio controls the height — image can never expand it */
.match-video-card--featured .match-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-slate);
  box-shadow: var(--shadow-md);
}

/* Compact cards: fill whatever height the grid row gives */
.match-video-card--compact .match-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-slate);
  box-shadow: var(--shadow-md);
}

.match-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-slate);
  box-shadow: var(--shadow-md);
}

.match-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.match-video-thumb:hover img {
  transform: scale(1.03);
}

.match-video-thumb--fallback {
  background:
    linear-gradient(135deg, rgba(175, 200, 54, 0.14), rgba(15, 27, 36, 0.96)),
    var(--bg-slate);
}

.match-video-thumb__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.1) 0%, rgba(8, 12, 16, 0.78) 100%);
  pointer-events: none;
}

.match-video-thumb__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(8, 12, 16, 0.3);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.match-video-thumb:hover .match-video-thumb__play {
  background: rgba(175, 200, 54, 0.52);
  border-color: rgba(255, 255, 255, 0.9);
}

.match-video-thumb__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-34%, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
}

.match-video-thumb__play--sm {
  width: 40px;
  height: 40px;
}

.match-video-thumb__play--sm::before {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
}

.match-video-thumb__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
}

.match-video-thumb__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.match-video-thumb__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
}

.match-video-thumb__meta {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.match-video-thumb__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-video-title,
.match-video-thumb__title {
  margin: 0;
  color: #ffffff;
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1.28;
  text-shadow: 0 1px 4px rgba(8, 12, 16, 0.6);
}

.match-video-card--featured .match-video-thumb__title {
  font-size: var(--text-xl);
}

/* Duration badge */
.mvt-duration {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 16, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* Score widget */
.mvt-score {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mvt-score__num {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}

.mvt-score__sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 700;
  padding: 0 1px;
}

.match-video-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.footer {
  background: #111923;
  color: #f4f4f0;
  padding: 56px 0 30px;
  margin-top: auto;
  border-top: 3px solid #afc836;
  position: relative;
  overflow: hidden;
}

.footer::before {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(150px, 1fr));
  gap: 48px;
  position: relative;
  z-index: 1;
  align-items: start;
  justify-items: center;
  text-align: center;
  margin-bottom: 38px;
}

.footer-bottom {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.footer a {
  color: rgba(244, 244, 240, 0.82);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #afc836;
}

.footer small {
  color: rgba(244, 244, 240, 0.32);
  font-size: 13px;
}

.footer h4 {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #ffffff;
}


.footer p {
  margin: 0 0 10px;
  color: rgba(244, 244, 240, 0.78);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.footer .menu {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.footer .menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer .menu a span {
  font-size: 18px;
}

.footer-menu a::before,
.footer-social a::before {
  content: "";
}

.footer-social a::before {
  content: "";
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-menu a {
  font-size: 17px;
  font-weight: 500;
  color: rgba(244, 244, 240, 0.82);
}

.footer-brand {
  display: grid;
  gap: 20px;
  align-content: start;
  justify-items: center;
}

.footer-brand-logo img {
  width: 112px;
  height: auto;
  display: block;
}

.footer-brand-desc {
  margin: 0;
  max-width: 230px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.footer p a {
  color: rgba(244, 244, 240, 0.9);
}

.footer-column {
  min-width: 0;
  display: grid;
  justify-items: center;
}

.footer .footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  margin-top: 6px;
}

.footer-social--bottom {
  justify-content: center;
  margin-top: 0;
}

.footer-menu li,
.footer-social li {
  display: inline-flex;
}

.footer-team-list {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-team-list li {
  display: block;
}

.footer-team-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 244, 240, 0.88);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-team-list a:hover {
  color: #ffffff;
}

.footer-team-name {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.footer-team-branch {
  display: none;
}

.footer-social a span {
  font-size: 17px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #111923;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--accent-4);
  color: #111923;
}

.footer-contact {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.facilities-page .facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.facility-card {
  background: #ffffff;
  border: 1px solid #e1ddd6;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.facility-card--link {
  display: block;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.facility-card--link:hover {
  transform: translateY(-4px);
  border-color: #d1c9bd;
  box-shadow: 0 20px 40px rgba(31, 35, 40, 0.12);
}

.facility-card__header {
  display: grid;
  gap: 14px;
}

.facility-card__title {
  margin: 0 0 8px;
  font-size: 21px;
}

.facility-card__excerpt {
  margin: 0;
  color: #6f757b;
}

.facility-card__thumb {
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
}

.facility-card__thumb img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

.facility-card__thumb .media-fallback .ph,
.facility-card__thumb .media-fallback .ph-fill {
  font-size: 48px;
}

.facility-detail__title {
  margin: 0 0 12px;
  font-size: 28px;
}

.facility-detail__gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 8px;
}

.facility-detail__gallery-main {
  grid-column: span 6;
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
}

.facility-gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.facility-gallery-item img {
  display: block;
  width: 100%;
}

.facility-detail__gallery-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.facility-detail__gallery-main .media-fallback .ph,
.facility-detail__gallery-main .media-fallback .ph-fill {
  font-size: 64px;
}

.facility-detail__gallery-thumb {
  border-radius: 14px;
  overflow: hidden;
}

.facility-detail__gallery-thumb .facility-gallery-item {
  aspect-ratio: 1 / 1;
}

.facility-detail__gallery-thumb .media-fallback .ph,
.facility-detail__gallery-thumb .media-fallback .ph-fill {
  font-size: 32px;
}

.facility-detail__gallery-thumbs {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.facility-detail__gallery-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.facility-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-lightbox[hidden] {
  display: none;
}

.facility-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 24, 0.72);
}

.facility-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
}

.facility-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.facility-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: #1f2328;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.facility-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2328;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.facility-lightbox__nav--prev {
  left: -56px;
}

.facility-lightbox__nav--next {
  right: -56px;
}

@media (max-width: 600px) {
  .facility-lightbox__nav--prev {
    left: 8px;
  }

  .facility-lightbox__nav--next {
    right: 8px;
  }
}

.facility-detail__content {
  margin-top: 18px;
  color: #4f555b;
}

.facility-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}

.facility-detail__block:first-child {
  padding-top: 12px;
}

.facility-detail__block:last-child {
  padding-bottom: 12px;
}

.facility-detail__block h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1f2328;
}

.facility-detail__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #4f555b;
}

.facility-detail__block ul li::before {
  content: "•";
  margin-right: 8px;
  color: #afc836;
}

.facility-detail__block dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.facility-detail__block dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
}

.facility-detail__block dt {
  font-weight: 600;
  color: #1f2328;
}

.facility-detail__block dd {
  margin: 0;
  color: #4f555b;
}

.facility-detail__map {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.facility-detail__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

@media (max-width: 600px) {
  .facilities-page .facility-grid {
    grid-template-columns: 1fr;
  }

  .facility-card {
    padding: 16px;
  }

  .facility-card__thumb img {
    height: 200px;
  }

  .facility-detail__title {
    font-size: 24px;
  }

  .facility-detail__gallery-grid {
    grid-template-columns: 1fr;
  }

  .facility-detail__gallery-main,
  .facility-detail__gallery-thumbs {
    grid-column: auto;
  }

  .facility-detail__gallery-main img {
    height: 280px;
  }

  .facility-detail__gallery-thumb img {
    height: 140px;
  }

  .facility-detail__block dl div {
    grid-template-columns: 1fr;
  }
}
.footer-contact {
  gap: 18px;
}

.footer-contact li,
.footer-contact a {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.footer-contact li {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer-contact li a {
  color: inherit;
}

.footer-contact li,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(244, 244, 240, 0.85);
  text-align: center;
}

.footer-contact .ph {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.footer .brand-text strong {
  color: #ffffff;
}

.footer .brand-text span {
  color: rgba(255, 255, 255, 0.6);
}

.entry {
  padding: 60px 0;
}

.page-hero--news {
  padding: 60px 0 70px;
}

.entry--news {
  padding-top: 40px;
}

.entry--page {
  padding-top: 40px;
}

.page-entry {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8f7f2 100%);
  border: 1px solid rgba(15, 27, 36, 0.08);
  box-shadow: 0 22px 48px rgba(15, 27, 36, 0.08);
  overflow: hidden;
}

.page-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(28px, 4vw, 56px);
  width: clamp(72px, 12vw, 128px);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-4) 0%, var(--accent-3) 100%);
}

.page-entry > * {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.page-entry > :first-child {
  margin-top: 0;
}

.page-entry > :last-child {
  margin-bottom: 0;
}

.page-entry p,
.page-entry li {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.9;
  color: #23313a;
}

.page-entry p {
  margin: 0 0 1.25em;
  text-wrap: pretty;
}

.page-entry h2,
.page-entry h3,
.page-entry h4 {
  margin: 2.2em auto 0.7em;
  color: #16222a;
  line-height: 1.2;
}

.page-entry h2 {
  font-size: clamp(28px, 2.8vw, 38px);
}

.page-entry h3 {
  font-size: clamp(22px, 2.1vw, 28px);
}

.page-entry h4 {
  font-size: clamp(18px, 1.7vw, 22px);
}

.page-entry ul,
.page-entry ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.page-entry li + li {
  margin-top: 0.55em;
}

.page-entry blockquote {
  margin: 2em auto;
  padding: 22px 24px;
  border-left: 4px solid var(--accent-4);
  border-radius: 20px;
  background: rgba(175, 200, 54, 0.08);
  color: #1b2931;
}

.page-entry blockquote p:last-child {
  margin-bottom: 0;
}

.page-entry img {
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(15, 27, 36, 0.12);
}

.page-entry figure {
  margin: 2em auto;
}

.page-entry figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.page-entry table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em auto;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 27, 36, 0.08);
}

.page-entry th,
.page-entry td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 27, 36, 0.08);
  text-align: left;
}

.page-entry th {
  background: rgba(15, 27, 36, 0.04);
  color: #16222a;
}

.page-entry a {
  color: #126b78;
  text-decoration: underline;
  text-decoration-color: rgba(18, 107, 120, 0.3);
  text-underline-offset: 3px;
}

.page-entry a:hover,
.page-entry a:focus {
  text-decoration-color: currentColor;
}

.entry--page .wpcf7 {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9f7 100%);
  border: 1px solid rgba(15, 27, 36, 0.1);
  box-shadow: 0 20px 44px rgba(15, 27, 36, 0.08);
}

.entry--page .wpcf7-form {
  display: grid;
  gap: 18px;
}

.entry--page .wpcf7-form p {
  margin: 0;
}

.entry--page .wpcf7-form label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.entry--page .wpcf7-form-control-wrap {
  display: block;
}

.entry--page .wpcf7-form input[type="text"],
.entry--page .wpcf7-form input[type="email"],
.entry--page .wpcf7-form input[type="tel"],
.entry--page .wpcf7-form input[type="url"],
.entry--page .wpcf7-form input[type="number"],
.entry--page .wpcf7-form input[type="date"],
.entry--page .wpcf7-form select,
.entry--page .wpcf7-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(15, 27, 36, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(15, 27, 36, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.entry--page .wpcf7-form textarea {
  min-height: 180px;
  padding: 16px;
  resize: vertical;
}

.entry--page .wpcf7-form input::placeholder,
.entry--page .wpcf7-form textarea::placeholder {
  color: #7d8b95;
}

.entry--page .wpcf7-form input:focus,
.entry--page .wpcf7-form select:focus,
.entry--page .wpcf7-form textarea:focus {
  outline: none;
  border-color: rgba(175, 200, 54, 0.84);
  box-shadow: 0 0 0 4px rgba(175, 200, 54, 0.18);
}

.entry--page .wpcf7-form .wpcf7-not-valid {
  border-color: rgba(214, 66, 66, 0.72);
  box-shadow: 0 0 0 4px rgba(214, 66, 66, 0.1);
}

.entry--page .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #c43d3d;
  font-size: 13px;
  font-weight: 600;
}

.entry--page .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.entry--page .wpcf7-submit {
  min-width: 180px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-4);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}

.entry--page .wpcf7-submit:hover,
.entry--page .wpcf7-submit:focus {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.entry--page .wpcf7-submit:focus {
  outline: none;
}

.entry--page .wpcf7-submit[disabled] {
  cursor: wait;
  opacity: 0.8;
}

.entry--page .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.entry--page .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(27, 184, 154, 0.2);
  background: rgba(27, 184, 154, 0.1);
  color: #0e6d5b;
}

.entry--page .wpcf7 form.invalid .wpcf7-response-output,
.entry--page .wpcf7 form.failed .wpcf7-response-output,
.entry--page .wpcf7 form.aborted .wpcf7-response-output {
  border-color: rgba(214, 66, 66, 0.18);
  background: rgba(214, 66, 66, 0.08);
  color: #9f2f2f;
}

.entry--page .wpcf7 .screen-reader-response {
  display: none;
}

.contact-page__article {
  display: grid;
  gap: 28px;
}

.contact-section-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9f7 100%);
  border: 1px solid rgba(15, 27, 36, 0.1);
  box-shadow: 0 18px 40px rgba(15, 27, 36, 0.07);
}

.contact-section-card__head span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.contact-layout__main,
.contact-layout__side {
  min-width: 0;
}

.contact-layout__side {
  display: grid;
  gap: 24px;
}

.contact-section-card {
  padding: 28px;
  border-radius: 28px;
}

.contact-section-card__head {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.contact-section-card__head strong {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}

.contact-form-shell .wpcf7 {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-detail-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-detail-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(15, 27, 36, 0.08);
}

.contact-detail-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-detail-list__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(15, 27, 36, 0.05);
  color: var(--ink);
  font-size: 20px;
}

.contact-detail-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.contact-detail-list p,
.contact-detail-list a {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-decoration: none;
}

.contact-map {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(15, 27, 36, 0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.entry--news-list {
  padding-top: 40px;
}

.news-entry {
  display: grid;
  gap: 24px;
}

.news-entry-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 27, 36, 0.12);
  aspect-ratio: 16 / 9;
}

.news-entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-entry-content p {
  line-height: 1.8;
}

.news-entry-title {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.4vw, 30px);
  color: #1F2328;
}

.team-cards {
  gap: 20px;
}

.team-cards .team-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(140deg, #ffffff 0%, #f7f9f7 100%);
  border-radius: 18px;
  border: 1px solid rgba(11, 60, 64, 0.12);
  box-shadow: 0 16px 32px rgba(15, 27, 36, 0.08);
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
}

.team-cards .team-card-media {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(11, 60, 64, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.team-cards .team-card-media img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.team-cards .team-card-media .media-fallback .ph,
.team-cards .team-card-media .media-fallback .ph-fill {
  font-size: 40px;
}

.team-cards .team-card-body {
  display: grid;
  gap: 10px;
  align-items: center;
  align-content: center;
}

.team-cards .team-card-body h3 {
  margin: 0;
  font-size: 20px;
  color: #1F2328;
  text-align: left;
}

.team-cards .team-card-footer {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.team-cards .team-card-footer .button {
  border-radius: 999px;
  padding: 10px 22px;
  background: #afc836;
  color: #1F2328;
  border: 1px solid #afc836;
  box-shadow: 0 10px 20px rgba(175, 200, 54, 0.28);
}

.team-cards .team-card-footer .button:hover,
.team-cards .team-card-footer .button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(175, 200, 54, 0.36);
}

.team-cards .team-card-body p {
  margin: 0;
  color: #5f666d;
  line-height: 1.6;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.team-cards .team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 27, 36, 0.12);
}

@media (max-width: 700px) {
  .team-cards .team-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .team-cards .team-card-media {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }

  .team-cards .team-card-footer {
    justify-content: flex-start;
  }
}

.entry h1 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  color: #2b2b2b;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .match-card--slider {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .match-schedule {
    background: #f4f4f0;
  }

  .match-schedule-inner {
    grid-template-columns: 1fr;
  }

  .match-schedule-panel h2 {
    color: #1e3d2c;
  }
}

@media (max-width: 600px) {
  body.is-menu-open {
    overflow: hidden;
  }

  .header-top {
    display: none;
  }

  .header-main-inner {
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.is-menu-open .menu-toggle,
  .menu-toggle-checkbox:checked ~ .menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  body.is-menu-open .menu-close,
  .menu-toggle-checkbox:checked ~ .menu-close {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f4f4f0;
    padding: 72px 20px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border-bottom: 0;
    z-index: 60;
    overflow-y: auto;
    justify-content: flex-start;
  }

  .primary-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e1ddd6;
  }

  .primary-nav-footer .social-nav {
    justify-content: center;
    flex-direction: row;
  }

  .primary-nav-footer .social-nav ul {
    flex-direction: row;
  }

  .primary-nav-footer .social-nav li {
    width: auto;
    display: inline-flex;
    flex-direction: row;
    gap: 0;
  }

  .primary-nav-footer .lang-switcher {
    align-self: center;
  }

  .primary-nav-footer .lang-switcher__list {
    top: auto;
    bottom: calc(100% + 8px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(260px, 88vw);
  }

  body.is-menu-open .primary-nav,
  .menu-toggle-checkbox:checked ~ .primary-nav {
    display: flex;
  }

  .primary-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 6px;
    margin-top: 0;
  }

  .primary-nav li {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .primary-nav a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: left;
  }

  .primary-nav ul ul {
    position: static;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 0;
    margin-top: 0;
    width: 100%;
    margin-left: 0;
  }

  .primary-nav ul ul a {
    padding: 10px 14px;
    border-radius: 10px;
  }

  .primary-nav li.is-open > ul {
    display: block;
  }

  .primary-nav .menu-item-branch-root > .sub-menu {
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    left: 0;
    padding: 0;
    width: 100%;
    margin-left: 0;
  }

  .primary-nav li.is-open > .sub-menu {
    width: 100%;
  }

  .primary-nav ul ul li,
  .primary-nav ul ul a {
    width: 100%;
    text-align: left;
  }

  .hero-slider {
    min-height: 0;
    max-height: none;
  }

  .hero-slide {
    padding: 28px;
  }

  .section {
    padding: 60px 0 0;
  }

  .match-schedule {
    padding-bottom: 60px;
  }

  .section:last-of-type {
    padding-bottom: 60px;
  }

  .hero-meta {
    flex-direction: column;
  }

  .slab {
    padding: 32px;
  }

  .news-showcase__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-showcase__grid {
    grid-template-columns: 1fr;
  }

  .news-showcase-feature__media {
    min-height: 420px;
  }

  .news-showcase-feature__content {
    padding: 22px;
  }

  .news-showcase-feature__title {
    font-size: clamp(20px, 4.5vw, 28px);
  }

  .news-showcase-feature__excerpt {
    display: none;
  }

  .sport-school-card {
    grid-template-columns: 1fr;
  }

  .sport-school-card__media {
    min-height: 220px;
  }

  .sport-school-card__body {
    padding: 22px;
  }

  .sport-school-card--list .sport-school-card__body {
    grid-template-columns: 1fr;
  }

  .sport-school-card--list .sport-school-card__actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .sport-school-detail__top {
    grid-template-columns: 1fr;
  }

  .sport-school-detail__top--compact .sport-school-detail__aside {
    max-width: none;
  }

  .sport-school-detail__top--compact .sport-school-detail__card {
    grid-template-columns: 1fr;
  }

  .sport-school-detail__meta {
    grid-template-columns: 1fr;
  }

  .sport-school-detail__top--compact .sport-school-detail__actions {
    justify-content: flex-start;
    grid-column: 1;
    grid-row: auto;
  }

  .sport-school-detail__card,
  .sport-school-detail__viewer-head,
  .sport-school-detail__viewer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sport-school-detail__viewer iframe {
    min-height: 720px;
  }

  .sport-school-detail__actions .button {
    min-width: 0;
  }

  .news-showcase-list {
    grid-template-rows: none;
  }

  .news-showcase-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
  }

  .news-showcase-item__title {
    font-size: 16px;
  }

  .news-grid-cards {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 24px;
  }

  .footer h4 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .footer-brand-desc,
  .footer-menu a,
  .footer-team-name,
  .footer-contact li,
  .footer-contact a {
    font-size: 15px;
  }

  .footer-contact .ph {
    font-size: 24px;
  }

  .page-entry {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .page-entry::before {
    left: 20px;
    width: 72px;
  }

  .page-entry p,
  .page-entry li {
    line-height: 1.8;
  }

  .entry--page .wpcf7 {
    padding: 22px;
    border-radius: 20px;
  }

  .entry--page .wpcf7-submit {
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-section-card {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-map iframe {
    height: 320px;
  }

  .news-nav {
    display: none;
  }

  .news-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .match-video-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .match-video-layout__stack {
    grid-template-rows: none;
  }

  .match-videos__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-videos {
    padding: var(--space-4) 0;
  }

  .match-video-card--featured .match-video-thumb {
    aspect-ratio: 16 / 9;
  }

  .match-video-card--compact .match-video-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .match-video-thumb__play {
    width: 56px;
    height: 56px;
  }

  .match-video-thumb__play::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

  .match-video-thumb__content {
    padding: var(--space-2);
  }

  .match-video-card--featured .match-video-thumb__title {
    font-size: var(--text-lg);
  }

  .matches-slider {
    grid-template-columns: 1fr;
  }

  .matches-nav {
    display: none;
  }

  .match-card--slider {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: floatIn 0.8s ease both;
}
