/* ============================================================
   CSS CUSTOM PROPERTIES — WARRIORS DESIGN TOKENS
   ============================================================ */
:root {
    --w-red: #C8102E;
    --w-red-dark: #a50d25;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --font-heading: 'Barlow Condensed', 'Josefin Sans', sans-serif;
    --font-body: 'Barlow', 'Josefin Sans', sans-serif;
    --font-ui: 'Barlow', system-ui, sans-serif;

    /* Default (Dark Mode) Variables */
    --nwcc-bg: #111111;
    --nwcc-bg-alt: #1a1a1a;
    --nwcc-card: #161616;
    --nwcc-text: #ffffff;
    --nwcc-text-muted: #9ca3af;
    --nwcc-border: rgba(255, 255, 255, 0.1);
    --nwcc-navy: #ffffff;
    --nwcc-font-head: 'Barlow Condensed', 'Josefin Sans', sans-serif;
}

/* Light Mode Overrides */
body[data-theme="light"] {
    --nwcc-bg: #ffffff;
    --nwcc-bg-alt: #f8fafc;
    --nwcc-card: #ffffff;
    --nwcc-text: #111827;
    --nwcc-text-muted: #4b5563;
    --nwcc-border: #e2e8f0;
    --nwcc-navy: #111827;
}

/* Base application of theme variables */
body {
    background-color: var(--nwcc-bg) !important;
    color: var(--nwcc-text) !important;
}

p,
span:not(.badge),
h1,
h2,
h3,
h4,
h5,
h6,
li,
label,
strong,
b,
article,
small,
time {
    color: var(--nwcc-text);
}

body[data-theme="light"] h1,
body[data-theme="light"] h2,
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] h5,
body[data-theme="light"] h6 {
    color: #111827 !important;
    /* Force deep dark for headings in light mode */
}



body[data-theme="light"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.social-link):not(footer a):not(.footer a):not([class*="nwcc-btn"]):not(.nwcc-pc-cta):not(.nwcc-tc-btn):not(.nwcc-sched-cta):not(.sponsor-logo-tile) {
    color: var(--w-red) !important;
}

.space-ptb,
.space-pt,
.space-pb,
section:not(.nwcc-news-hero):not(.tournament-countdown) {
    background-color: var(--nwcc-bg);
}

/* Ensure sections with specific patterns or overlays still work (exclude footer + intentionally dark sections) */
body[data-theme="light"] [class*="bg-overlay-black-"]:not(.footer):not(.footer-bottom):not(.latest-results):not(.match-points-table):not(.inner-banner):before,
body[data-theme="light"] [class*="bg-overlay-dark-"]:not(.footer):not(.footer-bottom):not(.latest-results):not(.match-points-table):not(.inner-banner):before {
    background: rgba(255, 255, 255, 0.85) !important;
}

/* Inner banner — always dark with background image in BOTH themes */
body[data-theme="light"] .inner-banner::before {
    background: rgba(0, 0, 0, 0.72) !important;
}

body[data-theme="light"] .inner-banner .inner-banner-tittle h2,
body[data-theme="light"] .inner-banner .inner-banner-tittle .breadcrumb-item,
body[data-theme="light"] .inner-banner .inner-banner-tittle .breadcrumb-item a,
body[data-theme="light"] .inner-banner .inner-banner-tittle .breadcrumb-item::before {
    color: #ffffff !important;
}

body[data-theme="light"] .inner-banner .inner-banner-tittle .breadcrumb-item.active {
    color: var(--w-red) !important;
}

/* Footer overlay must always stay dark */
body[data-theme="light"] .footer:before,
body[data-theme="light"] .footer-bottom:before {
    background: rgba(18, 17, 26, 0.9) !important;
}

section.bg-overlay-black-8,
section.bg-overlay-black-7,
section.bg-overlay-black-6 {
    background-color: transparent !important;
}

/* Card and component backgrounds */
.card,
.points-table,

.video-post,
.blog-post {
    background-color: var(--nwcc-card);
    border-color: var(--nwcc-border);
}

.table th,
.table td {
    color: var(--nwcc-text);
    border-color: var(--nwcc-border);
}

.bg-light {
    background-color: var(--nwcc-bg-alt) !important;
}

.text-white {
    color: var(--nwcc-text) !important;
}

/* Keep primary buttons and badges red/white regardless of theme */
.btn-primary,
.badge-primary,
.nwcc-btn-red {
    color: #ffffff !important;
}

/* Footer — ALWAYS dark regardless of theme */
.footer {
    background-color: #050a14 !important;
    border-top: 1px solid rgba(255, 255, 255, .06) !important;
}

.footer-bottom {
    background-color: #02050c !important;
    border-top: 1px solid rgba(255, 255, 255, .06) !important;
}

.footer .footer-title {
    color: #ffffff !important;
}

.footer p,
.footer span:not(.badge),
.footer li,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer .contact-info li span,
.footer .contact-info li i,
.footer .footer-menu ul li a,
.footer .footer-social span {
    color: #ffffff !important;
}

.footer .footer-menu ul li a:hover {
    color: var(--w-red) !important;
}

.copyright p,
.copyright a {
    color: #ffffff !important;
}

/* Specific section overrides to ensure they remain usable in light mode */
body[data-theme="light"] .tournament-countdown {
    background-color: #ffffff;
}

body[data-theme="light"] .tournament-countdown h2,
body[data-theme="light"] .tournament-countdown span,
body[data-theme="light"] .tournament-countdown .countdown li span,
body[data-theme="light"] .tournament-countdown .countdown li p {
    color: #111827 !important;
}

body[data-theme="light"] .classic-players {
    background-color: #ffffff;
}

body[data-theme="light"] .classic-players .section-title h2,
body[data-theme="light"] .classic-players .section-title p,
body[data-theme="light"] .classic-players .player-name,
body[data-theme="light"] .classic-players .player-role {
    color: #111827 !important;
}

/* Force dark text for descriptions and small text in light mode */
body[data-theme="light"] .section-title p,
body[data-theme="light"] .feature-info p,
body[data-theme="light"] .about-content p,
body[data-theme="light"] .membership-features li,
body[data-theme="light"] .post-description,
body[data-theme="light"] .team-detail p,
body[data-theme="light"] .text-white-50,
body[data-theme="light"] .text-white-20,
body[data-theme="light"] .stat-label,
body[data-theme="light"] .breadcrumb-item,
body[data-theme="light"] .breadcrumb-item a {
    color: #374151 !important;
}

/* Fix Breadcrumb Separator Injection */
.breadcrumb-item+.breadcrumb-item::before {
    content: "/" !important;
    color: var(--nwcc-text-muted) !important;
}

body[data-theme="light"] .breadcrumb-item+.breadcrumb-item::before {
    color: #9ca3af !important;
}

/* Background Overrides for Light Mode */
body[data-theme="light"] .bg-navy-dark,
body[data-theme="light"] .bg-navy,
body[data-theme="light"] .bg-dark-1,
body[data-theme="light"] .bg-dark-2 {
    background-color: var(--nwcc-bg) !important;
}

