/* Page Header */
.page-header {
    background-color: var(--color-background-alt);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.filter-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-background);
    font-family: inherit;
    font-size: 0.875rem;
    min-width: 180px;
}

.search-container {
    flex: 1;
    max-width: 400px;
}

/* News Page Specific Styles */
.news-section {
    padding: 4rem 0;
}

.featured-news {
    margin-bottom: 3rem;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.main-news {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow);
}

.main-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
}

.main-news-category {
    margin-bottom: 0.75rem;
}

.main-news-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.main-news-excerpt {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.main-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.secondary-news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.secondary-news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    background-color: var(--color-background);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.secondary-news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.secondary-news-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.secondary-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondary-news-content {
    flex: 1;
}

.secondary-news-category {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.secondary-news-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.secondary-news-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background-color: var(--color-background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

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

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: auto;
}

.news-source {
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background-color: var(--color-background);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background-color: var(--color-background-tertiary);
}

.pagination-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.newsletter-section {
    padding: 5rem 0;
    background-color: var(--color-primary);
    color: white;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-section-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-section-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-section-btn {
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0 1.5rem;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-section-notice {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .featured-news-grid {
        grid-template-columns: 1fr;
    }

    .main-news {
        height: 400px;
    }

    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-container {
        width: 100%;
        max-width: 100%;
    }

    .header-search {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .filter-options {
        flex-direction: column;
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-top {
        display: none;
    }

    .newsletter-section-form {
        flex-direction: column;
    }

    .newsletter-section-btn {
        width: 100%;
        padding: 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .main-news {
        height: 300px;
    }

    .main-news-title {
        font-size: 1.5rem;
    }

    .secondary-news-image {
        width: 80px;
        height: 80px;
    }
}