/* ==========================================================================
   PTVSports.live - Master Stylesheet
   Official PTV Sports Light Theme Design System
   High-Performance Pakistani & Global Sports Media Portal
   Version: 3.1.0
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens (:root)
   ========================================================================== */
:root {
    /* --- Official PTV Sports Brand Palette --- */
    --ptv-red: #D71920;
    --ptv-red-hover: #B9151B;
    --ptv-gold: #D5A52A;
    --ptv-gold-light: #FDF8ED;
    --ptv-gold-dark: #B48B1C;
    --ptv-black: #171717;

    /* --- Neutral Grays --- */
    --ptv-gray-dark: #2A2A2A;
    --ptv-gray-medium: #777777;
    --ptv-gray-light: #E5E5E5;

    /* --- Surfaces & Backgrounds (Light Theme Foundation) --- */
    --bg-body: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-muted: #F0F0F0;
    --bg-surface: #FFFFFF;
    --bg-subtle: #FAFAFA;
    --bg-elevated: #FFFFFF;
    --bg-card-hover: #FAFAFA;
    --bg-card-subtle: #F9FAFB;

    /* --- Typography Colors --- */
    --text-primary: #171717;
    --text-secondary: #555555;
    --text-muted: #777777;
    --text-dim: #999999;
    --text-light: #555555;
    --text-on-dark: #FFFFFF;

    /* --- Borders & Dividers --- */
    --border: #E5E5E5;
    --border-light: #EEEEEE;
    --border-dark: #D4D4D4;
    --border-focus: #D71920;

    /* --- Dark Footer Surface --- */
    --footer-bg: #171717;
    --footer-text: #E0E0E0;
    --footer-muted: #999999;
    --footer-border: #2A2A2A;

    /* --- Functional & Status Colors --- */
    --status-live: #D71920;
    --status-upcoming: #2563EB;
    --status-finished: #16834A;
    --status-completed: #16834A;
    --status-break: #D97706;

    --success: #16834A;
    --success-light: #ECFDF5;
    --warning: #D97706;
    --warning-light: #FFFBEB;
    --info: #2563EB;
    --info-light: #EFF6FF;
    --danger: #D71920;
    --danger-light: #FEF2F2;

    /* --- Pakistani Sports Accents --- */
    --pak-green: #006622;
    --pak-green-light: #00873E;
    --pak-green-dark: #004D1A;
    --pak-green-subtle: #F0FDF4;

    /* --- Border Radii --- */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* --- Elevation & Box Shadows --- */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 3px 14px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.09);
    --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.1);
    --shadow-modal: 0 20px 45px rgba(0, 0, 0, 0.18);
    --shadow-red-glow: 0 4px 16px rgba(215, 25, 32, 0.2);
    --shadow-gold-glow: 0 4px 16px rgba(213, 165, 42, 0.25);

    /* --- Layout Metrics --- */
    --container-max: 1280px;
    --container-pad: clamp(1rem, 3vw, 2rem);
    --header-height: 72px;
    --utility-height: 38px;
    --ticker-height: 42px;

    /* --- Font Stacks --- */
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;

    /* --- Transitions --- */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* --- Legacy Aliases for Seamless Backwards Compatibility --- */
    --bg-page: var(--bg-body);
    --bg-navy: var(--bg-body);
    --bg-deep: var(--bg-card);
    --border-color: var(--border);
    --crimson: var(--ptv-red);
    --crimson-hover: var(--ptv-red-hover);
    --crimson-glow: var(--shadow-red-glow);
    --gold: var(--ptv-gold);
    --gold-bright: var(--ptv-gold);
    --gold-hover: #B48B1C;
    --gold-glow: var(--shadow-gold-glow);
    --text-heading: var(--text-primary);
    --text-white: #FFFFFF;
    --text-main: var(--text-primary);
    --text-body: var(--text-secondary);
    --text-accent: var(--ptv-red);
    --primary: var(--ptv-red);
    --primary-dark: var(--ptv-red-hover);
    --dark: var(--ptv-black);
    --live-red: var(--ptv-red);
    --accent: var(--ptv-gold);
    --gray-50: var(--bg-subtle);
    --gray-100: var(--bg-muted);
    --gray-200: var(--border);
    --gray-300: var(--border-dark);
    --gray-600: var(--text-secondary);
    --gray-700: #404040;
    --bg-footer: var(--footer-bg);
    --text-footer: var(--footer-text);
    --text-footer-muted: var(--footer-muted);
}


/* ==========================================================================
   2. Reset, Normalize & Base Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -0.011em;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Headings with tight tracking and #171717 primary color */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

h1, .h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.035em; font-weight: 800; }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: -0.03em; font-weight: 700; }
h3, .h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: -0.025em; }
h4, .h4 { font-size: 1.25rem; }
h5, .h5 { font-size: 1.05rem; }
h6, .h6 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--ptv-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--ptv-red-hover);
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background-color: var(--ptv-red);
    color: #FFFFFF;
}

.site-main,
.page-main,
.admin-main {
    flex: 1 0 auto;
    width: 100%;
}


/* ==========================================================================
   3. Container & Layout System
   ========================================================================== */
.site-container,
.container,
.container-xl,
.container-lg {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.container-fluid {
    width: 100%;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

/* Page Section Wrappers */
.page-section,
.home-section,
.pakistan-hub-section,
.psl-zone-section {
    padding: 2.25rem 0;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.page-section-header,
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.page-section-header::after,
.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--ptv-red);
}

.page-section-title,
.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.section-action-link,
.view-all-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ptv-red);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.section-action-link:hover,
.view-all-link:hover {
    color: var(--ptv-red-hover);
    transform: translateX(3px);
}

/* Card base */
.card,
.base-card,
.ptv-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}

.card:hover,
.base-card:hover,
.ptv-card:hover,
.ptv-card-hover:hover,
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-dark);
}

.card-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border);
    padding: 0.85rem 1.25rem;
}

.card-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Utility layout helpers */
.hover-shadow:hover { box-shadow: var(--shadow-hover) !important; }
.transition-all { transition: all var(--transition-base) !important; }
.object-fit-cover { object-fit: cover !important; }
.letter-spacing-1 { letter-spacing: 0.05em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.font-monospace { font-family: var(--font-mono) !important; }
.underline { text-decoration: underline !important; }
.hover-danger:hover { color: var(--ptv-red) !important; }


/* ==========================================================================
   4. Buttons, Badges, Pills & Controls
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.4;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary,
.btn-danger {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
    border-color: var(--ptv-red);
}

.btn-primary:hover,
.btn-danger:hover {
    background-color: var(--ptv-red-hover);
    border-color: var(--ptv-red-hover);
    color: #FFFFFF !important;
    box-shadow: var(--shadow-red-glow);
}

.btn-secondary {
    background-color: var(--bg-muted);
    color: var(--text-primary) !important;
    border-color: var(--border);
}

.btn-secondary:hover {
    background-color: var(--border);
    color: var(--text-primary) !important;
}

.btn-outline-danger {
    background-color: transparent;
    color: var(--ptv-red) !important;
    border-color: var(--ptv-red);
}

.btn-outline-danger:hover {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--text-secondary) !important;
    border-color: var(--border-dark);
}

.btn-outline-secondary:hover {
    background-color: var(--bg-muted);
    color: var(--text-primary) !important;
    border-color: var(--ptv-gray-medium);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--ptv-black) !important;
    border-color: var(--ptv-black);
}

.btn-outline-dark:hover {
    background-color: var(--ptv-black);
    color: #FFFFFF !important;
}

.btn-gold {
    background-color: var(--ptv-gold);
    color: #FFFFFF !important;
    border-color: var(--ptv-gold);
}

.btn-gold:hover {
    background-color: var(--ptv-gold-dark);
    border-color: var(--ptv-gold-dark);
    box-shadow: var(--shadow-gold-glow);
}

.btn-sm {
    padding: 0.38rem 0.8rem;
    font-size: 0.82rem;
    border-radius: var(--radius-xs);
}

.btn-lg {
    padding: 0.8rem 1.6rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* Badges & Status Pills */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: var(--radius-xs);
    line-height: 1;
    white-space: nowrap;
}