body[data-theme="light"] .feature-box-premium {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body[data-theme="light"] .stat-item .stat-label {
    color: #64748b !important;
}

/* Fix Invisible Buttons in Light Mode */
body[data-theme="light"] .btn-outline-white,
body[data-theme="light"] .btn-outline-light,
body[data-theme="light"] .btn-white {
    border-color: #111827 !important;
    color: #111827 !important;
}

/* Specific fix for hero section video button in light mode */
body[data-theme="light"] .nwcc-hero-slider .btn-outline-light,
body[data-theme="light"] .inner-banner .btn-outline-light {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #111827 !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

body[data-theme="light"] .btn-outline-white:hover,
body[data-theme="light"] .btn-outline-light:hover {
    background-color: #111827 !important;
    color: #ffffff !important;
}

/* Form Visibility Fixes */
body[data-theme="light"] label,
body[data-theme="light"] .form-label,
body[data-theme="light"] .form-group label {
    color: #111827 !important;
    font-weight: 600;
}

body[data-theme="light"] .form-control {
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #111827 !important;
}

body[data-theme="light"] .form-control::placeholder {
    color: #9ca3af !important;
}

/* News/Blog Overrides */
body[data-theme="light"] .blog-post {
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

body[data-theme="light"] .blog-post .blog-title a {
    color: #111827 !important;
}

body[data-theme="light"] .blog-post .blog-title a:hover {
    color: var(--w-red) !important;
}

/* Match Schedule Fixes */
body[data-theme="light"] .match-schedule-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body[data-theme="light"] .match-team-name {
    color: #111827 !important;
}

body[data-theme="light"] .match-meta-info {
    color: #4b5563 !important;
}

/* Pagination visibility */
body[data-theme="light"] .pagination .page-link {
    background-color: #ffffff !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

body[data-theme="light"] .pagination .page-item.active .page-link {
    background-color: var(--w-red) !important;
    border-color: var(--w-red) !important;
    color: #ffffff !important;
}

/* About Section Specifics */
body[data-theme="light"] .about {
    background-color: #ffffff !important;
}

body[data-theme="light"] .about-img-box:after {
    background-color: #f1f5f9 !important;
}

/* ============================================================
   HEADER — LOGO SIZE & PADDING
   ============================================================ */
.header {
    padding: 0px 24px !important;
}

.header .navbar .navbar-brand img {
    height: 80px !important;
}

header.header.header-sticky.is-sticky .navbar .navbar-brand img {
    height: 48px !important;
}

/* Header dropdown hover — handled in partials/header.blade.php inline style */

.nwcc-header {
    background: var(--nwcc-bg) !important;
    backdrop-filter: blur(15px);
    border-bottom: none;
    transition: background 0.4s ease, box-shadow 0.4s ease, top 0.5s ease-in-out;
    padding: 0px 0 !important;
    position: relative;
    z-index: 9999;
    margin-bottom: 0 !important;
}

/* ── Home page: header blends into hero (seamless, stays in normal flow) ── */
/* On the home page (no inner-page-header class), the header bg gradient matches the hero overlay */
.nwcc-header:not(.inner-page-header):not(.is-sticky) {
    background: rgba(8, 13, 26, 0.97) !important;
    backdrop-filter: blur(0px) !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* News hero and slider hero: zero top gap */
.nwcc-hero-slider,
.nwcc-news-hero {
    margin-top: -25px !important;
}

/* Inner pages — tight seam between header and page-banner */
.inner-banner {
    margin-top: 0 !important;
}

/* ============================================================
   HERO — LFC-STYLE 3×2 NEWS GRID
   ============================================================ */

/* 3 equal columns, 2 rows */
.nwcc-lfc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 4px;
    background: var(--w-red);
    padding: 4px;
}

/* Each card */
.nwcc-lfc-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--w-red);
    overflow: hidden;
    position: relative;
    transition: background .2s;
}

.nwcc-lfc-card:hover {
    background: #a50d25;
}

/* Image */
.nwcc-lfc-img {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
    flex-shrink: 0;
}

.nwcc-lfc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .5s ease;
}

.nwcc-lfc-card:hover .nwcc-lfc-img img {
    transform: scale(1.04);
}

/* Text body */
.nwcc-lfc-body {
    padding: 14px 16px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category */
.nwcc-lfc-cat {
    font-size: .68rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

/* Title */
.nwcc-lfc-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Time ago */
.nwcc-lfc-meta {
    font-size: .72rem;
    color: rgba(255, 255, 255, .65);
    display: block;
    padding-bottom: 12px;
}

/* Bottom separator line */
.nwcc-lfc-line {
    height: 1px;
    background: rgba(255, 255, 255, .18);
    margin: 0 16px;
    transition: background .2s;
}

.nwcc-lfc-card:hover .nwcc-lfc-line {
    background: rgba(255, 255, 255, .45);
}

/* Responsive */
@media (max-width: 900px) {
    .nwcc-lfc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .nwcc-lfc-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PLAYER CARDS — nwcc-grid-4 / nwcc-player-card
   ============================================================ */
.nwcc-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .nwcc-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nwcc-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nwcc-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Match Schedule Cards */
.match-schedule-card {
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.match-schedule-card:hover {
    transform: translateY(-5px);
    border-color: var(--pgs_primary_color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.match-team-name {
    font-family: var(--pgs_heading_font);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.match-meta-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.match-vs-divider {
    font-family: var(--pgs_heading_font);
    font-weight: 900;
    color: var(--pgs_primary_color);
    opacity: 0.8;
}

.match-badge {
    background: rgba(200, 16, 46, 0.15);
    color: #ff4d4d;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(200, 16, 46, 0.3);
}

.match-schedule-slider .owl-nav button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.match-schedule-slider .owl-nav button:hover {
    background: var(--pgs_primary_color) !important;
}

.nwcc-player-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.nwcc-player-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(200, 16, 46, .2);
    border-color: rgba(200, 16, 46, .4);
}

.nwcc-player-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #1a1a2e;
}

.nwcc-player-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .3s;
}

.nwcc-player-card:hover .nwcc-player-img {
    transform: scale(1.04);
}

.nwcc-player-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, .2);
}

.nwcc-player-role-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--w-red);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
}

.nwcc-player-info {
    padding: 14px 16px 16px;
}

.nwcc-player-name {
    font-family: var(--nwcc-font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nwcc-player-team {
    font-size: .75rem;
    color: var(--w-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

.nwcc-player-stats {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 10px;
}

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

.nwcc-player-stat-num {
    font-family: var(--nwcc-font-head);
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.nwcc-player-stat-lbl {
    font-size: .6rem;
    color: var(--nwcc-text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 2px;
}

/* ============================================================
   EMPTY STATE & PAGINATION
   ============================================================ */
.nwcc-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--nwcc-text-muted);
}

.nwcc-empty-icon {
    font-size: 3rem;
    color: var(--w-red);
    margin-bottom: 20px;
    opacity: .6;
}

.nwcc-empty h3 {
    color: #ffffff;
    font-family: var(--nwcc-font-head);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.nwcc-empty p {
    color: var(--nwcc-text-muted);
    margin: 0;
}

.nwcc-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* ============================================================
   BUTTONS — nwcc-btn
   ============================================================ */
.nwcc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .18s, transform .15s;
}

.nwcc-btn-red {
    background: var(--w-red);
    color: #fff;
}

.nwcc-btn-red:hover {
    background: var(--w-red-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Shared form styles for auth pages */
.form-warriors .form-group {
    margin-bottom: 18px;
}

.form-warriors .form-group label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--w-muted);
    margin-bottom: 6px;
}

.form-warriors .form-group input,
.form-warriors .form-group select,
.form-warriors .form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--w-gray-1);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--w-dark-1);
    transition: border-color .18s, box-shadow .18s;
    outline: none;
}

.form-warriors .form-group input:focus,
.form-warriors .form-group select:focus,
.form-warriors .form-group textarea:focus {
    border-color: var(--w-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .1);
}

.form-warriors .btn-warriors {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--w-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .18s;
}

.form-warriors .btn-warriors:hover {
    background: var(--w-red-dark);
}

.alert-warriors {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
}

.alert-error-w {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-success-w {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-info-w {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

/* ============================================================
   UNIFIED INNER HERO (LIVERPOOL STYLE)
   ============================================================ */
/* Inner page banner — matches design/inner-banner style exactly */
.nwcc-inner-hero {
    background-image: url('../images/ticket/01.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding-bottom: 45px;
    margin-bottom: 0;
    overflow: hidden;
}

.nwcc-inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.nwcc-inner-hero .container,
.nwcc-inner-hero>.container {
    position: relative;
    z-index: 2;
}

.nwcc-inner-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nwcc-inner-hero-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    line-height: 1.1;
    margin-bottom: 15px;
}

/* Breadcrumb inside nwcc-inner-hero (Bootstrap .breadcrumb or custom .nwcc-breadcrumb) */
.nwcc-inner-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
    list-style: none;
    display: flex;
}

.nwcc-inner-hero .breadcrumb-item,
.nwcc-inner-hero .breadcrumb-item a {
    color: #ffffff;
    text-transform: capitalize;
    font-size: .9rem;
}

.nwcc-inner-hero .breadcrumb-item a:hover {
    color: #C8102E;
    text-decoration: none;
}

.nwcc-inner-hero .breadcrumb-item+.breadcrumb-item::before {
    color: #ffffff;
}

.nwcc-inner-hero .breadcrumb-item.active {
    color: #C8102E;
}

/* Custom div-based breadcrumb used in page-banner partial */
.nwcc-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.nwcc-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}

.nwcc-breadcrumb a:hover {
    color: #C8102E;
}

.nwcc-breadcrumb-sep {
    color: rgba(255, 255, 255, .6);
    margin: 0 8px;
    font-size: .75rem;
}

.nwcc-breadcrumb-current {
    color: #C8102E;
    font-size: .9rem;
    font-weight: 600;
}

/* ── News Hero Grid — LFC Style (image on top, text below) ── */

/* Header/dropdown overrides are in partials/header.blade.php inline style */

/* News Hero — LFC style: image top, text below on red background */
.nwcc-news-hero {
    background: #C8102E;
    background-blend-mode: multiply;
    padding: 60px 80px;
    position: relative;
}

.nwcc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: transparent;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .nwcc-news-hero {
        padding: 30px 30px;
    }
}

@media (max-width: 575px) {
    .nwcc-news-hero {
        padding: 20px 16px;
    }
}

.nwcc-news-item {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: #C8102E;
    transition: opacity 0.2s ease;
}

.nwcc-news-item:hover {
    opacity: 0.92;
}

/* Image sits flush at top */
.nwcc-news-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a2e;
}

.nwcc-news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.nwcc-news-item:hover .nwcc-news-img-wrap img {
    transform: scale(1.04);
}

/* Text content sits below the image */
.nwcc-news-content {
    padding: 14px 16px 22px;
    background: transparent;
    position: static;
}

/* Category label — e.g. "MATCH", "NEWS" */
.nwcc-news-badge {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 4px;
}

/* Title */
.nwcc-news-title {
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Short excerpt */
.nwcc-news-excerpt {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Date — with separator line above like LFC */
.nwcc-news-date {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Partners / client-logo section uses design's own .client-logo .bg-primary OWL carousel */


/* Responsive Grid */
@media (max-width: 991px) {
    .nwcc-inner-hero-title {
        font-size: 2.5rem;
    }

    .nwcc-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .nwcc-inner-hero {
        height: 280px;
        padding-bottom: 28px;
    }

    .nwcc-inner-hero-title {
        font-size: 2rem;
    }

    .nwcc-inner-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .nwcc-news-grid {
        grid-template-columns: 1fr;
    }

    .nwcc-news-title {
        font-size: 1.1rem;
    }
}

/* Container Helper */
.nwcc-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

@media (max-width: 1440px) {
    .nwcc-container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .nwcc-container {
        max-width: 960px;
    }
}

/* ============================================================
   INNER PAGE LAYOUT & SECTIONS
   ============================================================ */
.nwcc-section {
    padding: 80px 0;
    background-color: #111111;
    min-height: 400px;
}

.nwcc-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.nwcc-section-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.nwcc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #C8102E;
}

.nwcc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.nwcc-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.nwcc-breadcrumb a:hover {
    color: #fff;
}

.nwcc-breadcrumb-sep {
    opacity: 0.4;
}

.nwcc-breadcrumb-current {
    color: #fff;
}

.nwcc-page-hero-inner {
    max-width: 800px;
}

.nwcc-page-hero-eyebrow {
    color: #C8102E;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.nwcc-page-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1;
}

.nwcc-page-hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* ============================================================
   ADVERTISEMENT PLACEMENTS
   ============================================================ */
.nwcc-ad-banner {
    position: relative;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
}

.nwcc-ad-label-tag {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, .35);
    color: rgba(255, 255, 255, .7);
    padding: 2px 5px;
    border-radius: 3px;
    pointer-events: none;
}

.nwcc-ad-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.nwcc-ad-card {
    display: block;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    transition: border-color .2s;
}

.nwcc-ad-card:hover {
    border-color: #C8102E;
}

.nwcc-ad-card-label {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 4px;
}

.nwcc-ad-card-title {
    font-size: .88rem;
    font-weight: 600;
    color: #1e293b;
}

/* Section-level ad strips */
.nwcc-ad-strip {
    padding: 20px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.nwcc-ad-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* btn-warriors (used in auth forms) */
.btn-warriors {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, transform .15s;
}

.btn-primary-w {
    background: var(--w-red);
    color: #fff;
}

.btn-primary-w:hover {
    background: var(--w-red-dark);
    color: #fff;
}

.btn-dark-w {
    background: var(--w-dark-1);
    color: #fff;
}

.btn-dark-w:hover {
    background: #1e2f4a;
    color: #fff;
}

.btn-outline-w {
    background: transparent;
    color: var(--w-red);
    border: 2px solid var(--w-red);
}

.btn-outline-w:hover {
    background: var(--w-red);
    color: #fff;
}

/* Fix Latest News images to same aspect ratio */
.blog-post.post-style-01 .blog-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-post.post-style-01 .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fix Video images to same aspect ratio */
.video-box .video-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

/* ============================================================
   READABILITY FIXES FOR DYNAMIC BACKGROUNDS
   ============================================================ */
[class*="bg-overlay"] {
    position: relative !important;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Ensure the overlay is always visible and covers the background */
[class*="bg-overlay"]::before {
    z-index: -1 !important;
    opacity: 1 !important;
    display: block !important;
}

/* Force light colors for text inside overlay sections */
[class*="bg-overlay"] .section-title h2,
[class*="bg-overlay"] .section-title h1,
[class*="bg-overlay"] h1,
[class*="bg-overlay"] h2,
[class*="bg-overlay"] h3,
[class*="bg-overlay"] h4,
[class*="bg-overlay"] h5,
[class*="bg-overlay"] h6,
[class*="bg-overlay"] .title,
[class*="bg-overlay"] .video-title a,
[class*="bg-overlay"] .footer-title {
    color: #ffffff !important;
}

[class*="bg-overlay"] p,
[class*="bg-overlay"] li,
[class*="bg-overlay"] span,
[class*="bg-overlay"] .text-muted,
[class*="bg-overlay"] .time-location span,
[class*="bg-overlay"] .location,
[class*="bg-overlay"] .video-view a,
[class*="bg-overlay"] .nwcc-page-content,
[class*="bg-overlay"] .footer-social span {
    color: rgba(255, 255, 255, 0.85) !important;
}

[class*="bg-overlay"] .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

[class*="bg-overlay"] .btn-outline-light:hover {
    background: #ffffff !important;
    color: var(--w-dark-1) !important;
}

/* Specific fix for Latest Results vs badge */
[class*="bg-overlay"] .upcoming-match h2 {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Match Schedule Cards */
.match-schedule-card {
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.match-schedule-card:hover {
    transform: translateY(-5px);
    border-color: var(--pgs_primary_color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.match-team-name {
    font-family: var(--pgs_heading_font);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.match-meta-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.match-vs-divider {
    font-family: var(--pgs_heading_font);
    font-weight: 900;
    color: var(--pgs_primary_color);
    opacity: 0.8;
}

.match-badge {
    background: rgba(200, 16, 46, 0.15);
    color: #ff4d4d;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(200, 16, 46, 0.3);
}

.match-schedule-slider .owl-nav button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.match-schedule-slider .owl-nav button:hover {
    background: var(--pgs_primary_color) !important;
}

/* ============================================================
   HERO SLIDER — Cinematic Classic Layout
   ============================================================ */
.nwcc-hero-slider {
    position: relative;
    overflow: hidden;
}

.nwcc-slider-item {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.nwcc-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 13, 26, 0.95) 0%, rgba(8, 13, 26, 0.7) 40%, rgba(8, 13, 26, 0) 100%);
    z-index: 1;
}

.nwcc-slider-content {
    position: relative;
    z-index: 2;
    padding-top: 50px;
    animation: fadeInUp 0.8s ease backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nwcc-slider-badge {
    background: var(--w-red);
    color: #fff;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.nwcc-slider-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.nwcc-slider-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 600px;
}

@media (max-width: 991px) {
    .nwcc-slider-title {
        font-size: 3rem;
    }

    .nwcc-slider-item {
        height: 60vh;
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .nwcc-slider-title {
        font-size: 2.5rem;
    }

    .nwcc-slider-overlay {
        background: rgba(8, 13, 26, 0.8);
    }

    .nwcc-slider-content {
        text-align: center;
    }

    .nwcc-slider-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Slider Action Buttons */
.nwcc-slider-actions .btn {
    padding: 16px 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nwcc-slider-actions .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   HERO SLIDER — LIGHT MODE VISIBILITY FIX
   ============================================================ */
body[data-theme="light"] .nwcc-hero-slider h1,
body[data-theme="light"] .nwcc-hero-slider h2,
body[data-theme="light"] .nwcc-hero-slider h3,
body[data-theme="light"] .nwcc-hero-slider h4,
body[data-theme="light"] .nwcc-hero-slider h5,
body[data-theme="light"] .nwcc-hero-slider h6,
body[data-theme="light"] .nwcc-hero-slider p,
body[data-theme="light"] .nwcc-hero-slider span,
body[data-theme="light"] .nwcc-hero-slider .btn-outline-light,
body[data-theme="light"] .nwcc-hero-slider .owl-dot span {
    color: #ffffff !important;
}

body[data-theme="light"] .nwcc-hero-slider .btn-outline-light {
    border-color: #ffffff !important;
    background: transparent !important;
}

body[data-theme="light"] .nwcc-hero-slider .btn-outline-light:hover {
    background: #ffffff !important;
    color: var(--w-red) !important;
}

body[data-theme="light"] .nwcc-hero-slider .owl-dot:not(.active) span {
    background: rgba(255, 255, 255, 0.4) !important;
}

body[data-theme="light"] .nwcc-hero-slider .owl-dot.active span {
    background: #ffffff !important;
}



/* ============================================================
   LIGHT MODE — COMPREHENSIVE OVERRIDES
   Content sections get light bg + dark text.
   EXCEPTIONS: .inner-banner (page-banner partial), .nwcc-hero-slider,
               .nwcc-news-hero, .footer, .footer-bottom — stay dark.
   ============================================================ */

/* 1. Page wrappers with dark inline background -> light */
body[data-theme="light"] [style*="background:#080d1a"],
body[data-theme="light"] [style*="background: #080d1a"] {
    background: #f3f4f6 !important;
}

body[data-theme="light"] .space-ptb,
body[data-theme="light"] .space-pt,
body[data-theme="light"] .space-pb {
    background-color: #f3f4f6 !important;
}

/* Subtle section stripes */
body[data-theme="light"] [style*="background:rgba(255,255,255,.025)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.02)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.03)"] {
    background: #eaecf0 !important;
}

/* 2. Dark-translucent cards -> white cards */
body[data-theme="light"] [style*="background:rgba(255,255,255,.04)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.05)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.07)"] {
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 0 0 1px rgba(0, 0, 0, .04) !important;
}

/* 3. Translucent white borders -> light borders */
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.08)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.07)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.1)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.12)"],
body[data-theme="light"] [style*="border:1.5px solid rgba(255,255,255,.12)"],
body[data-theme="light"] [style*="border-bottom:1px solid rgba(255,255,255,.08)"],
body[data-theme="light"] [style*="border-top:1px solid rgba(255,255,255,.08)"],
body[data-theme="light"] [style*="border-top:1px solid rgba(255,255,255,.07)"],
body[data-theme="light"] [style*="border-bottom:1px solid rgba(255,255,255,.07)"] {
    border-color: #e5e7eb !important;
}

/* Divider lines (inline-styled flex hr lines) */
body[data-theme="light"] [style*="background:rgba(255,255,255,.08)"][style*="height:1px"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.06)"][style*="height:1px"] {
    background: #d1d5db !important;
}

/* 4. White text -> dark text */
body[data-theme="light"] [style*="color:#fff"],
body[data-theme="light"] [style*="color: #fff"],
body[data-theme="light"] [style*="color:#ffffff"],
body[data-theme="light"] [style*="color: #ffffff"] {
    color: #111827 !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255,.9)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.85)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.8)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.75)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.7)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.65)"] {
    color: #374151 !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255,.6)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.55)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.5)"] {
    color: #4b5563 !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255,.45)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.4)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.35)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.3)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.25)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.2)"] {
    color: #6b7280 !important;
}

/* 5. Custom form inputs (contact/join/volunteer/sponsor/faq pages) */
body[data-theme="light"] .ct-inp,
body[data-theme="light"] .sp-inp,
body[data-theme="light"] .vl-inp,
body[data-theme="light"] .sn-inp,
body[data-theme="light"] .faq-inp {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

body[data-theme="light"] .ct-inp::placeholder,
body[data-theme="light"] .sp-inp::placeholder,
body[data-theme="light"] .vl-inp::placeholder,
body[data-theme="light"] .sn-inp::placeholder,
body[data-theme="light"] .faq-inp::placeholder {
    color: #9ca3af !important;
}

body[data-theme="light"] .ct-lbl,
body[data-theme="light"] .sp-lbl,
body[data-theme="light"] .vl-lbl,
body[data-theme="light"] .sn-lbl {
    color: #6b7280 !important;
}

body[data-theme="light"] .sp-inp option,
body[data-theme="light"] .vl-inp option,
body[data-theme="light"] .sn-inp option {
    background: #ffffff !important;
    color: #111827 !important;
}

/* 6. Player cards */
body[data-theme="light"] .nwcc-player-card {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}

body[data-theme="light"] .nwcc-player-name,
body[data-theme="light"] .nwcc-player-stat-num {
    color: #111827 !important;
}

body[data-theme="light"] .nwcc-player-stats {
    border-color: #e5e7eb !important;
}

body[data-theme="light"] .nwcc-player-img-wrap {
    background: #e5e7eb !important;
}

/* 7. FAQ accordion */
body[data-theme="light"] .nwcc-accordion .accordion-item {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}

body[data-theme="light"] .nwcc-accordion .accordion-button {
    background: transparent !important;
    color: #111827 !important;
}

body[data-theme="light"] .nwcc-accordion .accordion-body {
    color: #374151 !important;
}

/* ============================================================
   LIGHT MODE EXCEPTIONS — hero banner and footer stay dark
   ============================================================ */

/* Inner page banner (.inner-banner from partials/page-banner.blade.php) */
body[data-theme="light"] .inner-banner,
body[data-theme="light"] .inner-banner.bg-overlay-black-8 {
    background-color: #050a14 !important;
}

body[data-theme="light"] .inner-banner [style*="color:#fff"],
body[data-theme="light"] .inner-banner [style*="color: #fff"],
body[data-theme="light"] .inner-banner [style*="color:#ffffff"],
body[data-theme="light"] .inner-banner .text-white,
body[data-theme="light"] .inner-banner h1,
body[data-theme="light"] .inner-banner h2,
body[data-theme="light"] .inner-banner h3,
body[data-theme="light"] .inner-banner .inner-banner-tittle h2,
body[data-theme="light"] .inner-banner .breadcrumb-item,
body[data-theme="light"] .inner-banner .breadcrumb-item a {
    color: #ffffff !important;
}

body[data-theme="light"] .inner-banner .breadcrumb-item.active {
    color: var(--w-red) !important;
}

/* Footer — dark always */
body[data-theme="light"] .footer,
body[data-theme="light"] .footer-bottom {
    background-color: #050a14 !important;
}

body[data-theme="light"] .footer [style*="color:#fff"],
body[data-theme="light"] .footer [style*="color: #fff"],
body[data-theme="light"] .footer [style*="color:#ffffff"],
body[data-theme="light"] .footer [style*="color:rgba(255,255,255"],
body[data-theme="light"] .footer .text-white,
body[data-theme="light"] .footer .contact-info li span,
body[data-theme="light"] .footer .footer-menu ul li a,
body[data-theme="light"] .footer .footer-social span,
body[data-theme="light"] .footer-bottom p,
body[data-theme="light"] .footer-bottom a {
    color: #ffffff !important;
}

body[data-theme="light"] .footer h5,
body[data-theme="light"] .footer .footer-title {
    color: #ffffff !important;
}

body[data-theme="light"] .footer .social-link {
    border-color: rgba(255, 255, 255, .2) !important;
    color: rgba(255, 255, 255, .65) !important;
}

/* News hero grid — dark always */
body[data-theme="light"] .nwcc-news-hero {
    background-color: #c8102e !important;
}

body[data-theme="light"] .nwcc-news-hero [style*="color:#fff"],
body[data-theme="light"] .nwcc-news-hero .nwcc-news-title,
body[data-theme="light"] .nwcc-news-hero .nwcc-news-excerpt,
body[data-theme="light"] .nwcc-news-hero .nwcc-news-badge,
body[data-theme="light"] .nwcc-news-hero .nwcc-news-date {
    color: #ffffff !important;
}

/* Hero slider — dark always */
body[data-theme="light"] .nwcc-hero-slider .nwcc-slider-title,
body[data-theme="light"] .nwcc-hero-slider .nwcc-slider-subtitle,
body[data-theme="light"] .nwcc-hero-slider [style*="color:#fff"],
body[data-theme="light"] .nwcc-hero-slider [style*="color: #fff"] {
    color: #ffffff !important;
}

/* ============================================================
   MOBILE NAV TOGGLE -- FIX (style.css flex-direction bug)
   style.css sets display:flex on .navbar-toggler at <1200px
   which lays the 3 spans in a row (2px tall, invisible).
   Force flex-direction:column so spans stack vertically.
   ============================================================ */
@media (max-width: 1199px) {
    .header .nwcc-toggler {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        position: relative !important;
        right: auto !important;
        padding: 6px 8px !important;
        cursor: pointer;
        z-index: 10000;
    }

    .header .nwcc-toggler .toggler-icon {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        margin: 4px 0 !important;
        background: var(--nwcc-text) !important;
        border-radius: 2px;
        flex-shrink: 0 !important;
    }
}

/* ============================================================
   LIGHT MODE v2 -- PROFESSIONAL REDESIGN
   Overrides the earlier flat-gray approach with a clean white
   design: white main bg, f8fafc alt sections, proper cards.
   Exceptions (hero slider, inner-banner, footer) stay dark.
   ============================================================ */

/* Core palette upgrade */
body[data-theme="light"] {
    background-color: #f8fafc !important;
}

/* Sections with hardcoded dark backgrounds */
body[data-theme="light"] [style*="background:#080d1a"],
body[data-theme="light"] [style*="background: #080d1a"],
body[data-theme="light"] [style*="background:#0a0f1e"],
body[data-theme="light"] [style*="background:#050a14"],
body[data-theme="light"] [style*="background:#111827"] {
    background: #ffffff !important;
}

/* Alt stripe sections */
body[data-theme="light"] [style*="background:rgba(255,255,255,.025)"],
body[data-theme="light"] [style*="background: rgba(255,255,255,.025)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.02)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.03)"] {
    background: #f1f5f9 !important;
}

/* .space-ptb sections */
body[data-theme="light"] .space-ptb,
body[data-theme="light"] .space-pt,
body[data-theme="light"] .space-pb {
    background-color: #ffffff !important;
}

/* Cards */
body[data-theme="light"] [style*="background:rgba(255,255,255,.04)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.05)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.07)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.08)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,0.04)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,0.05)"] {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .04) !important;
}

/* Borders - add missing .06 / .05 patterns */
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.05)"],
body[data-theme="light"] [style*="border-top:1px solid rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="border-top:1px solid rgba(255,255,255,.05)"],
body[data-theme="light"] [style*="border-bottom:1px solid rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="border-bottom:1px solid rgba(255,255,255,.05)"] {
    border-color: #e2e8f0 !important;
}

/* Divider hr-style lines */
body[data-theme="light"] [style*="background:rgba(255,255,255,.06)"][style*="height:1px"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.05)"][style*="height:1px"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.08)"][style*="height:1px"] {
    background: #e2e8f0 !important;
}

/* CTA sections (light red tint) */
body[data-theme="light"] [style*="background:rgba(200,16,46,.08)"],
body[data-theme="light"] [style*="background:rgba(200,16,46,0.08)"] {
    background: rgba(200, 16, 46, .06) !important;
    border-color: rgba(200, 16, 46, .18) !important;
}

/* Typography hierarchy */
body[data-theme="light"] h1,
body[data-theme="light"] h2 {
    color: #0f172a !important;
}

body[data-theme="light"] h3,
body[data-theme="light"] h4 {
    color: #1e293b !important;
}

body[data-theme="light"] h5,
body[data-theme="light"] h6 {
    color: #334155 !important;
}

/* White inline text -> dark shades */
body[data-theme="light"] [style*="color:#fff"],
body[data-theme="light"] [style*="color: #fff"],
body[data-theme="light"] [style*="color:#ffffff"],
body[data-theme="light"] [style*="color: #ffffff"] {
    color: #0f172a !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255,.9)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.85)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.8)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.75)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.7)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.65)"] {
    color: #374151 !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255,.6)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.55)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.5)"] {
    color: #4b5563 !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255,.45)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.4)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.35)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.3)"] {
    color: #6b7280 !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255,.25)"],
body[data-theme="light"] [style*="color:rgba(255,255,255,.2)"] {
    color: #9ca3af !important;
}

/* .text-white class */
body[data-theme="light"] .text-white {
    color: #0f172a !important;
}

body[data-theme="light"] .text-white-50 {
    color: #6b7280 !important;
}

body[data-theme="light"] .text-muted {
    color: #6b7280 !important;
}

/* Header */
body[data-theme="light"] .nwcc-header {
    background: var(--nwcc-bg) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
}

/* Home page header (no inner-page-header, not sticky) needs higher specificity to override the dark blend rule */
body[data-theme="light"] .nwcc-header:not(.inner-page-header):not(.is-sticky) {
    background: var(--nwcc-bg) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
}

body[data-theme="light"] .nwcc-dropdown {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10) !important;
    border-color: #e2e8f0 !important;
}

/* Bootstrap cards */
body[data-theme="light"] .card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06) !important;
}

body[data-theme="light"] .card-header,
body[data-theme="light"] .card-footer {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

/* Accordion */
body[data-theme="light"] .accordion-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .accordion-button {
    background: #f8fafc !important;
    color: #1e293b !important;
}

body[data-theme="light"] .accordion-button:not(.collapsed) {
    background: #f1f5f9 !important;
    color: var(--w-red) !important;
    box-shadow: none !important;
}

body[data-theme="light"] .accordion-body {
    background: #ffffff !important;
    color: #374151 !important;
}

/* Player boxes */
body[data-theme="light"] .nwcc-player-box {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07) !important;
}

/* Mobile collapse */
@media (max-width: 1199px) {
    body[data-theme="light"] .navbar-collapse {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .10) !important;
    }
}

/* Outline buttons in light mode */
body[data-theme="light"] .btn-outline-light,
body[data-theme="light"] .btn-outline-white {
    border-color: #334155 !important;
    color: #334155 !important;
    background: transparent !important;
}

body[data-theme="light"] .btn-outline-light:hover,
body[data-theme="light"] .btn-outline-white:hover {
    background: #334155 !important;
    color: #ffffff !important;
}

/* Hero slider + news hero -- keep white text inside dark overlays */
body[data-theme="light"] .nwcc-hero-slider [style*="color"],
body[data-theme="light"] .nwcc-hero-slider h1,
body[data-theme="light"] .nwcc-hero-slider h2,
body[data-theme="light"] .nwcc-hero-slider h3,
body[data-theme="light"] .nwcc-hero-slider p,
body[data-theme="light"] .nwcc-hero-slider span:not(.badge) {
    color: #ffffff !important;
}

body[data-theme="light"] .nwcc-news-hero [style*="color"],
body[data-theme="light"] .nwcc-news-hero h2,
body[data-theme="light"] .nwcc-news-hero h3,
body[data-theme="light"] .nwcc-news-hero p,
body[data-theme="light"] .nwcc-news-hero span {
    color: #ffffff !important;
}

/* Inner-banner stays dark */
body[data-theme="light"] .inner-banner,
body[data-theme="light"] .inner-banner.bg-overlay-black-8 {
    background-color: #060c1a !important;
}

body[data-theme="light"] .inner-banner [style*="color"],
body[data-theme="light"] .inner-banner .text-white,
body[data-theme="light"] .inner-banner h1,
body[data-theme="light"] .inner-banner h2,
body[data-theme="light"] .inner-banner h3,
body[data-theme="light"] .inner-banner .breadcrumb-item,
body[data-theme="light"] .inner-banner .breadcrumb-item a {
    color: #ffffff !important;
}

/* Side offcanvas */
body[data-theme="light"] .nwcc-sidebar {
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
}

body[data-theme="light"] .nwcc-sidebar .btn-close {
    filter: none !important;
    opacity: .7;
}

body[data-theme="light"] .nwcc-sidebar .btn-close:hover {
    opacity: 1;
}

/* ============================================================
   LIGHT MODE — LOGO COLOR + FOOTER PROTECTION (FINAL LAYER)
   Appended last so it wins over all earlier rules.
   ============================================================ */

/* Match logo maroon-red in light mode */
body[data-theme="light"] {
    --w-red: #8B1A2B;
    --w-red-dark: #6e1220;
}

/* ── FOOTER — always dark, protect from v2 text/card overrides */
body[data-theme="light"] .footer,
body[data-theme="light"] .footer-bottom,
body[data-theme="light"] .footer *,
body[data-theme="light"] .footer-bottom * {
    background-color: transparent;
}

body[data-theme="light"] .footer {
    background-color: #050a14 !important;
}

body[data-theme="light"] .footer-bottom {
    background-color: #02050c !important;
}

/* Override the v2 .text-white and .card rules inside footer */
body[data-theme="light"] .footer .text-white,
body[data-theme="light"] .footer [style*="color:#fff"],
body[data-theme="light"] .footer [style*="color: #fff"],
body[data-theme="light"] .footer [style*="color:#ffffff"],
body[data-theme="light"] .footer [style*="color:rgba(255,255,255"],
body[data-theme="light"] .footer h1,
body[data-theme="light"] .footer h2,
body[data-theme="light"] .footer h3,
body[data-theme="light"] .footer h4,
body[data-theme="light"] .footer h5,
body[data-theme="light"] .footer h6 {
    color: #ffffff !important;
}

body[data-theme="light"] .footer p,
body[data-theme="light"] .footer span:not(.badge),
body[data-theme="light"] .footer li,
body[data-theme="light"] .footer a:not(.btn),
body[data-theme="light"] .footer .contact-info li span,
body[data-theme="light"] .footer .contact-info li i,
body[data-theme="light"] .footer .footer-menu ul li a {
    color: #ffffff !important;
}

body[data-theme="light"] .footer .footer-menu ul li a:hover,
body[data-theme="light"] .footer a:not(.btn):hover {
    color: var(--w-red) !important;
}

body[data-theme="light"] .footer .social-link {
    border-color: rgba(255, 255, 255, .4) !important;
    color: #ffffff !important;
    background: transparent !important;
}

body[data-theme="light"] .footer .social-link:hover {
    background: var(--w-red) !important;
    color: #ffffff !important;
    border-color: var(--w-red) !important;
}

body[data-theme="light"] .footer .card,
body[data-theme="light"] .footer-bottom .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body[data-theme="light"] .copyright p,
body[data-theme="light"] .copyright a {
    color: #ffffff !important;
}

/* ── Hero slider — white text protection */
body[data-theme="light"] .nwcc-hero-slider .text-white,
body[data-theme="light"] .nwcc-hero-slider h1,
body[data-theme="light"] .nwcc-hero-slider h2,
body[data-theme="light"] .nwcc-hero-slider h3 {
    color: #ffffff !important;
}

/* ── Inner-banner — white text protection */
body[data-theme="light"] .inner-banner .text-white,
body[data-theme="light"] .inner-banner h1,
body[data-theme="light"] .inner-banner h2,
body[data-theme="light"] .inner-banner h3,
body[data-theme="light"] .inner-banner .breadcrumb-item,
body[data-theme="light"] .inner-banner .breadcrumb-item a {
    color: #ffffff !important;
}

/* ── Btn-primary keeps white text always */
body[data-theme="light"] .btn-primary,
body[data-theme="light"] .btn-primary .text-white {
    color: #ffffff !important;
}

/* ── Badges with red bg keep white text */
body[data-theme="light"] .badge {
    color: #ffffff !important;
}

body[data-theme="light"] .nwcc-slider-badge,
body[data-theme="light"] [style*="background:var(--w-red)"],
body[data-theme="light"] [style*="background:#C8102E"],
body[data-theme="light"] [style*="background:#c8102e"],
body[data-theme="light"] [style*="background:#8B1A2B"] {
    color: #ffffff !important;
}

/* ── Light mode section backgrounds: warm off-white feel */
body[data-theme="light"] section.space-ptb:nth-child(even),
body[data-theme="light"] section.py-5:nth-child(even) {
    background-color: #f8f5f3 !important;
}

/* ── Table improvements */
body[data-theme="light"] .table {
    color: #374151 !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .table thead th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .table-striped>tbody>tr:nth-of-type(odd)>* {
    background: rgba(241, 245, 249, .6) !important;
}

/* ── Ad strip in light mode */
body[data-theme="light"] .nwcc-ad-strip {
    background: #f1f5f9 !important;
}

body[data-theme="light"] .nwcc-ad-banner [style*="background:rgba(255,255,255,.04)"] {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .nwcc-ad-banner [style*="color:#fff"],
body[data-theme="light"] .nwcc-ad-banner [style*="color:rgba(255,255,255"] {
    color: #374151 !important;
}

/* ============================================================
   LIGHT MODE v4 — COMPREHENSIVE PAGE AUDIT
   Fixes homepage sections, blog cards, tables, match schedule,
   tournament countdown, bg-overlay sections, and all inner pages.
   ============================================================ */

/* ── 1. bg-overlay sections: MUST keep white text (dark 80% overlay) ──
   Higher specificity (0,2,2) beats our light mode heading rules (0,1,2) */
body[data-theme="light"] [class*="bg-overlay"] h1,
body[data-theme="light"] [class*="bg-overlay"] h2,
body[data-theme="light"] [class*="bg-overlay"] h3,
body[data-theme="light"] [class*="bg-overlay"] h4,
body[data-theme="light"] [class*="bg-overlay"] h5,
body[data-theme="light"] [class*="bg-overlay"] h6,
body[data-theme="light"] [class*="bg-overlay"] .section-title h2,
body[data-theme="light"] [class*="bg-overlay"] .text-white {
    color: #ffffff !important;
}

body[data-theme="light"] [class*="bg-overlay"] p,
body[data-theme="light"] [class*="bg-overlay"] span:not(.badge),
body[data-theme="light"] [class*="bg-overlay"] li,
body[data-theme="light"] [class*="bg-overlay"] .text-white-50,
body[data-theme="light"] [class*="bg-overlay"] .time-location,
body[data-theme="light"] [class*="bg-overlay"] .time-location .time,
body[data-theme="light"] [class*="bg-overlay"] .time-location .location {
    color: rgba(255, 255, 255, .85) !important;
}

body[data-theme="light"] [class*="bg-overlay"] .btn-outline-light {
    border-color: rgba(255, 255, 255, .5) !important;
    color: #ffffff !important;
    background: transparent !important;
}

/* ── 2. Tournament countdown: branded dark hero — always dark ── */
body[data-theme="light"] .tournament-countdown {
    background: linear-gradient(135deg, #16030a 0%, #0a1320 100%) !important;
    border-bottom-color: rgba(139, 26, 43, .35) !important;
}

body[data-theme="light"] .tournament-countdown h2,
body[data-theme="light"] .tournament-countdown h3,
body[data-theme="light"] .tournament-countdown h4,
body[data-theme="light"] .tournament-countdown span:not(.badge),
body[data-theme="light"] .tournament-countdown p {
    color: #ffffff !important;
}

body[data-theme="light"] .tournament-countdown .countdown span.days,
body[data-theme="light"] .tournament-countdown .countdown span.hours,
body[data-theme="light"] .tournament-countdown .countdown span.minutes,
body[data-theme="light"] .tournament-countdown .countdown span.seconds {
    color: #ffffff !important;
}

body[data-theme="light"] .tournament-countdown .countdown p.days_ref,
body[data-theme="light"] .tournament-countdown .countdown p.hours_ref,
body[data-theme="light"] .tournament-countdown .countdown p.minutes_ref,
body[data-theme="light"] .tournament-countdown .countdown p.seconds_ref {
    color: rgba(255, 255, 255, .6) !important;
}

/* ── 3. Latest results time/location outside bg-overlay ── */
body[data-theme="light"] .time-location {
    color: #374151 !important;
}

/* Homepage latest-results section always stays dark */
body[data-theme="light"] #nwcc-latest-results {
    background-color: #080d1a !important;
}

/* ── 4. Match schedule: white date/time fix ── */
body[data-theme="light"] .upcoming-match .match-date-time .match-time,
body[data-theme="light"] .upcoming-match .match-date-time .match-date {
    color: #1e293b !important;
}

body[data-theme="light"] .match-schedule {
    background-color: #f8fafc !important;
}

body[data-theme="light"] .match-schedule .container.bg-light {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05) !important;
    border-radius: 12px !important;
}

body[data-theme="light"] .match-schedule h2 {
    color: #0f172a !important;
}

/* ── 5. Player Rankings / Points table — always dark in light mode ── */
body[data-theme="light"] .match-points-table {
    background-color: #080d1a !important;
}

body[data-theme="light"] .match-points-table .table tbody {
    background: transparent !important;
}

body[data-theme="light"] .match-points-table .table td,
body[data-theme="light"] .match-points-table .table th {
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body[data-theme="light"] .match-points-table .table tbody tr:hover td,
body[data-theme="light"] .match-points-table .table tbody tr:hover th {
    background: rgba(255, 255, 255, 0.05) !important;
}

body[data-theme="light"] .match-points-table .team-name span {
    color: #e2e8f0 !important;
}

/* ── 6. Section-title border-bottom on white bg ── */
body[data-theme="light"] .section-title.border-bottom {
    border-bottom-color: #e2e8f0 !important;
}

/* ── 7. Heading links: inherit dark color so blog titles are readable ── */
body[data-theme="light"] h1 a,
body[data-theme="light"] h2 a,
body[data-theme="light"] h3 a,
body[data-theme="light"] h4 a,
body[data-theme="light"] h5 a,
body[data-theme="light"] h6 a {
    color: inherit !important;
}

body[data-theme="light"] h1 a:hover,
body[data-theme="light"] h2 a:hover,
body[data-theme="light"] h3 a:hover,
body[data-theme="light"] h4 a:hover,
body[data-theme="light"] h5 a:hover,
body[data-theme="light"] h6 a:hover {
    color: var(--w-red) !important;
}

/* ── 8. Blog card title link (post-style-01) ── */
body[data-theme="light"] .blog-post-details .blog-title a {
    color: #0f172a !important;
}

body[data-theme="light"] .blog-post-details .blog-title a:hover {
    color: var(--w-red) !important;
}

body[data-theme="light"] .blog-post.post-style-01 {
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07) !important;
    background: #ffffff !important;
}

/* ── 9. Latest news section warm stripe ── */
body[data-theme="light"] .latest-news,
body[data-theme="light"] .latest-news-pattern {
    background-color: #f8f5f3 !important;
}

/* ── 10. Video section ── */
body[data-theme="light"] .video-section:not([class*="bg-overlay"]) {
    background-color: #ffffff !important;
}

body[data-theme="light"] .video-post-details .video-title a {
    color: #0f172a !important;
}

body[data-theme="light"] .video-post-details .video-view a,
body[data-theme="light"] .video-post-details .video-view span {
    color: #6b7280 !important;
}

/* ── 11. Counter hover effect ── */
body[data-theme="light"] .counter:before {
    background-color: rgba(0, 0, 0, .03) !important;
}

body[data-theme="light"] .counter:hover:before {
    background-color: rgba(139, 26, 43, .06) !important;
}

body[data-theme="light"] .counter .counter-number p {
    color: var(--w-red) !important;
}

/* ── 12. About section animated decorators — near-invisible in light ── */
body[data-theme="light"] .about:before,
body[data-theme="light"] .about:after {
    opacity: 0.04 !important;
}

/* ── 13. Pagination ── */
body[data-theme="light"] .pagination .page-link {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

body[data-theme="light"] .pagination .page-item.active .page-link {
    background: var(--w-red) !important;
    border-color: var(--w-red) !important;
    color: #ffffff !important;
}

body[data-theme="light"] .pagination .page-link:hover {
    background: #f1f5f9 !important;
    color: var(--w-red) !important;
}

/* ── 14. Classic players section titles ── */
body[data-theme="light"] .classic-players:not([class*="bg-overlay"]) .section-title h2 {
    color: #0f172a !important;
}

body[data-theme="light"] .classic-players:not([class*="bg-overlay"]) .section-title p {
    color: #374151 !important;
}

/* ── 15. nwcc-page-content links ── */
body[data-theme="light"] .nwcc-page-content a:not(.btn) {
    color: var(--w-red) !important;
}

/* ── 16. bg-vector-pattern decorative bg ── */
body[data-theme="light"] .bg-vector-pattern {
    opacity: 0.03 !important;
}

/* ── 17. Form selects ── */
body[data-theme="light"] select.form-select,
body[data-theme="light"] .form-select {
    background-color: #ffffff !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
}

/* ── 18. Blog post-style-02 cards ── */
body[data-theme="light"] .blog-post.post-style-02 {
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07) !important;
}

body[data-theme="light"] .blog-post.post-style-02 .blog-post-details {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
    padding: 20px !important;
}

/* ── 19. Inner page value-card ── */
body[data-theme="light"] .value-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06) !important;
}

