/* ==========================================================================
   KICKOFFZONE MASTER STYLESHEET (Faithful Native Port of Kickoffzone-new)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand Typography & Fonts (PLUVIX & KZ Funnel Display)
   -------------------------------------------------------------------------- */
/* Pluvix local webfonts commented out until font files are placed in /fonts/pluvix/ (falls back to Google Fonts Bodoni Moda / Playfair Display) */
/*
@font-face {
  font-family: 'Pluvix';
  src: url('/fonts/pluvix/Pluvix.woff2') format('woff2'),
       url('/fonts/pluvix/Pluvix.woff') format('woff'),
       url('/fonts/pluvix/Pluvix.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pluvix';
  src: url('/fonts/pluvix/Pluvix-Regular.woff2') format('woff2'),
       url('/fonts/pluvix/Pluvix-Regular.woff') format('woff'),
       url('/fonts/pluvix/Pluvix-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*/

@font-face {
  font-family: 'KZ Funnel Display';
  src: url('/fonts/FunnelDisplay-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KZ Funnel Display';
  src: url('/fonts/FunnelDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KZ Funnel Display';
  src: url('/fonts/FunnelDisplay-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KZ Funnel Display';
  src: url('/fonts/FunnelDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Centralized Color Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* KickoffZone 3.0 Mobile Design Tokens */
  --kz-bg-primary: #0B1016;
  --kz-bg-secondary: #111820;
  --kz-surface-card: #17212B;
  --kz-surface-elevated: #1D2935;
  --kz-surface-hover: #233242;
  --kz-text-primary: #F7F8FA;
  --kz-text-secondary: #A8B4C2;
  --kz-text-muted: #778594;
  --kz-signature-gold: #D5AE70;
  --kz-breaking-red: #EA3546;
  --kz-border-subtle: rgba(255, 255, 255, 0.08);
  --kz-border-glass: rgba(255, 255, 255, 0.22);
  --kz-radius-lead: 20px;
  --kz-radius-card: 16px;
  --kz-radius-thumb: 12px;
  --kz-radius-pill: 9999px;

  /* KickoffZone 2.0 Editorial Palette Tokens (Backward Compatibility) */
  --kz-obsidian: #0B1016;
  --kz-bg: #0B1016;
  --kz-surface: #17212B;
  --kz-ivory: #F7F8FA;
  --kz-champagne: #D5AE70;
  --kz-accent-champagne: #D5AE70;
  --kz-breaking: #EA3546;
  --kz-accent-breaking: #EA3546;
  --kz-slate: #A8B4C2;
  --kz-border: rgba(255, 255, 255, 0.08);
  --kz-border-highlight: rgba(213, 174, 112, 0.35);

  /* Legacy Compat Tokens */
  --surface-base: #0B1016;
  --surface-card: #17212B;
  --surface-card-hover: #1D2935;
  --surface-overlay: rgba(11, 16, 22, 0.92);
  --text-primary: #F7F8FA;
  --text-secondary: #A8B4C2;
  --text-muted: #778594;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(213, 174, 112, 0.4);
  --brand-green: #D5AE70;
  --brand-green-hover: #e0c288;
  --brand-green-dark: #8a6c32;
  --warning-gold: #D5AE70;
  --live-red: #EA3546;

  /* KickoffZone Typography Stacks */
  --kz-font-editorial: 'Pluvix', 'Bodoni Moda', 'Playfair Display', 'Cormorant Garamond', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-display: var(--kz-font-editorial);
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: var(--kz-font-editorial);
  --font-family-kz: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   3. Global Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  font-family: var(--font-family-kz);
}

body {
  background-color: var(--surface-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 255, 135, 0.05), rgba(255, 255, 255, 0)),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(14, 165, 233, 0.03), rgba(255, 255, 255, 0));
  background-attachment: scroll;
  color: var(--text-primary);
  font-family: var(--font-family-kz) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.7s cubic-bezier(0.16, 1, 0.3, 1), color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   4. Scroll Theme Transition (Dark to Light on #scores-news-section)
   -------------------------------------------------------------------------- */
body.scroll-theme-light {
  background-color: #f8fafc !important;
  background-image: none !important;
  color: #0f172a !important;
}

body.scroll-theme-light header {
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  color: #0f172a !important;
}

body.scroll-theme-light header .kz-brand-wordmark {
  color: #0f172a !important;
}

body.scroll-theme-light header nav a {
  color: #475569 !important;
}

body.scroll-theme-light header nav a:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}

body.scroll-theme-light header nav a.nav-pill-active {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

body.scroll-theme-light header .header-search-box {
  background-color: rgba(241, 245, 249, 0.9) !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.scroll-theme-light header .header-search-box input {
  color: #0f172a !important;
}

body.scroll-theme-light header .header-icon-btn {
  color: #475569 !important;
}

body.scroll-theme-light header .header-icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}

/* --------------------------------------------------------------------------
   5. Typography Hierarchy
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-kz) !important;
  font-weight: 700;
  line-height: 1.2;
}

.kz-brand-wordmark {
  font-family: var(--font-family-kz) !important;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

.kz-section-title {
  font-family: var(--font-family-kz) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1;
  text-rendering: geometricPrecision;
}

.font-score-display {
  font-family: var(--font-family-kz) !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   6. Layout Containers
   -------------------------------------------------------------------------- */
.kz-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .kz-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .kz-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.kz-page-wrapper {
  flex: 1 1 0%;
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .kz-page-wrapper {
    padding: 2rem 3rem;
  }
}

/* --------------------------------------------------------------------------
   7. Master Header
   -------------------------------------------------------------------------- */
.kz-header {
  position: relative;
  z-index: 50;
  width: 100%;
  background-color: #020617;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: all 0.3s ease;
}

.kz-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0.75rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 360px) {
  .kz-header-inner {
    padding: 0 1rem;
    height: 68px;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .kz-header-inner {
    padding: 0 1.75rem;
  }
}

.kz-nav-link {
  height: 40px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: none;
  background: transparent;
}

.kz-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.kz-nav-link.nav-pill-active {
  background-color: #f4f5f6;
  color: #101416;
}

/* --------------------------------------------------------------------------
   8. Search Autocomplete
   -------------------------------------------------------------------------- */
.kz-header-nav-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.kz-header-controls-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Telegram Header CTA Button (Liquid-Glass Compact Design) */
.kz-telegram-btn {
  display: none;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  background: rgba(36, 161, 222, 0.12);
  border: 1px solid rgba(41, 182, 246, 0.35);
  color: #29b6f6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
  .kz-telegram-btn {
    display: inline-flex;
  }
}

.kz-telegram-btn:hover {
  background: rgba(36, 161, 222, 0.24);
  border-color: rgba(41, 182, 246, 0.7);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(36, 161, 222, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.kz-telegram-btn .kz-telegram-icon {
  color: #29b6f6;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.kz-telegram-btn:hover .kz-telegram-icon {
  color: #ffffff;
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .kz-telegram-btn,
  .kz-telegram-btn:hover,
  .kz-telegram-btn .kz-telegram-icon {
    transition: none !important;
    transform: none !important;
  }
}

.header-search-wrapper {
  position: relative;
  width: 270px;
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .kz-header-inner {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .kz-header-nav-group {
    gap: 0.75rem;
  }
  .kz-header-controls-group {
    gap: 0.5rem;
  }
  .header-search-wrapper {
    width: 160px;
  }
  .desktop-nav {
    gap: 0.15rem;
  }
  .kz-nav-link-2 {
    padding: 0.35rem 0.45rem;
    font-size: 0.76rem;
  }
  .kz-telegram-btn {
    padding: 0 9px;
    font-size: 0.68rem;
    gap: 4px;
  }
}

@media (min-width: 1280px) {
  .header-search-wrapper {
    width: 320px;
  }
}

.header-search-box {
  width: 100%;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0 1rem 0 2.25rem;
  font-size: 13px;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.header-search-box:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-green);
  box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.2);
}

.header-search-box::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(calc(100vw - 2rem), 23rem);
  background-color: #141518;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-autocomplete-dropdown.open {
  display: block;
}

.search-item-row:hover {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

.search-item-row.active-search-row {
  background-color: rgba(0, 255, 65, 0.12) !important;
}

/* --------------------------------------------------------------------------
   9. Fixtures Dropdown
   -------------------------------------------------------------------------- */
.fixtures-dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 68px;
  background-color: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  padding: 1.5rem;
  display: none;
  z-index: 49;
}

.fixtures-dropdown-menu.open {
  display: block;
  animation: fadeInDown 0.22s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   10. News Flash Ticker (Red Gradient Marquee)
   -------------------------------------------------------------------------- */
.news-flash-ticker {
  width: 100%;
  margin: 1rem 0;
  user-select: none;
}

.news-flash-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to right, #dc2626, #e11d48, #b91c1c);
  color: #ffffff;
  padding: 0.625rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(69, 10, 10, 0.5);
  border: 1px solid rgba(248, 113, 113, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

@media (min-width: 640px) {
  .news-flash-banner {
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
  }
}

.news-flash-banner:hover {
  background: linear-gradient(to right, #ef4444, #f43f5e, #dc2626);
  transform: scale(1.008);
}

.news-flash-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.news-flash-headline-box {
  position: relative;
  flex: 1 1 0%;
  overflow: hidden;
  height: 1.5rem;
  display: flex;
  align-items: center;
}

.news-flash-headline {
  width: 100%;
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (min-width: 768px) {
  .news-flash-headline {
    font-size: 1rem;
  }
}

.news-flash-cta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.news-flash-banner:hover .news-flash-cta {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   11. Today's Matches Rail
   -------------------------------------------------------------------------- */
#scores-news-section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.today-matches-section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.today-matches-scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.5rem 0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.today-matches-scroll::-webkit-scrollbar {
  display: none;
}

.today-match-card {
  position: relative;
  flex-shrink: 0;
  width: 205px;
  height: 92px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(30, 41, 59, 0.9);
  background-color: #11171b;
  padding: 0.625rem 0.75rem;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
}

.today-match-card:hover {
  border-color: rgba(0, 255, 135, 0.45);
  background-color: #141c20;
}

.today-match-card .card-status-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
}

.today-match-card .card-status-bar.live {
  background-color: #00ff87;
}

.today-match-card .card-status-bar.finished {
  background-color: #475569;
}

.today-match-card .card-status-bar.upcoming {
  background-color: #38bdf8;
}

/* --------------------------------------------------------------------------
   12. FUTLeagueCard (Competition Hubs)
   -------------------------------------------------------------------------- */
.league-hub-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .league-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .league-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .league-hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fut-league-card {
  position: relative;
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fut-league-card:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Tournament Specific Themes */
/* UEFA Champions League */
.fut-theme-ucl {
  background: linear-gradient(to bottom, #021b54, #052978, #010e30);
  border: 2px solid rgba(34, 211, 238, 0.6);
}
.fut-theme-ucl:hover {
  border-color: rgba(232, 121, 249, 0.8);
  box-shadow: 0 0 35px rgba(56, 139, 253, 0.45);
}
.fut-theme-ucl .fut-progress-fill {
  background-color: #22d3ee;
}

/* La Liga */
.fut-theme-laliga {
  background: linear-gradient(to bottom, #240a0c, #170608, #0d0304);
  border: 2px solid rgba(239, 68, 68, 0.7);
}
.fut-theme-laliga:hover {
  border-color: #f87171;
  box-shadow: 0 0 35px rgba(255, 75, 75, 0.45);
}
.fut-theme-laliga .fut-progress-fill {
  background-color: #ef4444;
}

/* Premier League */
.fut-theme-pl {
  background: linear-gradient(to bottom, #063b4a, #0a566c, #03222b);
  border: 2px solid rgba(103, 232, 249, 0.7);
}
.fut-theme-pl:hover {
  border-color: #7dd3fc;
  box-shadow: 0 0 35px rgba(0, 210, 200, 0.45);
}
.fut-theme-pl .fut-progress-fill {
  background-color: #67e8f9;
}

/* FIFA World Cup 2026 */
.fut-theme-worldcup {
  background: linear-gradient(to bottom, #47360a, #291e04, #140f02);
  border: 2px solid rgba(251, 191, 36, 0.8);
}
.fut-theme-worldcup:hover {
  border-color: #fde047;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}
.fut-theme-worldcup .fut-progress-fill {
  background-color: #fbbf24;
}

/* Bundesliga */
.fut-theme-bundesliga {
  background: linear-gradient(to bottom, #2e0307, #1c0204, #0d0102);
  border: 2px solid rgba(225, 29, 72, 0.6);
}
.fut-theme-bundesliga:hover {
  border-color: #fb7185;
  box-shadow: 0 0 35px rgba(208, 2, 27, 0.4);
}
.fut-theme-bundesliga .fut-progress-fill {
  background-color: #f43f5e;
}

/* Serie A */
.fut-theme-serie-a {
  background: linear-gradient(to bottom, #04244d, #01142e, #000a17);
  border: 2px solid rgba(6, 182, 212, 0.6);
}
.fut-theme-serie-a:hover {
  border-color: #60a5fa;
  box-shadow: 0 0 35px rgba(2, 68, 148, 0.4);
}
.fut-theme-serie-a .fut-progress-fill {
  background-color: #22d3ee;
}

/* Default / General */
.fut-theme-default {
  background: linear-gradient(to bottom, #141d24, #0e141a, #090d11);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.fut-theme-default:hover {
  border-color: rgba(0, 255, 65, 0.6);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}
.fut-theme-default .fut-progress-fill {
  background-color: #00ff41;
}

/* --------------------------------------------------------------------------
   13. Live Matches Section
   -------------------------------------------------------------------------- */
.live-matches-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem;
  scroll-snap-type: x mandatory;
}

.live-matches-scroll::-webkit-scrollbar {
  display: none;
}

.live-match-card {
  flex-shrink: 0;
  width: 275px;
  height: 160px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  scroll-snap-align: start;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(160deg, rgba(0, 255, 65, 0.15) 0%, #0f1419 48%, #0b0f12 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .live-match-card {
    width: 290px;
  }
}

.live-match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.25);
}

/* --------------------------------------------------------------------------
   14. KickoffZone Plus Banner (Light Theme Card)
   -------------------------------------------------------------------------- */
.plus-banner-card {
  background-color: #f3f3f5;
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .plus-banner-card {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .plus-banner-card {
    flex-direction: row;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   15. Glass Cards & FotMob Date Selector (Light/Dark Responsive)
   -------------------------------------------------------------------------- */
.glass-card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.glass-card:hover {
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.match-stage-final-wrap {
  display: inline-flex;
}

.match-stage-final {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(245, 215, 110, 0.3) 100%);
  color: #a67c00;
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.85rem !important;
  font-weight: 900;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   16. Animations & Keyframes
   -------------------------------------------------------------------------- */
.live-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --------------------------------------------------------------------------
   17. Master Footer
   -------------------------------------------------------------------------- */
.kz-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e5e7;
  padding: 3rem 1rem;
  margin-top: auto;
  color: #1a1c1d;
}

@media (min-width: 768px) {
  .kz-footer {
    padding: 3rem;
  }
}

.kz-footer a {
  color: #3b4b37;
  text-decoration: none;
  transition: color 0.15s ease;
}

.kz-footer a:hover {
  color: var(--brand-green-dark);
}

/* --------------------------------------------------------------------------
   18. Official Competition Player Cards (.kz-official-player-card)
   -------------------------------------------------------------------------- */
.kz-official-player-card-link {
  text-decoration: none;
  color: inherit;
}

.kz-official-player-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 280px;
  overflow: visible;
  isolation: isolate;
  background: transparent !important;
}

.kz-official-player-card__inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.kz-official-player-card--hero {
  max-width: 28rem;
  margin-inline: auto;
  width: 100%;
  min-height: 320px;
  background: transparent !important;
  overflow: visible !important;
}

.kz-official-player-card--hero .kz-official-player-card__inner {
  transform: scale(0.92);
}

@media (min-width: 768px) {
  .kz-official-player-card--hero {
    max-width: 32rem;
    min-height: 360px;
  }
}

.kz-official-player-card--card {
  width: 100%;
  max-width: 100%;
}

.kz-official-player-card__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent !important;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
}

.kz-official-player-card__art--missing {
  background: linear-gradient(165deg, #14161a 0%, #0b0c0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.kz-official-player-card--card .kz-official-player-card__portrait {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  border-radius: 0.35rem;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 88%,
    rgba(0, 0, 0, 0.72) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 88%,
    rgba(0, 0, 0, 0.72) 94%,
    transparent 100%
  );
}

.kz-official-player-card--card .kz-official-player-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  transform: scale(1.06);
  transform-origin: center top;
  display: block;
}

.kz-official-player-card--hero .kz-official-player-card__portrait {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 1;
  filter: none;
  background: transparent !important;
}

.kz-official-player-card--hero .kz-official-player-card__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transform: none;
  display: block;
  opacity: 1;
  filter: none;
  background: transparent !important;
}

.kz-official-player-card--fallback .kz-official-player-card__portrait {
  top: 8% !important;
  left: 10% !important;
  width: 80% !important;
  height: 58% !important;
  border-radius: 0.5rem;
}

.kz-official-player-card--hero .kz-official-player-card__meta {
  padding-bottom: 0.35rem;
}

.kz-official-player-card__meta {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  pointer-events: none;
}

.kz-official-player-card__number {
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  font-weight: 900;
  font-family: ui-monospace, monospace;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  letter-spacing: -0.04em;
}

.kz-official-player-card__name {
  font-size: clamp(0.75rem, 2.4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.kz-official-player-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.kz-official-player-card__chip {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.75);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ==========================================================================
   GLOBAL MOTION & SMOOTH INTERACTION SYSTEM (KickoffZone Motion Engine)
   Restrained, sports-native, 60fps micro-interaction design system.
   ========================================================================== */

:root {
  --kz-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kz-motion-fast: 160ms;
  --kz-motion-norm: 260ms;
  --kz-motion-smooth: 380ms;
  --kz-motion-dist: 8px;
}

/* 1. Global Page Entrance & Fade Keyframes */
@keyframes kzFadeUp {
  0% {
    opacity: 0;
    transform: translateY(var(--kz-motion-dist));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kzFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes kzSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kzPulseGlow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Utility entrance classes */
.kz-animate-in,
.kz-fade-up {
  animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) both;
}

.kz-fade-in {
  animation: kzFadeIn var(--kz-motion-norm) var(--kz-motion-ease) both;
}

/* Children Stagger Utility */
.kz-stagger > *:nth-child(1) { animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) 0ms both; }
.kz-stagger > *:nth-child(2) { animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) 40ms both; }
.kz-stagger > *:nth-child(3) { animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) 80ms both; }
.kz-stagger > *:nth-child(4) { animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) 120ms both; }
.kz-stagger > *:nth-child(5) { animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) 160ms both; }
.kz-stagger > *:nth-child(6) { animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) 200ms both; }
.kz-stagger > *:nth-child(n+7) { animation: kzFadeUp var(--kz-motion-smooth) var(--kz-motion-ease) 220ms both; }

/* Progressive Reveal (Load More / Defer) */
.kz-progressive-reveal {
  animation: kzFadeUp 260ms var(--kz-motion-ease) both;
}

/* 2. Global Cards Hover & Lift Motion */
.kz-hover-lift,
.fut-league-card,
.today-match-card,
.hero-story-card,
.kz-stat-card,
.kz-news-card,
.kz-card {
  transition: transform var(--kz-motion-norm) var(--kz-motion-ease),
              box-shadow var(--kz-motion-norm) var(--kz-motion-ease),
              border-color var(--kz-motion-fast) ease !important;
  will-change: transform;
}

.kz-hover-lift:hover,
.fut-league-card:hover,
.today-match-card:hover,
.hero-story-card:hover,
.kz-news-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45) !important;
}

.kz-hover-lift:hover img,
.fut-league-card:hover img,
.hero-story-card:hover img,
.kz-news-card:hover img {
  transform: scale(1.03);
}

.kz-hover-lift img,
.fut-league-card img,
.hero-story-card img,
.kz-news-card img {
  transition: transform var(--kz-motion-smooth) var(--kz-motion-ease);
}

.kz-hover-lift:active,
.fut-league-card:active,
.today-match-card:active,
.hero-story-card:active,
.kz-news-card:active {
  transform: translateY(0) scale(0.99) !important;
}

/* Subtle glow utility */
.kz-hover-glow {
  transition: box-shadow var(--kz-motion-norm) var(--kz-motion-ease),
              border-color var(--kz-motion-fast) ease;
}
.kz-hover-glow:hover {
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.22);
  border-color: rgba(0, 255, 65, 0.35);
}

/* 3. Global Buttons Interaction */
button,
.kz-btn,
.kz-btn-load-more,
input[type="button"],
input[type="submit"] {
  transition: transform var(--kz-motion-fast) var(--kz-motion-ease),
              background-color var(--kz-motion-fast) ease,
              border-color var(--kz-motion-fast) ease,
              box-shadow var(--kz-motion-fast) ease,
              color var(--kz-motion-fast) ease;
}

button:hover,
.kz-btn:hover,
.kz-btn-load-more:hover {
  transform: translateY(-1px);
}

button:active,
.kz-btn:active,
.kz-btn-load-more:active {
  transform: translateY(1px) scale(0.98);
}

/* 4. Navigation & Header Transitions */
.kz-header {
  transition: background-color var(--kz-motion-norm) ease,
              border-color var(--kz-motion-norm) ease,
              box-shadow var(--kz-motion-norm) ease;
}

.kz-nav-link {
  position: relative;
  transition: background-color var(--kz-motion-fast) ease,
              color var(--kz-motion-fast) ease,
              transform var(--kz-motion-fast) var(--kz-motion-ease);
}
.kz-nav-link:hover {
  transform: translateY(-1px);
}
.kz-nav-link:active {
  transform: translateY(0);
}

.header-icon-btn {
  transition: transform var(--kz-motion-fast) var(--kz-motion-ease),
              background-color var(--kz-motion-fast) ease,
              color var(--kz-motion-fast) ease;
}
.header-icon-btn:hover {
  transform: scale(1.05);
}
.header-icon-btn:active {
  transform: scale(0.95);
}

.header-search-box {
  transition: width var(--kz-motion-norm) var(--kz-motion-ease),
              background-color var(--kz-motion-fast) ease,
              border-color var(--kz-motion-fast) ease,
              box-shadow var(--kz-motion-norm) var(--kz-motion-ease);
}
.header-search-box:focus {
  border-color: var(--brand-green) !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.18) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.search-autocomplete-dropdown.open {
  animation: kzSlideDown var(--kz-motion-norm) var(--kz-motion-ease) both;
}

.search-item-row {
  transition: background-color var(--kz-motion-fast) ease,
              transform var(--kz-motion-fast) var(--kz-motion-ease);
}
.search-item-row:hover {
  transform: translateX(2px);
}

.fixtures-dropdown-menu.open {
  animation: kzSlideDown var(--kz-motion-norm) var(--kz-motion-ease) both;
}

/* 5. Table, Fixture & List Row Motion */
.kz-row,
.kz-row-hover,
.kz-standings-tbl tbody tr,
.standings-league-table tbody tr {
  transition: background-color var(--kz-motion-fast) ease;
}

.kz-row:hover,
.kz-row-hover:hover {
  background-color: rgba(255, 255, 255, 0.035) !important;
}

.kz-row:hover .kz-col-arrow,
.kz-row-hover:hover .kz-col-arrow {
  transform: translateX(3px);
  color: var(--brand-green);
}

.kz-col-arrow {
  transition: transform var(--kz-motion-fast) var(--kz-motion-ease),
              color var(--kz-motion-fast) ease;
}

.kz-row:hover .kz-team-name,
.kz-row-hover:hover .kz-team-name {
  color: #ffffff;
}

/* 6. Tabs & Content Transitions */
.kz-tab-btn,
.comp-tab-btn,
.kz-cat-btn {
  transition: all var(--kz-motion-fast) var(--kz-motion-ease);
}

.kz-tab-pane,
.comp-tab-pane,
.kz-tab-content,
.kz-tab-transition {
  animation: kzFadeIn var(--kz-motion-norm) var(--kz-motion-ease) both;
}

/* 7. Live Pulse Indicator (Genuine Live Matches Only) */
.kz-pulse-dot,
.pulse-dot {
  animation: kzPulseGlow 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* 8. Tag & Category Pills */
.kz-tag-pill {
  transition: all var(--kz-motion-fast) ease;
}
.kz-tag-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 255, 65, 0.2);
}

/* 9. Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 10. Mobile Screen Refinements */
@media (max-width: 640px) {
  :root {
    --kz-motion-dist: 4px;
    --kz-motion-smooth: 240ms;
  }
  .kz-stagger > *:nth-child(n+4) {
    animation-delay: 40ms !important;
  }
  .kz-hover-lift:hover,
  .fut-league-card:hover,
  .today-match-card:hover,
  .hero-story-card:hover,
  .kz-news-card:hover {
    transform: none !important;
  }
}

/* ==========================================================================
   PUBLIC RESPONSIVE MOBILE NAVIGATION SYSTEM (PARITY WITH DESKTOP)
   ========================================================================== */
.kz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #020617;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Legacy header inner styles consolidated with Master Header */

.desktop-nav {
  display: none;
}

.header-search-wrapper {
  display: none;
  position: relative;
}

.mobile-menu-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle-btn:hover,
.mobile-menu-toggle-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 255, 65, 0.4);
  outline: none;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.mobile-nav-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 95;
  overflow-y: auto;
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease;
  will-change: transform, opacity;
}

.mobile-nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  padding: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-content > * {
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.mobile-nav-drawer.is-open .mobile-nav-content > * {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-drawer.is-open .mobile-nav-content > *:nth-child(1) {
  transition-delay: 0.05s;
}

.mobile-nav-drawer.is-open .mobile-nav-content > *:nth-child(2) {
  transition-delay: 0.08s;
}

.mobile-nav-drawer.is-open .mobile-nav-content > *:nth-child(3) {
  transition-delay: 0.11s;
}

.mobile-primary-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-link.nav-pill-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 65, 0.3);
  color: #00ff41;
}

.mobile-accordion-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-accordion-panel {
  padding: 0.6rem 0.5rem 0.6rem 1rem;
  margin-top: 4px;
  border-left: 2px solid rgba(0, 255, 65, 0.4);
}

.mobile-fixtures-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-fixture-subitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-fixture-subitem:hover,
.mobile-fixture-subitem:active {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: rgba(0, 255, 65, 0.2);
}

.mobile-fixture-subitem--all {
  color: #00ff41;
  font-weight: 700;
  background: rgba(0, 255, 65, 0.06);
  border-color: rgba(0, 255, 65, 0.15);
  margin-top: 2px;
}

.mobile-nav-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-account-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem;
  border-radius: 10px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 768px) {
  .header-search-wrapper {
    display: block;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.375rem;
  }
  .mobile-menu-toggle-btn,
  .mobile-nav-drawer,
  .mobile-nav-backdrop {
    display: none !important;
  }
}


/* --------------------------------------------------------------------------
   Mobile Search Autocomplete System (Stage 3C.5)
   -------------------------------------------------------------------------- */
.mobile-search-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 0.75rem;
}

.mobile-search-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.85rem 0.65rem 2.25rem;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.mobile-search-box:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 65, 0.4);
  box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.15);
}