.badge-ptv-red,
.badge-danger {
    background-color: var(--ptv-red);
    color: #FFFFFF;
}

.badge-ptv-gold,
.badge-gold,
.gold-badge {
    background-color: var(--ptv-gold);
    color: #FFFFFF;
}

.badge-primary {
    background-color: var(--info);
    color: #FFFFFF;
}

.badge-secondary {
    background-color: var(--bg-muted);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.badge-success {
    background-color: var(--success);
    color: #FFFFFF;
}

.badge-warning {
    background-color: var(--warning);
    color: #FFFFFF;
}

.badge-info {
    background-color: var(--info);
    color: #FFFFFF;
}

.badge-light {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.badge-draft {
    background-color: #64748B;
    color: #FFFFFF;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* Live & Status Pills */
.badge-live-pill,
.live-badge,
.live-pill,
.tag-live {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow-red-glow);
}

.badge-upcoming-pill {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-completed-pill {
    background-color: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-captain {
    background-color: var(--ptv-gold);
    color: #FFFFFF;
    font-weight: 800;
    border-radius: var(--radius-xs);
    padding: 0.2rem 0.45rem;
}

.badge-overseas {
    background-color: #3B82F6;
    color: #FFFFFF;
    border-radius: var(--radius-xs);
    padding: 0.2rem 0.45rem;
}

.badge-wk {
    background-color: #10B981;
    color: #FFFFFF;
    border-radius: var(--radius-xs);
    padding: 0.2rem 0.45rem;
}

.article-badge-pill,
.category-badge,
.widget-badge {
    background-color: var(--bg-muted);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.player-role-pill,
.player-role-badge {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-xs);
}

.qualified {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
}

/* Category Filter Strips & Pills */
.category-filter-scroll,
.league-filter-strip,
.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.category-filter-pill,
.league-filter-pill,
.league-chip-badge {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.category-filter-pill:hover,
.league-filter-pill:hover {
    background-color: var(--bg-muted);
    color: var(--text-primary);
    border-color: var(--border-dark);
}

.category-filter-pill.active,
.league-filter-pill.active {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
    border-color: var(--ptv-red);
    box-shadow: var(--shadow-red-glow);
}


/* ==========================================================================
   5. Top Utility Bar, Header & Navigation
   ========================================================================== */
/* Utility Bar */
.utility-bar {
    background-color: #111111;
    color: #BBBBBB;
    font-size: 0.78rem;
    border-bottom: 1px solid #222222;
    min-height: var(--utility-height);
    display: flex;
    align-items: center;
    z-index: 1020;
    position: relative;
}

.utility-inner,
.utility-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.utility-date,
.utility-clock,
.utility-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #999999;
}

.utility-pkt-badge {
    background-color: #222222;
    color: var(--ptv-gold);
    border: 1px solid #333333;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-xs);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.utility-trending {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.utility-trending-badge {
    background: linear-gradient(135deg, var(--ptv-red), #FF3B30);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.utility-trending-item,
.utility-trending-link,
.utility-link {
    color: #CCCCCC;
    transition: color var(--transition-fast);
}

.utility-trending-item:hover,
.utility-trending-link:hover,
.utility-link:hover {
    color: #FFFFFF;
}

.utility-divider,
.utility-sep {
    color: #333333;
}

.utility-social-link,
.utility-socials a {
    color: #999999;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.utility-social-link:hover,
.utility-socials a:hover {
    color: var(--ptv-gold);
}

/* Site Header */
.site-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner,
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1.5rem;
}

/* Brand Identity */
.header-brand,
.brand-link,
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-emblem-wrap,
.brand-icon-wrap {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--ptv-red) 0%, #A81016 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: var(--shadow-red-glow);
    flex-shrink: 0;
}

.brand-emblem,
.brand-emblem-svg {
    color: #FFFFFF;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title-row,
.brand-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1;
}

.brand-ptv {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--ptv-black);
}

.brand-sports {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--ptv-red);
}

.brand-live-pill {
    background-color: var(--ptv-red);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 0.2rem;
}

.brand-badge {
    background-color: var(--ptv-gold);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-toggle-btn,
.header-search-btn,
.utility-search-btn,
.mobile-menu-btn,
.mobile-nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: var(--bg-card);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all var(--transition-fast);
}

.search-toggle-btn:hover,
.header-search-btn:hover,
.mobile-menu-btn:hover,
.mobile-nav-toggle:hover {
    background-color: var(--bg-muted);
    border-color: var(--border-dark);
    color: var(--ptv-red);
}

/* Header Search Expanded Drawer/Bar */
.header-search-bar {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 0.75rem 0;
    display: none;
}

.header-search-bar.is-open {
    display: block;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input,
.search-input-field {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.search-input:focus,
.search-input-field:focus {
    outline: none;
    border-color: var(--ptv-red);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.search-icon-inside,
.search-input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
}

.search-btn-text {
    font-weight: 600;
    font-size: 0.88rem;
}

/* Main Navigation Bar */
.main-nav-bar,
.primary-nav {
    background-color: var(--ptv-black);
    color: #FFFFFF;
    border-top: 1px solid #2A2A2A;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    color: #E0E0E0;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast);
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #FFFFFF;
    border-bottom-color: var(--ptv-red);
    background-color: rgba(215, 25, 32, 0.1);
}

.nav-link-live {
    color: #FFFFFF !important;
}

.nav-live-pill {
    background-color: var(--ptv-red);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-badge-gold {
    background-color: var(--ptv-gold);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.03em;
}

/* Nav Dropdown Mega-Menu */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-dropdown);
    padding: 1.25rem;
    min-width: 280px;
    z-index: 1010;
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-item:hover .nav-dropdown-menu,
.nav-item:focus-within .nav-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.6rem 0.85rem;
    color: var(--text-primary);
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--bg-muted);
    color: var(--ptv-red);
    transform: translateX(4px);
}

.dropdown-item-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.15rem;
}

/* League Quick Strip (Horizontal Scroll) */
.league-strip {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border);
    padding: 0.45rem 0;
    overflow: hidden;
}

.league-strip-inner,
.league-subnav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--container-pad);
}

.league-strip-inner::-webkit-scrollbar,
.league-subnav::-webkit-scrollbar {
    display: none;
}

.league-chip,
.league-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.league-chip:hover,
.league-subnav-link:hover {
    background-color: var(--bg-muted);
    border-color: var(--border-dark);
    color: var(--ptv-red);
}

.league-chip.active,
.league-subnav-link.active {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
    border-color: var(--ptv-red);
    box-shadow: var(--shadow-red-glow);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.mobile-drawer.is-open {
    display: block;
}

.drawer-backdrop,
.mobile-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.drawer-panel,
.mobile-drawer-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 340px;
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: var(--shadow-modal);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.mobile-drawer.is-open .drawer-panel,
.mobile-drawer.is-open .mobile-drawer-body {
    transform: translateX(0);
}

.drawer-header,
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.brand-logo-drawer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-nav,
.mobile-nav,
.mobile-nav-list {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}

.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--ptv-red);
    background-color: var(--bg-muted);
}

