.notice-listing-page {
    padding: 36px 0 48px;
    background: linear-gradient(180deg, #f4f7fa 0%, #fbf8f1 100%);
}

.notice-listing-heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.notice-listing-eyebrow {
    color: #a87900;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.notice-listing-heading h1 {
    margin: 8px 0 10px;
    color: #0a2947;
    font-family: var(--title-font, Georgia, serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.notice-listing-heading p {
    margin: 0;
    color: #687685;
}

.notice-listing-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 20px;
}

.notice-listing-filter {
    padding: 7px 13px;
    border: 1px solid rgba(10, 41, 71, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #42566c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.notice-listing-filter:hover,
.notice-listing-filter.is-active {
    border-color: #0a2947;
    background: #0a2947;
    color: #fff;
}

.notice-listing-results {
    display: grid;
    max-width: 1000px;
    gap: 10px;
    margin: 0 auto;
}

.notice-listing-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    border: 1px solid rgba(10, 41, 71, 0.09);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 41, 71, 0.05);
}

.notice-listing-date {
    display: flex;
    flex: 0 0 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 10px;
    background: #0a2947;
    color: #fff;
}

.notice-listing-date span {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
}

.notice-listing-date strong {
    margin-top: 4px;
    color: #f1d78e;
    font-size: 10px;
    font-weight: 700;
}

.notice-listing-copy {
    flex: 1;
    min-width: 0;
}

.notice-listing-category {
    color: #a87900;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.notice-listing-copy h2 {
    margin: 4px 0 0;
    color: #0a2947;
    font-size: 16px;
    line-height: 1.4;
}

.notice-listing-copy p {
    margin: 6px 0 0;
    color: #687685;
    font-size: 14px;
    line-height: 1.6;
}

.notice-listing-open {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 8px;
    background: #f3f6fa;
    color: #0a2947;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.notice-listing-open:hover {
    background: #0a2947;
    color: #fff;
}

.notice-listing-empty {
    padding: 54px 20px;
    border: 1px dashed rgba(10, 41, 71, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    color: #687685;
    text-align: center;
}

.notice-listing-empty > i {
    color: #c49a2c;
    font-size: 32px;
}

.notice-listing-empty h2 {
    margin: 12px 0 6px;
    color: #0a2947;
    font-size: 21px;
}

.notice-listing-empty p {
    margin: 0;
}

.notice-listing-pagination {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.notice-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination-link {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #0a2947;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.pagination-link.is-current {
    border-color: #0a2947;
    background: #0a2947;
    color: #fff;
}

.pagination-link:hover:not(.is-disabled, .is-current) {
    background: #f3f6fa;
}

.pagination-link.is-disabled {
    color: #9aa6b2;
    cursor: default;
}

@media (max-width: 640px) {
    .notice-listing-page {
        padding: 28px 0 40px;
    }

    .notice-listing-card {
        align-items: center;
        gap: 11px;
        padding: 12px;
    }

    .notice-listing-date {
        flex-basis: 50px;
        min-height: 54px;
    }

    .notice-listing-date span {
        font-size: 19px;
    }

    .notice-listing-copy h2 {
        font-size: 16px;
    }

    .notice-listing-open {
        padding: 8px;
        font-size: 0;
    }

    .notice-listing-open i {
        font-size: 14px;
    }
}

/* Examination page */
.exam-page {
    padding: 42px 0 60px;
    background: #f5f7f9;
}

.exam-page__heading {
    margin: 0 0 26px;
}

.exam-page__eyebrow {
    color: #9a742a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.exam-page__heading h1 {
    margin: 7px 0 5px;
    color: #0a2947;
    font-family: var(--brand-font, Georgia, serif);
    font-size: clamp(30px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.1;
}

.exam-page__heading p {
    margin: 0;
    color: #667587;
    font-size: 15px;
    line-height: 1.6;
}

.exam-officials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.exam-official-card {
    display: flex;
    min-height: 276px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 22px;
    border: 1px solid #e8dfcf;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 41, 71, 0.055);
    text-align: center;
}

.exam-official-card > img {
    width: 112px;
    height: 112px;
    margin-bottom: 15px;
    border: 3px solid #d8b45d;
    border-radius: 50%;
    background: #f1f3f5;
    object-fit: cover;
    object-position: center top;
}

.exam-official-card h2 {
    margin: 0;
    color: #0a2947;
    font-family: var(--brand-font, Georgia, serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.exam-official-card__role {
    margin: 6px 0 0;
    color: #6d7b8b;
    font-size: 14px;
    line-height: 1.45;
}

.exam-official-card__email {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #6f5420;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.exam-official-card__email:hover {
    color: #0a2947;
}

.exam-page__layout {
    display: block;
}

.exam-notice-panels {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.exam-notice-panel {
    overflow: hidden;
    border: 1px solid #e3e8ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(10, 41, 71, 0.045);
}

.exam-notice-panel__header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f3;
}

.exam-notice-panel__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 11px;
    background: #f7f2e6;
    color: #9a742a;
    font-size: 17px;
}

.exam-notice-panel__header h2 {
    margin: 0;
    color: #0a2947;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.exam-notice-panel__header p {
    margin: 3px 0 0;
    color: #768394;
    font-size: 12px;
}

.exam-notice-panel__all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: #0a2947;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.exam-notice-panel__all:hover {
    color: #9a742a;
}

.exam-notice-list {
    padding: 4px 20px;
}

.exam-notice-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f3;
}

.exam-notice-item:last-child {
    border-bottom: 0;
}

.exam-notice-item__date {
    display: flex;
    width: 52px;
    height: 54px;
    flex: 0 0 52px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1f4f7;
    color: #0a2947;
}

.exam-notice-item__date strong {
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.exam-notice-item__date span {
    margin-top: 4px;
    color: #738193;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.exam-notice-item__copy {
    min-width: 0;
    flex: 1;
}

.exam-notice-item__copy h3 {
    margin: 0;
    color: #263e55;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.exam-notice-item__copy > span {
    display: block;
    margin-top: 3px;
    color: #8793a0;
    font-size: 11px;
}

.exam-notice-item__open {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid #e4e9ed;
    border-radius: 8px;
    color: #0a2947;
    text-decoration: none;
}

.exam-notice-item__open:hover {
    border-color: #0a2947;
    background: #0a2947;
    color: #fff;
}

.exam-notice-empty {
    display: flex;
    min-height: 110px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #7a8795;
    text-align: center;
}

.exam-notice-empty i {
    color: #b28b3b;
    font-size: 22px;
}

.exam-notice-empty p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 991px) {
    .exam-notice-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .exam-page {
        padding: 30px 0 42px;
    }

    .exam-officials {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 24px;
    }

    .exam-official-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .exam-official-card > img {
        width: 96px;
        height: 96px;
    }

    .exam-official-card h2 {
        font-size: 22px;
    }

    .exam-notice-panel__header {
        gap: 10px;
        padding: 15px;
    }

    .exam-notice-panel__all {
        font-size: 0;
    }

    .exam-notice-panel__all i {
        font-size: 13px;
    }

    .exam-notice-list {
        padding: 3px 14px;
    }

    .exam-notice-item {
        gap: 10px;
    }

}
