/* ==============================================
   NEWS PAGE - "TRUE GRID" ELEGANT DESIGN
   ============================================== */

.news-page main {
    background-color: #f8f9fa; /* A subtle background for the entire page */
}

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

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

.news-header h1 {
/*    font-family: 'Lora', serif;*/
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.news-header h1::after {
    content: '';
    display: block;
    width: 288px;
    height: 4px;
    background-color: #C0A062; /*var(--overview-top-color); /* Your golden accent color */
    margin-top: 1.25rem; /* Space between text and line */
    /* ADD THESE TWO LINES TO CENTER THE LINE UNDER THE HEADING */
    margin-left: auto;
    margin-right: auto;
}

.news-header p {
    font-size: 1.15rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* --- The Main News Grid (Outer Grid) --- */
.news-grid {
    display: grid;
    /* Create a responsive grid of cards */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* --- The Individual News Card (Inner Grid) --- */
.news-card {
    /* THIS IS THE KEY CHANGE: The card itself is now a grid */
    display: grid;
    /* Create two columns: one for the icon, one for the text */
    grid-template-columns: auto 1fr;
    align-items: start; /* Align content to the top */
    gap: 1.5rem;
    
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px N30px rgba(0,0,0,0.08);
}

/* --- Grid Item 1: The Icon --- */
.card-icon-wrapper {
    /* This wrapper is the first grid item */
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f4f8;
    color: var(--accent-color-hover);
    font-size: 1.8rem;
}

/* --- Grid Item 2: The Text Content --- */
.card-content {
    /* This content div is the second grid item */
}

.card-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-family: 'Lora', serif;
    font-size: 1.35rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-content p {
    line-height: 1.6;
    color: #34495e;
}

/* --- Responsive Design --- */
@media (max-width: 480px) {
    .news-card {
        /* On very small screens, make the icon column narrower */
        grid-template-columns: 50px 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .news-header h1 {
        font-size: 2rem;
    }
    .news-header p {
        font-size: 1.1rem;
    }
}
