/*
Theme Name: The  Observer
Theme URI: https://thecullenobserver.com
Author: Armando Reveron
Description: Premium sports news theme for The Cullen Observer
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Text Domain: the-cullen-observer
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

/* Paste ALL your CSS from the <style> tag here */
:root {
    --page-bg: #fffdeb;
    --accent-red: #c8102e;
    --ink: #1a1a1a;
    --glass-bg: rgba(255, 253, 235, 0.98);
}

/* ... rest of your CSS ... */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

            body {
                background-color: var(--page-bg);
                font-family: "Roboto Slab", serif;
                -webkit-font-smoothing: antialiased;
                margin-left: 65px;
                margin-right: 65px;
                margin-bottom: 300px;
            }

            /* --- Layout Structure --- */
            .header {
                width: 100%;
                max-width: 1580px;
                margin: 0 auto;
                padding-top: 30px;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .logo-wrapper {
                width: 100%;
                display: flex;
                justify-content: center;
                margin-bottom: 40px;
            }

            .custom-logo {
                width: 700px !important;
                height: auto;
                display: block;
            }

            /* --- The Blade Navbar --- */
            .navbar {
                width: 100%;
                background: var(--glass-bg);
                backdrop-filter: blur(25px);
                border-top: 1px solid rgba(0, 0, 0, 0.05);
                border-bottom: 2px solid #c8102e;
                position: sticky;
                top: 0;
                z-index: 1000;
            }

            .nav-menu {
                width: 100%;
                display: flex;
                justify-content: center;
                list-style: none;
                gap: 60px;
            }

            .nav-link {
                display: block;
                text-decoration: none;
                color: var(--ink);
                font-weight: 800;
                font-size: 1.5rem;
                text-transform: uppercase;
                letter-spacing: 2px;
                padding: 24px 15px;
                position: relative;
                transition: color 0.3s ease;
            }

            .nav-link:hover,
            .nav-link.active {
                color: var(--accent-red);
            }

            .nav-link::after {
                content: "";
                position: absolute;
                top: -3px;
                left: 50%;
                width: 0;
                height: 5px;
                background-color: var(--accent-red);
                transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
                transform: translateX(-50%);
            }

            .nav-link.active::after,
            .nav-link:hover::after {
                width: 100%;
            }

            /* --- YOUR SPECIFIC CLASS NAMES & LOGIC --- */
            .dropdown {
                position: static; /* Allows mega-menu to span full width */
            }

            .mega-menu {
                display: none;
                position: absolute;
                top: 107%;
                left: 0;
                width: 100%;
                background-color: #fffff2; /* Adjusted to match your page-bg exactly */
                padding: 60px 0;
                z-index: 100;
                box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
                border: 1px solid #dcdcdc;
                border-radius: 12px;
            }

            .dropdown:hover .mega-menu {
                display: flex;
                justify-content: center;
                gap: 100px; /* Dramatic gap for premium spacing */
            }
            .mega-menu::before {
                content: "";
                position: absolute;
                top: -20px; /* Reaches up to cover the 1% gap */
                left: 0;
                width: 100%;
                height: 20px;
                background: transparent; /* No one sees it, but the mouse feels it */
            }

            .mega-column {
                padding: 0;
                width: 280px; /* Adjusted for Slab weight */
            }

            .mega-column h3 {
                color: var(--accent-red);
                font-size: 24px;
                font-weight: 800;
                text-transform: uppercase;
                margin-bottom: 20px;
                border-bottom: 2px solid var(--accent-red);
                padding-bottom: 10px;
                text-align: center;
            }

            .mega-column a {
                display: block;
                font-size: 1.2rem;
                color: var(--ink);
                font-weight: 800; /* Maintained bold weight */
                padding: 10px 15px;
                text-transform: uppercase;
                transition: all 0.2s ease;
                text-decoration: none;
            }

            .mega-column a:hover {
                background-color: var(--accent-red);
                color: white;
                transform: translateX(10px);
            }

            /* Content Placeholder */
            .content-wrapper {
                width: 100%;
                max-width: 1580px;
                margin: 0 auto;
                padding: 50px 0;
            }
            .container {
                max-width: 1710px;
                margin: 0 auto;
                padding: 0 20px;
            }

            .hero-grid {
                display: grid;
                grid-template-columns: 1035px 501px;
                gap: 30px;
                margin-top: 4rem;
                align-items: start;
                justify-content: center;
            }

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

            /* ==================== HERO WITH REAL IMAGE ==================== */
            .hero {
                position: relative;
                aspect-ratio: 1035 / 582; /* MLB's exact ratio */
                max-height: 582px;
                border-radius: 12px;
                overflow: hidden;
                width: 100%;
            }

            .hero img {
                width: 100%;
                height: 100%;
                object-fit: cover; /* Keeps image proportional */
                display: block;
                aspect-ratio: 16/9;
                max-height: 582px;
            }

            .hero-overlay {
                position: absolute;
                inset: 0;
                background: linear-gradient(
                    to bottom,
                    transparent 20%,
                    rgba(0, 0, 0, 0.12) 70%,
                    rgba(0, 0, 0, 0.8) 81%,
                    rgba(0, 0, 0, 0.94) 87%,
                    rgba(0, 0, 0, 0.98) 100%
                );
                display: flex;
                align-items: flex-end;
                padding: 2.8rem 2.8rem 3.2rem;
            }

            .hero-text h1 {
                font-size: 44px;
                font-weight: 900;
                line-height: 1.05;
                font-weight: 700;
                color: white;
                margin-bottom: 0.8rem;
            }

            .deck {
                padding-top: 1px;
            }

            .hero-text .deck {
                font-size: 1.2rem;
                line-height: 1.2;
                color: white;
                opacity: 0.95;
                max-width: 700px;
                margin-bottom: 2px;
            }

            /* Sidebar */
            .sidebar {
                background-color: #fffdeb;
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 2rem;
            }
            .card {
                background: #fffff2;
                border-radius: 8px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                padding: 1.5rem;
            }
            .sidebar h3 {
                background-color: #fffff2;
                border-bottom: 4px solid #c8102e;
                padding-bottom: 12px;
                margin-bottom: 1.25rem;
                font-size: 1.35rem;
                text-align: center;
            }
            .latest-stories-list {
                list-style: none;
                text-align: left;
            }
            .latest-stories-list li {
                padding: 16px 0;
            }
            .latest-stories-list li:last-child {
                border-bottom: none;
            }

            .latest-stories-list a {
                font-size: 18.48px;
                line-height: 1.35;
                color: #111;
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 16px;
                padding-left: 0;
                justify-content: flex-start;
            }
            .latest-stories-list a i {
                width: 36px;
                height: 36px;
                text-align: center;
                flex-shrink: 0;
                color: #c8102e;
                font-size: 1.45em;
                margin-right: 14px;
            }
            .latest-stories-list a:hover {
                color: #c8102e;
            }
            .latest-stories-list a img {
                width: 36px;
                height: 36px;
                flex-shrink: 0;
                object-fit: contain;
                margin-right: 14px;
            }
            .header-logo {
                max-width: 700px;
                width: 90%;
                height: auto;
                display: block;
                margin: 0 auto;
            }
            /* Carousel Styles */
            .hero-carousel {
                position: relative;
                width: 1035px;
                height: 582px;
                border-radius: 12px;
                overflow: hidden;
            }

            .carousel-slide {
                position: absolute;
                inset: 0;
                opacity: 0;
                transform: translateX(40px);
                transition: all 0.7s ease-in-out;
                display: none;
            }

            .carousel-slide.active {
                opacity: 1;
                transform: translateX(0);
                display: block;
                z-index: 10;
            }

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

            .carousel-dots {
                position: absolute;
                bottom: 20px;
                left: 50%;
                transform: translateX(-50%);
                display: flex;
                gap: 12px;
                z-index: 20;
            }

            .dot {
                width: 11px;
                height: 11px;
                background: rgba(255, 255, 255, 0.85);
                border-radius: 50%;
                cursor: pointer;
            }

            .dot.active {
                background: #c8102e;
                transform: scale(1.3);
            }
            .hero-carousel:hover .carousel-arrow {
                opacity: 1;
            }
            /* Arrows */
            .carousel-arrow {
                position: absolute;
                top: 50% !important;
                transform: translateY(-50%) !important;
                background: none;
                color: white;
                border: none;
                width: 55px;
                height: 55px;
                border-radius: 50%;
                font-size: 60px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                z-index: 30;
                opacity: 0;
                transition: all 0.3s ease;
                line-height: 1;
                padding: 0;
                margin: 0;
                box-sizing: border-box;
            }

            .carousel-arrow:hover {
                background: none;
                transform: translateY(-50%) scale(1.1) !important;
            }

            .prev {
                left: 25px;
            }
            .next {
                right: 25px;
            }

            @media (max-width: 1100px) {
                .hero {
                    max-height: 420px;
                }
                .hero-text h1 {
                    font-size: 2.4rem;
                }
                .hero-text .deck {
                    font-size: 1.15rem;
                }
            }

/* Sidebar Sport Icons */


/* ====================== SPORT ICONS (SVG) ====================== */
.sport-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    margin-right: 14px;
    display: inline-block;
    line-height: 1;
}

.sport-icon svg {
    width: 100%;
    height: 100%;
    fill: #c8102e;           /* Main color */
    transition: fill 0.2s ease;
}

.latest-stories-list a:hover .sport-icon svg {
    fill: #1a1a1a;           /* Darker on hover */
}


/* =============================================
   FOOTER STYLES
   ============================================= */

.site-footer {
    width: 100%;
    background: #fffdeb;
    color: #c81023;
    padding: 60px 0 30px;
    margin-top: 80px;
    font-size: 1rem;
}

.footer-container {
    max-width: 1710px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
    color: #c81023;
    margin-bottom: 16px;
    font-weight: 800;
    font-size: 24px
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col a {
    color: #c8102e;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-red);
}

.brand-col p {
    line-height: 1.5;
    margin-top: 8px;
}

/* Social Icons */
.social-col .social-icons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.social-col .social-icons a {
    font-size: 1.6rem;
    color: #c8102e;
}

.social-col .social-icons a:hover {
    color: var(--accent-red);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #888;
}

.footer-legal a {
    color: #aaa;
    margin-left: 20px;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #ddd;
}
/* Make Footer Full Width */
.site-footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.footer-container {
    max-width: 1710px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