.mobile-drawer-footer {
    margin-top: auto;
    padding: 1.25rem;
    border-top: 1px solid var(--border);
}


/* ==========================================================================
   6. Breaking News & Latest Ticker
   ========================================================================== */
.breaking-ticker-wrap,
.ticker-container,
.breaking-ticker {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border);
    min-height: var(--ticker-height);
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    z-index: 990;
}

.ticker-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.ticker-badge-breaking,
.ticker-badge-wrap {
    background: linear-gradient(135deg, var(--ptv-red) 0%, #B9151B 100%);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.ticker-badge-pulse,
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
    animation: live-pulse 1.4s ease-in-out infinite;
}

.ticker-gold-divider {
    width: 4px;
    background: linear-gradient(180deg, var(--ptv-gold) 0%, #F59E0B 100%);
    flex-shrink: 0;
    z-index: 2;
}

.ticker-content,
.ticker-track-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: tickerMarquee 42s linear infinite;
}

.ticker-content:hover .ticker-track,
.ticker-container:hover .ticker-track,
.ticker-track.is-paused {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ticker-item-link,
.ticker-item-text {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ticker-item-link:hover {
    color: var(--ptv-red);
}

.ticker-item-time {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.ticker-item-sep,
.ticker-bullet {
    color: var(--ptv-gold);
    font-weight: 800;
}

.ticker-controls,
.ticker-pause {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    background-color: #FFFFFF;
    border-left: 1px solid var(--border);
    flex-shrink: 0;
    z-index: 2;
}

.ticker-pause-btn {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-xs);
    transition: all var(--transition-fast);
}

.ticker-pause-btn:hover {
    color: var(--ptv-red);
    background-color: var(--bg-muted);
}

.ticker-pause-text {
    font-size: 0.75rem;
    font-weight: 600;
}

@keyframes tickerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ==========================================================================
   7. Hero & Featured Editorial Stories
   ========================================================================== */
.hero-story-section {
    padding: 1.75rem 0 2rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1.15fr;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-main-card,
.hero-primary-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--ptv-black);
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-main-card:hover,
.hero-primary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-media-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-main-card:hover .hero-media-img,
.hero-primary-card:hover .hero-media-img {
    transform: scale(1.04);
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.05) 0%, rgba(23, 23, 23, 0.4) 45%, rgba(23, 23, 23, 0.94) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    color: #FFFFFF;
}

.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.hero-category-badge {
    background-color: var(--ptv-red);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    color: #FFFFFF !important;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hero-title a {
    color: #FFFFFF !important;
    text-decoration: none;
}

.hero-title a:hover {
    color: var(--ptv-gold-light) !important;
}

.hero-excerpt {
    color: #D6D6D6;
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: #BBBBBB;
}

/* Secondary Col of Hero */
.hero-secondary-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-sub-card,
.secondary-featured-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--ptv-black);
    flex: 1;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-sub-card:hover,
.secondary-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-sub-card .hero-content {
    padding: 1.15rem;
}

.hero-sub-card .hero-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}


/* ==========================================================================
   8. Live Match Cards & Match Center Components (mc-*)
   ========================================================================== */
/* Pulsing Indicators */
.live-dot,
.live-pulse-dot,
.live-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--ptv-red);
    border-radius: 50%;
    display: inline-block;
    animation: live-pulse 1.3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-ping {
    animation: pulseRing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.15);
    }
}

@keyframes pulseRing {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Live Match Top Horizontal Selector Strip */
.mc-strip-wrapper,
.match-strip-wrapper {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    overflow: hidden;
}

.mc-strip,
.match-strip-carousel {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 0 var(--container-pad) 0.4rem var(--container-pad);
    -webkit-overflow-scrolling: touch;
}

.mc-strip-card,
.match-strip-card {
    min-width: 250px;
    max-width: 270px;
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-fast);
    text-decoration: none;
    color: var(--text-primary);
}

.mc-strip-card:hover {
    border-color: var(--border-dark);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.mc-strip-card.is-live {
    border-top: 3px solid var(--ptv-red);
}

.mc-strip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
    font-weight: 600;
}

.mc-strip-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.mc-strip-score {
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.mc-strip-status {
    font-size: 0.72rem;
    color: var(--ptv-red);
    font-weight: 600;
    margin-top: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Match Center Hero Scoreboard Card */
.mc-hero-card,
.match-center-hero {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.mc-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ptv-red) 0%, var(--ptv-gold) 100%);
}

.mc-hero-header,
.match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.mc-tournament-tag,
.match-tournament {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mc-stage-badge,
.match-status-badge {
    background-color: var(--bg-muted);
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Battle Grid (Team vs Team Scoreboard) */
.mc-battle-grid,
.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.mc-team-block,
.match-team-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mc-team-block.team-b,
.team-b {
    flex-direction: row-reverse;
    text-align: right;
}

.mc-team-crest {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    padding: 4px;
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.mc-team-fallback-crest {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-muted);
    color: var(--text-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid var(--border);
}

.mc-team-details {
    display: flex;
    flex-direction: column;
}

.mc-team-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.mc-team-score-num,
.score-main {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 900;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1;
}

.mc-team-overs,
.overs-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

.mc-team-rr {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.mc-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mc-vs-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-muted);
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.mc-status-banner,
.match-note {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ptv-red);
}

.mc-status-banner.is-live {
    background-color: #FEF2F2;
    border-color: #FCA5A5;
    color: var(--ptv-red);
}

.mc-hero-footer,
.match-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Match Tabs Navigation */
.mc-tab-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.mc-tab-btn {
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
    white-space: nowrap;
    background: none;
}

.mc-tab-btn:hover {
    color: var(--text-primary);
}

.mc-tab-btn.active {
    color: var(--ptv-red);
    border-bottom-color: var(--ptv-red);
}

.mc-tab-panel {
    display: none;
}

.mc-tab-panel.active {
    display: block;
}

/* Over Summary Token Bar */
.mc-over-summary-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.mc-balls-list {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mc-ball-token {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background-color: #FFFFFF;
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
}

.mc-ball-token.four {
    background-color: #EFF6FF;
    border-color: #3B82F6;
    color: #1D4ED8;
}

.mc-ball-token.six {
    background-color: #FEF3C7;
    border-color: #F59E0B;
    color: #B45309;
}

.mc-ball-token.wicket {
    background-color: #FEE2E2;
    border-color: #EF4444;
    color: #B91C1C;
}

/* Match Timeline & Commentary */
.mc-commentary-wrap,
.mc-timeline,
.overs-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mc-timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.mc-timeline-time {
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--ptv-red);
    font-size: 0.88rem;
    white-space: nowrap;
}

.mc-timeline-desc {
    color: var(--text-primary);
    font-size: 0.92rem;
}

.mc-timeline-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* Match Info Cards */
.mc-info-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.mc-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.mc-info-item {
    display: flex;
    flex-direction: column;
}

.mc-info-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mc-info-val {
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* Squads Grid in Match Center */
.mc-squads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mc-squad-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mc-squad-header {
    background-color: var(--bg-muted);
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}

/* Standard Match Card in Grid (Home/Fixtures) */
.match-card,
.match-card-live,
.ptv-match-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    transition: all var(--transition-base);
}

.match-card:hover,
.match-card-live:hover,
.ptv-match-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.match-card.is-live {
    border-top: 3px solid var(--ptv-red);
}


/* ==========================================================================
   9. Article Cards Grid & Archive Layouts
   ========================================================================== */
.article-cards-grid,
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.article-card,
.editorial-news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.article-card:hover,
.editorial-news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-dark);
}

