﻿body {
}
h1 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    letter-spacing: 5px;
}

.main-content {
    padding-top: 100px;
    min-height: 100vh;
}

.page-header {
    background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

    .page-header h1 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .page-header p {
        color: var(--text-light);
        font-size: 1.1rem;
    }

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
}

    .breadcrumb a {
        color: var(--text-light);
        transition: color 0.3s;
    }

        .breadcrumb a:hover {
            color: var(--primary-color);
        }

    .breadcrumb span {
        color: var(--text-light);
    }

.content-section {
    padding: 60px 20px;
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.content-box {
    background: var(--bg-mid);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .content-box h3 {
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    .content-box p {
        color: var(--text-light);
        line-height: 1.8;
        margin-bottom: 15px;
    }

.section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    /* background: #ffffff; */
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-container {
    display: grid;
    grid-template-columns: 3fr 2fr; /* News section is slightly wider than notices container */
    gap: 40px;

}

/* ... (all other CSS rules you provided previously) ... */
.news-section, .notices-split-container {
    padding: 20px;
    border-radius: 12px;
    background: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

    .news-section h3, .notices-split-container h3 {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-bottom: 20px;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 5px;
    }

/* --- News Card Grid --- */
.news-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.news-card {
    background: #333; /* Slightly darker background for the card */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .news-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

.card-content {
    padding: 15px;
}

.news-card h4 a {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

    .news-card h4 a:hover {
        color: var(--primary-color);
    }

.news-card .summary {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-card.latest {
    outline: 3px solid var(--primary-color); /* Stronger highlight for the absolute latest item */
    background: var(--latest-highlight);
}

/* --- Mobile adjustment for news-notices --- */
@media (max-width: 1024px) {
    .news-container {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}