.search-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 280px;
  max-height: 380px;
  overflow-y: auto;
  background: #11171b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-top: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 1100;
  display: none;
}

.search-autocomplete-dropdown.open {
  display: block;
}

.search-item-row:hover,
.search-item-row.active-search-row {
  background-color: rgba(255, 255, 255, 0.08) !important;
}


/* --------------------------------------------------------------------------
   Central Reusable Country Flag Badge Rules
   -------------------------------------------------------------------------- */
.kz-nat-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.kz-flag-img {
  width: 18px !important;
  height: 12px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================================================
   KICKOFFZONE 2.0 — EDITORIAL DESIGN SYSTEM & PROTOTYPE LAYOUTS
   ========================================================================== */

/* Editorial Header & Nav */
.kz-header-2 {
  background-color: var(--kz-obsidian);
  border-bottom: 1px solid var(--kz-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

/* ==========================================================================
   BREAKING FLASH TICKER STRIP (Sofascore-inspired Luxury Editorial Engine)
   ========================================================================== */
.kz-flash-strip {
  width: 100%;
  height: 50px;
  max-height: 50px;
  background: #11161C;
  background: linear-gradient(90deg, #101419 0%, #131922 50%, #101419 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--kz-radius-md, 12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  contain: layout paint;
}

.kz-flash-strip:hover {
  border-color: rgba(200, 166, 106, 0.28);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.kz-flash-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  gap: 1rem;
  box-sizing: border-box;
}

/* 1. Badge & Live Status Indicator */
.kz-flash-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  user-select: none;
}

.kz-flash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #E52336;
  color: #FFFFFF;
  font-family: var(--kz-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(229, 35, 54, 0.35);
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.kz-flash-strip:hover .kz-flash-badge {
  background: #FF344A;
}

.kz-flash-badge-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.kz-flash-live-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}

.kz-flash-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #E52336;
  box-shadow: 0 0 8px rgba(229, 35, 54, 0.8);
  position: relative;
  display: inline-block;
  animation: kzPulseLive 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes kzPulseLive {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px rgba(229, 35, 54, 0.8);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 0 2px rgba(229, 35, 54, 0.3);
  }
}

.kz-flash-live-text {
  font-family: var(--kz-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #98A3B2;
  text-transform: uppercase;
}

/* 2. Vertical Separator */
.kz-flash-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* 3. Single-Story Content Link */
.kz-flash-content-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  padding: 0.25rem 0.35rem;
  transition: background-color 0.15s ease;
}

.kz-flash-content-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(200, 166, 106, 0.5);
}

/* Thumbnail */
.kz-flash-thumb-wrap {
  width: 52px;
  height: 35px;
  border-radius: 5px;
  overflow: hidden;
  background: #080B0E;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.kz-flash-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.kz-flash-strip:hover .kz-flash-thumb {
  transform: scale(1.05);
}

/* Text group */
.kz-flash-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.kz-flash-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.kz-flash-category {
  font-family: var(--kz-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #98A3B2;
  text-transform: uppercase;
}

.kz-flash-strip:hover .kz-flash-category {
  color: #D3AC6A;
}

.kz-flash-headline {
  margin: 0;
  font-family: var(--kz-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: #F3F5F7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.kz-flash-strip:hover .kz-flash-headline {
  color: #FFFFFF;
}

.kz-flash-dek {
  display: none !important;
}

/* Time Ago Tag */
.kz-flash-time {
  font-family: var(--kz-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  color: #626C7A;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.kz-flash-strip:hover .kz-flash-time {
  color: #98A3B2;
}

/* Read Full Story CTA Affordance */
.kz-flash-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--kz-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: #D3AC6A;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  pointer-events: none;
}

.kz-flash-cta svg {
  transition: transform 0.2s ease;
}

.kz-flash-strip:hover .kz-flash-cta {
  opacity: 1;
  transform: translateX(0);
}

.kz-flash-strip:hover .kz-flash-cta svg {
  transform: translateX(2px);
}

/* 4. Controls & Progress Indicator */
.kz-flash-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  user-select: none;
}

/* Segmented Indicator */
.kz-flash-segments {
  display: flex;
  align-items: center;
  gap: 5px;
}

.kz-flash-segment {
  width: 22px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.kz-flash-segment:hover {
  background: rgba(255, 255, 255, 0.25);
}

.kz-flash-segment-fill {
  width: 0%;
  height: 100%;
  background: #D3AC6A;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.kz-flash-segment.active .kz-flash-segment-fill {
  width: 100%;
}

.kz-flash-segment.completed .kz-flash-segment-fill {
  width: 100%;
  background: rgba(211, 172, 106, 0.4);
}

/* Navigation Arrow Buttons */
.kz-flash-arrows {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.kz-flash-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #98A3B2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: all 0.2s ease;
}

.kz-flash-btn:hover {
  background: rgba(211, 172, 106, 0.15);
  border-color: #D3AC6A;
  color: #D3AC6A;
  transform: scale(1.05);
}

.kz-flash-btn:active {
  transform: scale(0.95);
}

.kz-flash-btn:focus-visible {
  box-shadow: 0 0 0 2px #D3AC6A;
}

/* Animations & Transitions for Headline Swapping */
.kz-flash-slide-out-up {
  opacity: 0 !important;
  transform: translateY(-8px) !important;
}

.kz-flash-slide-in-up {
  opacity: 0 !important;
  transform: translateY(8px) !important;
}

/* 5. Responsive Breakpoints */
@media (max-width: 1024px) {
  .kz-flash-inner {
    padding: 0.35rem 0.85rem;
    gap: 0.75rem;
  }
  .kz-flash-headline {
    font-size: 0.88rem;
  }
  .kz-flash-thumb-wrap {
    width: 44px;
    height: 30px;
  }
  .kz-flash-segment {
    width: 16px;
  }
}

@media (max-width: 768px) {
  .kz-flash-inner {
    padding: 0.4rem 0.65rem;
    gap: 0.5rem;
    min-height: 48px;
  }
  .kz-flash-thumb-wrap {
    display: none !important;
  }
  .kz-flash-time {
    display: none !important;
  }
  .kz-flash-cta {
    display: none !important;
  }
  .kz-flash-segments {
    display: none !important;
  }
  .kz-flash-headline {
    font-size: 0.84rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .kz-flash-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
  }
  .kz-flash-live-text {
    font-size: 0.62rem;
  }
  .kz-flash-btn {
    width: 24px;
    height: 24px;
  }
  .kz-flash-btn svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .kz-flash-inner {
    padding: 0.35rem 0.5rem;
    gap: 0.4rem;
  }
  .kz-flash-sep {
    display: none;
  }
  .kz-flash-live-wrap {
    display: none !important;
  }
  .kz-flash-badge {
    padding: 0.22rem 0.45rem;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }
  .kz-flash-badge-icon {
    display: none;
  }
  .kz-flash-headline {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .kz-flash-category {
    font-size: 0.58rem;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  .kz-flash-live-dot {
    animation: none !important;
  }
  .kz-flash-headline,
  .kz-flash-segment-fill,
  .kz-flash-btn,
  .kz-flash-thumb,
  .kz-flash-cta {
    transition: none !important;
    transform: none !important;
  }
  .kz-flash-dek {
    animation: none !important;
  }
}

.kz-brand-wordmark-2 {
  font-family: var(--kz-font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--kz-ivory);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 360px) {
  .kz-brand-wordmark-2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 640px) {
  .kz-brand-wordmark-2 {
    font-size: 1.6rem;
  }
}

.kz-brand-wordmark-2 span {
  color: var(--kz-champagne);
}

.kz-nav-link-2 {
  font-family: var(--kz-font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kz-ivory);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kz-nav-link-2:hover, .kz-nav-link-2.active {
  color: var(--kz-champagne);
}

/* Editorial Badges & Metadata */
.kz-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  font-family: var(--kz-font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--kz-radius-sm);
  line-height: 1;
}

.kz-badge-breaking {
  background-color: var(--kz-breaking);
  color: #ffffff;
}

.kz-badge-champagne {
  background-color: rgba(200, 166, 106, 0.15);
  color: var(--kz-champagne);
  border: 1px solid rgba(200, 166, 106, 0.35);
}

.kz-badge-slate {
  background-color: rgba(246, 244, 239, 0.08);
  color: var(--kz-slate);
  border: 1px solid var(--kz-border-subtle);
}

/* Homepage Editorial Hero Grid */
.kz-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .kz-hero-grid {
    grid-template-columns: 1fr;
  }
}

.kz-hero-lead-card {
  background: var(--kz-surface);
  border: 1px solid var(--kz-border);
  border-radius: var(--kz-radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.kz-hero-lead-card .hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--kz-surface-elevated);
}

.kz-hero-lead-card .hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kz-hero-lead-card:hover .hero-image-wrapper img {
  transform: scale(1.03);
}

.kz-hero-lead-content {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kz-hero-lead-title {
  font-family: var(--kz-font-editorial) !important;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--kz-ivory);
  text-transform: none;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

.kz-hero-lead-title:hover {
  color: var(--kz-champagne);
}

.kz-hero-dek {
  font-family: var(--kz-font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--kz-slate);
}

/* Secondary Hero Cards Stack */
.kz-hero-secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kz-secondary-card {
  background: var(--kz-surface);
  border: 1px solid var(--kz-border);
  border-radius: var(--kz-radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.kz-secondary-card:hover {
  border-color: var(--kz-border-highlight);
  transform: translateY(-2px);
}

.kz-secondary-title,
.top-story-title,
.hero-story-card h3 {
  font-family: var(--kz-font-editorial) !important;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--kz-ivory);
  text-transform: none;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

.kz-secondary-title:hover,
.top-story-title:hover {
  color: var(--kz-champagne);
}

/* Section Title Header */
.kz-section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--kz-border);
  padding-bottom: 0.5rem;
}

.kz-section-heading {
  font-family: var(--kz-font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--kz-ivory);
}

/* News Stream Grid */
.kz-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kz-news-card {
  background: var(--kz-surface);
  border: 1px solid var(--kz-border);
  border-radius: var(--kz-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.kz-news-card:hover {
  border-color: var(--kz-border-highlight);
  transform: translateY(-3px);
}

.kz-news-card .card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--kz-surface-elevated);
}

.kz-news-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.kz-news-card .card-headline,
.card-headline,
.news-item-title,
.related-story-title,
.kz-news-title {
  font-family: var(--kz-font-editorial) !important;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--kz-ivory);
  text-transform: none;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

.kz-news-card .card-headline:hover,
.card-headline:hover,
.news-item-title:hover,
.related-story-title:hover {
  color: var(--kz-champagne);
}

.kz-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--kz-slate);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Article Reading View */
.kz-article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.kz-article-masthead {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kz-article-headline-main {
  font-family: var(--kz-font-editorial) !important;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--kz-ivory);
  text-transform: none;
  word-break: break-word;
  overflow-wrap: break-word;
}

.kz-article-dek-main {
  font-family: var(--kz-font-sans);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--kz-slate);
}

.kz-byline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--kz-border);
  border-bottom: 1px solid var(--kz-border);
  font-size: 0.85rem;
  color: var(--kz-slate);
}

.kz-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kz-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--kz-champagne);
}