.article-card-thumb,
.editorial-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-muted);
}

.article-card-img,
.editorial-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-card-img,
.editorial-news-card:hover .editorial-card-thumb img {
    transform: scale(1.05);
}

.article-card-badge,
.editorial-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--ptv-red);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
}

.article-card-body,
.editorial-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-title,
.editorial-card-title {
    color: var(--text-primary) !important;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.article-card-title a,
.editorial-card-title a {
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-card-title a:hover,
.editorial-card-title a:hover {
    color: var(--ptv-red) !important;
}

.article-card-excerpt,
.editorial-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta,
.editorial-card-meta,
.news-spotlight-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

/* Spotlight Hero on News Page */
.news-hero-spotlight {
    margin-bottom: 2.5rem;
}

.news-spotlight-inner {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
}

.news-spotlight-media {
    position: relative;
    min-height: 360px;
}

.news-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-spotlight-content {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-spotlight-badge {
    align-self: flex-start;
    background-color: var(--ptv-red);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.news-spotlight-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}

.news-spotlight-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.news-spotlight-title a:hover {
    color: var(--ptv-red);
}

.news-spotlight-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}


/* ==========================================================================
   10. Fixtures, Results & Schedule Layouts
   ========================================================================== */
.fixture-date-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
}

.fixture-date-divider h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.fixture-date-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border);
}

.fixture-row-card,
.fixture-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.85rem;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-fast);
}

.fixture-row-card:hover,
.fixture-card:hover {
    border-color: var(--border-dark);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.fixture-time-area {
    display: flex;
    flex-direction: column;
}

.fixture-pkt-badge {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1rem;
    color: var(--ptv-red);
}

.fixture-utc-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fixture-teams-area {
    display: flex;
    flex-direction: column;
}

.fixture-vs-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.fixture-venue-text,
.match-venue {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.fixture-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Modern Results Cards */
.result-card,
.result-card-modern {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.result-card-modern:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.result-outcome-banner {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-xs);
    margin-top: 0.85rem;
}

.result-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0;
    font-weight: 600;
    color: var(--text-primary);
}

.result-score-val {
    font-family: var(--font-mono);
    font-weight: 800;
}


/* ==========================================================================
   11. Scorecards, Data Tables & Cricket Statistics
   ========================================================================== */
.scorecard-wrap,
.scorecard-container,
.mc-scorecard-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.mc-scorecard-header {
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-scorecard-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mc-scorecard-total {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ptv-red);
}

.mc-table,
.cricket-stats-table,
.cricket-table,
.points-table,
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.mc-table th,
.cricket-stats-table th,
.cricket-table th,
.points-table th,
.admin-table th {
    background-color: var(--bg-muted);
    color: var(--text-primary);
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.mc-table td,
.cricket-stats-table td,
.cricket-table td,
.points-table td,
.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.mc-table tr:hover td,
.cricket-stats-table tr:hover td,
.cricket-table tr:hover td,
.points-table tr:hover td,
.admin-table tr:hover td {
    background-color: var(--bg-subtle);
}

.num-col {
    text-align: right;
    font-family: var(--font-mono);
}

.bold-val,
.stat-num-bold {
    font-weight: 800;
}

.highlight-val {
    color: var(--ptv-red);
    font-weight: 800;
}

/* Fall of Wickets */
.mc-fow-section {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    background-color: var(--bg-subtle);
}

.mc-fow-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.mc-fow-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mc-fow-chip {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-xs);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

/* Did Not Bat */
.mc-dnb-section {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mc-player-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mc-player-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.mc-player-name {
    font-weight: 600;
    color: var(--text-primary);
}

.mc-role-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination,
.pagination-nav,
.pagination-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    list-style: none;
    margin: 0;
}

.pagination-summary {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.page-item,
.page-prev,
.page-next,
.page-link,
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: #FFFFFF;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.page-item:hover:not(.disabled),
.page-link:hover:not(.disabled),
.pagination-link:hover:not(.disabled) {
    background-color: var(--bg-muted);
    border-color: var(--border-dark);
    color: var(--ptv-red);
}

.page-item.active,
.page-link.active,
.pagination-link.active {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
    border-color: var(--ptv-red);
}

.page-item.disabled,
.page-link.disabled,
.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.page-ellipsis,
.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-muted);
}

.page-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
}


/* ==========================================================================
   12. PSL Zone, Franchise Hub & Points Tables
   ========================================================================== */
.psl-zone-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
    border-top: 2px solid var(--ptv-gold);
    border-bottom: 1px solid var(--border);
}

.psl-hero,
.psl-hub-hero,
.league-hero {
    background: linear-gradient(135deg, #171717 0%, #2A2A2A 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.league-hero-psl {
    border-bottom: 4px solid var(--ptv-gold);
}

.league-hero-ipl {
    border-bottom: 4px solid #1D4ED8;
}

.league-hero-bpl {
    border-bottom: 4px solid #059669;
}

.league-hero-cpl {
    border-bottom: 4px solid #D97706;
}

.league-hero h1,
.league-hero .display-5 {
    color: #FFFFFF !important;
    font-weight: 900;
    letter-spacing: -0.035em;
    margin-bottom: 0.85rem;
}

.league-hero p.lead {
    color: #E0E0E0 !important;
    font-size: 1.15rem;
    max-width: 680px;
}

/* Franchise Cards */
.franchise-grid,
.psl-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.franchise-card,
.psl-team-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.franchise-card::before,
.psl-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ptv-gold);
}

.franchise-card:hover,
.psl-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--ptv-gold);
}

.franchise-crest {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
}

.franchise-card:hover .franchise-crest,
.psl-team-card:hover .franchise-crest {
    transform: scale(1.08);
}

