        :root {
            --primary-bg: #121212;
            --secondary-bg: #1e1e1e;
            --text-color: #ffffff;
            --accent-color: #ff3e3e;
            --link-color: #4cff4c; /* New green link color */
            --link-hover-color: #ffff00; /* Yellow hover color */
            --visited-link-color: #7fff7f; /* Lighter green for visited links */
            --card-bg: #252525;
            --header-height: 70px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--primary-bg);
            color: var(--text-color);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background-color: rgba(0, 0, 0, 0.9);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            height: var(--header-height);
            display: flex;
            align-items: center;
        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-color);
            margin-left: 20px;
        }

        .logo span {
            color: var(--accent-color);
        }

.logo img {
	padding: 0px 20px;
	height: 100%;
	width: 200px;
}

        nav ul {
            display: flex;
            list-style: none;
            margin-left: auto;
            margin-right: 20px;
        }

        nav ul li {
            margin: 0 15px;
        }

        nav ul li a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        nav ul li a:hover {
            color: var(--accent-color);
        }

        /* Main Content */
        main {
            margin-top: calc(var(--header-height) + 20px);
            padding-bottom: 40px;
        }

        .section-title {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--accent-color);
            border-bottom: 2px solid var(--accent-color);
            padding-bottom: 10px;
            display: inline-block;
        }

        h1 {
            text-align: center;
            color: #fff;
            margin-bottom: 20px;
        }

        .form-container {
            background-color: var(--secondary-bg);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        label {
            font-weight: bold;
            display: block;
            margin-bottom: 8px;
        }

        select, input[type="text"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: none;
            border-radius: 5px;
            background-color: var(--card-bg);
            color: var(--text-color);
        }

        button {
            background-color: var(--accent-color);
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        button:hover {
            background-color: #e02e2e;
        }


        /* Article Grid */
        .article-grid {
	padding-top: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .article-card {
            background-color: var(--card-bg);
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s;
        }

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

        .article-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .article-content {
            padding: 15px;
        }

        .article-content h3 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .article-content a {
            color: var(--link-color); /* Updated link color */
            text-decoration: none;
            transition: color 0.3s;
        }

        .article-content a:hover {
            color: var(--link-hover-color); /* Updated hover color */
        }

        .article-content a:visited {
            color: var(--visited-link-color); /* Updated visited link color */
        }

       /* Main Content */

        main {

            margin-top: calc(var(--header-height) + 20px);

            padding-bottom: 40px;

        }


        /* Hero Section */

        .hero {

            background-color: var(--secondary-bg);

            border-radius: 10px;

            overflow: hidden;

            margin-bottom: 30px;

            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

        }


        .hero-img {

            width: 100%;

            height: 400px;

            object-fit: cover;

        }


        .hero-content {

            padding: 20px;

        }


        .hero h1 {

            font-size: 32px;

            margin-bottom: 15px;

            color: var(--accent-color);

        }


        .hero p {

            margin-bottom: 20px;

            font-size: 18px;

            line-height: 1.7;

        }


        .btn {

            display: inline-block;

            background-color: var(--accent-color);

            color: white;

            padding: 10px 20px;

            border-radius: 5px;

            text-decoration: none;

            font-weight: 600;

            transition: background-color 0.3s;

        }


        .btn:hover {

            background-color: #e02e2e;

        }


        /* Tags Section */

        .tags-section {

            margin-bottom: 30px;

        }


        .tags-container {

            display: flex;

            flex-wrap: wrap;

            gap: 10px;

        }


        .tag {

            background-color: var(--card-bg);

            padding: 5px 15px;

            border-radius: 20px;

            text-decoration: none;

            color: var(--text-color);

            font-size: 14px;

            transition: background-color 0.3s, color 0.3s;

        }


        .tag:hover {

            background-color: var(--accent-color);

            color: white;

        }


        /* News Sections */

        .news-section {

            margin-bottom: 40px;

        }


        .section-title {

            font-size: 24px;

            margin-bottom: 20px;

            color: var(--accent-color);

            border-bottom: 2px solid var(--accent-color);

            padding-bottom: 10px;

            display: inline-block;

        }


        .feature-article {

            display: flex;

            background-color: var(--secondary-bg);

            border-radius: 8px;

            overflow: hidden;

            margin-bottom: 20px;

            transition: transform 0.3s;

        }


        .feature-article:hover {

            transform: translateY(-5px);

        }


        .feature-img {

            width: 200px;

            height: 150px;

            object-fit: cover;

        }


        .feature-content {

            padding: 15px;

            flex: 1;

        }


        .feature-content h3 {

            font-size: 18px;

            margin-bottom: 10px;

        }


        .feature-content a {

            color: var(--link-color); /* Updated link color */

            text-decoration: none;

            transition: color 0.3s;

        }


        .feature-content a:hover {

            color: var(--link-hover-color); /* Updated hover color */

        }

        .feature-content a:visited {

            color: var(--visited-link-color); /* Updated visited link color */

        }


        .article-list {

            list-style: none;

        }


        .article-list li {

            padding: 10px 0;

            border-bottom: 1px solid #333;

        }


        .article-list li:last-child {

            border-bottom: none;

        }


        .article-list a {

            color: var(--link-color); /* Updated link color */

            text-decoration: none;

            transition: color 0.3s;

            display: block;

        }


        .article-list a:hover {

            color: var(--link-hover-color); /* Updated hover color */

        }

        .article-list a:visited {

            color: var(--visited-link-color); /* Updated visited link color */

        }


        /* Trophy Section */

        .trophy-section {

            background-color: var(--secondary-bg);

            border-radius: 10px;

            padding: 20px;

            text-align: center;

        }


        .trophy-link {

            display: flex;

            align-items: center;

            justify-content: center;

            gap: 10px;

            color: var(--text-color);

            text-decoration: none;

            font-size: 20px;

            transition: color 0.3s;

        }


        .trophy-link:hover {

            color: var(--accent-color);

        }


        .trophy-icon {

            font-size: 24px;

        }


        /* Footer */

        footer {

            background-color: var(--secondary-bg);

            padding: 30px 0;

            text-align: center;

        }


        .social-links {

            display: flex;

            justify-content: center;

            gap: 20px;

            margin-bottom: 20px;

        }


        .social-links a {

            color: var(--text-color);

            font-size: 24px;

            transition: color 0.3s;

        }


        .social-links a:hover {

            color: var(--accent-color);

        }


        .footer-links {

            display: flex;

            justify-content: center;

            gap: 20px;

        }


        .footer-links a {

            color: var(--text-color);

            text-decoration: none;

            transition: color 0.3s;

        }


        .footer-links a:hover {

            color: var(--accent-color);

        }


        .article-content {
            background-color: var(--secondary-bg);
            padding: 30px;
            border-radius: 10px;
            margin-top: 20px;
        }

        .article-content h1 {
            font-size: 32px;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .article-content p {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .tags-container {
            margin-top: 20px;
        }

        .tag {
            background-color: var(--card-bg);
            padding: 5px 15px;
            border-radius: 20px;
            text-decoration: none;
            color: var(--text-color);
            margin-right: 10px;
            transition: background-color 0.3s;
        }

        .tag:hover {
            background-color: var(--accent-color);
        }

        .recent-articles {
            margin-top: 40px;
        }

        .recent-articles h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .article-list {
            list-style: none;
        }

        .article-list li {
            margin-bottom: 15px;
        }

        .article-list a {
            color: var(--link-color); /* Updated link color */
            text-decoration: none;
            font-size: 18px;
            transition: color 0.3s;
        }

        .article-list a:hover {
            color: var(--link-hover-color); /* Updated hover color */
        }

        .article-list a:visited {
            color: var(--visited-link-color); /* Updated visited link color */
        }

        /* Error section styling */
        .error-section {
            background-color: var(--secondary-bg);
            border-radius: 10px;
            padding: 30px;
            margin: 20px 0;
            text-align: center;
        }

        .error-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .error-container h2 {
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        .error-container p {
            margin-bottom: 15px;
        }

        .error-container ul {
            list-style-position: inside;
            margin-bottom: 20px;
            text-align: left;
            max-width: 500px;
            margin: 0 auto 20px;
        }

        .error-container a {
            color: var(--link-color); /* Updated link color */
            text-decoration: none;
            transition: color 0.3s;
        }

        .error-container a:hover {
            color: var(--link-hover-color); /* Updated hover color */
        }


        @media (max-width: 480px) {
            .logo {
                font-size: 20px;
                text-align: center;
            }
            .logo img {
	padding: 0px 20px;
	height: 100%;
	width: 100%;
}
            header {
                flex-direction: column;
                height: auto;
                padding: 15px 0;
            }
        }


/* ==========================================================================
   COMPREHENSIVE SITE-WIDE LAYOUT FIX
   Fixes headline and date overlapping issues across all pages
   ========================================================================== */

/* Global Layout Fixes */
main {
    margin-top: calc(var(--header-height) + 30px); /* Increased spacing from header */
    padding-bottom: 60px; /* Increased bottom padding */
}

/* Section Spacing - Global */
section {
    margin-bottom: 50px; /* Consistent spacing between sections */
}

section:last-child {
    margin-bottom: 30px;
}

/* Headlines and Titles - Global Spacing */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    margin-bottom: 25px;
}

h2.section-title {
    margin-bottom: 30px;
    margin-top: 20px;
}

/* ==========================================================================
   HOME PAGE FIXES
   ========================================================================== */

/* Hero Section */
.hero {
    margin-bottom: 50px;
}

.hero-content {
    padding: 30px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 25px;
}

/* Tags Section */
.tags-section {
    margin-bottom: 50px;
}

.tags-section h2 {
    margin-bottom: 25px;
}

.tags-container {
    margin-top: 20px;
}

/* News Sections */
.news-section {
    margin-bottom: 60px;
}

.news-section h2 {
    margin-bottom: 30px;
}

/* Feature Articles */
.feature-article {
    margin-bottom: 30px;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-content p {
    margin-bottom: 15px;
}

/* Article Lists */
.article-list {
    margin-top: 25px;
}

.article-list li {
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.article-list li:first-child {
    padding-top: 0;
}

/* ==========================================================================
   LEAGUE PAGE FIXES
   ========================================================================== */

/* League Header */
.league-header {
    background-color: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 10px;
    margin-bottom: 50px;
    text-align: center;
}

.league-header h1 {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.league-header p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 0;
}

/* Latest Articles Section */
.latest-articles {
    margin-bottom: 50px;
}

.latest-articles h2 {
    margin-bottom: 30px;
}

/* Article Grid */
.article-grid {
    margin-top: 40px;
    padding-top: 0;
}

.article-card {
    margin-bottom: 20px;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-content .article-date {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

/* Archive Link */
.archive-link {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--secondary-bg);
    border-radius: 10px;
}

/* ==========================================================================
   ARCHIVE PAGE FIXES
   ========================================================================== */

/* Archive Header */
.archive-header {
    background-color: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 10px;
    margin-bottom: 50px;
    text-align: center;
}

.archive-header h1 {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.archive-header p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 0;
}

/* Archive Section */
.archive-section {
    margin-bottom: 50px;
}

.archive-section h2 {
    margin-bottom: 30px;
}

/* Archive List */
.archive-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.archive-item {
    background-color: var(--secondary-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #333;
}

.archive-item h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.archive-item h3 a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.archive-item h3 a:hover {
    color: var(--link-hover-color);
}

.archive-links {
    margin-top: 15px;
}

.archive-links h4 {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 10px;
}

.archive-links ul {
    list-style: none;
    padding-left: 0;
}

.archive-links li {
    margin-bottom: 8px;
}

.archive-links a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

.archive-links a:hover {
    color: var(--link-hover-color);
}

/* ==========================================================================
   ARTICLE PAGE FIXES (Enhanced from previous fix)
   ========================================================================== */

/* Article Content Container */
.article-content {
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #333;
    padding-bottom: 25px;
}

.article-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--accent-color);
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 0;
}

.article-meta span {
    background-color: var(--card-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.article-date {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.article-author {
    color: #4cff4c !important;
}

.article-category {
    color: #ffff00 !important;
}

/* Article Image */
.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Article Body */
.article-body {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 25px;
}

/* Article Tags */
.article-tags {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 2px solid #333;
}

.article-tags h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 20px;
}

/* Article Navigation */
.article-navigation {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 2px solid #333;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 10px;
}

.related-articles h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 26px;
}

/* ==========================================================================
   TROPHY SECTION FIXES
   ========================================================================== */

.trophy-section {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 50px 0;
}

.trophy-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s;
}

.trophy-link:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   ERROR PAGE FIXES
   ========================================================================== */

.error-section {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: 50px 30px;
    margin: 50px 0;
    text-align: center;
}

.error-container h1, .error-container h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
}

.error-container p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* ==========================================================================
   RESPONSIVE FIXES
   ========================================================================== */

@media (max-width: 768px) {
    /* Adjust main content spacing for mobile */
    main {
        margin-top: calc(var(--header-height) + 20px);
        padding: 0 15px;
        padding-bottom: 40px;
    }
    
    /* Reduce section spacing on mobile */
    section {
        margin-bottom: 30px;
    }
    
    /* Article content mobile adjustments */
    .article-content {
        padding: 25px 20px;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    /* Hero section mobile */
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    /* League/Archive headers mobile */
    .league-header, .archive-header {
        padding: 25px 20px;
    }
    
    .league-header h1, .archive-header h1 {
        font-size: 28px;
    }
    
    /* Article grid mobile */
    .article-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Archive list mobile */
    .archive-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Feature article mobile */
    .feature-article {
        flex-direction: column;
    }
    
    .feature-img {
        width: 100%;
        height: 200px;
    }
    
    /* Navigation mobile */
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    main {
        padding: 0 10px;
        padding-bottom: 30px;
    }
    
    .article-content {
        padding: 20px 15px;
    }
    
    .hero-content, .league-header, .archive-header {
        padding: 20px 15px;
    }
    
    section {
        margin-bottom: 25px;
    }
}


/* ==========================================================================
   GENERATED IMAGE STYLING
   Styles for auto-generated article images
   ========================================================================== */

/* Generated Image Container */
.article-generated-image {
    margin: 25px 0;
    text-align: center;
    position: relative;
}

.article-generated-image::before {
    content: "AI Generated";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 62, 62, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.generated-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.generated-img:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for generated images */
@media (max-width: 768px) {
    .article-generated-image {
        margin: 20px 0;
    }
    
    .article-generated-image::before {
        font-size: 10px;
        padding: 3px 6px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .article-generated-image {
        margin: 15px 0;
    }
    
    .generated-img {
        border-radius: 8px;
    }
}



/* ==========================================================================
   IMAGE DISPLAY FIXES - Added to fix hero and feature image display issues
   ========================================================================== */

/* Hero Section Improvements */
.hero {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-img {
    width: 100%;
    height: 500px; /* Increased from 400px */
    object-fit: cover;
    object-position: center center; /* Ensure centered positioning */
    display: block;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 30px 30px;
    color: white;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Feature Article Improvements */
.feature-article {
    display: flex;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-img {
    width: 300px; /* Increased from 200px */
    height: 200px; /* Increased from 150px */
    object-fit: cover;
    object-position: center center;
    flex-shrink: 0;
}

.feature-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h3 {
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 20px;
}

.feature-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-content h3 a:hover {
    color: var(--accent-color);
}

/* Article Image Improvements */
.article-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.article-image {
    position: relative;
    margin-bottom: 30px;
}

.image-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 62, 62, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* No Image Placeholder */
.no-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #333, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    border-radius: 8px;
    border: 2px dashed #555;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .hero-img {
        height: 300px;
    }
    
    .hero-content {
        position: static;
        background: var(--secondary-bg);
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 28px;
        text-shadow: none;
    }
    
    .hero p {
        text-shadow: none;
    }
    
    .feature-article {
        flex-direction: column;
    }
    
    .feature-img {
        width: 100%;
        height: 250px;
    }
    
    .feature-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-img {
        height: 250px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .feature-img {
        height: 200px;
    }
    
    .feature-content {
        padding: 15px;
    }
    
    .feature-content h3 {
        font-size: 18px;
    }
}

/* League Page Specific Improvements */
.latest-articles .feature-article {
    margin-bottom: 30px;
}

.latest-articles .feature-img {
    width: 350px;
    height: 220px;
}

/* News Section Improvements */
.news-section {
    margin-bottom: 50px;
}

.news-section .feature-article {
    margin-bottom: 25px;
}

.news-section .feature-img {
    width: 280px;
    height: 180px;
}

/* Article List Improvements */
.article-list {
    list-style: none;
    padding: 0;
}

.article-list li {
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list li a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.article-list li a:hover {
    color: var(--link-hover-color);
}

/* Ensure images are always visible and properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix any overflow issues */
.container {
    overflow-x: hidden;
}

/* Ensure proper spacing around images */
.hero, .feature-article, .article-image {
    margin-bottom: 30px;
}

/* Additional improvements for image quality */
.hero-img, .feature-img, .article-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}


/* ========================================
   HOMEPAGE THUMBNAIL STYLES
   ======================================== */

/* Article List Items with Thumbnails */
.article-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.article-list-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.article-list-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
}

.article-list-item:last-child {
    border-bottom: none;
}

/* Thumbnail Container */
.article-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    margin-right: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Thumbnail Images */
.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.article-list-item:hover .thumbnail-img {
    transform: scale(1.05);
}

/* Thumbnail Placeholder */
.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #404040);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed #555;
}

.thumbnail-placeholder::before {
    content: "📰";
    font-size: 24px;
    opacity: 0.6;
}

/* Article Title Container */
.article-title {
    flex: 1;
    line-height: 1.4;
}

.article-title a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.article-title a:hover {
    color: #ff3e3e;
    text-decoration: underline;
}

/* AI Generated Badge for Thumbnails */
.article-thumbnail .image-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 62, 62, 0.9);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-thumbnail {
        width: 60px;
        height: 45px;
        margin-right: 12px;
    }
    
    .article-title a {
        font-size: 14px;
    }
    
    .article-list-item {
        padding: 10px 0;
    }
    
    .thumbnail-placeholder::before {
        font-size: 18px;
    }
    
    .article-thumbnail .image-badge {
        padding: 1px 4px;
        font-size: 7px;
    }
}

@media (max-width: 480px) {
    .article-thumbnail {
        width: 50px;
        height: 38px;
        margin-right: 10px;
    }
    
    .article-title a {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .article-list-item {
        padding: 8px 0;
    }
    
    .thumbnail-placeholder::before {
        font-size: 16px;
    }
}

/* Enhanced Hover Effects */
.article-list-item:hover .article-thumbnail {
    box-shadow: 0 4px 12px rgba(255, 62, 62, 0.3);
}

.article-list-item:hover .thumbnail-placeholder {
    border-color: #ff3e3e;
    background: linear-gradient(135deg, #3a2a2a, #504040);
}

/* Accessibility Improvements */
.article-list-item:focus-within {
    outline: 2px solid #ff3e3e;
    outline-offset: 2px;
    border-radius: 8px;
}

.article-title a:focus {
    outline: none;
    color: #ff3e3e;
    text-decoration: underline;
}


/* ========================================
   TAG PAGE STYLES
   ======================================== */

/* Tag Header */
.tag-header {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
}

.tag-info h1 {
    color: #ff3e3e;
    font-size: 2.5em;
    margin: 10px 0;
    font-weight: 700;
}

.tag-category {
    background: rgba(255, 62, 62, 0.2);
    color: #ff3e3e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-description {
    color: #ccc;
    font-size: 18px;
    margin-top: 15px;
}

/* Tagged Articles Grid */
.tagged-articles {
    margin-bottom: 60px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 62, 62, 0.2);
}

.article-card .article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.article-card .article-content {
    padding: 25px;
}

.article-card .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.article-card .article-category {
    background: #ff3e3e;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 12px;
}

.article-card .article-date {
    color: #888;
}

.article-card .article-title {
    margin: 15px 0;
}

.article-card .article-title a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-card .article-title a:hover {
    color: #ff3e3e;
}

.article-card .article-excerpt {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-card .read-more {
    background: #ff3e3e;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.article-card .read-more:hover {
    background: #e63535;
}

/* Related Tags */
.related-tags {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.related-tags h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 24px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tags-cloud .tag {
    background: #2a2a2a;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.tags-cloud .tag:hover {
    background: #ff3e3e;
    border-color: #ff3e3e;
    transform: translateY(-2px);
}

.tag-count {
    opacity: 0.7;
    font-size: 12px;
    margin-left: 5px;
}

/* Tag Navigation */
.tag-navigation {
    text-align: center;
    padding: 40px 0;
}

.tag-navigation .btn {
    background: #2a2a2a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.tag-navigation .btn:hover {
    background: #ff3e3e;
    border-color: #ff3e3e;
}

/* No Articles Message */
.no-articles {
    text-align: center;
    padding: 60px 20px;
    background: #1a1a1a;
    border-radius: 12px;
}

.no-articles h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.no-articles p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 25px;
}

/* ========================================
   CATEGORY ARCHIVE STYLES
   ======================================== */

/* Category Archive Grid */
.category-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.category-archive-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.category-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 62, 62, 0.15);
}

.category-archive-card h3 {
    margin-bottom: 15px;
}

.category-archive-card h3 a {
    color: #ff3e3e;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.category-archive-card h3 a:hover {
    color: #fff;
}

.category-description {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.category-stats {
    padding-top: 15px;
    border-top: 1px solid #333;
}

.article-count {
    background: rgba(255, 62, 62, 0.2);
    color: #ff3e3e;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

/* Enhanced Tag Styles */
.tag.club {
    background: #3e7fff;
    border-color: #3e7fff;
}

.tag.player {
    background: #3eff7f;
    border-color: #3eff7f;
    color: #000;
}

.tag.manager {
    background: #ff7f3e;
    border-color: #ff7f3e;
}

.tag.competition {
    background: #7f3eff;
    border-color: #7f3eff;
}

.tag.subject {
    background: #ff3e7f;
    border-color: #ff3e7f;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tag-header {
        padding: 40px 15px;
    }
    
    .tag-info h1 {
        font-size: 2em;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-tags {
        padding: 25px;
    }
    
    .tags-cloud .tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .tag-header {
        padding: 30px 10px;
    }
    
    .tag-info h1 {
        font-size: 1.8em;
    }
    
    .article-card .article-content {
        padding: 20px;
    }
    
    .article-card .article-title a {
        font-size: 18px;
    }
}

