.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../img/forum.jpg");
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

:root {
    --primary-yellow: #e6c36f;
    /* --text-dark: #333; */
    --text-muted: #6c757d;
    --border-light: #bababa;
}

* {
    box-sizing: border-box;
}

/* body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    line-height: 1.6;
} */

/* Latest Highlights Section */
.highlights-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.highlight-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.highlight-image {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    /* height: 280px; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.highlight-image img {
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.award-ribbon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.highlight-content {
    padding: 2rem;
}

.highlight-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.highlight-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.highlight-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.highlight-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-read-more {
    background-color: #e6c36f;
    border: none;
    color: #000;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: #e0a800;
    color: #000;
    transform: translateY(-1px);
}

/* Recent Articles Section */
.articles-section {
    padding: 60px 0;
    /* background-color: #f8f9fa; */
}

.filter-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 5px 20px;
    border-radius: 25px;
    border: 2px solid #dee2e6;
    background-color: white;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-pill.active {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: #000;
}

.filter-pill:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: #000;
    text-decoration: none;
}

/* Article Cards - Exact Match to Image */
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    height: 100%;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.tag-security {
    background-color: rgba(220, 53, 69, 0.9);
}
.tag-facilities {
    background-color: rgba(23, 162, 184, 0.9);
}
.tag-events {
    background-color: rgba(40, 167, 69, 0.9);
}
.tag-environment {
    background-color: rgba(111, 66, 193, 0.9);
}
.tag-community {
    background-color: rgba(253, 126, 20, 0.9);
}
.tag-awards {
    background-color: rgba(255, 193, 7, 0.9);
    color: #000;
}

.news-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.news-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    /* line-height: 1.4; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    /* margin-bottom: 1.25rem; */
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-meta-left {
    display: flex;
    gap: 15px;
}

.news-meta-left span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-meta-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-read-small {
    background: transparent;
    border: 2px solid var(--primary-yellow);
    color: #000;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.btn-read-small:hover {
    background-color: var(--primary-yellow);
    color: #000;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Load More Button */
.load-more-section {
    text-align: center;
    padding: 2rem 0;
}

.btn-load-more {
    background-color: var(--primary-yellow);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: #e0a800;
    color: #000;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .filter-pills {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .news-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-meta-left {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .highlights-section,
    .articles-section {
        padding: 40px 0;
    }

    .highlight-content {
        padding: 1.5rem;
    }

    .news-card-content {
        padding: 1.25rem;
    }
}