.franchise-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.franchise-titles-badge {
    background-color: var(--ptv-gold-light);
    color: var(--ptv-gold-dark);
    border: 1px solid rgba(213, 165, 42, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

/* Points Table Container */
.points-table-container {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}

.points-table-header {
    background-color: var(--bg-muted);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Trust Footnote in League Hubs */
.trust-footnote {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2rem;
}

.trust-footnote-content {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.trust-footnote-icon {
    font-size: 1.4rem;
    color: var(--ptv-red);
    flex-shrink: 0;
}


/* ==========================================================================
   13. Player & Team Profiles
   ========================================================================== */
.player-hero-card,
.player-profile-header,
.team-hero-header {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
}

.player-hero-grid,
.team-hero-flex {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.player-avatar-wrap,
.team-crest-badge,
.team-logo-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    background-color: var(--bg-muted);
}

.player-avatar-wrap img,
.team-crest-badge img,
.team-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-avatar-fallback,
.team-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-muted);
}

.player-name-heading,
.team-name-title,
.team-name-text {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.player-quick-specs,
.player-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.player-country-badge {
    background-color: var(--bg-muted);
    border: 1px solid var(--border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Format Tabs Navigation */
.format-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.format-tab-btn,
.squad-filter-btn {
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: all var(--transition-fast);
}

.format-tab-btn:hover,
.squad-filter-btn:hover {
    color: var(--text-primary);
}

.format-tab-btn.active,
.squad-filter-btn.active {
    color: var(--ptv-red);
    border-bottom-color: var(--ptv-red);
}

.format-stat-pane {
    display: none;
}

.format-stat-pane.active {
    display: block;
}

.cricket-stats-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.cricket-stats-title {
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

/* Player Cards in Squads */
.player-card,
.team-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.player-card:hover,
.team-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.player-card-body,
.team-card-stats {
    padding: 1rem;
}

.player-card-name,
.team-card-name {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.squad-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.stat-center {
    text-align: center;
}


/* ==========================================================================
   14. Editorial News, Article Single View & Rich Content (8/4 Layout)
   ========================================================================== */
.article-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2rem 0;
}

.article-main-col {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.sticky-editorial-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Reading Progress Bar */
.reading-progress-bar,
.article-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ptv-red) 0%, var(--ptv-gold) 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

.article-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.article-title,
.article-main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.article-lead,
.article-lead-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444444;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.byline-bar,
.byline-author-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.byline-author-area {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.byline-avatar,
.author-bio-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-muted);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.byline-name,
.article-author {
    font-weight: 700;
    color: var(--text-primary) !important;
    font-size: 0.95rem;
}

.byline-meta-sub,
.article-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.byline-badges {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.byline-pill {
    background-color: var(--bg-muted);
    color: var(--text-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
    font-size: 0.72rem;
    font-weight: 600;
}

.author-bio-box {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.author-role-title {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Social Share Bar */
.social-share-bar,
.article-share-bar,
.share-buttons-group,
.sticky-share-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn,
.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.share-btn:hover,
.social-icon-btn:hover {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
    border-color: var(--ptv-red);
}

/* Article Body Typography */
.article-body,
.article-editorial-body {
    font-size: 1.08rem;
    line-height: 1.78;
    color: #262626;
}

.article-body p,
.article-editorial-body p {
    margin-bottom: 1.5rem;
    color: #262626;
}

.article-body h2,
.article-editorial-body h2 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.article-body h3,
.article-editorial-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-dropcap::first-letter,
.dropcap::first-letter {
    float: left;
    font-size: 3.8rem;
    line-height: 0.82;
    padding-top: 4px;
    padding-right: 12px;
    padding-bottom: 4px;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--ptv-red);
}

.article-body blockquote,
.article-editorial-body blockquote {
    border-left: 4px solid var(--ptv-red);
    padding: 1rem 1.5rem;
    margin: 1.75rem 0;
    background-color: var(--bg-subtle);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-primary);
}

/* Breadcrumbs */
.breadcrumb-nav,
.breadcrumbs {
    padding: 0.85rem 0;
    font-size: 0.85rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--ptv-red);
}

.breadcrumb-sep,
.breadcrumbs-sep {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.breadcrumbs-current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Editorial Verification Box */
.editorial-verification-box {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #3B82F6;
    border-radius: var(--radius-sm);
    padding: 1.15rem 1.25rem;
    margin: 2rem 0;
    display: flex;
    gap: 0.85rem;
}

.verification-icon {
    font-size: 1.35rem;
    color: #3B82F6;
    flex-shrink: 0;
}

.verification-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.ptv-data-attribution {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* PSL Quick Widget */
.psl-quick-widget {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
}

.psl-quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.psl-quick-link-btn {
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    transition: all var(--transition-fast);
}

.psl-quick-link-btn:hover {
    background-color: var(--ptv-gold-light);
    border-color: var(--ptv-gold);
    color: var(--ptv-gold-dark);
}

/* Sidebar Editorial Widgets */
.editorial-sidebar-widget {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
}

.sidebar-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.sidebar-widget-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--ptv-red);
}

.sidebar-widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-story-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-story-thumb {
    width: 76px;
    height: 56px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--bg-muted);
}

.sidebar-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-story-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.sidebar-story-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.sidebar-story-title a:hover {
    color: var(--ptv-red);
}

.sidebar-story-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Related Stories Section */
.related-stories-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.related-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.related-story-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.related-story-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.related-story-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.related-story-body {
    padding: 1rem;
}

.related-story-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.related-story-title a {
    color: var(--text-primary);
}

.related-story-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Institutional Policy Cards */
.institutional-content-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.policy-callout-box,
.callout-info {
    background-color: #EFF6FF;
    border-left: 4px solid #2563EB;
    border-radius: var(--radius-xs);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.policy-callout-title {
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 0.35rem;
}

.internal-link {
    color: var(--ptv-red);
    font-weight: 600;
}

/* Newsletter Component */
.newsletter-banner,
.newsletter-form {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.newsletter-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
}

.newsletter-btn {
    background-color: var(--ptv-red);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
}

.newsletter-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}


/* ==========================================================================
   15. Verification Badge, Alerts, Forms & Modals
   ========================================================================== */
.ptv-verified-pill,
.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    border-radius: var(--radius-full);
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.92rem;
}

.alert-error,
.alert-danger {
    background-color: #FEF2F2;
    border-color: #FCA5A5;
    color: #991B1B;
}

.alert-success {
    background-color: #ECFDF5;
    border-color: #A7F3D0;
    color: #065F46;
}

.alert-warning {
    background-color: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
}

.alert-info {
    background-color: #EFF6FF;
    border-color: #BFDBFE;
    color: #1E40AF;
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.alert-close:hover {
    opacity: 1;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.65rem 0.95rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    background-color: #FFFFFF;
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--ptv-red);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.form-help {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.required::after {
    content: ' *';
    color: var(--ptv-red);
}

.char-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 0.25rem;
}

/* Modals */
.modal-backdrop,
.search-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2050;
    display: none;
}

.modal-dialog,
.search-modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 560px;
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    z-index: 2060;
    overflow: hidden;
    display: none;
}

.modal-dialog-lg {
    max-width: 800px;
}

.modal-backdrop.is-open,
.modal-dialog.is-open,
.search-modal-backdrop.is-open,
.search-modal-box.is-open {
    display: block;
}

.modal-header,
.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.modal-body {
    padding: 1.5rem;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background-color: var(--bg-subtle);
}


/* ==========================================================================
   16. Modern Admin UI & Login
   ========================================================================== */
/* Login Page */
.login-page {
    background-color: #0F172A;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-wrap {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 2.25rem;
}

.login-brand-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--ptv-red) 0%, #A81016 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 1.25rem auto;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--bg-muted);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
    margin: 0 auto 1.5rem auto;
    width: fit-content;
}

.login-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--success);
}

.login-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-back-link:hover {
    color: var(--ptv-red);
}

.btn-submit {
    width: 100%;
    background-color: var(--ptv-red);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--ptv-red-hover);
}

.password-toggle-btn {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    background: none;
    border: none;
}

.rate-limit-badge {
    font-size: 0.78rem;
    color: var(--warning);
    margin-top: 0.5rem;
}

/* Admin Dashboard Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: #F8FAFC;
}

.admin-sidebar {
    width: 260px;
    background-color: #111827;
    color: #E5E7EB;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid #1F2937;
}

.sidebar-header {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid #1F2937;
}

.sidebar-nav {
    flex: 1;
    padding: 1.25rem 0.75rem;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9CA3AF;
    padding: 0.5rem 0.75rem;
    font-weight: 700;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: #D1D5DB;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: #1F2937;
    color: #FFFFFF;
}

.sidebar-nav a.active {
    border-left: 3px solid var(--ptv-red);
}

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #1F2937;
    background-color: #0F172A;
}

.admin-content-area,
.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* User dropdown in Admin */
.user-menu-dropdown {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: #FFFFFF;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dropdown);
    min-width: 200px;
    z-index: 1050;
    display: none;
}

