/* ============================================
   HOMEPAGE NEWS - CUSTOM STYLES
   ============================================ */

/* News Section Container */
.hp-news-section {
    padding: 5rem 0;
    background: #ffffff;
}

.hp-news-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hp-news-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-content-heading);
}

.hp-news-header p {
    font-size: 1.1rem;
    color: var(--color-content-text);
}

/* News Grid - 3 columns */
.hp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 1024px) {
    .hp-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Individual News Card */
.hp-news-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.hp-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* News Image */
.hp-news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

/* News Content */
.hp-news-content {
    padding: 1.25rem;
}

.hp-news-date {
    font-size: 0.875rem;
    color: #005e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hp-news-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-content-heading);
    line-height: 1.3;
}

/* View All Button */
.hp-news-footer {
    text-align: center;
    margin-top: 3rem;
}

.hp-view-all-news-btn {
    display: inline-block;
    background: white;
    color: #005e50 !important;
    border: 2px solid #005e50;
    padding: 0.75rem 1.5rem;
    border-radius: 5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hp-view-all-news-btn:hover {
    transform: scale(1.05);
    color: #005e50 !important;
}