.kz-article-hero-figure {
  margin: 2rem 0;
  border-radius: var(--kz-radius-md);
  overflow: hidden;
  border: 1px solid var(--kz-border);
}

.kz-article-hero-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.kz-article-hero-figure figcaption {
  padding: 0.75rem 1rem;
  background: var(--kz-surface);
  font-size: 0.8rem;
  color: var(--kz-slate);
  border-top: 1px solid var(--kz-border-subtle);
}

.kz-article-body-content {
  font-family: var(--kz-font-sans);
  font-size: 1.125rem;
  line-height: 1.75;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kz-article-body-content p {
  margin-bottom: 0.5rem;
}

.kz-article-body-content h2 {
  font-family: var(--kz-font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--kz-ivory);
  text-transform: uppercase;
  margin-top: 1.5rem;
  letter-spacing: -0.01em;
}

.kz-pullquote-box {
  font-family: var(--kz-font-serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--kz-champagne);
  border-left: 3px solid var(--kz-champagne);
  padding: 1rem 1.5rem;
  background: rgba(200, 166, 106, 0.05);
  border-radius: 0 var(--kz-radius-md) var(--kz-radius-md) 0;
  margin: 2rem 0;
}

.kz-source-attribution {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--kz-surface-elevated);
  border-radius: var(--kz-radius-sm);
  font-size: 0.8rem;
  color: var(--kz-slate);
  margin-top: 2rem;
}