.user-dropdown-menu.is-open {
    display: block;
}

.user-dropdown-item {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    font-size: 0.88rem;
    text-decoration: none;
}

.user-dropdown-item:hover {
    background-color: var(--bg-muted);
    color: var(--ptv-red);
}

/* Stat Cards */
.admin-stats-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.ptv-red, .stat-icon.red { background-color: #FEF2F2; color: var(--ptv-red); }
.stat-icon.emerald { background-color: #ECFDF5; color: #059669; }
.stat-icon.amber, .stat-icon.gold { background-color: #FFFBEB; color: #D97706; }
.stat-icon.royal, .stat-icon.blue { background-color: #EFF6FF; color: #2563EB; }
.stat-icon.purple { background-color: #FAF5FF; color: #7C3AED; }

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    font-family: var(--font-mono);
}

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

.diff-box {
    background-color: #0F172A;
    color: #E2E8F0;
    font-family: var(--font-mono);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    overflow-x: auto;
}

/* Google SERP Preview */
.google-serp-preview {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    max-width: 640px;
    margin: 1.5rem 0;
}

.serp-site-name {
    font-size: 0.82rem;
    color: #202124;
}

.serp-breadcrumb {
    font-size: 0.75rem;
    color: #4D5156;
}

.serp-title {
    font-size: 1.25rem;
    color: #1A0DAB;
    line-height: 1.3;
    cursor: pointer;
    margin: 0.25rem 0;
}

.serp-url-row {
    font-size: 0.75rem;
    color: #202124;
    margin-bottom: 0.25rem;
}

.serp-desc {
    font-size: 0.88rem;
    color: #4D5156;
    line-height: 1.5;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.media-item-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #FFFFFF;
}

.media-thumbnail-box {
    aspect-ratio: 1;
    background-color: var(--bg-muted);
    overflow: hidden;
}

.media-thumbnail-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-item-title {
    font-size: 0.78rem;
    padding: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tags Input */
.tags-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    background-color: #FFFFFF;
}

.tags-input-field {
    border: none;
    outline: none;
    flex: 1;
    min-width: 100px;
    font-size: 0.88rem;
}


/* ==========================================================================
   17. Micro-interactions, Transitions & Animations
   ========================================================================== */
.skeleton {
    background: linear-gradient(90deg, #F0F0F0 25%, #E5E5E5 50%, #F0F0F0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--radius-xs);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 100%;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 12px;
    width: 75%;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 16 / 9;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--ptv-red);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--ptv-red-hover);
    transform: translateY(-3px);
}

/* Accessibility: Focus visible outline & Skip link */
:focus-visible {
    outline: 2px solid var(--ptv-red);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 1rem;
    background-color: var(--ptv-red);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    z-index: 9999;
    border-radius: var(--radius-xs);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
}

/* Reduced Motion Mode */
@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;
    }
}


/* ==========================================================================
   18. Dark Footer Surface
   ========================================================================== */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    border-top: 4px solid var(--ptv-red);
    margin-top: auto;
    font-size: 0.9rem;
}

