/*
Theme Name: Hoston Generals Official
Author: Jonathan Thomas
Description: Custom high-performance theme for Hoston Generals NCL team.
Version: 1.0
*/

:root {
    /* Branding Colors */
    --hg-gold: #B9975B;
    --hg-black: #212121;
    --hg-white: #ffffff;
    --hg-yellow: #fec20f;
    /* Keep yellow as accent? Or revert. User said "preserve old palette". Check old button style. */
    /* Let's keep gold as primary accent */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1200px;
}

body {
    background-color: var(--hg-black);
    color: var(--hg-white);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    padding-top: 80px;
    /* Space for fixed header */
}

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

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

/* --- SITE HEADER --- */
.site-header {
    background-color: black;
    /* Pure black for header */
    height: 90px;
    /* Slightly taller for logo */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--hg-gold);
}

/* Admin Bar Fix */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header.scroll-hide {
    transform: translateY(-100%);
}

.site-header {
    transition: transform 0.3s ease-in-out;
}

.header-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Logo Area */
.header-logo-box {
    background-color: transparent;
    /* No box color */
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 40px;
}

.header-logo-box img {
    max-height: 70px;
    /* Bigger logo since we removed the box constraint */
    width: auto;
}

.header-site-title {
    color: var(--hg-gold);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    line-height: 1.1;
}

/* Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 40px;
}

.btn-download-app {
    background-color: var(--hg-gold);
    color: black;
    padding: 5px 10px;
    /* Even smaller padding */
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.7rem;
    /* Smaller font */
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 3px;
    transition: background 0.3s;
    line-height: normal;
    /* Removed fixed height */
}

.btn-download-app:hover {
    background-color: #fff;
    color: black;
}

.btn-download-app .dashicons {
    font-size: 1.1rem;
    /* Slightly smaller icon */
    width: auto;
    height: auto;
    line-height: 1;
    /* Fix vertical alignment */
}

.header-action-item {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.3s;
}

.header-action-item:hover {
    color: var(--hg-gold);
}



/* Menu Toggle */
.header-menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding-left: 20px;
    cursor: pointer;
    color: var(--hg-gold);
    /* Match Logo */
    font-weight: bold;
}

.header-menu-toggle:hover {
    color: var(--hg-gold);
}

.menu-icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Full Screen Menu Overlay */
/* Side Drawer Menu Overlay */
/* Side Drawer Menu Overlay */
/* Side Drawer Menu Overlay */
.main-menu-overlay {
    position: fixed;
    top: 90px;
    /* Exact Header Height */
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: calc(100vh - 90px);
    /* Full remaining height */
    background: #0f0f0f;
    /* Original Dark Color */
    overflow-y: auto;
    /* Enable Scrolling */
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: right 0.4s ease-in-out;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.main-menu-overlay.active {
    right: 0;
}

/* Header Row (Close Button) */
.menu-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    /* Seamless blend */
}

.menu-title {
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-close-btn {
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.menu-close-btn:hover {
    color: var(--hg-gold);
}

/* Menu Items */
.overlay-menu ul {
    list-style: none;
    padding: 20px 0;
    /* Vertical spacing */
    margin: 0;
    text-align: left;
    /* Left Aligned */
}

.overlay-menu ul li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle dividers */
}

.overlay-menu ul li:first-child {
    border-top: none;
}

.overlay-menu ul li a {
    color: var(--hg-gold);
    /* Keep GOLD */
    font-size: 1rem;
    /* Smaller font */
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    padding: 20px 30px;
    /* Left padding for alignment */
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.5px;
}

.overlay-menu ul li a:hover {
    color: white;
    /* Flip to white on hover */
    background: rgba(255, 255, 255, 0.03);
    padding-left: 35px;
    /* Subtle slide */
}



/* --- HERO SECTION --- */
/* --- HERO SLIDER --- */
.hero-slider-container {
    position: relative;
    width: 100vw;
    /* Force full viewport width */
    height: 85vh;
    /* Very tall hero area */
    overflow: hidden;
    background: #000;
    margin-left: calc(-50vw + 50%);
    /* Center breakout trick */
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(35, 10, 50, 0.7) 100%);
    /* Purple/dark gradient to right */
    z-index: 1;
}

.relative-container {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 6;
    /* FIX: Higher than .hero-full-link (5) so controls work */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 5%;
    box-sizing: border-box;
}

.justify-start {
    justify-content: flex-start !important;
    padding-left: 5%;
    padding-right: 0;
}

.hero-sidebar {
    width: 400px;
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    height: 100%;
    /* Revert to 100% height */
    max-height: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space out content */
    color: white;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.6s ease 0.3s;
    box-sizing: border-box;
    margin-right: 5%;
}

.hero-slide.active .hero-sidebar {
    transform: translateX(0);
    opacity: 1;
}

/* Container for text elements */
.sidebar-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center text vertically within this block */
    flex-grow: 1;
    /* Grow to fill space */
}

/* ... */

.slide-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Share Button */
.btn-hero-share {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-hero-share:hover {
    background: var(--hg-gold);
    border-color: var(--hg-gold);
    color: #000;
}

/* Full Slide Link */
.hero-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

/* Controls now inside sidebar */
.hero-controls {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

.hero-controls button {
    background: var(--hg-gold);
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--hg-black);
    transition: 0.2s;
    border-radius: 4px;
    /* Slight rounded corners like reference */
}

.hero-controls button:hover {
    background: white;
}



/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid var(--hg-gold);
    transition: 0.3s;
}

.btn-gold {
    background-color: var(--hg-gold);
    color: var(--hg-black);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--hg-gold);
}

/* --- MATCH WIDGET --- */
/* --- FIXTURES GRID (Previously Match Widget) --- */
.next-match-section {
    background-color: #f5f5f7;
    /* Keep light background like reference */
    padding: 60px 0;
    text-align: left;
    /* Alignment change */
    border-bottom: 4px solid var(--hg-gold);
}

.section-title {
    color: var(--hg-black);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 800;
}

.fixtures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.fixture-card {
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    overflow: hidden;
}

.fixture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.fixture-header {
    background: #f0f0f5;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #555;
    border-bottom: 1px solid #ebebeb;
}

.league-badge {
    background: var(--hg-gold);
    color: var(--hg-black);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.7rem;
}

.match-time-info {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.match-info-text {
    font-weight: bold;
    color: var(--hg-black);
}

.venue-text {
    font-size: 0.75rem;
    color: #888;
}

.fixture-teams {
    padding: 20px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.team-row:last-child {
    margin-bottom: 0;
}

.team-identity {
    display: flex;
    align-items: center;
    gap: 15px;
    /* More space for logo */
}

.team-logo-placeholder {
    width: 32px;
    height: 32px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #555;
}

.team-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    /* Maintain aspect ratio */
}

.team-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--hg-black);
}

.team-score {
    font-weight: bold;
    color: var(--hg-black);
}

.fixture-footer {
    background: #eeeef5;
    padding: 10px 20px;
    font-size: 0.85rem;
    text-align: center;
    color: var(--hg-black);
}


/* --- LATEST NEWS --- */
.latest-news-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.view-all-link {
    color: var(--hg-black);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.no-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #333;
    /* Fallback if no image */
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--hg-gold);
    font-size: 0.85rem;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.news-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--hg-black);
    text-decoration: none;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--hg-black);
    text-decoration: underline;
    font-weight: bold;
}