/* ==========================================================================
   KICKOFFZONE 3.0 — MOBILE-FIRST PREMIUM COMPONENT ARCHITECTURE
   ========================================================================== */

/* 1. LIQUID-GLASS BUTTON & PILL SYSTEM (Matching Signature Glass Reference) */
.kz-glass-btn,
.kz-glass-pill,
.kz-glass-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--kz-radius-pill);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-decoration: none;
  /* Crystal transparent body with subtle ethereal gradient */
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(147, 197, 253, 0.04) 35%, 
    rgba(213, 174, 112, 0.03) 70%, 
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  /* Multi-layer edge refraction matching glass reference */
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.45),
    inset 1px 0 2px 0 rgba(191, 219, 254, 0.25),
    inset -1px 0 2px 0 rgba(255, 255, 255, 0.15),
    0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              background 0.2s ease;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Glass top-rim specular reflection curve */
.kz-glass-btn::before,
.kz-glass-pill::before,
.kz-glass-icon-btn::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  right: 4px;
  height: 46%;
  background: linear-gradient(
    180deg, 
    rgba(255, 255, 255, 0.45) 0%, 
    rgba(255, 255, 255, 0.08) 75%, 
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: var(--kz-radius-pill) var(--kz-radius-pill) 0 0;
  pointer-events: none;
}

