/* Old Laurentian RFC - Main Stylesheet */

:root {
    /* Neutral gray hex colors (white-label defaults) */
    --primary-green: #6b7280;
    --primary-maroon: #374151;
    --accent-gold: #9ca3af;
    
    /* RGB values for rgba() transparency (neutral grays) */
    --primary-green-rgb: 107, 114, 128;
    --primary-maroon-rgb: 55, 65, 81;
    --accent-gold-rgb: 156, 163, 175;
    
    /* Standard colors */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-green);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-green);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-maroon));
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.club-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem;
}

.nav a:hover, 
.nav a.active {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(46, 80, 22, 0.8), rgba(139, 21, 56, 0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232e5016" width="600" height="600"/><rect fill="%238b1538" x="600" width="600" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.placeholder-image {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-green), var(--primary-maroon));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Match Info */
.match-info {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-maroon));
    color: var(--white);
}

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

.match-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.match-type {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-teams {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.match-details {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.match-result {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Stats */
.stats-section {
    padding: 3rem 0;
    background: var(--primary-green);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* About */
.about-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section p, 
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.social-icons a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Updated logo styling for PNG images */
.logo {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

/* Dropdown Navigation Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-green) !important;
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        border: none;
        border-radius: 0;
        margin-top: 0.5rem;
        display: none;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        color: var(--white) !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-item:hover {
        background-color: rgba(255,255,255,0.1);
        color: var(--accent-gold) !important;
    }
}

/* Enhanced News Section Styles */
.news-filters {
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--filter-color, var(--primary-green));
    background: transparent;
    color: var(--filter-color, var(--primary-green));
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--filter-color, var(--primary-green));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.news-category {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.news-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.news-placeholder span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Admin Preview Styles */
.admin-preview {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    border: 3px dashed rgba(255,255,255,0.5);
}

.admin-preview h3 {
    margin-bottom: 0.5rem;
}

.admin-preview p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive news filters */
@media (max-width: 768px) {
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .news-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

/* Social Media Section Styles */
.social-media-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.social-header {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.social-page-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.page-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
}

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

.page-details h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.page-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1877f2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.follow-btn:hover {
    background: #166fe5;
}

.follow-btn:before {
    content: 'f';
    font-family: 'Facebook', sans-serif;
    font-weight: bold;
}

.social-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.social-post {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.social-post:hover {
    transform: translateY(-3px);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.post-info h4 {
    color: var(--primary-green);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.post-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-message {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hashtag {
    color: var(--primary-maroon);
    font-weight: bold;
}

.post-image {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.post-engagement {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.engagement-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.view-post-btn {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-post-btn:hover {
    color: var(--primary-maroon);
}

/* Responsive social media */
@media (max-width: 768px) {
    .social-page-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-engagement {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .engagement-stats {
        justify-content: space-around;
        width: 100%;
    }
}

/* Enhanced News Section - Match Results & Social Preview */

/* Match Results Section */
.match-results-section {
    margin-bottom: 3rem;
}

.match-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.match-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.result-card {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-maroon));
    color: white;
}

.fixture-card {
    border: 2px solid var(--primary-green);
}

.match-card-title {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fixture-card .match-card-title {
    color: var(--primary-green);
}

.match-teams {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.match-score {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.match-datetime {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-maroon);
    margin-bottom: 1rem;
}

.event-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.event-date {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-maroon);
    margin-bottom: 1rem;
}

.match-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.result-card .match-details {
    color: rgba(255,255,255,0.9);
}

.fixture-card .match-details {
    color: var(--text-light);
}

.match-competition {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Social Media Preview Section */
.social-preview-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.social-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.social-preview-header h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin: 0;
}

.social-page-info-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-page-info-mini img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.social-page-info-mini div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.social-page-info-mini span {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.social-page-info-mini a {
    color: #1877f2;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
}

.social-page-info-mini a:hover {
    text-decoration: underline;
}

.social-posts-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-post-mini {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-green);
    transition: transform 0.3s ease;
}

.social-post-mini:hover {
    transform: translateX(5px);
}

.social-post-mini .post-header {
    margin-bottom: 1rem;
}

.social-post-mini .post-avatar {
    width: 35px;
    height: 35px;
}

.social-post-mini .post-message {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.social-post-mini .engagement-stats {
    font-size: 0.8rem;
    justify-content: flex-start;
}

.social-view-more {
    text-align: center;
}

.social-view-more .btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
}

/* News Grid - Updated spacing */
.news-grid {
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .match-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .match-card {
        padding: 1.5rem;
    }
    
    .match-score {
        font-size: 2.5rem;
    }
    
    .match-teams {
        font-size: 1.1rem;
    }
    
    .social-preview-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .social-posts-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .match-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .social-preview-section {
        padding: 1.5rem;
    }
    
    .match-card {
        padding: 1rem;
    }
    
    .social-page-info-mini {
        gap: 0.5rem;
    }
}

/* Enhanced Fixtures Section Styles */
.fixtures-team-filter {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    text-align: center;
}

.fixtures-team-filter h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.team-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.team-filter-btn:hover,
.team-filter-btn.active {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Enhanced Match Cards */
.result-card-detailed {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-maroon)) !important;
    color: white;
}

.fixture-card-detailed {
    background: white;
    border: 2px solid var(--primary-green);
}

.match-time-large {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-maroon);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.fixture-card-detailed .match-teams {
    color: var(--text-dark);
}

.fixture-card-detailed .match-details {
    color: var(--text-light);
}

.result-card-detailed .match-details {
    color: rgba(255,255,255,0.9);
}

.result-card-detailed .match-type {
    color: var(--accent-gold);
}

.fixture-card-detailed .match-type {
    color: var(--primary-green);
}

/* Button styling within match cards */
.match-card .btn {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.result-card-detailed .btn {
    background: var(--accent-gold);
    color: var(--primary-green);
    border: none;
}

.result-card-detailed .btn:hover {
    background: white;
    color: var(--primary-green);
}

/* Responsive fixtures */
@media (max-width: 768px) {
    .team-filter-buttons {
        gap: 0.5rem;
    }
    
    .team-filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .fixtures-team-filter {
        padding: 1.5rem;
    }
    
    .match-time-large {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .team-filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .team-filter-btn {
        width: 200px;
    }
}
/* Heritage Image - Force Visibility */
.about-image,
.about-image img,
#heritage-image-container,
#heritage-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

/* News Cards - Prevent Disappearing */
.news-grid,
.news-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.news-grid {
    display: grid !important;
}

/* Match Cards - Stay Visible */
.match-card,
.latest-result,
.next-fixture {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Emergency Fallback - Force visibility after 2 seconds */
@keyframes forceVisible {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.news-card,
.about-image img {
    animation: forceVisible 0.5s ease-in 2s forwards;
}

/* Disable fade-in on critical elements */
.about-image.fade-in,
#heritage-image-container.fade-in {
    animation: none !important;
    opacity: 1 !important;
}
/* News card animations - CRITICAL FIX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    opacity: 1 !important;
    visibility: visible !important;
}