/* --- SPONSORS SECTION --- */
.sponsors-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.section-title-small {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.sponsor-item {
    max-width: 150px;
    filter: grayscale(100%);
    /* Elegant grayscale look */
    opacity: 0.7;
    transition: 0.3s;
}

.sponsor-item:hover {
    filter: grayscale(0%);
    /* Color on hover */
    opacity: 1;
}

.sponsor-item img {
    width: 100%;
    height: auto;
}

/* --- FOOTER CTA STRIP --- */
.cta-footer-strip {
    background-color: var(--hg-gold);
    padding: 50px 0;
}

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

.cta-text h2 {
    color: var(--hg-black);
    margin: 0 0 5px 0;
    font-size: 2rem;
}

.cta-text p {
    margin: 0;
    color: var(--hg-black);
    font-size: 1.1rem;
}

.btn-black {
    background: var(--hg-black);
    color: white;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
}

/* Responsive Fix for CTA */
@media (max-width: 768px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Button Helper */
.btn-gold {
    background-color: var(--hg-gold);
    color: var(--hg-black);
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: white;
    color: var(--hg-black);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 4px;
}

/* --- NCL SECTION --- */
.ncl-section {
    background-color: #111;
    padding: 0;
    /* Full bleed */
    color: white;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.ncl-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    /* Content above overlay */
}

.ncl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 700px;
    /* Force desktop height */
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.ncl-video-col {
    position: relative;
    height: 100%;
    min-height: 100%;
}

.video-container {
    width: 100%;
    height: 100%;
    background: black;
}

.ncl-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Zoom to fill */
    object-position: center;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #444;
}

.ncl-content-col {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ncl-title {
    color: var(--hg-gold);
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.1;
}

.ncl-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ddd;
    max-width: 500px;
}

@media (max-width: 900px) {
    .ncl-grid {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        /* Video on Top */
        /* Video on Top (flipped) or Bottom? User said full height/width. Usually implies video first or last. Let's stack video on top. */
    }

    .ncl-video-col {
        width: 100%;
        height: 85vh;
        /* Mobile Full Height */
        order: 0;
    }

    .ncl-content-col {
        order: 1;
        padding: 40px 20px;
        text-align: center;
        align-items: center;
    }

    .ncl-title {
        text-align: center;
        font-size: 2rem;
    }
}

.ncl-link {
    color: var(--hg-gold);
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.ncl-link:hover {
    color: white;
    border-bottom: 1px solid white;
}

/* --- LATEST UPDATES (MAGAZINE STYLE) --- */
.updates-section {
    background-color: #f4f4f4;
    /* Light grey bg */
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.section-title.text-left {
    text-align: left;
    margin: 0;
    font-size: 1.5rem;
    color: #3e3355;
    /* Purple tone */
}

.btn-xs {
    padding: 6px 15px;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Grids */
.updates-grid-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.updates-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

/* Card Styles */
.update-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
}

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

/* Large Card (Image 50% / Content 50%) */
.card-large {
    flex-direction: row;
    height: 300px;
}

.card-large .update-thumb {
    width: 50%;
    height: 100%;
}

.card-large .update-content {
    width: 50%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Small Card (Image 30% / Content 70%) */
.card-small {
    flex-direction: row;
    height: 140px;
    align-items: center;
}

.card-small .update-thumb {
    width: 35%;
    height: 100%;
}

.card-small .update-content {
    width: 65%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Content Elements */
.update-thumb img,
.update-thumb .no-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-badge {
    background: #f0f0f0;
    color: #555;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    align-self: flex-start;
}

.update-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.card-small .update-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.update-title a {
    color: #222;
    text-decoration: none;
}

.update-excerpt {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.4;
}

.update-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    margin-top: auto;
    /* Push to bottom */
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {

    .updates-grid-large,
    .updates-grid-small {
        grid-template-columns: 1fr;
    }

    .card-large {
        flex-direction: column;
        height: auto;
    }

    .card-large .update-thumb,
    .card-large .update-content {
        width: 100%;
    }

    .card-large .update-thumb {
        height: 200px;
    }
}

/* --- COMING SOON TEMPLATE --- */
.coming-soon-container {
    min-height: calc(100vh - 90px - 200px);
    /* Full height minus header/footer estimate */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: #fcfcfc;
}

.coming-soon-content {
    max-width: 600px;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 3rem;
    color: var(--hg-black);
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: left;
    /* Force left align */
}

.coming-soon-badge {
    display: inline-block;
    background: var(--hg-gold);
    color: black;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.coming-soon-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* --- MOBILE HERO OPTIMIZATION --- */
@media (max-width: 768px) {

    /* Stack Slider and Sidebar */
    .hero-slider-container {
        height: auto;
        /* Let it grow */
        min-height: auto;
        /* Remove full screen requirement */
    }

    /* Force hide inactive slides */
    .hero-slide {
        display: none;
        position: relative;
        height: 50vh;
        /* Scaled down height */
        width: 100%;
        opacity: 1 !important;
        /* Override fade opacity */
        z-index: 1;
    }

    .hero-slide.active {
        display: block;
        /* Show active */
    }

    /* Mobile Header Redesign Styles */

    .relative-container {
        position: relative;
        /* Keep absolute context */
        height: 100%;
        padding-top: 0;
        display: flex;
        align-items: flex-end;
        /* Align to bottom */
        justify-content: center;
    }

    .hero-sidebar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
        padding: 40px 20px 20px 20px;
        /* Top padding for gradient fade */
        height: auto;
        border-left: none;
        backdrop-filter: none;
        /* Remove glass effect */
        -webkit-backdrop-filter: none;
        box-shadow: none;
        transform: none !important;
        opacity: 1 !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        z-index: 10;
        pointer-events: none;
        /* Let clicks pass through if needed, but buttons need events */
    }

    /* Re-enable pointer events for interactive children */
    .hero-sidebar>* {
        pointer-events: auto;
    }

    .sidebar-top {
        align-items: flex-start;
        /* Left align like reference */
        text-align: left;
    }

    .slide-category {
        font-size: 0.6rem;
        padding: 3px 8px;
        margin-bottom: 5px;
    }

    /* Target the h2 inside sidebar */
    .hero-sidebar h2 {
        font-size: 1.4rem;
        /* Much smaller font */
        text-align: left;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .slide-meta {
        justify-content: flex-start;
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    /* Adjust controls */
    .hero-controls {
        display: none;
        /* Hide standard controls on mobile for cleaner look */
    }
}

/* --- PHOTO GALLERY SECTION --- */
.photo-gallery-section {
    padding: 60px 0;
    background: #f5f5f5;
    /* Light grey bg */
    overflow: hidden;
    /* Hide overflow from slider */
    position: relative;
}

.gallery-controls-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-nav {
    display: flex;
    gap: 5px;
}

.gallery-nav button {
    background: var(--hg-gold);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    transition: background 0.3s;
}

.gallery-nav button:hover {
    background: black;
    color: var(--hg-gold);
}

.gallery-slider-viewport {
    width: 100%;
    margin-top: 30px;
    padding: 20px 0;
    /* Space for scaling */
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
    /* Allow logic to handle width */
    /* removed padding-left: 50vw; let JS handle centering with clones */
}

.gallery-card {
    width: 250px;
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
    transform: scale(0.9);
    opacity: 0.6;
    cursor: pointer;
}

.gallery-card.active {
    transform: scale(1.1);
    /* Center focus */
    opacity: 1;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-card.active .gallery-img-wrapper img {
    transform: scale(1.15);
    /* Internal Image Zoom */
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    /* Vertical aspect */
    overflow: hidden;
    /* Ensure zoom stays inside */
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* Smooth zoom */
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 50%;
    box-sizing: border-box;
}

.gallery-tag {
    background: var(--hg-gold);
    color: black;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.gallery-title {
    font-size: 1rem;
    line-height: 1.2;
    margin: 5px 0;
    color: white;
}

.gallery-date {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.share-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

/* --- PLAYERS SPOTLIGHT SECTION --- */
.players-spotlight-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.spotlight-internal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

@media (min-width: 769px) {
    .spotlight-internal-header {
        padding-left: 5%;
        /* Align with player info content */
    }
}

.spotlight-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

/* LEFT: Info */
.spotlight-col-info {
    width: 30%;
    padding-left: 5%;
}

.player-role-badge {
    background: #eee;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #666;
    display: inline-block;
    margin-bottom: 10px;
}

.player-name-large {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: var(--hg-black);
}

.player-stats-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.stat-item:last-child {
    border: none;
}

.players-spotlight-section .stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hg-black) !important;
}

.players-spotlight-section .stat-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #888 !important;
    margin-top: 5px;
}

.player-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CENTER: Image */
.spotlight-col-img {
    width: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 500px;
}

.pid-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--hg-gold);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: black;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: bold;
}

.pid-arrow:hover {
    background: black;
    color: var(--hg-gold);
}

.pid-prev {
    left: 20px;
    /* Adjust based on circle size */
}

.pid-next {
    right: 20px;
}

.circle-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px dashed #ddd;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

#spotlight-main-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* RIGHT: List */
.spotlight-col-list {
    width: 25%;
    padding-right: 5%;
}

.player-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid #eee;
}

.player-nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
}

.player-nav-item:hover,
.player-nav-item.active {
    opacity: 1;
    background: #f9f9f9;
}

.player-nav-item.active {
    border-left: 3px solid var(--hg-gold);
    margin-left: -2px;
    /* Pull over border */
}

.nav-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-name {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #333;
    /* Explicitly dark */
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .spotlight-wrapper {
        flex-direction: column;
    }

    .spotlight-col-info,
    .spotlight-col-img,
    .spotlight-col-list {
        width: 100%;
        padding: 0 15px;
        text-align: center;
        margin-bottom: 30px;
    }

    .player-stats-grid {
        justify-content: center;
    }

    .spotlight-col-img {
        height: 350px;
    }

    .circle-bg {
        width: 300px;
        height: 300px;
    }

    .player-nav-list {
        display: flex;
        overflow-x: auto;
        border-left: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .player-nav-item {
        flex-shrink: 0;
        flex-direction: column;
        text-align: center;
        width: 100px;
    }

    .nav-thumb {
        margin: 0 0 10px 0;
    }
}

/* --- CLUB STATS SECTION --- */
.club-stats-section {
    background-image: url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax */
    position: relative;
    padding: 80px 0;
    color: white;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    /* Dark Overlay */
    z-index: 1;
}

.club-stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.stat-box {
    margin: 20px;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--hg-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: #f1f1f1;
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* --- LEAGUE TRACKER SECTION --- */
.league-tracker-section {
    padding: 60px 0;
    background: #111;
    /* Dark BG */
    border-top: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.league-tracker-corner-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    max-height: 80px;
    width: auto;
    opacity: 0.85;
    z-index: 2;
}

.league-tracker-section .container {
    position: relative;
    z-index: 1;
}

.league-tracker-section .section-title {
    color: var(--hg-gold);
}

.league-sponsor {
    float: right;
    color: #888;
    font-size: 0.9rem;
    margin-top: -30px;
    /* Align with header */
    text-transform: uppercase;
}

.league-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* Card Styles */
.dashboard-card,
.leader-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.dashboard-card:hover,
.leader-card:hover {
    transform: translateY(-5px);
    border-color: var(--hg-gold);
}

/* Grid Spans */
.card-total-runs {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.card-total-wickets {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.orange-cap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #222 0%, #331a00 100%);
}

.purple-cap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #222 0%, #1a0033 100%);
}

/* Typography */
.d-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.d-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.d-value-med {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.d-value-sm {
    font-size: 1.5rem;
    font-weight: 700;
}

.text-gold {
    color: var(--hg-gold);
}

/* Icons */
.d-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--hg-gold);
}

/* Boundaries Split */
.boundary-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.b-item {
    text-align: center;
}

.b-divider {
    width: 1px;
    height: 40px;
    background: #333;
}

/* Chart (Simple CSS Donut) */
.chart-donut {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 8px solid var(--hg-gold);
    border-right-color: #666;
    /* Simulate split */
    margin: 0 auto 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-text {
    font-size: 0.5rem;
    color: #fff;
    width: 40px;
    text-align: center;
    line-height: 1;
}

.card-chart {
    text-align: center;
}

.chart-legend {
    font-size: 0.6rem;
    color: #888;
    display: flex;
    justify-content: center;
    gap: 10px;
}

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

.dot.pace {
    background: var(--hg-gold);
}

.dot.spin {
    background: #666;
}

/* Leader Cards */
.cap-title {
    font-size: 0.7rem;
    color: var(--hg-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

.leader-name {
    margin: 5px 0 0 0;
    font-size: 1.2rem;
    color: #fff;
    text-transform: uppercase;
}

.leader-stat {
    text-align: right;
}

.l-stat-val {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.l-stat-label {
    font-size: 0.6rem;
    color: #999;
    text-transform: uppercase;
}

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

@media (max-width: 768px) {
    .league-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .card-total-runs,
    .card-total-wickets,
    .orange-cap,
    .purple-cap {
        grid-column: span 1;
    }
}

/* --- APP DOWNLOAD PAGE --- */
.app-download-page {
    padding: 80px 0;
    background: #f9f9f9;
    color: #333;
    min-height: 80vh;
}

.skin-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.app-headline {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #000;
}

.app-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.app-feature-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.check-icon {
    position: absolute;
    left: 0;
    color: var(--hg-gold);
    font-weight: bold;
}

.app-availability {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #666;
    font-style: italic;
}

.app-steps-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.steps-intro {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--hg-black);
}

.step-card {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid var(--hg-gold);
}

.app-download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.store-btn {
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s;
    min-width: 180px;
}

.store-btn:hover {
    background: #333;
    transform: translateY(-2px);
    color: #fff;
}

.store-btn .store-icon-img {
    width: 35px;
    height: 35px;
    margin-right: 15px;
    object-fit: contain;
    display: block;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.small-text {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.big-text {
    font-size: 1.2rem;
    font-weight: bold;
}

@media(max-width: 600px) {
    .app-download-buttons {
        flex-direction: column;
    }

    .store-btn {
        justify-content: center;
    }
}

/* --- MOBILE HEADER OPTIMIZATION --- */
@media (max-width: 768px) {
    .site-header {
        height: 70px;
        /* Shorter header on mobile */
    }

    .header-logo-box {
        padding-left: 15px;
        /* Reduced padding */
    }

    .header-logo-box img {
        max-height: 50px;
        /* Smaller logo */
    }

    .header-actions {
        padding-right: 15px;
        /* Reduced padding */
    }

    .btn-download-app {
        margin-right: 1px;
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .btn-download-app .dashicons {
        font-size: 0.9rem;
    }

    .header-menu-toggle {
        padding-left: 10px;
    }

    .header-menu-toggle span:first-child {
        display: none;
        /* Hide "MENU" text */
    }

    .menu-icon {
        font-size: 28px;
        /* Slightly larger icon for touch */
        width: 28px;
        height: 28px;
    }

    /* Fixtures Optimization */
    .next-match-section {
        padding: 30px 0;
    }

    .section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
        /* Tighter bottom margin */
        gap: 10px;
    }

    .section-title {
        font-size: 1.1rem;
        /* Slightly smaller */
        margin-bottom: 0;
        line-height: 1;
        /* Fix vertical alignment baseline */
    }

    .next-match-section .btn {
        padding: 5px 10px;
        /* Compact button */
        font-size: 0.65rem;
        margin: 0;
        width: auto;
        white-space: nowrap;
        /* Prevent wrapping */
        line-height: normal;
    }

    .fixtures-grid .fixture-card:nth-child(n+3) {
        display: none;
    }

    /* NCL Section Mobile Redesign */
    .ncl-grid {
        display: block;
        min-height: auto;
        height: auto;
    }

    .ncl-video-col {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: 25px;
        /* Aggressive pull up */
        height: auto;
        min-height: auto;
    }

    .video-container {
        width: 100%;
        height: auto;
        border-radius: 0;
        overflow: hidden;
        margin-bottom: 0;
        line-height: 0;
    }

    .ncl-video {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .ncl-content-col {
        text-align: left !important;
        padding-bottom: 20px;
        padding-top: 0;
        margin-top: 0;
        position: relative;
        z-index: 2;
    }

    .ncl-content-col .ncl-title {
        text-align: left;
        margin-bottom: 15px;
        /* Restore slight breathing room text/title */
        margin-top: 0;
        padding-top: 0;
        font-size: 1.6rem;
        line-height: 1;
    }

    /* Inline Link Logic */
    .ncl-desc {
        display: inline;
    }

    .ncl-desc p {
        display: inline;
        text-align: left;
        margin: 0;
        padding-right: 5px;
    }

    .ncl-link {
        display: inline-block;
        /* Or inline */
        float: none;
        margin: 0;
        font-weight: bold;
        color: var(--hg-gold);
    }

    /* League Tracker Mobile Fixes */
    .league-tracker-section {
        padding-top: 30px;
    }

    .league-sponsor {
        display: none;
        /* Hide "Powered By" text */
    }

    .league-tracker-corner-logo {
        position: absolute;
        top: 15px;
        /* Align with header */
        right: 0px;
        left: auto;
        margin-bottom: 100px;
        display: block;
        max-height: 75px;
        /* Bigger logo */
        width: auto;
        opacity: 1;
    }

    .league-tracker-section .section-header {
        text-align: left;
        /* Keep heading left */
        margin-bottom: 20px;
        padding-right: 90px;
        /* Space for larger logo */
    }

    .league-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Wide Cards (Span 2) */
    .card-total-runs,
    .card-total-wickets,
    .orange-cap,
    .purple-cap {
        grid-column: span 2 !important;
    }

    /* Adjust font sizes for compactness */
    .d-value {
        font-size: 1.8rem;
    }

    .d-value-med {
        font-size: 1.5rem;
    }

    .d-label {
        font-size: 0.65rem;
    }

    /* Meet the Stars Mobile Redesign */
    .spotlight-internal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px 15px 15px;
    }

    .spotlight-wrapper {
        flex-direction: column;
        padding-top: 20px;
    }

    .spotlight-col-img {
        order: 1;
        /* Image first */
        height: 380px;
        position: relative;
        margin-bottom: 20px;
        width: 100%;
        overflow: visible;
        /* Allow arrows/shadows */
        padding: 0;
    }

    .spotlight-col-info {
        order: 2;
        /* Info second */
        text-align: center;
        padding: 0 15px 30px;
        width: 100%;
    }

    .spotlight-col-list {
        display: none;
        /* Hide thumb list */
    }

    /* Image Styling */
    .circle-bg {
        width: 300px;
        height: 300px;
        border: 2px dashed #ddd;
        /* Light dashed arc feel */
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #spotlight-main-img {
        height: 100%;
        width: auto;
        object-fit: contain;
        transform: scale(1.1);
        /* Pop out */
    }

    /* Arrows */
    .pid-arrow {
        position: absolute;
        top: 50%;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        /* Rounded square */
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        border: none;
        margin-top: -22px;
    }

    .pid-prev {
        left: 10px;
        background: #D8BFD8;
        /* Thistle/Light Purple */
        color: white;
    }

    .pid-next {
        right: 10px;
        background: var(--hg-gold);
        color: black;
    }

    /* Typography */
    .player-name-large {
        font-size: 2.2rem;
        font-weight: 800;
        /* Bold */
        text-transform: uppercase;
        margin-bottom: 15px;
        margin-top: 10px;
        line-height: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        border-bottom: 2px solid var(--hg-gold);
        /* Underline like reference */
        padding-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .player-role-badge {
        display: inline-block;
        background: #E6E6FA;
        /* Light Purple */
        color: #330066;
        padding: 5px 15px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 0.8rem;
        margin-bottom: 15px;
        order: 2;
    }

    .player-info-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Force order inside flex content */
    .player-name-large {
        order: 1;
        margin-top: 0;
    }

    .player-role-badge {
        order: 2;
        margin-bottom: 20px;
    }

    .player-stats-grid {
        order: 3;
        width: 100%;
    }

    .player-bio,
    .btn-profile {
        display: none;
    }

    /* Hide Bio/Profile */

    /* Stats Grid */
    .player-stats-grid {
        display: flex;
        justify-content: space-around;
        border-top: none;
        padding-top: 20px;
    }

    .stat-item {
        text-align: center;
        position: relative;
        flex: 1;
    }

    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: #eee;
    }

    .stat-val {
        font-size: 1.4rem;
        font-weight: 900;
        color: #000;
        display: block;
    }

    .stat-label {
        font-size: 0.65rem;
        color: #888;
        font-weight: bold;
        margin-top: 5px;
        display: block;
    }

    /* Reduce Section Spacing on Mobile */
    .players-spotlight-section {
        padding-bottom: 5px !important;
    }

    .photo-gallery-section {
        padding-top: 20px !important;
    }

    /* Mobile Photo Gallery Redesign */
    .gallery-nav {
        display: none !important;
        /* Hide Arrows */
    }

    .photo-gallery-section .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .photo-gallery-section .section-title {
        margin-bottom: 0;
        font-size: 1.5rem;
        line-height: 1.1;
        width: 50%;
        /* Allow wrapping */
    }

    /* Swipe Slider */
    .gallery-slider-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: 100vw;
        margin-left: -20px;
        /* Break container padding */
        padding: 0 20px 20px 20px;
        /* Indent first item */
    }

    .gallery-slider-viewport::-webkit-scrollbar {
        display: none;
    }

    .gallery-track {
        display: flex;
        gap: 15px;
        width: max-content;
        transform: none !important;
        /* Disable JS slider movement */
    }

    .gallery-card {
        width: 75vw !important;
        /* Show partial next slide */
        min-width: 75vw !important;
        scroll-snap-align: center;
        flex: 0 0 auto;
        margin-right: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
    }

    .gallery-card img {
        height: 400px;
        /* Taller images on mobile? */
        object-fit: cover;
    }

    /* Compact Stats Section on Mobile */
    .club-stats-section {
        padding: 40px 0;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 Grid */
        gap: 20px;
        flex-direction: unset;
        /* Override flex column */
    }

    .stat-box {
        margin-bottom: 0;
        /* Remove stack margin */
        padding: 10px;
    }

    .stat-number {
        font-size: 2.5rem;
        /* Smaller font */
        line-height: 1;
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    /* Sponsors Marquee (Mobile) */
    .sponsors-section {
        padding: 40px 0;
        overflow: hidden;
        /* Hide overflow */
    }

    .sponsors-grid.sponsors-marquee {
        display: flex;
        flex-wrap: nowrap;
        gap: 30px;
        /* Space between items */
        animation: scroll 15s linear infinite;
        /* Continuous scroll */
        width: max-content;
        /* Ensure width fits all items */
        padding-left: 0;
        overflow: visible;
        /* Let it flow */
    }

    /* Keyframes for sliding left */
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
            /* Move half way (end of first set) */
        }
    }

    .sponsor-item {
        flex: 0 0 auto;
        width: 140px;
        max-width: 140px;
        filter: none !important;
        opacity: 1 !important;
        margin-right: 0;
    }
}

/* --- NEWS PAGE STYLES (Desktop) --- */
.news-page-header {
    background: #111;
    border-bottom: 2px solid var(--hg-gold);
    padding: 30px 0;
}

.news-breadcrumbs {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.news-breadcrumbs a {
    color: #ccc;
    text-decoration: none;
}

.news-breadcrumbs .current {
    color: var(--hg-gold);
}

.news-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-page-title {
    font-size: 3rem;
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-weight: 900;
}

.btn-filter-more {
    background: #222;
    color: white;
    border: 1px solid #444;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Featured Slider Section */
.news-featured-section {
    background: #000;
    padding: 0;
    overflow: hidden;
    position: relative;
    /* Reuse gallery slider viewport styles, but specific overrides */
    border-bottom: 5px solid var(--hg-gold);
}

.news-slider-viewport {
    padding: 50px 0;
    margin: 0;
    /* Full width */
}

.news-track .gallery-card {
    /* Override for news card size */
    width: 600px;
    height: 340px;
    transform: scale(0.9);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.news-track .gallery-card.active {
    transform: scale(1.1);
    opacity: 1;
    z-index: 10;
}

.news-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.news-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    text-align: left;
}

.news-tag {
    background: var(--hg-gold);
    color: black;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.news-slide-title {
    color: white;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.news-slide-title a {
    color: white;
    text-decoration: none;
}

.news-meta {
    color: #ccc;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* News Controls Refinements */
.news-slider-viewport {
    position: relative;
    /* For arrow positioning */
}

.news-prev,
.news-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--hg-gold);
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.news-prev {
    left: 40px;
}

.news-next {
    right: 40px;
}

.news-prev:hover,
.news-next:hover {
    background: white;
    color: black;
    transform: translateY(-50%) scale(1.1);
}

.news-prev span,
.news-next span {
    font-size: 20px;
}

/* Fix News Slider Dark Issues */
.news-track .gallery-card {
    opacity: 0.7;
    /* Brighter inactive state */
}

.news-track .gallery-card.active {
    opacity: 1;
}

.news-slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    /* Slightly lighter gradient */
}

/* Ensure images themselves aren't darkened elsewhere */
.news-slide-inner img {
    filter: brightness(1.1);
    /* Minor brightness boost */
}

/* News Grid Section */
.news-grid-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.news-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-grid-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.news-grid-item:hover {
    transform: translateY(-5px);
}

.news-grid-thumb {
    height: 200px;
    overflow: hidden;
}

.news-grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-grid-item:hover .news-grid-thumb img {
    transform: scale(1.05);
}

.news-grid-content {
    padding: 20px;
}

.news-grid-tag {
    color: #888;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.news-grid-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.news-grid-title a {
    color: #222;
    text-decoration: none;
}

.news-grid-meta {
    font-size: 0.8rem;
    color: #aaa;
}

.news-pagination {
    margin-top: 50px;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    background: white;
    border: 1px solid #ddd;
    color: #333;
    margin: 0 3px;
    border-radius: 4px;
    text-decoration: none;
}

.news-pagination .current {
    background: var(--hg-gold);
    border-color: var(--hg-gold);
    color: black;
    font-weight: bold;
}

.live-badge {
    background: red;
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: bold;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* --- FIXTURES PAGE STYLES --- */
.fixtures-page-header {
    background: #190033;
    /* Deep Purple */
    padding: 30px 0;
    border-bottom: 2px solid var(--hg-gold);
}

.fixtures-breadcrumbs {
    color: #aaa;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.fixtures-breadcrumbs a {
    color: #ccc;
    text-decoration: none;
}

.fixtures-page-title {
    color: white;
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
}

/* Ad Banner */
.fixtures-ad-section {
    padding: 20px 0;
    background: #f4f4f4;
}

.ad-banner-placeholder {
    position: relative;
    width: 100%;
    height: 150px;
    background: #ccc;
    overflow: hidden;
    border-radius: 8px;
}

.ad-banner-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-ad-cta {
    display: inline-block;
    background: var(--hg-gold);
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
}

/* Toolbar */
.fixtures-toolbar-section {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.fixtures-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-tool {
    background: #333;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-calendar {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

/* Match Card */
.fixtures-list-section {
    padding: 30px 0;
    background: #f9f9f9;
}

.match-fixture-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-top: 3px solid var(--hg-gold);
    /* Theme Color Top Border */
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.match-card-main {
    display: flex;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.match-info-col {
    width: 20%;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.match-badges {
    margin-bottom: 10px;
}

.badge-match-num {
    background: #330066;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 5px;
}

.badge-recent {
    border: 1px solid #d00;
    color: #d00;
    font-size: 0.65rem;
    padding: 1px 4px;
    border-radius: 4px;
    text-transform: uppercase;
}

.match-datetime {
    font-weight: bold;
    color: #222;
}

.m-date {
    font-size: 1.1rem;
}

.m-time {
    font-size: 1.5rem;
}

/* Teams Center */
.match-teams-col {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.team-block {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.team-home {
    justify-content: flex-end;
    text-align: right;
}

.team-away {
    justify-content: flex-start;
    text-align: left;
}

.team-name {
    font-weight: bold;
    color: #444;
    font-size: 1.1rem;
}

.team-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.team-score-box {
    text-align: center;
    min-width: 80px;
}

.score-val {
    display: block;
    font-size: 1.2rem;
    /* Reduced from 1.8rem */
    font-weight: 900;
    color: #330066;
    line-height: 1.2;
}

.score-overs {
    display: block;
    font-size: 0.75rem;
    /* Slightly smaller */
    color: #888;
}

.vs-badge {
    background: #f0f0f0;
    color: #888;
    padding: 5px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0 15px;
}

/* Venue */
.match-venue-col {
    width: 30%;
    padding-left: 20px;
    border-left: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
}

/* Footer */
.match-card-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.match-result-text {
    font-size: 0.9rem;
    color: #666;
}

.btn-match-centre {
    background: var(--hg-gold);
    color: black;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
}

.btn-match-centre:hover {
    background: #333;
    color: white;
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .match-card-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .match-info-col,
    .match-teams-col,
    .match-venue-col {
        width: 100%;
        border: none;
        padding: 0;
        margin-bottom: 15px;
    }

    .match-teams-col {
        justify-content: space-between;
    }

    .team-block {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .team-home {
        justify-content: center;
    }

    .team-away {
        justify-content: center;
    }

    .vs-badge {
        margin: 0 5px;
    }

    .match-card-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* =========================================
   SPONSORS PAGE
   ========================================= */
.sponsors-page-header {
    background-color: #330066;
    /* KKR Purple */
    padding: 40px 0;
    margin-bottom: 0;
}

.sponsors-breadcrumbs {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sponsors-breadcrumbs a {
    color: #ccc;
    text-decoration: none;
}

.sponsors-page-title {
    font-size: 3rem;
    color: #F2A900;
    /* Gold */
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.sponsors-cta-section {
    background-color: #000;
    padding: 60px 0;
    text-align: center;
    border-bottom: 4px solid #F2A900;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-text {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-cta {
    padding: 10px 30px;
    /* Reduced from 15px 40px */
    font-size: 1rem;
    /* Reduced from 1.1rem */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sponsors Grid */
.sponsors-grid-section {
    padding: 60px 0;
    background-color: #fff;
}

.sponsor-level-group {
    margin-bottom: 60px;
}

.level-title {
    font-size: 1.8rem;
    color: #330066;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.level-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #F2A900;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.sponsor-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: scale(1.05);
}

.sponsor-item img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    /* Uniform height constraint */
    object-fit: contain;
    filter: grayscale(100%);
    /* B&W by default for classy look */
    transition: filter 0.3s ease;
}

.sponsor-item:hover img {
    filter: grayscale(0%);
    /* Color on hover */
}

.sponsor-text {
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sponsors-page-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .level-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile */
    }
}

/* =========================================
   GALLERY PAGE
   ========================================= */
.gallery-page-header {
    background-color: #330066;
    padding: 40px 0;
}

.gallery-breadcrumbs {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gallery-breadcrumbs a {
    color: #ccc;
    text-decoration: none;
}

.gallery-page-title {
    font-size: 3rem;
    color: #F2A900;
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-section {
    padding: 60px 0;
    background: #f4f4f4;
    /* Light grey bg */
}

.gallery-mixed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Size Modifiers */
.span-2 {
    grid-column: span 2;
}

.span-1 {
    grid-column: span 1;
}

/* Large Card Styles (Overlay) */
.gallery-card-lg .gallery-img-wrapper {
    height: 400px;
    /* Fixed height for consistency */
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    z-index: 2;
}

.g-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.g-date {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Small Card Styles (Text Below) */
.gallery-card-sm .gallery-img-wrapper {
    height: 250px;
}

.gallery-content-below {
    padding: 20px;
}

.g-title-sm {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #330066;
    line-height: 1.3;
}

.g-date-sm {
    font-size: 0.8rem;
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-mixed-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .span-2 {
        grid-column: span 1;
    }

    .gallery-card-lg .gallery-img-wrapper {
        height: 250px;
        /* Smaller height on mobile */
    }

    /* Convert Overlay to Card style on mobile if needed? 
       Or keep overlay but smaller text. Let's keep distinct styles for variety. */
    .g-title {
        font-size: 1.2rem;
    }

    /* News Page Optimization */
    .news-prev,
    .news-next {
        display: none !important;
    }

    .news-grid-container {
        grid-template-columns: 1fr !important;
        /* Stack news cards */
    }
}

/* --- SINGLE NEWS PAGE --- */
.single-post-container {
    padding: 20px 0 60px;
    background: #fff;
    color: #333;
}

.single-post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Main Content */
.single-post-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #000;
    line-height: 1.1;
}

.single-post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.single-featured-image {
    margin-bottom: 30px;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.single-post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.single-post-body p {
    margin-bottom: 20px;
}

/* Sidebar */
.sidebar-widget {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid var(--hg-gold);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.sidebar-post-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-link {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sidebar-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.sidebar-thumb img,
.sidebar-thumb .s-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    background: #ddd;
}

.sidebar-info h4 {
    margin: 0 0 5px;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 600;
    color: #000;
}

.sidebar-info .s-date {
    font-size: 0.75rem;
    color: #999;
}

/* Next News Section */
.next-news-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.next-news-heading {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-news-card-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.2s;
}

.next-news-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.next-news-thumb {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
}

.next-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.next-news-info h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

.read-more-text {
    font-size: 0.9rem;
    color: var(--hg-gold);
    font-weight: bold;
}

/* Mobile Responsive Single */
@media (max-width: 900px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        margin-top: 40px;
    }
}

/* --- SINGLE PHOTOS / ALBUM PAGE --- */
.single-photo-container {
    padding: 20px 0 60px;
    background: #fff;
    min-height: 80vh;
}

.album-header {
    text-align: center;
    margin-bottom: 40px;
}

.album-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--hg-gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.album-meta {
    color: #888;
    font-size: 1.1rem;
}

/* ACF Grid Style (Fallback or Pro) */
.album-grid-acf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* WP Gallery Block Integration */
.wp-block-gallery,
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    /* Force Grid */
    gap: 20px !important;
    margin: 30px 0 !important;
}

.wp-block-gallery .blocks-gallery-item,
.gallery-item {
    margin: 0 !important;
    width: 100% !important;
    /* Override inline styles */
    max-width: 100% !important;
    flex-basis: 100% !important;
}

.wp-block-gallery figure img,
.gallery-icon img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
    cursor: pointer;
    display: block;
}

.wp-block-gallery figure img:hover,
.gallery-icon img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.album-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
    cursor: pointer;
}

.album-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Lightbox Styles */
.hg-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 80vh;
    object-fit: contain;
    margin-top: 5vh;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation-name: zoom;
    animation-duration: 0.3s;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--hg-gold);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}

/* --- HERO REFACTOR STYLES --- */

.hero-slider-container {
    position: relative;
    width: 100vw;
    height: 85vh;
    overflow: hidden;
    background: #000;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}

/* 1. Backgrounds */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide-bg.active {
    opacity: 1;
}

/* 2. Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(30, 30, 30, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 3. Static UI Layer */
.hero-ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Main Link */
.hero-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: auto;
    cursor: pointer;
}

/* Static Sidebar (Right Aligned) */
.hero-sidebar-static {
    width: 450px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: auto;
    box-sizing: border-box;
    margin-right: 0;
    margin-left: auto;
    /* Push to right */
    position: relative;
    border-radius: 0;
    /* Ensure flush edge */
}

.sidebar-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    transition: opacity 0.3s ease;
}

.slide-category {
    background: var(--hg-gold);
    color: var(--hg-black);
    padding: 5px 12px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    align-self: flex-start;
    margin-bottom: 20px;
}

.hero-sidebar-static h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.slide-meta {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-hero-share {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-hero-share:hover {
    background: var(--hg-gold);
    border-color: var(--hg-gold);
    color: #000;
}

/* Controls */
.hero-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.hero-controls button {
    background: var(--hg-gold);
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--hg-black);
    transition: 0.2s;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-controls button:hover {
    background: #fff;
}

/* Next Slide Preview (Nested) */
.next-slide-preview {
    position: relative;
    /* Not absolute anymore */
    bottom: auto;
    right: auto;
    width: 100%;
    /* Fill sidebar width or fixed? Let's use 100% of sidebar padding area */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    border-left: 4px solid var(--hg-gold);
    cursor: pointer;
    pointer-events: auto;
    /* Base Transition state */
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateX(0);
    opacity: 1;
    margin-top: 20px;
}

/* Animation States */
.next-slide-preview.anim-out {
    transform: translateX(-30px);
    opacity: 0;
}

.next-slide-preview.anim-in-start {
    transform: translateX(30px);
    opacity: 0;
    transition: none;
    /* Snap to start position */
}

.next-slide-preview:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: none;
    /* Remove slide effect */
}

.preview-thumb-box {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

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

.preview-info {
    padding: 15px;
    padding-left: 20px;
    /* Extra left padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-info h4 {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- MOBILE HERO RESTORATION --- */
@media screen and (max-width: 768px) {
    .hero-slider-container {
        height: 50vh;
        margin-top: -20px;
    }

    /* Reset Sidebar to behave like overlay */
    .hero-sidebar-static {
        width: 100%;
        margin: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
        backdrop-filter: none;
        border: none;
        justify-content: flex-end;
        padding: 15px;
        padding-bottom: 10px;
        /* Reduced from 20px */
        align-items: flex-start;
        text-align: left;
    }

    .hero-sidebar-static h2 {
        font-size: 1.5rem;
        margin-bottom: 2px;
        /* Tighter Title */
        line-height: 1.1;
    }

    .sidebar-content-wrapper {
        flex-grow: 0;
        align-items: flex-start;
        width: 100%;
        justify-content: flex-end;
    }

    .slide-category {
        font-size: 0.65rem;
        padding: 3px 8px;
        margin-bottom: 2px;
        /* Reduced from 4px */
        align-self: flex-start;
    }

    .slide-meta {
        justify-content: flex-start;
        margin-bottom: 5px;
        /* Reduced from 8px */
    }

    .btn-hero-share {
        width: 28px;
        height: 28px;
    }

    /* Hide Desktop Next Preview */
    .next-slide-preview {
        display: none !important;
    }

    /* Compact Controls */
    .hero-controls {
        justify-content: flex-start;
        margin-top: 0;
        gap: 8px;
    }

    .hero-controls button {
        width: 32px;
        height: 32px;
        /* Smaller buttons */
        font-size: 1rem;
    }
}

/* --- CONTACT PAGE STYLES --- */
.contact-page-content {
    background: #111;
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Form Area */
.contact-form-area {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
}

.form-wrapper input,
.form-wrapper textarea,
.wpcf7-form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #000;
    border: 1px solid #444;
    color: #fff;
    font-family: inherit;
}

.form-wrapper input:focus,
.form-wrapper textarea:focus {
    border-color: var(--hg-gold);
    outline: none;
}

.wpcf7-submit {
    background: var(--hg-gold);
    color: #000;
    font-weight: bold;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.wpcf7-submit:hover {
    background: #fff;
}

/* Sidebar Widgets */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-widget {
    background: #1a1a1a;
    padding: 25px;
    border-top: 3px solid var(--hg-gold);
}

.widget-title {
    color: var(--hg-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Social Buttons */
.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #222;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.social-btn:hover {
    background: var(--hg-gold);
    color: #000;
}

.social-btn .dashicons {
    color: var(--hg-gold);
}

.social-btn:hover .dashicons {
    color: #000;
}

/* Newsletter */
.newsletter-form input {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 1px solid #444;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-form button {
    width: 100%;
}

/* Mobile Contact */
@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-area,
    .contact-widget {
        padding: 20px;
    }
}

/* --- CONTACT PAGE REFINEMENTS --- */

/* Fix Page Title Visibility */
.page-hero .page-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    text-align: left;
    /* Force left align */
}

/* Fix WPForms Label Visibility */
div.wpforms-container-full .wpforms-form .wpforms-field-label {
    color: #fff !important;
    font-weight: 600;
}

/* New Full Width Newsletter Section */
.newsletter-full-width {
    background: #111;
    border-top: 1px solid #333;
    padding: 60px 20px;
    margin-top: 40px;
}

.newsletter-form-large {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form-large input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid #444;
    background: #000;
    color: #fff;
}

.newsletter-form-large button {
    padding: 12px 30px;
    white-space: nowrap;
}

@media screen and (max-width: 600px) {
    .newsletter-form-large {
        flex-direction: column;
    }

    .newsletter-form-large button {
        width: 100%;
    }
}

/* --- NEWSLETTER REFINEMENTS --- */

/* Increase Size */
.newsletter-full-width {
    padding: 100px 20px;
    /* Bigger vertical rhythm */
}

/* Fix Heading Visibility */
.newsletter-full-width h2.section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Make form elements bigger too */
.newsletter-form-large input {
    padding: 15px 25px;
    font-size: 1.1rem;
}

.newsletter-form-large button {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* --- NEWSLETTER 2-LINE LAYOUT --- */
.newsletter-flex-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-text {
    color: #ccc;
    font-size: 1.1rem;
    margin: 0;
    max-width: 400px;
    text-align: right;
}

.newsletter-form-inline {
    display: flex;
    gap: 10px;
}

.newsletter-form-inline input {
    width: 300px;
    padding: 15px 25px;
    font-size: 1.1rem;
    border: 1px solid #444;
    background: #000;
    color: #fff;
}

.newsletter-form-inline button {
    padding: 15px 40px;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Mobile Stack */
@media screen and (max-width: 900px) {
    .newsletter-flex-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newsletter-text {
        text-align: center;
        max-width: 100%;
    }

    .newsletter-form-inline {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form-inline input,
    .newsletter-form-inline button {
        width: 100%;
    }
}

/* Helper Class */
.text-center {
    text-align: center;
}

/* Fix WPForms Sub-Labels (First/Last) */
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel {
    color: #ccc !important;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* --- SQUAD PAGE STYLES --- */
.squad-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--hg-gold);
    color: #000;
    border-color: var(--hg-gold);
}

.squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.player-card {
    background: #1a1a1a;
    border: 1px solid #333;
    overflow: hidden;
    transition: transform 0.3s;
}

.player-card:hover {
    transform: translateY(-5px);
    border-color: var(--hg-gold);
}

.player-card-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.player-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.player-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 20px;
    display: flex;
    align-items: flex-end;
}

.player-role {
    color: var(--hg-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
}

.player-card-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-number {
    font-size: 1.5rem;
    color: #444;
    font-weight: 800;
    margin-right: 10px;
    display: block;
    line-height: 1;
}

.player-name {
    font-size: 1.2rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.btn-profile-arrow {
    color: var(--hg-gold);
    font-size: 1.5rem;
}


/* --- SINGLE PLAYER PROFILE STYLES --- */
.player-profile-hero {
    height: 60vh;
    position: relative;
    margin-top: -80px;
    /* Under header */
    display: flex;
    align-items: flex-end;
}

.profile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    z-index: 1;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0.4) 60%, rgba(17, 17, 17, 0.8) 100%);
    z-index: 2;
}

.profile-container {
    position: relative;
    z-index: 3;
    padding-bottom: 40px;
    width: 100%;
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-number {
    font-size: 5rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--hg-gold);
    font-weight: 900;
    line-height: 1;
}

.profile-role {
    color: var(--hg-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-name {
    font-size: 4rem;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

/* Stats Bar */
.player-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #1a1a1a;
    border-top: 4px solid var(--hg-gold);
    padding: 30px;
    margin-top: -60px;
    /* Overlap hero */
    position: relative;
    z-index: 4;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.p-stat-box {
    text-align: center;
    border-right: 1px solid #333;
}

.p-stat-box:last-child {
    border-right: none;
}

.p-stat-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.p-stat-label {
    display: block;
    color: #888;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 5px;
}

.player-bio-content {
    max-width: 800px;
}

.bio-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
    .profile-name {
        font-size: 2.5rem;
    }

    .profile-number {
        font-size: 3rem;
    }

    .player-stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .p-stat-box {
        border: none;
    }
}

/* --- PREMIUM SQUAD CARDS (Redesign) --- */
.player-card-premium {
    position: relative;
    background-color: var(--hg-gold);
    /* Fallback */
    background-image: url('assets/card-pattern.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    /* Slightly more rounded */
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.player-card-premium:hover {
    transform: translateY(-8px);
}

.card-link-wrap {
    text-decoration: none;
    display: block;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Header Overlay */
.card-header-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
}

.card-role-tag {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    background: #000;
    /* Box for visibility */
    color: var(--hg-gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 4px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.card-jersey-number {
    background: var(--hg-black);
    color: var(--hg-white);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 50%;
    min-width: 30px;
    text-align: center;
    border: 2px solid var(--hg-gold);
}

/* Image Box */
.card-image-box {
    margin-top: 40px;
    /* Space for header */
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.card-image-box img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

.player-card-premium:hover .card-image-box img {
    transform: scale(1.03);
}

/* Body & Name Box */
.card-body {
    position: relative;
}

.card-name-box {
    background: var(--hg-gold);
    color: var(--hg-black);
    padding: 10px 15px;
    position: relative;
    margin-top: -30px;
    /* Overlap image */
    z-index: 6;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.name-first,
.name-last {
    display: block;
    line-height: 1;
    text-transform: uppercase;
}

.name-first {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.name-last {
    font-size: 1.4rem;
    font-weight: 800;
}

/* Stats Footer */
.card-stats-grid {
    background: var(--hg-black);
    color: var(--hg-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
}

.stat-col {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stat-col.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hg-white);
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-top: 2px;
}

/* Narrower Card Grid */
.squad-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    /* Decrease min-width to make cards narrower */
    gap: 20px;
}

/* --- KKR PROFILE REDESIGN (Single Player) --- */
.player-profile-kkr {
    background: #fdfdfd;
    margin-top: -80px;
    /* Under Header */
}

/* Hero Split */
.profile-hero-split {
    display: flex;
    min-height: 80vh;
    position: relative;
    background: #1a0b2e;
    /* Deep purple/black base */
}

/* LEFT: Info */
.hero-info-area {
    width: 45%;
    /* Reduced from 65% to 55% */
    position: relative;
    z-index: 2;
    padding-top: 220px;
    /* Increased to clear fixed header */
    padding-bottom: 50px;
    background: linear-gradient(90deg, #1a0b2e 0%, #2a1b3e 100%);
    color: #fff;
    padding-left: 5%;
}

.hero-content-wrapper {
    max-width: 100%;
    /* Allow full width of the 55% container */
    padding-right: 40px;
    /* spacing from split */
}

.hero-role-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--hg-gold);
    padding: 5px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-name-first {
    font-size: 3rem;
    font-weight: 300;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.hero-name-last {
    font-size: 5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Clarified line */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Added bottom line */
    padding-top: 20px;
    padding-bottom: 20px;
    /* Added bottom padding */
    margin-bottom: 30px;
    /* Space below the grid */
}

.info-label {
    display: block;
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-value {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

/* RIGHT: Visual & Side Stats */
.hero-visual-area {
    width: 45%;
    /* Increased from 35% to 45% */
    position: relative;
    display: flex;
    justify-content: flex-end;
    /* Sidebar to right */
    background-color: #fff;
    /* Contrast right side */
    overflow: hidden;
}

.hero-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-image: url('assets/card-pattern.jpg');
    background-size: cover;
    opacity: 0.1;
    /* Subtle pattern on white */
    z-index: 1;
}

/* Image overlaps specific way */
.hero-player-img {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    height: 90%;
    width: auto;
    /* Adjust positioning to stitch with left side */
    transform: translateX(-20%);
}

.hero-player-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(10px 0 20px rgba(0, 0, 0, 0.3));
}

/* Sidebar Stats (All Stats Look) */
.hero-stats-sidebar {
    width: 220px;
    /* Reduced width */
    background: #fdfdfd;
    /* Ensure specific height or flex grow */
    height: 100%;
    /* Add padding to clear fixed header and center in visible area */
    padding: 30% 20px 40px 20px;

    position: relative;
    z-index: 2;
    background-image: url('assets/card-pattern.jpg');
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    color: var(--hg-black);
}

.sidebar-title {
    color: var(--hg-purple);
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    border: none;
    padding: 0;
    margin-top: 0;
    /* Clear top margin */
}

.sidebar-stat {
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.sidebar-stat:last-child {
    border-bottom: none;
    margin-bottom: 0;
    /* Remove bottom margin for perfect center */
    padding-bottom: 0;
}

.s-val {
    display: block;
    font-size: 1.5rem;
    /* Adjusted for narrower width */
    font-weight: 900;
    color: var(--hg-purple) !important;
    /* Force purple override */
    line-height: 1.1;
    margin-bottom: 5px;
}

.s-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #666 !important;
    /* Force dark grey */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Detailed Stats Section */
.profile-stats-section {
    background: #f4f4f4;
    padding: 60px 0;
    border-top: 10px solid var(--hg-gold);
}

/* --- MOBILE OPTIMIZATION --- */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.mobile-only-stats {
    display: none;
}

/* --- MOBILE OPTIMIZATION --- */
@media screen and (max-width: 768px) {

    /* Main Container: No overflow */
    .player-profile-kkr {
        overflow-x: hidden;
        width: 100vw;
    }

    /* Stack the split: Visual Top, Info Bottom */
    .profile-hero-split {
        display: flex;
        flex-direction: column-reverse !important;
        /* Visual is 2nd in DOM, so Reverse puts it Top */
        height: auto;
        min-height: 100vh;
        /* Fill screen at least */
    }

    /* 1. TOP: Visual Area */
    .hero-visual-area {
        width: 100%;
        height: 50vh;
        /* Reduced height to keep image contained */
        min-height: 350px;
        background: url('assets/card-pattern.jpg') top center;
        background-color: #fff;
        position: relative;
        display: block;
        overflow: hidden;
    }

    /* Player Image Centered */
    .hero-player-img.right-aligned {
        position: absolute;
        bottom: 0 !important;
        left: 45% !important;
        transform: translateX(-50%) !important;
        width: 100%;
        /* Constrain width */
        max-width: 400px;
        height: 95% !important;
        /* Allow height but constrain width via max-width */
        right: auto;
        margin: 0;
        padding: 0;
        z-index: 10;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .hero-player-img img {
        height: 96%;
        width: auto;
        max-width: 100%;
        /* Critical: prevent image from pushing width */
        object-fit: contain;
        filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.2));
    }

    /* Hide Desktop Sidebar in Visual Area */
    .hero-stats-sidebar {
        display: none !important;
    }

    /* 2. BOTTOM: Info Area */
    .hero-info-area {
        width: 100%;
        background: #2a1b3e;
        /* Deep Purple */
        padding: 40px 15px 80px 15px;
        /* Tighter padding */
        text-align: center;
        position: relative;
        z-index: 20;
        min-height: 45vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        box-sizing: border-box;
        /* Fix padding overflow */
    }

    /* Reset Widths */
    .hero-content-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    /* Typography Updates */
    .hero-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-role-badge.small-badge {
        background: #fff;
        color: #2a1b3e;
        font-weight: 700;
        font-size: 0.8rem;
        padding: 6px 14px;
        border-radius: 4px;
        margin-top: 10px;
        margin-bottom: 0;
        display: inline-block;
        order: 3;
        /* Move to bottom */
    }

    .hero-name-first.small-text {
        font-size: 1.4rem;
        color: #fff;
        font-weight: 300;
        letter-spacing: 2px;
        line-height: 1.2;
        margin: 0;
        order: 1;
    }

    .hero-name-last.small-text {
        font-size: 1.8rem;
        /* Further Reduced */
        color: #fff;
        font-weight: 900;
        text-transform: uppercase;
        line-height: 1;
        margin-bottom: 5px;
        word-wrap: break-word;
        order: 2;
    }

    /* UNHIDE details but style for Mobile */
    .hero-info-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        /* 2 cols layout */
        gap: 0;
        width: 100%;
        margin-top: 25px;
        margin-bottom: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 0;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.2);
    }

    /* ... info-item styles remain same ... */

    /* MOBILE ALL STATS LIST */
    .mobile-only-stats {
        display: block !important;
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        margin-top: 20px;
        text-align: left;
    }

    .m-stat-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .m-stat-row:last-child {
        border-bottom: none;
    }

    .m-stat-label {
        color: #555;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .m-stat-val {
        color: #2a1b3e;
        /* Dark Purple/Black */
        font-size: 1.1rem;
        font-weight: 800;
    }


    .info-item {
        text-align: center;
        padding: 15px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .info-item:nth-child(1) {
        /* Born */
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .info-item:nth-child(3) {
        /* Bowling - Spans bottom */
        grid-column: span 2;
        border-bottom: none;
    }

    .info-label {
        color: #aaa;
        font-size: 0.65rem;
        display: block;
        margin-bottom: 5px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .info-value {
        color: #fff;
        font-size: 0.85rem;
        font-weight: 700;
        line-height: 1.2;
    }

    /* Stats Cards - Stacked */
    .hero-compact-stats-container,
    .stats-cards-container {
        display: grid !important;
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 20px;
        width: 100%;
        margin-top: 20px;
        box-sizing: border-box;
    }

    .stats-panel {
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }

    .panel-title {
        color: var(--hg-gold);
        font-size: 0.9rem;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        text-align: left;
    }

    .panel-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 cols inside card */
        gap: 15px;
    }

    .ps-label {
        font-size: 0.6rem;
        color: #999;
    }

    .ps-val {
        font-size: 1.2rem;
        color: #333 !important;
    }

    .profile-stats-section {
        display: none !important;
        /* Keep the detailed table section hidden, just show cards */
    }

}

/* End Mobile Optimization */

/* Tablet (Portrait) / Small Desktop */
@media screen and (max-width: 1024px) {
    .profile-hero-split {
        flex-direction: column;
    }

    .hero-info-area,
    .hero-visual-area {
        width: 100%;
        min-height: auto;
    }

    .hero-visual-area {
        height: 500px;
        /* Reasonable height for tablet */
    }

    .hero-player-img {
        position: relative;
        height: 100%;
        transform: none;
        text-align: center;
        left: auto;
        right: auto;
    }

    .hero-player-img.right-aligned {
        position: relative;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-stats-sidebar {
        display: none;
        /* Hide sidebar on tablet too if it cramps space */
    }

    .stats-grid-detailed {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- PROFILE REFINEMENTS (Alignment + Bowling Stats) --- */

/* Hero Alignment */
.hero-info-area.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Start from top (respect padding) */
    align-items: flex-start;
    /* Align Left */
    /* padding-top: 0; REMOVED to respect the 220px padding set in base class */
    padding-left: 5%;
    /* Restore padding */
}

.hero-content-wrapper {
    width: 100%;
    max-width: 500px;
    /* Constrain width so centering looks good */
    padding: 0 20px;
}

.hero-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
    width: 100%;
}

/* Image Positioning */
.hero-player-img.right-aligned {
    right: auto;
    left: 30%;
    /* Move to left side of the white box (near purple) */
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /* Align start to be closer to left */
    padding-left: 50px;
    /* Offset slightly from split line */
}

/* Ensure visual area allows absolute positioning relative to it, but image needs to be responsive */
.hero-visual-area {
    /* Existing is relative/flex. */
}

.hero-player-img.right-aligned img {
    margin-right: 0;
}


/* Stats Groups (Batting vs Bowling) */
.stats-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.stats-group {
    flex: 1;
    /* equal width */
}

.stats-group-title {
    font-size: 1.5rem;
    color: var(--hg-black);
    border-bottom: 4px solid var(--hg-gold);
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-weight: 800;
}

/* Update grid for side-by-side usage */
.stats-group .stats-grid-detailed {
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2 cols per group for tighter fit */
    padding: 20px;
}

/* Mobile responsive for new elements */
@media screen and (max-width: 1024px) {
    .stats-row {
        flex-direction: column;
    }

    .hero-player-img.right-aligned {
        right: 0;
        /* Full width on mobile */
        justify-content: center;
    }
}

/* --- COMPACT HERO STATS (Redesign 2) --- */

/* Restored Large Header */
.hero-name-first.small-text {
    font-size: 3rem;
    /* Restored */
}

.hero-name-last.small-text {
    font-size: 5rem;
    /* Restored */
    margin-bottom: 30px;
}

.hero-divider.compact-divider {
    margin: 30px 0;
}

.hero-role-badge.small-badge {
    font-size: 0.9rem;
    /* Restored */
    padding: 5px 12px;
    margin-bottom: 15px;
}

/* Compact Stats Container */
.hero-compact-stats-container {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.compact-stat-row {
    margin-bottom: 20px;
}

.c-stat-title {
    color: var(--hg-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.c-stat-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    /* Allow wrapping if too many stats */
}

.c-stat-box {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
}

.cs-val {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.cs-lbl {
    display: block;
    font-size: 0.6rem;
    color: #888;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Adjust Image overlap since Sidebar is gone */
.hero-player-img.right-aligned {
    right: 5%;
    /* Bring slightly in from edge */
}

/* Side-by-Side Stats Wrapper */
.stats-flex-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.compact-stat-row {
    margin-bottom: 0;
    /* Remove bottom margin in flex */
}

/* White Stat Boxes */
.c-stat-box {
    background: #fff;
    /* White bg */
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    min-width: 70px;
}

.cs-val {
    color: var(--hg-black);
    /* Dark text */
    font-size: 1.3rem;
}

.cs-lbl {
    color: #666;
    /* Grey label */
    font-weight: 700;
}

/* --- STATS PANELS (Cards Layout) --- */
.stats-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Force 50/50 Split */
    gap: 50px;
    /* Reduced gap to minimum to allow max box width */
    margin-top: 30px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .stats-cards-container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.stats-panel {
    background: #fff;
    border-radius: 12px;
    padding: 15px 30px;
    /* Reduced vertical to 15px, kept horizontal 30px */
    flex: 1;
    min-width: 250px;
    /* Reduced min-width to fit side-by-side easier */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.panel-title {
    color: var(--hg-gold);
    font-size: 1rem;
    margin-top: 0;
    /* Ensure no default top margin */
    margin-bottom: 15px;
    /* Reduced bottom margin */
    text-transform: uppercase;
    font-weight: 800;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    letter-spacing: 0.5px;
    text-align: left;
    /* User might want left aligned title? Or stick to center? Let's try Left as standard for cards */
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    /* Reduced gap from 15px to 10px for tighter vertical fit */
}

.panel-stat {
    text-align: left;
    /* Align text left for cleaner look if Title is Left */
    border-right: none;
    /* Removed border divider for cleaner look */
}

.ps-label {
    display: block;
    color: #999;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ps-val {
    display: block;
    color: var(--hg-black) !important;
    font-size: 1.5rem;
    /* Slightly smaller but still clear */
    font-weight: 900;
    line-height: 1;
}

/* --- FINAL MOBILE OVERRIDES (Correcting Specificity & Visual Polish) --- */
@media screen and (max-width: 768px) {

    /* 1. Background Image Update: User Provided Style applied to INNER elem */
    .hero-visual-area {
        background: #fff !important;
        /* White base */
    }

    .hero-pattern-bg {
        display: block !important;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        /* Full width of container */
        height: 100% !important;
        background-image: url('assets/card-pattern.jpg') !important;
        background-size: cover !important;
        opacity: 0.1 !important;
        /* The key look */
        z-index: 1;
    }

    /* 2. Unified Name Sizes */
    .hero-name-first.small-text,
    .hero-name-last.small-text {
        font-size: 2rem !important;
        line-height: 1 !important;
        margin-bottom: 5px !important;
    }

    /* 3. Mobile Stats - ROBUST Full Width White Band */
    .mobile-only-stats {
        display: block !important;
        background: #fff;
        border-radius: 0 !important;

        /* Force Full Screen Width regardless of parent */
        width: 100vw !important;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;

        padding: 20px !important;
        box-sizing: border-box;
        margin-top: 20px;
        margin-bottom: 20px;
        box-shadow: none !important;
        text-align: left;
    }

    .hero-info-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        width: 100%;
    }

    /* Ensure other cards still look good */
    .stats-panel {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* --- ABOUT PAGE STYLES --- */

.about-section {
    position: relative;
    width: 100%;
}

.bg-light {
    background-color: #f9f9f9;
}

.bg-purple {
    background-color: #2a1b3e;
}

.text-purple {
    color: #2a1b3e;
}

.text-gold {
    color: #f2a900;
}

.text-dark {
    color: #333;
}

.mb-50 {
    margin-bottom: 50px;
}

/* Split Layout (Stadium) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.placeholder-box {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 12px;
}

/* History & Mission */
.text-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.rich-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Leadership Grid */
.leadership-section {
    padding-top: 100px;
    /* More space from above */
    padding-bottom: 80px;
}

.leadership-section .section-heading {
    font-size: 2rem;
    /* Bigger Heading */
    margin-bottom: 60px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.leader-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.leader-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.leader-info {
    padding: 20px;
}

.l-name {
    color: #f2a900;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.l-role {
    color: #ddd;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- MOBILE RESPONSIVE (About Page) --- */
@media screen and (max-width: 768px) {

    .about-section {
        padding: 40px 0;
        /* Reduced padding */
    }

    .split-layout,
    .text-grid-2-col {
        display: flex !important;
        flex-direction: column;
        gap: 30px;
    }

    .split-layout {
        flex-direction: column-reverse;
        /* Image Top */
        align-items: stretch;
        /* Fix for squashed image */
    }

    /* Fix Image/Placeholder Width */
    .split-image {
        width: 100%;
        margin-bottom: 20px;
    }

    .split-image img,
    .placeholder-box {
        width: 100% !important;
        height: auto;
        min-height: 250px;
        /* Better height */
        border-radius: 8px;
    }

    /* Align Text cleanly */
    .split-content {
        text-align: left;
        padding: 0 10px;
    }

    .section-heading {
        font-size: 2rem !important;
        /* Readable Heading */
        margin-bottom: 20px !important;
    }

    /* Leadership Mobile Grid */
    .leadership-grid {
        display: grid;
        grid-template-columns: 1fr;
        /* Stack cards */
        gap: 30px;
        padding: 0 10px;
    }

    .leader-img {
        height: 300px;
    }

    /* Hero Gradient Fix */
    .hero-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%) !important;
        /* Only darken bottom */
    }
}