.kz-glass-pill {
  padding: 0.44rem 1.15rem;
  flex-shrink: 0;
}

/* Desktop Hover Interaction */
.kz-glass-pill:hover,
.kz-glass-pill:focus-visible {
  border-color: rgba(255, 255, 255, 0.65);
  color: #FFFFFF;
  transform: translateY(-1.5px);
  box-shadow: 
    inset 0 2px 3px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(255, 255, 255, 0.15);
}

/* Mobile Touch Active Feedback */
.kz-glass-pill:active,
.kz-glass-btn:active,
.kz-glass-icon-btn:active {
  transform: scale(0.96);
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 2px 4px 0 rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

.kz-glass-pill.is-active,
.kz-glass-pill.active {
  background: linear-gradient(
    135deg, 
    rgba(213, 174, 112, 0.38) 0%, 
    rgba(213, 174, 112, 0.16) 50%, 
    rgba(255, 255, 255, 0.1) 100%
  );
  border-color: rgba(213, 174, 112, 0.8);
  color: #FFFFFF;
  box-shadow: 
    inset 0 1.5px 3px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.4),
    0 4px 20px rgba(213, 174, 112, 0.4);
}

.kz-glass-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.kz-glass-icon-btn:hover {
  border-color: rgba(213, 174, 112, 0.65);
  transform: translateY(-1.5px);
  box-shadow: 
    inset 0 1.5px 2.5px 0 rgba(255, 255, 255, 0.85),
    0 6px 20px rgba(213, 174, 112, 0.3);
}