body[data-theme="light"] .value-card:hover {
    background: #f8fafc !important;
    border-color: var(--w-red) !important;
}

/* ── 20. History page timeline boxes ── */
body[data-theme="light"] .history-content {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .history-item:hover .history-content {
    background: #f1f5f9 !important;
    border-color: var(--w-red) !important;
}

body[data-theme="light"] .history-info-timeline::before {
    background: #e2e8f0 !important;
}

/* ── 21. Transparent white background patterns (more variants) ── */
body[data-theme="light"] [style*="background:rgba(255,255,255,.03)"],
body[data-theme="light"] [style*="background: rgba(255,255,255,.03)"] {
    background: #f8fafc !important;
}

body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.1)"],
body[data-theme="light"] [style*="border: 1px solid rgba(255,255,255,.1)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.08)"],
body[data-theme="light"] [style*="border: 1px solid rgba(255,255,255,.08)"] {
    border-color: #e2e8f0 !important;
}

/* ── 22. Offcanvas mobile nav ── */
body[data-theme="light"] .offcanvas,
body[data-theme="light"] .offcanvas-body {
    background: #ffffff !important;
    color: #111827 !important;
}

body[data-theme="light"] .offcanvas .nav-link {
    color: #374151 !important;
}

body[data-theme="light"] .offcanvas .nav-link:hover {
    color: var(--w-red) !important;
}

