/* Featured Articles Section */
.featured-articles {
    margin-bottom: 3rem;
}

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

.article-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card .article-image {
    height: 200px;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-card .no-image-placeholder {
    background-color: #f0f7fa;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-content {
    padding: 1.5rem;
}

.article-card h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #85bcd7;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Categories Section */
.categories {
    margin-bottom: 3rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.category-item {
    background-color: #85bcd7;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 34px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.category-item:hover {
    background-color: #6ca9c6;
}

/* Responsive Adjustments */
@media screen and (min-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: 1.4rem;
    }

    .article-card h3 {
        font-size: 1.4rem;
    }

    .newsletter {
        padding: 3rem;
    }
}

@media screen and (min-width: 1024px) {
    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}