/* Fallback for browsers without backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .kz-glass-btn,
  .kz-glass-pill,
  .kz-glass-icon-btn {
    background: #17212B;
    border-color: rgba(255, 255, 255, 0.15);
  }
}

/* 2. CATEGORY HORIZONTAL SCROLL RAIL (SOFASCORE INSPIRATION) */
.kz-category-rail-wrap {
  position: relative;
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.kz-category-scroll-rail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.kz-category-scroll-rail::-webkit-scrollbar {
  display: none;
}

/* Subtle edge gradients indicating overflow */
.kz-category-rail-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(90deg, rgba(11, 16, 22, 0) 0%, rgba(11, 16, 22, 0.95) 100%);
  pointer-events: none;
}

/* ==========================================================================
   3. KICKOFFZONE 4.0 — PREMIUM EDITORIAL HERO & BALLON D'OR STYLED LAYOUT
   ========================================================================== */

.kz-layout-dual-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .kz-layout-dual-col {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .kz-layout-dual-col {
    grid-template-columns: 1.95fr 1fr;
    gap: 16px;
    align-items: stretch;
  }
}

/* 3A. DOMINANT LEAD STORY CARD */
.kz-lead-card {
  background: var(--kz-surface-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.kz-lead-card:hover {
  border-color: rgba(213, 174, 112, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.65), 0 0 20px -2px rgba(213, 174, 112, 0.14);
}

.kz-lead-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: radial-gradient(ellipse at 50% 30%, rgba(30, 41, 56, 0.95) 0%, rgba(13, 19, 27, 0.98) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kz-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.kz-lead-media img[src=""],
.kz-lead-media img:not([src]) {
  opacity: 0;
}

.kz-lead-card:hover .kz-lead-media img {
  transform: scale(1.025);
}

.kz-lead-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 50% 50%, #1e2836 0%, #0d131b 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 0, transparent 20px);
}

.kz-lead-overlay-scrim {
  display: none;
}

.kz-card-click-target {
  display: none;
}

/* Lead Card Info & Typography */
.kz-lead-body {
  padding: 1.15rem 1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--kz-surface-card);
}

.kz-lead-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.kz-lead-read-time {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kz-text-muted);
}

