/* #region HERO */

.blog-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/IMAGES/PAGES/BLOG/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.blog-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.blog-hero-content a {
    margin-left: 1rem;
    margin-right: 1rem;
}

/* #endregion */

/* #region FEATURED ARTICLE */

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.featured-article-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.featured-article-content h2 {
    margin-bottom: 1.5rem;
}

.featured-article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.featured-article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-article-meta img {
    width: 20px;
    height: 20px;
}

.featured-article-excerpt {
    margin-bottom: 2rem;
}

/* #endregion */

/* #region BLOG LIST */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-image {
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--light-text);
    font-size: 0.85rem;
}

.news-card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card-excerpt {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .news-hero-content h1 {
        font-size: 2rem;
    }

    .category-filter {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 100%;
        text-align: center;
    }
}

/* #endregion */
