/* News Page Styles */
.news-page {
    padding-top: 80px;
    background-color: #f8f9fa;
}

.featured-news {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

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

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.featured-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

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

.news-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: white;
    color: #1b3058;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    background: #1b3058;
    color: white;
}

.filter-btn.active {
    background: #1b3058;
    color: white;
}

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

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-image {
    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);
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #f0c808;
    color: #1b3058;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.news-content h3 {
    color: #1b3058;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

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

.read-more {
    color: #1b3058;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #f0c808;
}

.load-more {
    display: block;
    width: 200px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: #1b3058;
    color: white;
    text-align: center;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more:hover {
    background: #f0c808;
    color: #1b3058;
}

.newsletter-section {
    background: #1b3058;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-button {
    padding: 1rem 2rem;
    background: #f0c808;
    color: #1b3058;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-news {
        height: 400px;
    }

    .featured-content h1 {
        font-size: 2rem;
    }

    .news-container {
        padding: 1rem;
    }

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

    .newsletter-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .featured-news {
        height: 300px;
    }

    .featured-content h1 {
        font-size: 1.5rem;
    }

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