.kz-lead-headline {
  font-family: var(--kz-font-editorial);
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--kz-text-primary);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.15s ease;
}

.kz-lead-headline:hover {
  color: var(--kz-signature-gold);
}

.kz-lead-dek {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--kz-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Desktop Hero Overlay Scrim Treatment (1024px+) */
@media (min-width: 1024px) {
  .kz-lead-card {
    min-height: 520px;
    height: 100%;
    justify-content: flex-end;
  }

  .kz-lead-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    min-height: 520px;
    z-index: 1;
  }

  .kz-lead-overlay-scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(11, 16, 22, 0.98) 0%, rgba(11, 16, 22, 0.82) 34%, rgba(11, 16, 22, 0.35) 60%, rgba(11, 16, 22, 0) 100%);
  }

  .kz-lead-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 2rem 1.75rem 1.75rem;
    background: transparent;
    gap: 0.75rem;
  }

  .kz-lead-headline {
    font-size: clamp(1.85rem, 2.4vw, 2.45rem);
    line-height: 1.14;
    color: #F7F8FA;
    position: relative;
    z-index: 5;
  }

  .kz-lead-card:hover .kz-lead-headline {
    color: #FFFFFF;
  }

  .kz-card-click-target {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 4;
    text-indent: -9999px;
  }
}

/* 3B. BALLON D'OR STYLE TWO VERTICALLY STACKED PHOTOGRAPHIC CARDS */
.kz-feed-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .kz-feed-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 100%;
  }
}

.kz-hero-subcard {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111820;
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.26s ease,
              box-shadow 0.26s ease;
  min-height: 200px;
}

@media (min-width: 768px) {
  .kz-hero-subcard {
    min-height: unset;
    height: 100%;
  }
}

.kz-hero-subcard:hover {
  transform: translateY(-2px);
  border-color: rgba(213, 174, 112, 0.35);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6), 0 0 16px -2px rgba(213, 174, 112, 0.12);
}

.kz-hero-subcard:active {
  transform: scale(0.99);
}

.kz-hero-subcard-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, #17212b 0%, #0d131b 100%);
}

.kz-hero-subcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.kz-hero-subcard-media img[src=""],
.kz-hero-subcard-media img:not([src]) {
  opacity: 0;
}

.kz-hero-subcard:hover .kz-hero-subcard-media img {
  transform: scale(1.025);
}

.kz-hero-subcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 50% 50%, #1e2836 0%, #0d131b 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 0, transparent 16px);
}

.kz-hero-subcard-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 16, 22, 0.96) 0%, rgba(11, 16, 22, 0.65) 50%, rgba(11, 16, 22, 0.08) 100%);
}

.kz-hero-subcard-content {
  position: relative;
  z-index: 3;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.kz-hero-subcard-category {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--kz-signature-gold);
  text-transform: uppercase;
}

.kz-hero-subcard-title {
  font-family: var(--kz-font-editorial);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  font-weight: 700;
  line-height: 1.25;
  color: #F7F8FA;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  transition: color 0.15s ease;
  margin: 0;
}

.kz-hero-subcard:hover .kz-hero-subcard-title {
  color: #FFFFFF;
}

.kz-hero-subcard-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #A8B4C2;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   4. KICKOFFZONE 4.0 — STRUCTURED 3-COLUMN EDITORIAL NEWS GRID
   ========================================================================== */

.kz-editorial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .kz-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .kz-editorial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.kz-grid-card {
  background: #111820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.24s ease,
              box-shadow 0.24s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.kz-grid-card:hover {
  transform: translateY(-3px);
  border-color: rgba(213, 174, 112, 0.32);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 0 14px -2px rgba(213, 174, 112, 0.1);
}

.kz-grid-card:active {
  transform: scale(0.99);
}

.kz-grid-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #17212b 0%, #0d131b 100%);
  display: block;
}

.kz-grid-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.kz-grid-card-media img[src=""],
.kz-grid-card-media img:not([src]) {
  opacity: 0;
}

.kz-grid-card:hover .kz-grid-card-media img {
  transform: scale(1.025);
}

.kz-grid-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 50% 50%, #1e2836 0%, #0d131b 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 0, transparent 18px);
}

