/* News Index Page Styles */

/* Page Header */
.page-header {
    position: relative;
    background: url("../../media/images/Aircraft take off.jpg") center/cover no-repeat;
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.9));
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 800;
}

.page-header p {
    position: relative;
    z-index: 2;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* News Section */
.news-section {
    padding: 60px 20px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Filter Section */
.filters-section {
    margin-bottom: 50px;
}

.filters-toggle-btn {
    width: 100%;
    padding: 16px 20px;
    background: white;
    color: #003366;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.filters-toggle-btn:hover {
    border-color: #FF8C00;
    background: #fff9f0;
}

.filter-count {
    font-size: 14px;
    color: #FF8C00;
    font-weight: 600;
}

.filters-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
    border-radius: 0 0 10px 10px;
}

.filters-content.show {
    max-height: 1000px;
    border: 2px solid #e0e0e0;
    border-top: none;
    padding: 20px;
    margin-top: -10px;
}

.filter-row {
    margin-bottom: 20px;
}

.filter-row:last-of-type {
    margin-bottom: 0;
}

.filter-label {
    font-size: 14px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 18px;
    background: white;
    color: #003366;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #FF8C00;
    color: #FF8C00;
}

.filter-btn.active {
    background: #003366;
    color: white;
    border-color: #003366;
}

.filter-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.clear-filters-btn {
    padding: 10px 20px;
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: #dc3545;
    color: white;
}

/* Breaking News Banner */
.breaking-news-section {
    margin-bottom: 50px;
}

.breaking-badge {
    display: inline-block;
    background: #f5031b;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.breaking-news-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left: 5px solid #ffc107;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 12px rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.breaking-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.breaking-news-card h3 {
    font-size: 22px;
    color: #003366;
    margin-bottom: 10px;
    font-weight: 700;
}

.breaking-news-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.breaking-news-meta {
    color: #856404;
    font-size: 13px;
    font-weight: 600;
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    color: #003366;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #666;
    font-size: 15px;
}

/* Featured News Section (with images) */
.featured-news-section {
    margin-bottom: 60px;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.featured-news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.featured-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #eaeaea;
    position: relative;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.featured-news-card:hover .featured-news-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF8C00;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-news-content {
    padding: 20px;
}


/* Standard News Section (no images) */
.standard-news-section {
    margin-bottom: 60px;
}

.standard-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.standard-news-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    border-left: 4px solid transparent;
}

.standard-news-card:hover {
    border-bottom-color: #FF8C00;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(4px);

    background: #e9ecef;
    transform: translateY(-5px);
    box-shadow: 0 8px 5px #00000026;
}

.standard-news-content {
    /* No padding needed, already on card */
}

/* Shared News Card Styles */
.news-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-category {
    color: #FF8C00;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-region {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f4fd;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.news-title {
    font-size: 18px;
    color: #003366;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
}

.featured-news-card .news-title {
    font-size: 19px;
    margin-bottom: 10px;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.standard-news-card .news-meta-bottom {
    border-top: none;
    padding-top: 0;
}

.news-date {
    color: #999;
    font-size: 14px;

}


.read-time {
    color: #999;
    font-size: 14px;
    margin-left: auto
}


/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-results h3 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
    font-size: 16px;
}

/* Responsive */
@media (min-width: 641px) {
    .page-header {
        padding: 60px 20px;
    }

    .page-header h1 {
        font-size: 42px;
    }

    .page-header p {
        font-size: 18px;
    }

    .news-section {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .featured-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .featured-news-image {
        height: 200px;
    }

    .standard-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


    @media (min-width: 1025px) {
        .featured-news-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .featured-news-image {
            height: 220px;
        }

        .standard-news-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }