/* Custom Styles for AllNigeriaSoccer */

/* SF Pro Font Faces */
@font-face {
    font-family: 'SF Pro';
    src: url('/assets/fonts/SF-Pro-Display-Light.woff2') format('woff2'),
         url('/assets/fonts/SF-Pro-Display-Light.ttf') format('ttf');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro';
    src: url('/assets/fonts/SF-Pro-Display-Regular.woff2') format('woff2'),
         url('/assets/fonts/SF-Pro-Display-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro';
    src: url('/assets/fonts/SF-Pro-Display-Medium.woff2') format('woff2'),
         url('/assets/fonts/SF-Pro-Display-Medium.ttf') format('ttf');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro';
    src: url('/assets/fonts/SF-Pro-Display-Semibold.woff2') format('woff2'),
         url('/assets/fonts/SF-Pro-Display-Semibold.ttf') format('ttf');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro';
    src: url('/assets/fonts/SF-Pro-Display-Bold.woff2') format('woff2'),
         url('/assets/fonts/SF-Pro-Display-Bold.ttf') format('ttf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-green: #1DB954;
    --dark-green: #1e7e34;
    --light-bg: #f8f9fa;
    --font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Enhanced typography with Inter */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-title {
    font-family: var(--font-family);
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-family: var(--font-family);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn {
    font-family: var(--font-family);
    font-weight: 600;
    letter-spacing: -0.01em;
}

    /* Mobile Menu Styles */
    .mobile-navbar {
        display: none;
    }
    
    .mobile-menu-overlay {
        display: none;
    }
    
    @media (max-width: 991.98px) {
        .mobile-navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #000;
            padding: 15px 15px;
            position: sticky;
            top: 0;
            z-index: 1030;
        }
        
        .mobile-menu-overlay {
            display: block;
            position: fixed;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            transition: left 0.3s ease;
            overflow-y: auto;
        }
        
        .mobile-menu-overlay.open {
            left: 0;
        }
        
        .mobile-menu-container {
            padding: 20px;
            height: 100%;
            max-width: 400px;
            margin: 0 auto;
        }
        
        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid #333;
        }
        
        .mobile-menu-logo img {
            height: 35px;
        }
        
        .mobile-menu-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 5px;
            line-height: 1;
        }
        
        /* Mobile Menu Navigation */
        .mobile-menu-nav .navbar-nav {
            list-style: none;
            padding: 0;
            margin: 0;
            flex-direction: column;
        }
        
        .mobile-menu-nav .nav-item {
            border-bottom: 1px solid #333;
            width: 100%;
        }
        
        .mobile-menu-nav .nav-link {
            display: block;
            padding: 18px 0;
            color: white !important;
            text-decoration: none;
            font-size: 1.1rem;
            transition: color 0.3s ease;
        }
        
        .mobile-menu-nav .nav-link:hover,
        .mobile-menu-nav .nav-link.active {
            color: #28a745 !important;
        }
        
        /* Dropdown styling */
        .mobile-menu-nav .dropdown-toggle::after {
            float: right;
            margin-top: 8px;
        }
        
        .mobile-menu-nav .dropdown-menu {
            position: static !important;
            transform: none !important;
            background: transparent;
            border: none;
            padding: 0;
            margin: 0;
            box-shadow: none;
            display: none;
        }
        
        .mobile-menu-nav .dropdown-menu.show {
            display: block;
        }
        
        .mobile-menu-nav .dropdown-item {
            color: #ccc !important;
            padding: 15px 0 15px 20px;
            border-bottom: 1px solid #2a2a2a;
            background: transparent;
            font-size: 1rem;
        }
        
        .mobile-menu-nav .dropdown-item:hover {
            color: white !important;
            background: rgba(255, 255, 255, 0.05);
        }
        
        .mobile-menu-nav .dropdown-divider {
            border-color: #333;
            margin: 0;
        }
        
        .mobile-icons {
            display: flex;
            gap: 15px;
        }
        
        .mobile-icon-btn {
            background: none;
            border: 1px solid #797979;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 4px 6px;
        }
        
        /* Hide desktop navbar on mobile */
        .navbar-dark.bg-success {
            display: none !important;
        }
        
        body.menu-open {
            overflow: hidden;
        }
    }
    
    /* Show desktop navbar on larger screens */
    @media (min-width: 992px) {
        .mobile-navbar {
            display: none !important;
        }
        
        .mobile-menu-overlay {
            display: none !important;
        }
    }

/* Base image styles with VERY blurred background */
.responsive-img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    position: relative;
}