.kz-grid-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.kz-grid-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.kz-grid-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--kz-signature-gold);
  text-transform: uppercase;
}

.kz-grid-read-time {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kz-grid-card-title {
  font-family: var(--kz-font-editorial);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.28;
  color: #F7F8FA;
  text-decoration: none;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
  margin: 0;
}

.kz-grid-card-title:hover {
  color: var(--kz-signature-gold);
}

.kz-grid-card-excerpt {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.5;
  color: #A8B4C2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.kz-grid-card-meta-bottom {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-top: auto;
  padding-top: 0.35rem;
}

/* Section Title Bar & Navigation Links */
.kz-section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.kz-section-heading {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
}

.kz-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--kz-signature-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease, transform 0.15s ease;
}

.kz-section-link:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .kz-lead-card,
  .kz-hero-subcard,
  .kz-grid-card,
  .kz-lead-media img,
  .kz-hero-subcard-media img,
  .kz-grid-card-media img,
  .kz-section-link {
    transition: none !important;
    transform: none !important;
  }
}

/* 1024px-1200px Tablet/Desktop Header Precision Rules (Zero Overflow) */
@media (min-width: 1024px) and (max-width: 1200px) {
  .kz-header-inner {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .kz-header .kz-header-nav-group {
    gap: 1rem;
  }
  .kz-header .desktop-nav {
    gap: 0.2rem;
  }
  .kz-header .kz-nav-link-2 {
    padding: 0.35rem 0.45rem;
    font-size: 0.74rem;
  }
  .kz-header .header-search-wrapper {
    width: 160px;
  }
}


/* ==========================================================================
   KickoffZone 4.2 — Advanced Article Studio & Rich Media Rendering
   ========================================================================== */

/* 1. Public Article Rich Media & Editorial Presentation */
.kz-article-body-content {
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e2e8f0;
  max-width: 780px;
  margin: 0 auto;
}

.kz-article-body-content p {
  margin-bottom: 1.5rem;
}

.kz-article-body-content h2,
.kz-article-heading.kz-heading-2 {
  font-family: var(--kz-font-heading, var(--font-sans));
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  text-transform: uppercase;
}

.kz-article-body-content h3,
.kz-article-heading.kz-heading-3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2rem 0 0.85rem;
}

.kz-article-body-content h4,
.kz-article-heading.kz-heading-4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #cbd5e1;
  margin: 1.5rem 0 0.65rem;
}

/* Gold Editorial Quotation Block (Ballon d'Or Style) */
.kz-pullquote-box,
.kz-editorial-quote-card {
  font-family: var(--kz-font-editorial, "Playfair Display", Georgia, serif);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: #d5ae70;
  border-left: 3px solid var(--kz-signature-gold, #c8a66a);
  padding: 1.25rem 1.75rem;
  background: rgba(200, 166, 106, 0.05);
  border-radius: 0 var(--kz-radius-md, 8px) var(--kz-radius-md, 8px) 0;
  margin: 2.25rem 0;
  position: relative;
}

.kz-quote-byline {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-style: normal;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Responsive Video Player */
.kz-article-video-wrap {
  margin: 2.5rem 0;
  width: 100%;
}

.kz-video-player-container {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kz-video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kz-video-credit-bar {
  margin-top: 0.65rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--kz-signature-gold, #c8a66a);
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Social Media Post Embedding */
.kz-social-embed-wrap {
  margin: 2.5rem auto;
  max-width: 550px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kz-social-embed-wrap iframe {
  max-width: 100%;
  border-radius: 12px;
}

.kz-social-card-fallback {
  width: 100%;
  background: #11171b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
}

/* 2. Advanced Article Studio CMS Editor Styles */
.kz-studio-modal {
  position: fixed;
  inset: 0;
  background: #0a0e13;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.kz-studio-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: #11171b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
  flex-wrap: wrap;
}

.kz-studio-workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.kz-studio-main-canvas {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#kz-studio-canvas {
  width: 100%;
  max-width: 840px;
  transition: max-width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kz-studio-sidebar {
  width: 360px;
  background: #11171b;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Studio Block Card */
.kz-studio-block-card {
  background: #11171b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.kz-studio-block-card:hover {
  border-color: rgba(200, 166, 106, 0.4);
}

.kz-studio-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
}

.kz-studio-drag-handle {
  color: #64748b;
  cursor: grab;
  font-size: 1.1rem;
  line-height: 1;
}

.kz-studio-block-type-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #c8a66a;
  letter-spacing: 0.05em;
  background: rgba(200, 166, 106, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.kz-studio-block-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.kz-studio-block-controls button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}

.kz-studio-block-controls button:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Studio Insertion Divider */
.kz-studio-add-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  position: relative;
}

.kz-studio-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.kz-studio-add-trigger {
  position: relative;
}

.kz-studio-add-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: #11171b;
  border: 1px solid rgba(200, 166, 106, 0.4);
  color: #c8a66a;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
}

.kz-studio-add-pill-btn:hover {
  background: #c8a66a;
  color: #000;
  box-shadow: 0 0 12px rgba(200, 166, 106, 0.3);
}

.kz-studio-quick-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  background: #0f141a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  width: 280px;
}

.kz-studio-quick-menu button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: #e2e8f0;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.kz-studio-quick-menu button:hover {
  background: rgba(200, 166, 106, 0.15);
  border-color: rgba(200, 166, 106, 0.4);
  color: #ffffff;
}

.kz-studio-quick-menu button .icon {
  font-size: 0.9rem;
  color: #c8a66a;
  width: 18px;
  text-align: center;
}

/* Studio Editable Inputs */
.kz-studio-editable-p {
  outline: none;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e2e8f0;
  min-height: 2.5rem;
}

.kz-studio-editable-p[placeholder]:empty:before {
  content: attr(placeholder);
  color: #64748b;
  cursor: text;
}

.kz-studio-heading-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--kz-font-heading, var(--font-sans));
  width: 100%;
}

.kz-studio-tab-btn {
  padding: 0.35rem 0.75rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
}

.kz-studio-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.kz-social-provider-tag {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: #1e293b;
  color: #38bdf8;
}

.kz-social-provider-tag[data-provider="twitter"] {
  background: rgba(29, 155, 240, 0.15);
  color: #1d9bf0;
}

.kz-social-provider-tag[data-provider="youtube"] {
  background: rgba(255, 0, 0, 0.15);
  color: #ff4d4d;
}

.kz-social-provider-tag[data-provider="instagram"] {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c;
}

.kz-studio-view-btn {
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.kz-studio-view-btn.active {
  background: #c8a66a;
  color: #000;
  border-color: #c8a66a;
}

/* 320px–390px Ultra-Small Viewport Responsive Safeguards */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.kz-article-container {
  max-width: 860px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 420px) {
  .kz-article-container {
    padding: 1.25rem 0.75rem 3rem;
  }
  .kz-byline-card {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .kz-pullquote-box {
    padding: 0.85rem 1rem;
    font-size: 1.15rem;
  }
  .kz-studio-block-card {
    padding: 0.75rem;
  }
  .kz-studio-block-header {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
}