.footer-top {
    padding: 3.5rem 0 2.5rem 0;
    border-bottom: 1px solid var(--footer-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 2.5rem;
}

.footer-brand-col,
.footer-col-about {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.brand-title-light {
    color: #FFFFFF;
}

.footer-tagline,
.footer-about-text {
    color: var(--footer-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social-list,
.footer-social-bar,
.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #262626;
    color: #E0E0E0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background-color: var(--ptv-red);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.footer-col-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--ptv-gold);
}

.footer-link-list,
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-link {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-link:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

/* Citations & Editorial Trust Banner */
.footer-citations-banner {
    background-color: #0E0E0E;
    border-bottom: 1px solid var(--footer-border);
    padding: 1rem 0;
    font-size: 0.8rem;
    color: var(--footer-muted);
}

.footer-citations-text,
.footer-disclaimer-notice {
    line-height: 1.5;
    margin: 0;
}

.footer-bottom {
    padding: 1.5rem 0;
    background-color: #111111;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--footer-muted);
}

.footer-legal-links,
.footer-meta-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-legal-links a,
.footer-meta-links a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover,
.footer-meta-links a:hover {
    color: #FFFFFF;
}


/* ==========================================================================
   19. Comprehensive Responsive Breakpoints
   Official Target Form Factors: 360px, 480px, 768px, 1024px, 1280px, 1440px, 1920px
   ========================================================================== */

/* --- 1. Ultra-Compact Mobile (max-width: 360px) --- */
@media (max-width: 360px) {
    :root {
        --container-pad: 0.75rem;
        --header-height: 60px;
    }

    .brand-ptv,
    .brand-sports {
        font-size: 1.2rem;
    }

    .brand-emblem-wrap {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .mc-battle-grid {
        gap: 0.5rem;
    }

    .mc-team-score-num {
        font-size: 1.3rem;
    }
}

/* --- 2. Standard Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    .utility-bar {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-main-card {
        min-height: 320px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .article-cards-grid,
    .news-cards-grid,
    .franchise-grid {
        grid-template-columns: 1fr;
    }

    .mc-battle-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mc-team-block,
    .mc-team-block.team-b {
        flex-direction: column;
        text-align: center;
    }

    .fixture-row-card {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .player-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .player-avatar-wrap {
        margin: 0 auto;
    }
}

/* --- 3. Tablet Portrait (max-width: 768px) --- */
@media (max-width: 768px) {
    .main-nav-bar {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .news-spotlight-inner {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand-col {
        grid-column: span 2;
    }
}

/* --- 4. Tablet Landscape / Small Desktop (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-col {
        grid-column: span 2;
    }

    .article-layout {
        gap: 1.5rem;
    }
}

/* --- 5. Desktop Standard (min-width: 1025px) --- */
@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* --- 6. Widescreen Desktop (min-width: 1440px) --- */
@media (min-width: 1440px) {
    :root {
        --container-max: 1360px;
    }

    .hero-main-card {
        min-height: 480px;
    }
}

/* --- 7. Full HD / High-Res Displays (min-width: 1920px) --- */
@media (min-width: 1920px) {
    :root {
        --container-max: 1440px;
    }
}

/* Print Optimization */
@media print {
    .utility-bar,
    .breaking-ticker-wrap,
    .main-nav-bar,
    .site-footer,
    .social-share-bar,
    .reading-progress-bar {
        display: none !important;
    }

    body {
        background-color: #FFFFFF !important;
        color: #000000 !important;
    }

    .card,
    .article-main-col {
        box-shadow: none !important;
        border: 1px solid #CCCCCC !important;
    }
}


/* ==========================================================================
   20. USA Cricket & Major League Cricket (MLC) Module
   Dedicated styling for USA Cricket Portal, Franchises, Venues, Stats & Badges
   ========================================================================== */

/* --- 20.1 USA Cricket Portal Design Tokens & Scoped Variables --- */
:root {
    --usa-navy: #002868;
    --usa-navy-dark: #001B44;
    --usa-navy-deep: #071124;
    --usa-navy-light: #0A3D91;
    --usa-crimson: #BF0A30;
    --usa-crimson-dark: #8B0000;
    --usa-crimson-light: #D91E45;
    --usa-gold: #FFD700;
    --usa-gold-dark: #B48B1C;
    --usa-gold-light: #FFF4D0;
    --usa-card-bg: #FFFFFF;
    --usa-border-subtle: rgba(0, 40, 104, 0.12);

    /* MLC Franchise Official Color Tokens */
    --tsk-primary: #FFCC00;
    --tsk-secondary: #003399;
    --miny-primary: #004BA0;
    --miny-secondary: #D1AB3E;
    --waf-primary: #D91023;
    --waf-secondary: #0A1128;
    --sfu-primary: #0099FF;
    --sfu-secondary: #FF6600;
    --so-primary: #00A3AD;
    --so-secondary: #0B132B;
    --lakr-primary: #3A225D;
    --lakr-secondary: #F2C94C;
}

/* --- 20.2 USA Cricket Portal Container Enhancements --- */
.usa-cricket-portal {
    position: relative;
    max-width: var(--container-max, 1360px);
    margin-left: auto;
    margin-right: auto;
}

.usa-cricket-portal .card {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.usa-cricket-portal .card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 40, 104, 0.08), 0 8px 10px -6px rgba(0, 40, 104, 0.04);
}

.usa-cricket-portal .table thead th {
    background-color: #001B44;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--usa-crimson);
}

.usa-cricket-portal .table tbody tr:hover {
    background-color: rgba(0, 40, 104, 0.02);
}

/* USA Cricket Hero Banner Enhancement */
.usa-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #001B44 0%, #002868 50%, #0B1B3D 100%);
    color: #FFFFFF;
    border-left: 6px solid #BF0A30;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 27, 68, 0.22);
}

.usa-hero-banner::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -15%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(191, 10, 48, 0.2) 0%, rgba(255, 215, 0, 0.08) 45%, transparent 70%);
    pointer-events: none;
    transform: rotate(20deg);
}

/* --- 20.3 USA Patriotic Gradients & Color Utility Classes --- */
.usa-navy {
    color: var(--usa-navy) !important;
}

.bg-usa-navy {
    background-color: var(--usa-navy) !important;
    color: #FFFFFF !important;
}

.usa-crimson {
    color: var(--usa-crimson) !important;
}

.bg-usa-crimson {
    background-color: var(--usa-crimson) !important;
    color: #FFFFFF !important;
}

.usa-gold {
    color: var(--usa-gold-dark) !important;
}

.bg-usa-gold {
    background-color: var(--usa-gold) !important;
    color: #171717 !important;
}

.border-usa-navy {
    border-color: var(--usa-navy) !important;
}

.border-usa-crimson {
    border-color: var(--usa-crimson) !important;
}

.border-usa-gold {
    border-color: var(--usa-gold) !important;
}

/* Patriotic Gradient Surfaces */
.gradient-usa-navy {
    background: linear-gradient(135deg, #001B44 0%, #002868 50%, #0B1B3D 100%) !important;
    color: #FFFFFF !important;
}

.gradient-usa-crimson {
    background: linear-gradient(135deg, #D91023 0%, #BF0A30 50%, #8B0000 100%) !important;
    color: #FFFFFF !important;
}

.gradient-usa-flag {
    background: linear-gradient(135deg, #001B44 0%, #002868 45%, #BF0A30 100%) !important;
    color: #FFFFFF !important;
}

.gradient-usa-gold {
    background: linear-gradient(135deg, #FFD700 0%, #E6B800 60%, #B48B1C 100%) !important;
    color: #171717 !important;
}

.gradient-usa-superover {
    background: linear-gradient(135deg, #071124 0%, #0F2042 55%, #1F102B 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 215, 0, 0.25) !important;
}

/* --- 20.4 USA Patriotic Badges --- */
.badge-usa {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #002868 0%, #001B44 50%, #BF0A30 100%);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0, 40, 104, 0.25);
    white-space: nowrap;
}

.badge-usa i {
    color: #FFD700;
}

.badge-usa-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    background-color: var(--usa-navy) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge-usa-crimson {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    background-color: var(--usa-crimson) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge-usa-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, #FFD700 0%, #D5A52A 100%) !important;
    color: #171717 !important;
    border: 1px solid rgba(180, 139, 28, 0.4);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(213, 165, 42, 0.25);
}

/* --- 20.5 Major League Cricket (MLC) Franchise Pills & Badges --- */
.badge-tsk,
.badge-miny,
.badge-waf,
.badge-sfu,
.badge-so,
.badge-lakr,
.badge-mlc,
.badge-milc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.32rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 9999px;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.badge-tsk:hover,
.badge-miny:hover,
.badge-waf:hover,
.badge-sfu:hover,
.badge-so:hover,
.badge-lakr:hover,
.badge-mlc:hover,
.badge-milc:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Texas Super Kings: #FFCC00 (Yellow) / #003399 (CSK Blue) */
.badge-tsk {
    background-color: #FFCC00 !important;
    color: #003399 !important;
    border: 1.5px solid #003399 !important;
    box-shadow: 0 2px 6px rgba(0, 51, 153, 0.2);
}

.badge-tsk:hover {
    box-shadow: 0 4px 10px rgba(0, 51, 153, 0.3);
}

/* MI New York: #004BA0 (MI Blue) / #D1AB3E (Gold) */
.badge-miny {
    background-color: #004BA0 !important;
    color: #FFFFFF !important;
    border: 1.5px solid #D1AB3E !important;
    box-shadow: 0 2px 6px rgba(0, 75, 160, 0.25);
}

.badge-miny:hover {
    box-shadow: 0 4px 10px rgba(0, 75, 160, 0.35);
}

/* Washington Freedom: #D91023 (Freedom Red) / #0A1128 (Navy) */
.badge-waf {
    background-color: #D91023 !important;
    color: #FFFFFF !important;
    border: 1.5px solid #0A1128 !important;
    box-shadow: 0 2px 6px rgba(217, 16, 35, 0.25);
}

.badge-waf:hover {
    box-shadow: 0 4px 10px rgba(217, 16, 35, 0.35);
}

/* San Francisco Unicorns: #0099FF (Electric Blue) / #FF6600 (Orange) */
.badge-sfu {
    background-color: #0099FF !important;
    color: #FFFFFF !important;
    border: 1.5px solid #FF6600 !important;
    box-shadow: 0 2px 6px rgba(0, 153, 255, 0.25);
}

.badge-sfu:hover {
    box-shadow: 0 4px 10px rgba(0, 153, 255, 0.35);
}

/* Seattle Orcas: #00A3AD (Teal) / #0B132B (Dark Navy) */
.badge-so {
    background-color: #00A3AD !important;
    color: #0B132B !important;
    border: 1.5px solid #0B132B !important;
    box-shadow: 0 2px 6px rgba(0, 163, 173, 0.25);
}

.badge-so:hover {
    box-shadow: 0 4px 10px rgba(0, 163, 173, 0.35);
}

/* Los Angeles Knight Riders: #3A225D (Royal Purple) / #F2C94C (Gold) */
.badge-lakr {
    background-color: #3A225D !important;
    color: #F2C94C !important;
    border: 1.5px solid #F2C94C !important;
    box-shadow: 0 2px 6px rgba(58, 34, 93, 0.3);
}

.badge-lakr:hover {
    box-shadow: 0 4px 10px rgba(58, 34, 93, 0.4);
}

/* Generic MLC Tournament Badge */
.badge-mlc {
    background: linear-gradient(135deg, #0A1128 0%, #002868 60%, #FFD700 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 215, 0, 0.5) !important;
    box-shadow: 0 2px 6px rgba(0, 40, 104, 0.25);
}

/* Minor League Cricket (MiLC) Badge */
.badge-milc {
    background: linear-gradient(135deg, #1B4D3E 0%, #006644 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 6px rgba(27, 77, 62, 0.25);
}

/* Franchise Colors Text & Accent Classes */
.text-tsk { color: #003399 !important; }
.text-miny { color: #004BA0 !important; }
.text-waf { color: #D91023 !important; }
.text-sfu { color: #0099FF !important; }
.text-so { color: #00A3AD !important; }
.text-lakr { color: #3A225D !important; }

/* Franchise Card Theme Top Accent Borders */
.franchise-card-tsk { border-top: 5px solid #FFCC00 !important; }
.franchise-card-miny { border-top: 5px solid #004BA0 !important; }
.franchise-card-waf { border-top: 5px solid #D91023 !important; }
.franchise-card-sfu { border-top: 5px solid #0099FF !important; }
.franchise-card-so { border-top: 5px solid #00A3AD !important; }
.franchise-card-lakr { border-top: 5px solid #3A225D !important; }

/* Franchise Subtitle Mini Badges */
.badge-tsk-subtle { background: rgba(255, 204, 0, 0.18) !important; color: #8A6D00 !important; border: 1px solid rgba(255, 204, 0, 0.4) !important; }
.badge-miny-subtle { background: rgba(0, 75, 160, 0.12) !important; color: #004BA0 !important; border: 1px solid rgba(0, 75, 160, 0.25) !important; }
.badge-waf-subtle { background: rgba(217, 16, 35, 0.12) !important; color: #D91023 !important; border: 1px solid rgba(217, 16, 35, 0.25) !important; }
.badge-sfu-subtle { background: rgba(0, 153, 255, 0.12) !important; color: #0077CC !important; border: 1px solid rgba(0, 153, 255, 0.25) !important; }
.badge-so-subtle { background: rgba(0, 163, 173, 0.14) !important; color: #007C85 !important; border: 1px solid rgba(0, 163, 173, 0.3) !important; }
.badge-lakr-subtle { background: rgba(58, 34, 93, 0.12) !important; color: #3A225D !important; border: 1px solid rgba(58, 34, 93, 0.25) !important; }

/* --- 20.6 Format Separation Toggle Pills & Cards --- */
.format-toggle-group {
    display: inline-flex;
    align-items: center;
    background: #F0F2F5;
    border: 1px solid var(--border);
    padding: 0.25rem;
    border-radius: 9999px;
    gap: 0.25rem;
    overflow-x: auto;
    max-width: 100%;
}

.format-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    white-space: nowrap;
    line-height: 1.2;
}

/* International Format Pill: Official ICC / USA Navy & Crimson */
.format-pill-intl {
    background: #002868;
    color: #FFFFFF !important;
    border: 1px solid #BF0A30;
    box-shadow: 0 2px 6px rgba(0, 40, 104, 0.25);
}

.format-pill-intl:hover,
.format-pill-intl.active {
    background: #001B44;
    color: #FFFFFF !important;
    border-color: #FFD700;
    box-shadow: 0 3px 8px rgba(0, 40, 104, 0.35);
}

/* Major League Cricket Format Pill: Gold / Navy Premium */
.format-pill-mlc {
    background: #FFD700;
    color: #001B44 !important;
    border: 1px solid #B48B1C;
    box-shadow: 0 2px 6px rgba(213, 165, 42, 0.25);
}

.format-pill-mlc:hover,
.format-pill-mlc.active {
    background: #E6B800;
    color: #000000 !important;
    border-color: #001B44;
    box-shadow: 0 3px 8px rgba(213, 165, 42, 0.35);
}

/* Minor League Cricket Format Pill: Forest Green / Silver */
.format-pill-milc {
    background: #1B4D3E;
    color: #FFFFFF !important;
    border: 1px solid #34A853;
    box-shadow: 0 2px 6px rgba(27, 77, 62, 0.25);
}

.format-pill-milc:hover,
.format-pill-milc.active {
    background: #0F3327;
    color: #FFFFFF !important;
    border-color: #70E000;
    box-shadow: 0 3px 8px rgba(27, 77, 62, 0.35);
}

/* Format Segregation Cards */
.format-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.format-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.format-card-intl {
    border-top: 5px solid #002868 !important;
}

.format-card-mlc {
    border-top: 5px solid #FFD700 !important;
}

.format-card-milc {
    border-top: 5px solid #1B4D3E !important;
}

.format-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #F9FAFB;
    border-bottom: 1px solid var(--border-light);
}

/* --- 20.7 Stadium Cards & Venue Capacity Meter Styling --- */
.stadium-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.stadium-card:hover {
    box-shadow: 0 12px 28px -6px rgba(0, 40, 104, 0.12), 0 8px 12px -6px rgba(0, 40, 104, 0.06);
    transform: translateY(-3px);
    border-color: rgba(0, 40, 104, 0.25);
}

.stadium-card-header {
    padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.stadium-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stadium-card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stadium-card-body {
    padding: 0.75rem 1.25rem 1.25rem 1.25rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Venue Capacity Meter */
.venue-capacity-meter {
    background: #F3F4F6;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.venue-capacity-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
}

.venue-capacity-label {
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
}

.venue-capacity-value {
    font-weight: 800;
    color: #BF0A30;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.venue-capacity-track {
    width: 100%;
    height: 8px;
    background: #E5E7EB;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.venue-capacity-bar {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #002868 0%, #BF0A30 100%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.venue-capacity-bar.bar-high {
    background: linear-gradient(90deg, #BF0A30 0%, #E63946 100%);
}

.venue-capacity-bar.bar-medium {
    background: linear-gradient(90deg, #002868 0%, #004BA0 100%);
}

.venue-capacity-bar.bar-intimate {
    background: linear-gradient(90deg, #1B4D3E 0%, #2A9D8F 100%);
}

/* Venue Specs & Features */
.venue-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    background: #F9FAFB;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
}

.venue-spec-item {
    display: flex;
    flex-direction: column;
}

.venue-spec-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.venue-spec-val {
    font-weight: 600;
    color: var(--text-primary);
}

/* --- 20.8 Super Over Score Breakdown Badges & Cards --- */
.super-over-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #BF0A30 0%, #8B0000 100%);
    color: #FFFFFF !important;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(191, 10, 48, 0.35);
    animation: so-pulse-border 2.5s infinite;
}

@keyframes so-pulse-border {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(191, 10, 48, 0.4), 0 2px 8px rgba(191, 10, 48, 0.35);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(191, 10, 48, 0.15), 0 4px 12px rgba(191, 10, 48, 0.45);
    }
}

.super-over-pill {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #FFF1F2;
    color: #BE123C;
    border: 1px solid #FDA4AF;
}

/* Super Over Match Breakdown Widget */
.super-over-scoreboard {
    background: linear-gradient(135deg, #071124 0%, #0F2042 100%);
    color: #FFFFFF;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.so-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.so-team-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.so-score-usa {
    font-size: 1.4rem;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.so-score-opponent {
    font-size: 1.4rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1;
}

.so-score-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.so-vs-badge {
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.super-over-ball-by-ball {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.so-ball {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.so-ball-run {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.so-ball-boundary {
    background: #002868;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.so-ball-wicket {
    background: #BF0A30;
    color: #FFFFFF;
}

.so-ball-extra {
    background: #D97706;
    color: #FFFFFF;
}

/* --- 20.9 Responsive USA Cricket Breakpoints --- */
@media (max-width: 768px) {
    .stadium-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .venue-specs-grid {
        grid-template-columns: 1fr;
    }

    .so-teams-row {
        gap: 0.5rem;
    }

    .so-score-usa,
    .so-score-opponent {
        font-size: 1.2rem;
    }
}