/* Create VERY blurred background wrapper */
.responsive-img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.responsive-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(100px) brightness(0.7) saturate(1.2); /* MAXIMUM BLUR with color boost */
    transform: scale(1.3);
    z-index: 0;
    opacity: 0.8;
}

.responsive-img-wrapper img {
    position: relative;
    z-index: 1;
}

/* Desktop Image Size Classes */
.img-desktop-600 {
    height: 600px !important;
}

.img-desktop-480 {
    height: 480px !important;
}

.img-desktop-170 {
    height: 200px !important;
}

.img-desktop-604 {
    height: 604px !important;
}

.img-desktop-300 {
    height: 300px !important;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .img-desktop-600 {
        height: 450px !important;
    }

    .img-desktop-480 {
        height: 350px !important;
    }

    .img-desktop-170 {
        height: 350px !important;
    }

    .img-desktop-604 {
        height: 350px !important;
    }

    .img-desktop-300 {
        height: 350px !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .img-desktop-600 {
        height: 400px !important;
    }

    .img-desktop-480 {
        height: 350px !important;
    }

    .img-desktop-170 {
        height: 350px !important;
    }

    .img-desktop-604 {
        height: 350px !important;
    }

    .img-desktop-300 {
        height: 350px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .img-desktop-600 {
        height: 350px !important;
    }

    .img-desktop-480 {
        height: 250px !important;
    }

    .img-desktop-170 {
        height: 250px !important;
    }

    .img-desktop-604 {
        height: 250px !important;
    }

    .img-desktop-300 {
        height: 250px !important;
    }
}

.category-badge{
    background-color: #0000003f !important;
    color: rgb(0, 0, 0);
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
}

/* ===========================
   NEW: HEADER STYLES
=========================== */

/* Top Header Bar */
.header-top {
    padding: 1rem 0;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.site-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-green);
    line-height: 1.2;
}

.mobile-site-title {
    font-size: 1.0rem;
    font-weight: bold;
    color: var(--primary-green);
    line-height: 1.2;
}

.site-tagline {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.2;
}
.mobile-site-tagline {
    font-size: 0.60rem;
    color: #ffffff;
    line-height: 1.2;
}

.header-date {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Main Navigation */
.navbar-dark.bg-success {
    background-color: var(--primary-green) !important;
}

.navbar-nav {
    gap: 1.0rem;
    justify-content: space-evenly !important;
}

/* Navbar */
.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    border-radius: 4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.navbar-nav .nav-link i {
    font-size: 1rem;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: var(--primary-green);
    color: white;
    padding-left: 1.5rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Sticky Navigation Effect */
.navbar.sticky-top {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Active state for current page */
.navbar-nav .nav-item .nav-link.active {
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    /* border-bottom: 3px solid var(--primary-green); */
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-title a {
    transition: color 0.3s;
}

.card-title a:hover {
    color: var(--primary-green) !important;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
}

/* Post Meta */
.post-meta {
    font-size: 0.85rem;
}

/* Ad Banner */
.ad-banner {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: #1db954  !important;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer a {
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

.footer .social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.footer .social-links a:hover {
    transform: scale(1.2);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.section-title {
    animation: fadeIn 0.5s ease-in-out;
}

/* Search Box */
.input-group .btn {
    border-color: #ced4da;
}

.input-group .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* ===========================
   RESPONSIVE STYLES
=========================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    /* Header Responsive */
    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .site-title {
        font-size: 1.0rem;
    }

    .site-tagline {
        font-size: 0.75rem;
    }

    .header-date {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    /* Mobile Navigation */
    .navbar-collapse {
        background-color: var(--primary-green);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .navbar-nav {
        gap: 0;
        background: transparent;
        padding: 0;
        margin-top: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.1);
        border: none;
        box-shadow: none;
        margin-top: 0;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
        padding-left: 2rem;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .header-top {
        padding: 0.75rem 0;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        margin-right: 0.75rem !important;
    }

    .site-title {
        font-size: 1.0rem;
    }

    .site-tagline {
        font-size: 0.7rem;
    }

    .header-date {
        font-size: 0.8rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.95rem;
    }
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1.25rem;
    }

    .site-title {
        font-size: 1.3rem;
    }
}


/* ===========================
   SINGLE POST PAGE STYLES
=========================== */

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #6c757d;
}

/* Post Featured Image */
.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Post Title */
.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

/* Post Meta Info */
.post-meta-info {
    font-size: 0.95rem;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #333;
}

/* .post-content p {
    margin-bottom: 1.5rem;
} */

.post-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #495057;
}

/* Share Buttons */
.post-share .btn {
    font-weight: 600;
}

/* Follow Section */
.follow-section {
    border: 2px solid #e9ecef;
}

/* Sidebar Widgets */
.widget {
    background: #fff;
    border-radius: 8px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    border-bottom: 3px solid var(--primary-green);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.trending-item h6 a {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s;
}

.trending-item h6 a:hover {
    color: var(--primary-green) !important;
}

.trending-item img {
    transition: transform 0.3s;
}

.trending-item:hover img {
    transform: scale(1.05);
}

.ad-widget {
    border: 2px dashed #dee2e6;
}

/* ===========================
   RESPONSIVE - SINGLE POST
=========================== */

@media (max-width: 768px) {
    .post-title {
        font-size: 1.8rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content .lead {
        font-size: 1.1rem;
    }

    .post-featured-image img {
        max-height: 300px;
    }

    .sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .post-title {
        font-size: 1.5rem;
    }

    .trending-item h6 {
        font-size: 0.85rem;
    }
}

/* ===========================
   COMMENTS SECTION
=========================== */

.comments-section h4 {
    font-weight: 700;
}

/* Comment Form */
.comment-form {
    border: 2px solid #e9ecef;
}

.comment-form h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Comment Item */
.comment-item {
    position: relative;
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.comment-author {
    font-size: 1rem;
    color: #333;
}

.comment-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Comment Reply */
.comment-reply {
    border-left: 3px solid var(--primary-green);
}

/* Responsive Comments */
@media (max-width: 576px) {
    .avatar-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .comment-reply {
        margin-left: 1rem !important;
    }

    .comment-text {
        font-size: 0.9rem;
    }
}

/* ===========================
   NEWS LISTING PAGE
=========================== */

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.news-item-horizontal {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.news-item-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-item-horizontal img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.news-title a {
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--primary-green) !important;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pagination */
.pagination .page-link {
    border: 1px solid #dee2e6;
    color: var(--light-bg);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.pagination .page-link:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .news-item-horizontal img {
        height: 150px;
    }

    .news-title {
        font-size: 1.2rem;
    }

    .news-item-horizontal {
        padding: 1rem;
    }
}


/* ===========================
   EXCLUSIVES PAGE
=========================== */

.featured-exclusive {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.featured-exclusive:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.featured-exclusive h3 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.featured-exclusive h3 a {
    transition: color 0.3s;
}

.featured-exclusive h3 a:hover {
    color: var(--primary-green) !important;
}

.object-fit-cover {
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-exclusive h3 {
        font-size: 1.4rem;
    }
}

/* ===========================
   ABOUT US & PRIVACY POLICY PAGES
=========================== */

.about-content p,
.policy-content p {
    line-height: 1.8;
    color: #555;
}

.about-content .lead,
.policy-content .lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: #333;
    line-height: 1.7;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 2.5rem;
}

.policy-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.policy-list {
    padding-left: 1.5rem;
    line-height: 2;
}

.policy-list li {
    margin-bottom: 1rem;
    color: #555;
}

.policy-list li strong {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-heading {
        font-size: 1.3rem;
    }

    .about-content .lead,
    .policy-content .lead {
        font-size: 1rem;
    }
}

/* Common ad styles - Forced 100% width and 200px height for all ads */
.ad-container {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    margin: 0 auto;
}

.ad-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ad-code-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
}

/* Remove individual position styles since we're forcing same size for all */
.ad-container-homepage_top,
.ad-container-sidebar,
.ad-container-header,
.ad-container-footer {
    width: 100% !important;
    height: 200px !important;
}

/* Hide delete buttons on frontend */
.embed-remove-btn {
    display: none !important;
}

/* Alternative: Only show delete button in admin area */
.admin-area .embed-remove-btn,
.editor-area .embed-remove-btn {
    display: flex !important;
}

/* Or hide based on body class */
body:not(.wp-admin) .embed-remove-btn,
body:not(.admin) .embed-remove-btn {
    display: none !important;
}