

.announcements-page {
    background: #f4f6f8;
}


/* =========================================================
   Announcements
   ========================================================= */

.announcements-page-container {
    width: min(900px, 92%);
    margin: 40px auto 60px;
    flex: 1;
}


/* =========================================================
   Page Header
   ========================================================= */

.announcements-header {
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 24px;
    text-align: center;
}

.announcements-header h1 {
    margin: 0 0 8px;
    color: #0b3d2e;
    font-size: 2rem;
}

.announcements-header p {
    margin: 4px 0 0;
    color: #666666;
    font-size: 1rem;
}


/* =========================================================
   Announcements List
   ========================================================= */

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* =========================================================
   Announcement Card
   ========================================================= */

.announcement-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid #eeeeee;
}


/* =========================================================
   Announcement Header
   ========================================================= */

.announcement-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eeeeee;
}


.announcement-label {
    display: block;
    margin-bottom: 7px;
    color: #1f3a5f;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.announcement-card h2 {
    margin: 0;
    color: #0b3d2e;
    font-size: 1.35rem;
}


.announcement-date {
    flex-shrink: 0;
    color: #777777;
    font-size: 0.85rem;
    white-space: nowrap;
}


/* =========================================================
   Announcement Content
   ========================================================= */

.announcement-content {
    padding-top: 20px;
}


.announcement-content p {
    margin: 0 0 18px;
    color: #333333;
    line-height: 1.7;
}


.announcement-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Announcement Link
   ========================================================= */

.announcement-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background: #1f3a5f;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.announcement-link:hover {
    background: #162b46;
    transform: translateY(-1px);
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .announcements-page-container {
        width: 94%;
        margin-top: 25px;
    }


    .announcements-header {
        padding: 24px;
    }


    .announcements-header h1 {
        font-size: 1.6rem;
    }


    .announcement-card {
        padding: 20px;
    }


    .announcement-card-header {
        flex-direction: column;
        gap: 10px;
    }


    .announcement-date {
        white-space: normal;
    }


    .announcement-card h2 {
        font-size: 1.2rem;
    }


    .announcement-content {
        padding-top: 18px;
    }


    .announcement-link {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

}