/* ── 23. Blog post read more button ── */
body[data-theme="light"] .blog-post-details .btn-outline-primary {
    color: var(--w-red) !important;
    border-color: var(--w-red) !important;
}

body[data-theme="light"] .blog-post-details .btn-outline-primary:hover {
    background: var(--w-red) !important;
    color: #ffffff !important;
}

/* ── 24. Player ranking widget — keep dark in light mode ── */
body[data-theme="light"] .player-rankings-widget {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
}

body[data-theme="light"] .player-rankings-widget .table td,
body[data-theme="light"] .player-rankings-widget .table th {
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ── 25. Sponsors / supporters logo strip ── */
body[data-theme="light"] .sponsors-logo,
body[data-theme="light"] .sponsor-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .sponsors-logo img {
    opacity: 0.8;
    filter: grayscale(20%);
}

body[data-theme="light"] .sponsors-logo:hover img {
    opacity: 1;
    filter: none;
}

/* ── 26. Video section badge ── */
body[data-theme="light"] .video-post .badge {
    color: #ffffff !important;
}

/* ── 27. Table inside points table team-name ── */
body[data-theme="light"] .points-table .table {
    color: #374151 !important;
}

body[data-theme="light"] .points-table .table tbody {
    background: #ffffff !important;
}

body[data-theme="light"] .points-table .table tr td,
body[data-theme="light"] .points-table .table tr th {
    border-color: #e2e8f0 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   NWCC Custom v5 — Deep Light-Mode Fix (all pages, comprehensive)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Dark inline hex backgrounds → light ─────────────────────── */
body[data-theme="light"] [style*="background:#080d1a"],
body[data-theme="light"] [style*="background: #080d1a"],
body[data-theme="light"] [style*="background:#0a0f1e"],
body[data-theme="light"] [style*="background: #0a0f1e"],
body[data-theme="light"] [style*="background:#050a14"],
body[data-theme="light"] [style*="background: #050a14"],
body[data-theme="light"] [style*="background:#0d1117"],
body[data-theme="light"] [style*="background: #0d1117"] {
    background: #f8fafc !important;
}

/* Exception: footer must not be overridden by the above */
body[data-theme="light"] .footer [style*="background:#080d1a"],
body[data-theme="light"] .footer [style*="background:#0a0f1e"],
body[data-theme="light"] .footer [style*="background:#050a14"] {
    background: transparent !important;
}

/* ── 2. Dark gradient hero/card sections → light gradient ─────── */
body[data-theme="light"] .scoreboard-hero-premium {
    background: linear-gradient(135deg, #f1f5f9 0%, #e8ecf2 100%) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .08) !important;
}

/* ── 3. Translucent dark card backgrounds → white ───────────────── */
body[data-theme="light"] [style*="background:rgba(255,255,255,.02)"],
body[data-theme="light"] [style*="background: rgba(255,255,255,.02)"],
body[data-theme="light"] [style*="background:rgba(255,255,255,.025)"],
body[data-theme="light"] [style*="background: rgba(255,255,255,.025)"] {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

/* ── 4. White inline text → dark (global overrides) ─────────────── */
body[data-theme="light"] [style*="color:#fff"]:not(.btn):not(.badge):not([class*="bg-overlay"] *) {
    color: #111827 !important;
}

body[data-theme="light"] [style*="color: #fff"]:not(.btn):not(.badge) {
    color: #111827 !important;
}

body[data-theme="light"] [style*="color:#ffffff"]:not(.btn):not(.badge) {
    color: #111827 !important;
}

body[data-theme="light"] [style*="color:rgba(255,255,255"] {
    color: #374151 !important;
}

body[data-theme="light"] [style*="color: rgba(255,255,255"] {
    color: #374151 !important;
}

/* ── 5. Restore white text INSIDE bg-overlay (higher specificity) ── */
body[data-theme="light"] [class*="bg-overlay"] [style*="color:rgba(255,255,255"],
body[data-theme="light"] [class*="bg-overlay"] [style*="color: rgba(255,255,255"] {
    color: rgba(255, 255, 255, .8) !important;
}

body[data-theme="light"] [class*="bg-overlay"] [style*="color:#fff"],
body[data-theme="light"] [class*="bg-overlay"] [style*="color: #fff"],
body[data-theme="light"] [class*="bg-overlay"] [style*="color:#ffffff"] {
    color: #ffffff !important;
}

body[data-theme="light"] [class*="bg-overlay"] .text-white {
    color: #ffffff !important;
}

/* ── 6. Inline border colours → light ──────────────────────────── */
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="border: 1px solid rgba(255,255,255,.06)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.08)"],
body[data-theme="light"] [style*="border: 1px solid rgba(255,255,255,.08)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.1)"],
body[data-theme="light"] [style*="border: 1px solid rgba(255,255,255,.1)"],
body[data-theme="light"] [style*="border:1px solid rgba(255,255,255,.12)"],
body[data-theme="light"] [style*="border: 1px solid rgba(255,255,255,.12)"],
body[data-theme="light"] [style*="border:1px dashed rgba(255,255,255"],
body[data-theme="light"] [style*="border: 1px dashed rgba(255,255,255"] {
    border-color: #e2e8f0 !important;
}

/* ── 7. FAQ page ────────────────────────────────────────────────── */
body[data-theme="light"] .faq-inp {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

body[data-theme="light"] .faq-inp::placeholder {
    color: #9ca3af !important;
}

body[data-theme="light"] .faq-inp:focus {
    border-color: var(--w-red) !important;
}

body[data-theme="light"] .nwcc-accordion .accordion-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
}

body[data-theme="light"] .nwcc-accordion .accordion-button {
    background: #f8fafc !important;
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-accordion .accordion-button:not(.collapsed) {
    color: var(--w-red) !important;
    background: #fff5f7 !important;
}

body[data-theme="light"] .nwcc-accordion .accordion-body {
    color: #374151 !important;
    background: #ffffff !important;
}

body[data-theme="light"] .nwcc-accordion .accordion-button::after {
    filter: invert(1);
}

/* ── 8. Contact / Join / Volunteer form inputs ──────────────────── */
body[data-theme="light"] .ct-inp,
body[data-theme="light"] .sp-inp,
body[data-theme="light"] .vl-inp {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

body[data-theme="light"] .ct-inp::placeholder,
body[data-theme="light"] .sp-inp::placeholder,
body[data-theme="light"] .vl-inp::placeholder {
    color: #9ca3af !important;
}

body[data-theme="light"] .ct-inp:focus,
body[data-theme="light"] .sp-inp:focus,
body[data-theme="light"] .vl-inp:focus {
    border-color: var(--w-red) !important;
    outline: none !important;
}

body[data-theme="light"] .ct-lbl,
body[data-theme="light"] .sp-lbl,
body[data-theme="light"] .vl-lbl {
    color: #374151 !important;
}

body[data-theme="light"] .ct-file,
body[data-theme="light"] .sp-file,
body[data-theme="light"] .vl-file {
    background: #f8fafc !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

body[data-theme="light"] .ct-file::-webkit-file-upload-button,
body[data-theme="light"] .sp-file::-webkit-file-upload-button,
body[data-theme="light"] .vl-file::-webkit-file-upload-button {
    background: #f1f5f9 !important;
    color: #374151 !important;
    border-color: #d1d5db !important;
}

/* ── 9. Match detail scoreboard ─────────────────────────────────── */
body[data-theme="light"] .bg-navy-dark {
    background: #f1f5f9 !important;
}

body[data-theme="light"] .match-detail-section {
    background: #f5f7fa !important;
}

body[data-theme="light"] .scoreboard-center-zone {
    border-color: #e2e8f0 !important;
    background: rgba(0, 0, 0, .02) !important;
}

body[data-theme="light"] .score-num {
    color: #0f172a !important;
    text-shadow: none !important;
}

body[data-theme="light"] .scoreboard-logo-placeholder {
    background: #e2e8f0 !important;
}

body[data-theme="light"] .match-info-card-premium {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .match-info-card-premium .label {
    color: #6b7280 !important;
}

body[data-theme="light"] .match-info-card-premium .value {
    color: #0f172a !important;
}

body[data-theme="light"] .match-report-premium {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .report-content {
    color: #374151 !important;
}

body[data-theme="light"] .match-player-row-premium {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #111827 !important;
}

body[data-theme="light"] .match-player-row-premium:hover {
    background: #f1f5f9 !important;
    border-color: var(--w-red) !important;
}

body[data-theme="light"] .player-name-sm {
    color: #0f172a !important;
}

body[data-theme="light"] .player-avatar-sm {
    background: #e2e8f0 !important;
}

/* Scorecard tabs */
body[data-theme="light"] .sc-tabs {
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .sc-tab {
    color: #6b7280 !important;
    background: transparent !important;
}

body[data-theme="light"] .sc-tab.active {
    color: #0f172a !important;
}

body[data-theme="light"] .sc-tab-team {
    color: #9ca3af !important;
}

body[data-theme="light"] .sc-tab.active .sc-tab-team {
    color: var(--w-red) !important;
}

/* Scorecard table */
body[data-theme="light"] .sc-table th {
    color: #6b7280 !important;
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
}

body[data-theme="light"] .sc-table td {
    color: #374151 !important;
    border-color: #f1f5f9 !important;
    background: #ffffff !important;
}

body[data-theme="light"] .sc-table tr:hover td {
    background: #f8fafc !important;
}

body[data-theme="light"] .sc-player-name {
    color: #0f172a !important;
}

body[data-theme="light"] .sc-runs {
    color: #0f172a !important;
}

body[data-theme="light"] .sc-total-row td {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .sc-extras-row td {
    color: #6b7280 !important;
}

body[data-theme="light"] .sc-dnb {
    color: #9ca3af !important;
}

/* ── 10. Match results & schedule ───────────────────────────────── */
body[data-theme="light"] .match-result-card,
body[data-theme="light"] .fixture-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
}

body[data-theme="light"] .match-score {
    color: #0f172a !important;
}

body[data-theme="light"] .match-team-name {
    color: #374151 !important;
}

body[data-theme="light"] .match-date-badge {
    background: #f1f5f9 !important;
    color: #374151 !important;
    border-color: #e2e8f0 !important;
}

/* ── 11. Tournament pages ───────────────────────────────────────── */
body[data-theme="light"] .tourn-stat-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

body[data-theme="light"] .tournament-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .tournament-card h4,
body[data-theme="light"] .tournament-card h5,
body[data-theme="light"] .tourn-stat-card .stat-num {
    color: #0f172a !important;
}

/* ── 12. Academy & coaching page classes ───────────────────────── */
body[data-theme="light"] .nwcc-programme-card,
body[data-theme="light"] .nwcc-age-card,
body[data-theme="light"] .nwcc-info-card,
body[data-theme="light"] .nwcc-step-card,
body[data-theme="light"] .nwcc-feature-card,
body[data-theme="light"] .nwcc-benefit-card,
body[data-theme="light"] .nwcc-coach-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-programme-card h3,
body[data-theme="light"] .nwcc-programme-card h4,
body[data-theme="light"] .nwcc-age-card h3,
body[data-theme="light"] .nwcc-age-card h4,
body[data-theme="light"] .nwcc-info-card h4,
body[data-theme="light"] .nwcc-coach-card h4 {
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-age-range {
    color: var(--w-red) !important;
}

body[data-theme="light"] .nwcc-session-label,
body[data-theme="light"] .nwcc-detail-label {
    color: #6b7280 !important;
}

body[data-theme="light"] .nwcc-icon-box {
    background: rgba(200, 16, 46, .08) !important;
}

/* ── 13. Inline background-image sections — keep dark overlay */
body[data-theme="light"] .bg-holder[style*="background-image"] .text-white {
    color: #ffffff !important;
}

body[data-theme="light"] .bg-holder[style*="background-image"] {
    color: #ffffff !important;
}

/* ── 14. .text-white inside sections that went light → dark ──────── */
body[data-theme="light"] .space-ptb .text-white,
body[data-theme="light"] .space-pt .text-white,
body[data-theme="light"] .space-pb .text-white {
    color: #0f172a !important;
}

/* Exception: inside bg-overlay, text-white stays white */

body[data-theme="light"] .inner-banner .text-white,
body[data-theme="light"] .nwcc-hero-slider .text-white {
    color: #ffffff !important;
}

body[data-theme="light"] [class*="bg-overlay"] .text-white {
    color: #000000 !important;
}

/* ── 15. ad-banner top strip in light mode ──────────────────────── */
body[data-theme="light"] .nwcc-top-banner {
    background: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body[data-theme="light"] .nwcc-top-banner-text {
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-top-banner-close {
    color: #6b7280 !important;
}

/* ── 16. Section headings after bg override ─────────────────────── */
body[data-theme="light"] .space-ptb h1,
body[data-theme="light"] .space-ptb h2,
body[data-theme="light"] .space-ptb h3,
body[data-theme="light"] .space-ptb h4,
body[data-theme="light"] .space-ptb h5,
body[data-theme="light"] .space-ptb h6,
body[data-theme="light"] .space-pt h1,
body[data-theme="light"] .space-pt h2,
body[data-theme="light"] .space-pt h3,
body[data-theme="light"] .space-pb h2,
body[data-theme="light"] .space-pb h3 {
    color: #0f172a !important;
}

/* Exception: headings in bg-overlay stay white */
body[data-theme="light"] [class*="bg-overlay"] h1,
body[data-theme="light"] [class*="bg-overlay"] h2,
body[data-theme="light"] [class*="bg-overlay"] h3,
body[data-theme="light"] [class*="bg-overlay"] h4,
body[data-theme="light"] [class*="bg-overlay"] h5,
body[data-theme="light"] [class*="bg-overlay"] h6,
body[data-theme="light"] .inner-banner h1,
body[data-theme="light"] .inner-banner h2,
body[data-theme="light"] .nwcc-hero-slider h1,
body[data-theme="light"] .nwcc-hero-slider h2 {
    color: #ffffff !important;
}

/* ── 17. Paragraphs & spans in dark sections (turned white) ─────── */
body[data-theme="light"] .space-ptb p,
body[data-theme="light"] .space-ptb li,
body[data-theme="light"] .space-ptb span:not(.badge):not(.btn) {
    color: #374151;
}

body[data-theme="light"] [class*="bg-overlay"] p,
body[data-theme="light"] [class*="bg-overlay"] li,
body[data-theme="light"] [class*="bg-overlay"] span {
    color: rgba(255, 255, 255, .8) !important;
}

/* ── 18. Success / Error alert banners on form pages ───────────── */
body[data-theme="light"] [style*="background:#065f46"] {
    background: #dcfce7 !important;
    color: #166534 !important;
    border-color: #86efac !important;
}

body[data-theme="light"] [style*="background: #065f46"] {
    background: #dcfce7 !important;
    color: #166534 !important;
    border-color: #86efac !important;
}

body[data-theme="light"] [style*="background:#7f1d1d"] {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #fca5a5 !important;
}

body[data-theme="light"] [style*="background: #7f1d1d"] {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #fca5a5 !important;
}

/* ── 19. section-title underline bar (red stays red) ───────────── */
body[data-theme="light"] [style*="background:var(--w-red)"],
body[data-theme="light"] [style*="background: var(--w-red)"] {
    background: var(--w-red) !important;
}

/* ── 20. Quick-links strip text (FAQ top bar) ───────────────────── */
body[data-theme="light"] .nwcc-container a[style*="color:rgba(255,255,255"] {
    color: #374151 !important;
    border-color: #d1d5db !important;
    background: #f1f5f9 !important;
}


/* ── Policy pages (privacy / terms) ── */
.nwcc-policy-body {
    color: rgba(255, 255, 255, .85);
}

.nwcc-policy-body h1,
.nwcc-policy-body h2,
.nwcc-policy-body h3 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.nwcc-policy-body p,
.nwcc-policy-body li {
    color: rgba(255, 255, 255, .75);
}

.nwcc-policy-body a {
    color: var(--w-red);
}

.nwcc-policy-body ul,
.nwcc-policy-body ol {
    padding-left: 1.5rem;
}

body[data-theme="light"] .nwcc-policy-body {
    color: #374151;
}

body[data-theme="light"] .nwcc-policy-body h1,
body[data-theme="light"] .nwcc-policy-body h2,
body[data-theme="light"] .nwcc-policy-body h3 {
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-policy-body p,
body[data-theme="light"] .nwcc-policy-body li {
    color: #374151 !important;
}

/* ── Page-specific dark CSS class overrides (v5b) ─────────────── */

/* History page intro section */
body[data-theme="light"] .about-history {
    background: #f8fafc !important;
}

body[data-theme="light"] .about-history h2 {
    color: #0f172a !important;
}

body[data-theme="light"] .about-history .nwcc-page-content,
body[data-theme="light"] .about-history .nwcc-page-content p {
    color: #374151 !important;
}

/* Academy / coaching — extra dark hex used in inline styles */
body[data-theme="light"] [style*="background:#060b15"],
body[data-theme="light"] [style*="background: #060b15"] {
    background: #f8fafc !important;
}

/* nwcc-section used in academy/coaching pages */
body[data-theme="light"] .nwcc-section {
    background: #ffffff;
}

/* ── Global page-body wrapper override ────────────────────────── */
body[data-theme="light"]>div[style*="background:#080d1a"],
body[data-theme="light"]>main[style*="background:#080d1a"],
body[data-theme="light"] #app>div[style*="background:#080d1a"] {
    background: #f8fafc !important;
}

/* ── Livewire wrapper div (Livewire wraps content in a div) ─────── */
body[data-theme="light"] [wire\:id]>div[style*="background:#080d1a"] {
    background: #f8fafc !important;
}

/* ── article-body (used in news/blog detail) ────────────────────── */
body[data-theme="light"] .nwcc-article-body {
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-article-body h1,
body[data-theme="light"] .nwcc-article-body h2,
body[data-theme="light"] .nwcc-article-body h3 {
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-article-body p,
body[data-theme="light"] .nwcc-article-body li {
    color: #374151 !important;
}

/* ============================================================
   THEME-AWARE PAGE UTILITIES — v6 (all inner pages)
   ============================================================ */

/* Generic page wrapper — replaces hardcoded dark backgrounds */
body[data-theme="light"] .bg-navy-dark,
body[data-theme="light"] .bg-navy,
body[data-theme="light"] .aw-page {
    background-color: var(--nwcc-bg) !important;
}

/* Cards that use rgba(255,255,255,.03-.08) in dark mode */
body[data-theme="light"] .feature-box-premium,
body[data-theme="light"] .program-info-sidebar,
body[data-theme="light"] .bg-white-5 {
    background: #f8fafc !important;
}

/* Feature boxes */
body[data-theme="light"] .feature-box-premium {
    border: 1px solid #e2e8f0 !important;
}

body[data-theme="light"] .feature-box-premium h4 {
    color: #0f172a !important;
}

body[data-theme="light"] .feature-box-premium p {
    color: #4b5563 !important;
}

/* About page stat items */
body[data-theme="light"] .stat-item .stat-label {
    color: #64748b !important;
}

/* nwcc-page-content */
body[data-theme="light"] .nwcc-page-content {
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-page-content p,
body[data-theme="light"] .nwcc-page-content li {
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-page-content h2,
body[data-theme="light"] .nwcc-page-content h3 {
    color: #0f172a !important;
}

/* Values page */
body[data-theme="light"] .value-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .value-card h4 {
    color: #0f172a !important;
}

body[data-theme="light"] .value-card p {
    color: #4b5563 !important;
}

body[data-theme="light"] .value-card:hover {
    background: #fff !important;
    border-color: var(--w-red) !important;
}

/* Committee page member cards */
body[data-theme="light"] .committee-member-card {
    background: #fff !important;
    border-color: #e2e8f0 !important;
}

/* Future/sidebar panels */
body[data-theme="light"] .bg-navy {
    background: #f8fafc !important;
}

body[data-theme="light"] .border-white-10 {
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .text-white-50 {
    color: #64748b !important;
}

/* Coaching cards */
body[data-theme="light"] .card.bg-white-5,
body[data-theme="light"] .card.border-white-10 {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .card.bg-white-5 h5,
body[data-theme="light"] .card.border-white-10 h5 {
    color: #0f172a !important;
}

body[data-theme="light"] .card.bg-white-5 p,
body[data-theme="light"] .card.border-white-10 p {
    color: #64748b !important;
}

/* Youth / Girls sidebar */
body[data-theme="light"] .program-info-sidebar h4 {
    color: #0f172a !important;
}

body[data-theme="light"] .program-info-sidebar h6 {
    color: var(--w-red) !important;
}

body[data-theme="light"] .program-info-sidebar p {
    color: #374151 !important;
}

body[data-theme="light"] .program-info-sidebar .border-bottom {
    border-color: #e2e8f0 !important;
}

/* Section titles */
body[data-theme="light"] .section-title h2 {
    color: #0f172a !important;
}

/* Awards page */
body[data-theme="light"] .aw-filter-bar {
    background: #f1f5f9 !important;
    border-bottom-color: #e2e8f0 !important;
}

body[data-theme="light"] .aw-filter-label {
    color: #64748b !important;
}

body[data-theme="light"] .aw-filter-btn {
    border-color: #e2e8f0 !important;
    color: #374151 !important;
    background: #fff !important;
}

body[data-theme="light"] .aw-filter-btn:hover {
    border-color: rgba(200, 16, 46, .5) !important;
    color: var(--w-red) !important;
}

body[data-theme="light"] .aw-grid-section {
    background: var(--nwcc-bg) !important;
}

body[data-theme="light"] .aw-section-head h2 {
    color: #0f172a !important;
}

body[data-theme="light"] .aw-section-head p {
    color: #64748b !important;
}

body[data-theme="light"] .aw-card {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

body[data-theme="light"] .aw-card-name {
    color: #0f172a !important;
}

body[data-theme="light"] .aw-card-year {
    color: #64748b !important;
}

body[data-theme="light"] .aw-card-desc {
    color: #4b5563 !important;
}

body[data-theme="light"] .aw-featured {
    background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%) !important;
    border-bottom-color: #fecaca !important;
}

body[data-theme="light"] .aw-featured-title {
    color: #0f172a !important;
}

body[data-theme="light"] .aw-featured-desc {
    color: #374151 !important;
}

body[data-theme="light"] .aw-cta {
    background: linear-gradient(135deg, #fef2f2, #fff0f3) !important;
}

body[data-theme="light"] .aw-cta-title {
    color: #0f172a !important;
}

body[data-theme="light"] .aw-cta-sub {
    color: #64748b !important;
}

body[data-theme="light"] .aw-empty h3 {
    color: #0f172a !important;
}

body[data-theme="light"] .aw-empty p {
    color: #64748b !important;
}

body[data-theme="light"] .pagination .page-link {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

body[data-theme="light"] .pagination .page-item.active .page-link,
body[data-theme="light"] .pagination .page-link:hover {
    background: var(--w-red) !important;
    border-color: var(--w-red) !important;
    color: #fff !important;
}

/* Events page */
body[data-theme="light"] .nwcc-stream-card {
    background: #fff !important;
    border-color: #e2e8f0 !important;
}

/* Competitions/Tournaments filter bar */
body[data-theme="light"] .tournament-filter-bar {
    background: #f1f5f9 !important;
    border-bottom-color: #e2e8f0 !important;
}

body[data-theme="light"] .status-tabs-premium {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
}

body[data-theme="light"] .status-tab {
    color: #64748b !important;
}

body[data-theme="light"] .status-tab.active {
    background: var(--w-red) !important;
    color: #fff !important;
}

body[data-theme="light"] .form-select-premium {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    color: #374151 !important;
}

/* Live stream page */
body[data-theme="light"] .nwcc-stream-card .border-bottom.border-secondary {
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .bg-navy-dark {
    background: #f8fafc !important;
}

/* Competitions page — tournament card premium */
body[data-theme="light"] .tournament-card-premium {
    background: #fff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .tournament-card-premium:hover {
    border-color: var(--w-red) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

body[data-theme="light"] .tournament-banner-wrap {
    background: #e2e8f0 !important;
}

body[data-theme="light"] .tournament-name-premium {
    color: #111827 !important;
}

body[data-theme="light"] .tournament-desc-premium {
    color: #64748b !important;
}

body[data-theme="light"] .format-tag {
    color: #94a3b8 !important;
}

body[data-theme="light"] .meta-item {
    color: #475569 !important;
}

body[data-theme="light"] .tournament-meta-premium.border-top {
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .input-group-premium {
    background: #fff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .input-group-premium:focus-within {
    border-color: var(--w-red) !important;
}

body[data-theme="light"] .form-control-premium {
    color: #111827 !important;
}

body[data-theme="light"] .form-control-premium::placeholder {
    color: #94a3b8 !important;
}

body[data-theme="light"] .form-select-premium option {
    background: #fff !important;
    color: #111827 !important;
}

body[data-theme="light"] .status-tab:hover:not(.active) {
    color: #111827 !important;
    background: rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="light"] .nwcc-empty-premium {
    background: #f8fafc;
    border-radius: 16px;
}

body[data-theme="light"] .border-white-5 {
    border-color: #e2e8f0 !important;
}

/* ══════════════════════════════════════════════════════════════════════
   PAGES LIGHT MODE — Fixtures · Results · Match Detail · Academy · Coaching
   ══════════════════════════════════════════════════════════════════════ */

/* ── Fixtures: row cards ─────────────────────────────────────────── */
body[data-theme="light"] .nwcc-fixture-row-premium {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
}

body[data-theme="light"] .nwcc-fixture-row-premium:hover {
    border-color: var(--w-red) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12) !important;
}

body[data-theme="light"] .bg-black-20 {
    background: #ff6666ab !important;
}

body[data-theme="light"] .fixture-logo-placeholder,
body[data-theme="light"] .team-logo-placeholder-sm {
    background: #e2e8f0 !important;
}

body[data-theme="light"] .bg-navy-light {
    background: #f1f5f9 !important;
}

/* ── Results: row cards + scores ────────────────────────────────── */
body[data-theme="light"] .nwcc-result-row-premium {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
}

body[data-theme="light"] .nwcc-result-row-premium:hover {
    border-color: var(--w-red) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12) !important;
}

body[data-theme="light"] .score-main {
    color: #0f172a !important;
}

body[data-theme="light"] .text-glow-primary {
    color: #0f172a !important;
    text-shadow: none !important;
}

/* Results page latest-results section — override the home-page dark rule */
body[data-theme="light"] .bg-navy-dark .latest-results {
    background: #f5f7fa !important;
}

/* ── Academy Youth ────────────────────────────────────────────────── */



body[data-theme="light"] .nwcc-feature-tile {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
}

body[data-theme="light"] .nwcc-pathway {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* ── Academy Girls ────────────────────────────────────────────────── */


body[data-theme="light"] .nwcc-girls-mission {
    background: linear-gradient(135deg, #fff5f5 0%, #f0f5ff 100%) !important;
    border-color: rgba(200, 16, 46, .2) !important;
}

body[data-theme="light"] .nwcc-girls-mission-title {
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-girls-mission-text {
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-girls-stats {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .nwcc-gs-lbl {
    color: #64748b !important;
}

body[data-theme="light"] .nwcc-team-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
}

body[data-theme="light"] .nwcc-tc-name {
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-tc-desc {
    color: #64748b !important;
}

body[data-theme="light"] .nwcc-why-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .nwcc-sched-block {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* ── Shared: academy + coaching headings and body text ───────────── */
body[data-theme="light"] .nwcc-h2 {
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-body-text {
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-lead-text {
    color: #475569 !important;
}

body[data-theme="light"] .nwcc-divider {
    background: var(--w-red) !important;
}

/* ── Coaching Programme ───────────────────────────────────────────── */


body[data-theme="light"] .nwcc-cred-bar {
    background: #1e293b !important;
}

body[data-theme="light"] .nwcc-level-card,
body[data-theme="light"] .nwcc-coach-profile,
body[data-theme="light"] .nwcc-how-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
}

body[data-theme="light"] .nwcc-lc-desc,
body[data-theme="light"] .nwcc-skill-desc,
body[data-theme="light"] .nwcc-vaf-text {
    color: #64748b !important;
}

body[data-theme="light"] .nwcc-vaf-title,
body[data-theme="light"] .nwcc-skill-name,
body[data-theme="light"] .nwcc-cp-name {
    color: #0f172a !important;
}

body[data-theme="light"] .nwcc-cp-spec {
    color: var(--w-red) !important;
}

/* ── CTA strips — always dark ────────────────────────────────────── */
body[data-theme="light"] .nwcc-cta-strip {
    background: linear-gradient(135deg, #1a0507 0%, #2d0810 100%) !important;
}

body[data-theme="light"] .nwcc-cta-strip .nwcc-cta-title,
body[data-theme="light"] .nwcc-cta-strip p,
body[data-theme="light"] .nwcc-cta-strip span {
    color: #ffffff !important;
}

/* ══════════════════════════════════════════════════════════════════════
   FONT SIZE INCREASES — all themes (overrides inline <style> blocks)
   ══════════════════════════════════════════════════════════════════════ */
.nwcc-eyebrow {
    font-size: 0.82rem !important;
}

.nwcc-body-text {
    font-size: 1.05rem !important;
    line-height: 1.78 !important;
}

.nwcc-lead-text {
    font-size: 1.1rem !important;
}

.nwcc-stat-lbl {
    font-size: 0.76rem !important;
}

.nwcc-lc-desc {
    font-size: 0.92rem !important;
}

.nwcc-skill-desc {
    font-size: 0.85rem !important;
}

.nwcc-vaf-text {
    font-size: 0.88rem !important;
}

.nwcc-gs-lbl {
    font-size: 0.76rem !important;
}

.nwcc-tc-desc {
    font-size: 0.9rem !important;
}

.nwcc-cred-item {
    font-size: 0.85rem !important;
}

.nwcc-cred-item span {
    font-size: 0.85rem !important;
}

.match-info-card-premium .label {
    font-size: 0.74rem !important;
}

.match-info-card-premium .value {
    font-size: 1rem !important;
}

.report-content {
    font-size: 1.08rem !important;
    line-height: 1.85 !important;
}

.sc-table {
    font-size: 0.88rem !important;
}

.sc-table th {
    font-size: 0.72rem !important;
}

.sc-tab {
    font-size: 0.84rem !important;
}

.player-name-sm {
    font-size: 0.9rem !important;
}

.player-role-sm {
    font-size: 0.72rem !important;
}

.nwcc-fixture-row-premium h6,
.nwcc-result-row-premium h6 {
    font-size: 0.9rem !important;
}

.nwcc-result-row-premium h5 {
    font-size: 1rem !important;
}

.fixture-meta-info .small,
.nwcc-result-row-premium .small {
    font-size: 0.85rem !important;
}

/* ═══════════════════════════════════════════════════════════════════
   NWCC Fix v6 — 2026-05-18
   1. Footer always white text (dark + light mode)
   2. Player Rankings — light bg + black text in light mode
   3. Latest Results  — always white text (dark bg image)
   4. Global font-size boost (p, label, .value, nav-title, tables)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. FOOTER: white text — base rule is now in style.css (.footer { color:#fff })
   The global dark-text rules (lines 70-82) now exclude footer context
   via :not(footer ...) so the base .footer { color:#fff } in style.css
   handles inheritance. Only heading tags need explicit overrides here
   because they have their own colour rules elsewhere.                  */

/* Headings inside footer — dark mode & light mode */
footer.footer h1,
footer.footer h2,
footer.footer h3,
footer.footer h4,
footer.footer h5,
footer.footer h6,
body[data-theme="light"] footer.footer h1,
body[data-theme="light"] footer.footer h2,
body[data-theme="light"] footer.footer h3,
body[data-theme="light"] footer.footer h4,
body[data-theme="light"] footer.footer h5,
body[data-theme="light"] footer.footer h6 {
    color: #ffffff !important;
}

/* Hover → red accent */
footer.footer a:hover,
body[data-theme="light"] footer.footer a:hover {
    color: var(--w-red) !important;
}

/* .text-primary inside footer stays red */
footer.footer .text-primary,
body[data-theme="light"] footer.footer .text-primary {
    color: var(--w-red) !important;
}

/* ── 2. PLAYER RANKINGS (homepage widget) — light mode ─────────────
   Give the ranking tables a white/light bg with black text.           */
body[data-theme="light"] .player-rankings-widget {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
}

body[data-theme="light"] .player-rankings-widget h5 {
    color: #0f172a !important;
}

body[data-theme="light"] .player-rankings-widget .points-table {
    background: #ffffff !important;
}

body[data-theme="light"] .player-rankings-widget .table {
    color: #0f172a !important;
    background: #ffffff !important;
}

body[data-theme="light"] .player-rankings-widget .table thead {
    background: #f1f5f9 !important;
}

body[data-theme="light"] .player-rankings-widget .table thead th {
    color: #1e293b !important;
    border-color: #e2e8f0 !important;
    background: #f1f5f9 !important;
}

body[data-theme="light"] .player-rankings-widget .table tbody td,
body[data-theme="light"] .player-rankings-widget .table tbody th {
    color: #1e293b !important;
    border-color: #f1f5f9 !important;
    background: transparent !important;
}

body[data-theme="light"] .player-rankings-widget .table .team-name span {
    color: #0f172a !important;
}

body[data-theme="light"] .player-rankings-widget .table tbody tr:hover td,
body[data-theme="light"] .player-rankings-widget .table tbody tr:hover th {
    background: #f8fafc !important;
}

/* Pagination box */
body[data-theme="light"] .player-rankings-widget .ranking-nav {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
}

body[data-theme="light"] .player-rankings-widget .ranking-nav span,
body[data-theme="light"] .player-rankings-widget .ranking-nav button {
    color: #1e293b !important;
}

body[data-theme="light"] .player-rankings-widget .ranking-nav .btn-outline-secondary {
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    background: #ffffff !important;
}

body[data-theme="light"] .player-rankings-widget .ranking-nav .btn-outline-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

body[data-theme="light"] .player-rankings-widget .ranking-nav .btn-outline-secondary:disabled {
    opacity: .4 !important;
}

/* empty state text */
body[data-theme="light"] .player-rankings-widget .text-white-50 {
    color: #64748b !important;
}

/* style.css hardcodes dark-navy on .table tbody — override in light mode */
body[data-theme="light"] .match-points-table .table tbody,
body[data-theme="light"] .player-rankings-widget .table tbody {
    background: #ffffff !important;
}

/* Remove dark bg-overlay ::before on rankings/points-table sections in light mode
   (section bg is already forced to #fff by the existing .match-points-table rule) */
body[data-theme="light"] .match-points-table::before {
    display: none !important;
}

/* ── 3. HOMEPAGE LATEST RESULTS — always white text (dark background image) ──
   Scoped to #nwcc-latest-results so the /teams-fixtures/results page is unaffected. */
#nwcc-latest-results *,
body[data-theme="light"] #nwcc-latest-results * {
    color: #ffffff !important;
}

/* Keep red/primary accent colours */
#nwcc-latest-results .text-primary,
body[data-theme="light"] #nwcc-latest-results .text-primary {
    color: var(--w-red) !important;
}

/* Badges and buttons keep their own palette */
#nwcc-latest-results .badge,
body[data-theme="light"] #nwcc-latest-results .badge {
    color: #ffffff !important;
}

/* ── 4. GLOBAL FONT-SIZE BOOST ─────────────────────────────────────
   Increase readability for body copy, labels, values, nav titles,
   and all data tables across the frontend.                            */

/* — Base body & html — */
html {
    font-size: 17px !important;
}

body {
    font-size: 1rem !important;

}

/* — p tags (all frontend body copy) — */
p,
.nwcc-container p,
.container p,
.container-fluid p,
section p,
.nwcc-page-content p {
    font-size: 1.05rem !important;

}

/* — label tags — */
label,
.form-label,
.adm-label {
    font-size: 0.95rem !important;
}

/* — .value class (stat cards, info cards) — */
.value {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

.match-info-card-premium .value {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

/* — Megamenu / submenu section titles (.nav-title) — */
.header .navbar .nav-title,
.header .navbar .dropdown-menu.megamenu .nav-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
}

/* — Dropdown submenu links — */
.header .navbar .dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item {
    font-size: 0.95rem !important;
}

/* — Table head — */
.table thead th,
.points-table .table thead th,
.sc-table thead th,
.bl-table thead th,
.adm-table thead th {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
}

/* — Table body — */
.table tbody td,
.table tbody th,
.points-table .table tbody td,
.points-table .table tbody th,
.bl-table tbody td,
.adm-table tbody td {
    font-size: 0.95rem !important;
}

/* — Small utility adjustments to avoid clipping — */
.small,
small {
    font-size: 0.85rem !important;
}

.text-muted {
    font-size: 0.88rem !important;
}

/* — Section titles & headings scale up slightly — */
.section-title h2 {
    font-size: 2.2rem !important;
}

.section-title p,
.section-title .lead {
    font-size: 1.05rem !important;
}

/* ═══════════════════════════════════════════════════════════════════
   NWCC Fix v7 — Frontend Light-Mode Tables
   All table heads → red bg + white text
   All table body  → black text
   Excludes admin-only tables (.bl-table, .adm-table)
   ═══════════════════════════════════════════════════════════════════ */

/* ── thead: red background, white text ──────────────────────────── */
body[data-theme="light"] .table thead,
body[data-theme="light"] .table thead tr,
body[data-theme="light"] .table-striped thead,
body[data-theme="light"] .points-table .table thead,
body[data-theme="light"] .match-points-table .table thead,
body[data-theme="light"] .sc-table thead,
body[data-theme="light"] .player-rankings-widget .table thead {
    background: var(--w-red) !important;
    background-color: var(--w-red) !important;
}

body[data-theme="light"] .table thead th,
body[data-theme="light"] .table thead td,
body[data-theme="light"] .table-striped thead th,
body[data-theme="light"] .points-table .table thead th,
body[data-theme="light"] .points-table .table thead td,
body[data-theme="light"] .match-points-table .table thead th,
body[data-theme="light"] .match-points-table .table thead td,
body[data-theme="light"] .sc-table thead th,
body[data-theme="light"] .sc-table thead td,
body[data-theme="light"] .player-rankings-widget .table thead th,
body[data-theme="light"] .player-rankings-widget .table thead td {
    background: var(--w-red) !important;
    background-color: var(--w-red) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ── tbody: black text, white background ────────────────────────── */
body[data-theme="light"] .table tbody td,
body[data-theme="light"] .table tbody th,
body[data-theme="light"] .table tbody tr,
body[data-theme="light"] .points-table .table tbody td,
body[data-theme="light"] .points-table .table tbody th,
body[data-theme="light"] .match-points-table .table tbody td,
body[data-theme="light"] .match-points-table .table tbody th,
body[data-theme="light"] .sc-table tbody td,
body[data-theme="light"] .sc-table tbody th,
body[data-theme="light"] .player-rankings-widget .table tbody td,
body[data-theme="light"] .player-rankings-widget .table tbody th {
    color: #111827 !important;
    background-color: #ffffff !important;
    border-color: #e5e7eb !important;
}

/* tbody row hover — subtle tint */
body[data-theme="light"] .table tbody tr:hover td,
body[data-theme="light"] .table tbody tr:hover th,
body[data-theme="light"] .points-table .table tbody tr:hover td,
body[data-theme="light"] .points-table .table tbody tr:hover th,
body[data-theme="light"] .player-rankings-widget .table tbody tr:hover td,
body[data-theme="light"] .player-rankings-widget .table tbody tr:hover th {
    background-color: #f3f4f6 !important;
    color: #111827 !important;
}

/* striped odd rows */
body[data-theme="light"] .table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #f9fafb !important;
    color: #111827 !important;
}

/* team-name span and player name inside rankings */
body[data-theme="light"] .table .team-name span,
body[data-theme="light"] .player-rankings-widget .table .team-name span,
body[data-theme="light"] .points-table .table .team-name span {
    color: #111827 !important;
}

/* .text-primary inside table bodies keeps its red accent */
body[data-theme="light"] .table tbody .text-primary,
body[data-theme="light"] .points-table .table tbody .text-primary {
    color: var(--w-red) !important;
}

/* match-points-table wrapper: switch to white background in light mode */
body[data-theme="light"] .match-points-table,
body[data-theme="light"] .points-table {
    background: #ffffff !important;
}

/* section-title text inside points-table stays dark */
body[data-theme="light"] .match-points-table .section-title h2,
body[data-theme="light"] .points-table .section-title h2 {
    color: #0f172a !important;
}

/* ============================================================
   REMAINING PAGES — SHARED LIGHT MODE UTILITY OVERRIDES
   ============================================================ */

/* Dark page wrapper used on future, safeguarding, umpiring, supporters, advertise */
.nwcc-page-dark {
    background: #080d1a;
}

body[data-theme="light"] .nwcc-page-dark {
    background: var(--nwcc-bg) !important;
}

body[data-theme="light"] .nwcc-page-dark section {
    background: var(--nwcc-bg) !important;
}

/* Glass card backgrounds inside dark pages become visible */
body[data-theme="light"] .nwcc-page-dark [style*="background:rgba(255,255,255,.0"] {
    background: #f8fafc !important;
}

body[data-theme="light"] .nwcc-page-dark [style*="border:1px solid rgba(255,255,255"],
body[data-theme="light"] .nwcc-page-dark [style*="border-top:1px solid rgba(255,255,255"],
body[data-theme="light"] .nwcc-page-dark [style*="border-bottom:1px solid rgba(255,255,255"] {
    border-color: #e2e8f0 !important;
}

/* Inline text colours on divs/icons inside dark pages */
body[data-theme="light"] .nwcc-page-dark div[style*="color:rgba(255,255,255"],
body[data-theme="light"] .nwcc-page-dark div[style*="color:#fff"]:not([style*="background:var(--w-red)"]) {
    color: #374151 !important;
}

body[data-theme="light"] .nwcc-page-dark i[style*="color:rgba(255,255,255"] {
    color: #9ca3af !important;
}

/* ── Utility classes ── */
.bg-white-5 {
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme="light"] .bg-white-5 {
    background: #f1f5f9 !important;
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.1);
}

body[data-theme="light"] .bg-white-10 {
    background: #e5e7eb !important;
    color: #374151 !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body[data-theme="light"] .border-white-10 {
    border-color: #e2e8f0 !important;
}

/* ── History page ── */
body[data-theme="light"] .about-history {
    background: #f8fafc !important;
}

body[data-theme="light"] .history-content {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}

body[data-theme="light"] .history-img img {
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .history-info-timeline::before {
    background: #e2e8f0 !important;
}

body[data-theme="light"] .history-item:hover .history-content {
    background: #f8fafc !important;
}

/* ── Values page ── */
body[data-theme="light"] .value-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body[data-theme="light"] .value-card:hover {
    background: #f8fafc !important;
}

/* ── Page body content ── */
body[data-theme="light"] .nwcc-page-content p {
    color: #374151 !important;
}

.nwcc-stats-bar {
    background: #ffffff;
    padding: 0;
}