/* Media & Press Releases Section - GIGW 3.0 Compliant */

.media-press-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.media-press-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header - GIGW 3.0 Compliant Contrast */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000; /* High contrast black - WCAG AAA compliant */
    margin: 0;
    text-align: center;
}

/* News Grid - 4 cards per row */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* News Card - Traditional layout (image on top, content below) */
.news-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

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

/* News Image - Full width on top */
.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057; /* Better contrast - WCAG AA compliant */
    font-size: 2.5rem;
}

/* News Content - Below the image */
.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* News Title - GIGW 3.0 Compliant */
.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000; /* High contrast black - WCAG AAA compliant */
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.news-title a {
    color: #000000; /* High contrast black - WCAG AAA compliant */
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #1B4332; /* Theme green - WCAG AA compliant */
}

/* News Meta - GIGW 3.0 Compliant */
.news-meta {
    margin-bottom: 12px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057; /* Better contrast - WCAG AA compliant */
    font-size: 0.85rem;
}

.news-date i {
    color: #1B4332; /* Theme green - WCAG AA compliant */
    font-size: 0.8rem;
}

/* News Excerpt - GIGW 3.0 Compliant */
.news-excerpt {
    color: #212529; /* High contrast dark gray - WCAG AAA compliant */
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
    flex: 1;
}

/* Read More Link - GIGW 3.0 Compliant */
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1B4332; /* Theme green - WCAG AA compliant */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more-link:hover {
    color: #0f2a1f; /* Darker green - WCAG AAA compliant */
    transform: translateX(5px);
}

.read-more-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(3px);
}

/* View All Button Container - GIGW 3.0 Compliant */
.view-all-container {
    margin-top: 40px;
}



/* No News State - GIGW 3.0 Compliant */
.no-news {
    text-align: center;
    padding: 60px 20px;
    color: #495057; /* Better contrast - WCAG AA compliant */
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .media-press-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .media-press-section .container {
        padding: 0 15px;
    }

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

    .news-grid {
        gap: 15px;
    }

    .news-content {
        padding: 15px;
    }
}

/* High Contrast Mode Support - GIGW 3.0 Compliant */
@media (prefers-contrast: more) {
    .section-title {
        color: #000000 !important;
    }
    
    .news-title,
    .news-title a {
        color: #000000 !important;
    }
    
    .news-excerpt {
        color: #000000 !important;
    }
    
    .news-date {
        color: #000000 !important;
    }
    
    .tcl-btn-primary {
        background: #000000 !important;
        color: #ffffff !important;
        border-color: #000000 !important;
    }
    
    .tcl-btn-primary:hover {
        background: #333333 !important;
        color: #ffffff !important;
        border-color: #333333 !important;
    }
} 