#announcements-archive {
    padding: 5rem 0;
}

/* ── Filter bar ──────────────────────────────────────────── */
.filter {
    display: flex;
    background-color: #003476;
    padding: 15px;
    margin: 0;
    border-radius: 5px;
    justify-content: space-between;
    box-shadow: 0px 3px 6px #00000029;
}

.filter-item {
    padding: 10px;
    border-right: solid 5px #00aeef;
    border-radius: 0px 5px 5px 0px;
    gap: 5px;
    flex-direction: row;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    position: relative;
}

.filter-item:first-child {
    flex: 1;
}

.filter-item:last-child {
    border: none;
}

.filter-item:hover:not(:first-child) {
    cursor: pointer;
}

.filter-item span {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

/* ── Filter label ────────────────────────────────────────── */
.filter-label {
    display: flex;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all ease 0.3s !important;
}

.filter-label i {
    margin-left: 6px;
}

.filter-item:hover .filter-label {
    color: #00aeef !important;
}

.fa-sort-down {
    color: #fff;
    font-size: 1rem;
    transition: all ease 0.3s !important;
}

.filter-item:hover .fa-sort-down {
    color: #00aeef !important;
}

/* ── Filter dropdown ─────────────────────────────────────── */
.filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 260px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0px 3px 6px #00000029;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 500;
    z-index: 99;
}

.filter-dropdown li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: #959496;
    cursor: pointer;
    transition: all ease 0.3s;
}

.filter-dropdown li:hover {
    color: #003476;
    background-color: #f0f0f0;
}

.filter-dropdown li.active {
    font-weight: bold;
    text-decoration: underline;
    color: #003476;
}

.filter-item:hover .filter-dropdown {
    display: block;
    overflow-y: auto;
    max-height: 340px;
}

/* ── Results ─────────────────────────────────────────────── */
#announcements-results {
    min-height: 40px;
    justify-content: center;
    width: 100%;
}

.announcements-list p {
    color: #9b9b9b;
    font-weight: 500;
    margin-bottom: 0rem !important;
    font-size: 1.1rem;
}

.announcement-content p {
    margin: 0;
}

.announcement-box {
    display: block;
    border-bottom: 1px solid #D9E4F7;
    padding: 1.5rem 5px;
    text-decoration: none !important;
    transition: background-color ease 0.2s, padding-left ease 0.2s;
    border-radius: 4px;
}

.announcement-box:hover {
    background-color: #f4f7fd;
    padding-left: 12px;
}

.announcement-meta {
    margin-bottom: 0.3rem;
}

.announcement-date {
    color: #003476;
    font-weight: 700;
    font-size: 14px;
}

.announcement-title {
    font-size: 1rem;
    font-weight: 700;
    color: #003476;
    margin: 0 0 0.4rem 0;
    transition: color ease 0.2s;
}

.announcement-box:hover .announcement-title {
    color: #0165b3;
    text-decoration: underline;
}

.announcement-content {
    color: #525252;
    font-size: 16px;
}

.announcement-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ── Pagination ──────────────────────────────────────────── */
.posts-pagination {
    padding: 18px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.posts-pagination i {
    font-size: 18px;
    color: #707070;
}

.posts-pagination .active-page,
.page-numbers.current {
    font-size: 18px;
    font-weight: 700;
    color: #054c7b !important;
    border-bottom: 2px solid #073476;
    padding: 0 10px;
}

.custom-page-number,
.page-numbers {
    font-size: 18px;
    font-weight: 500;
    padding: 0 10px;
    color: #707070;
    text-decoration: none;
}

.custom-page-number:hover,
.custom-page-number:focus,
.page-numbers:hover,
.page-numbers:focus {
    color: #707070;
}

.vl {
    border-left: 2px solid #626d79;
    height: 20px;
}