/* News, notices and notice detail */

.news-page {
    color: #536779;
    background: #f4f8fb;
}

.news-page .news-hero {
    min-height: 330px;
    padding-top: 82px;
    padding-bottom: 60px;
}

.news-hero__intro {
    max-width: 650px;
    margin: 13px 0 0;
    color: rgba(255,255,255,.8);
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.news-archive,
.notice-detail-section {
    padding: 78px 0 96px;
    background:
        radial-gradient(circle at 7% 8%, rgba(32,185,223,.08), transparent 23%),
        radial-gradient(circle at 96% 38%, rgba(244,184,68,.07), transparent 20%),
        #f4f8fb;
}

.news-archive__header {
    display: flex;
    margin-bottom: 34px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d5e8f;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.news-kicker i {
    color: #20b9df;
}

.news-archive__header h2 {
    margin: 8px 0 7px;
    color: #10263b;
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.03em;
}

.news-archive__header p {
    margin: 0;
    color: #627386;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.news-total {
    display: flex;
    min-width: 150px;
    min-height: 72px;
    padding: 12px 18px;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-radius: 9px;
    box-shadow: 0 11px 32px rgba(10,45,70,.07);
}

.news-total strong {
    color: #20b9df;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.news-total span {
    color: #5e7183;
    font-family: 'Open Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.notice-toolbar {
    display: flex;
    min-height: 64px;
    margin-bottom: 22px;
    padding: 10px 13px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-radius: 9px;
}

.notice-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.notice-filters button {
    display: inline-flex;
    min-height: 38px;
    padding: 0 13px;
    align-items: center;
    gap: 8px;
    color: #526779;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    background: #f5f8fa;
    border: 1px solid #e0e8ed;
    border-radius: 6px;
}

.notice-filters button span {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    align-items: center;
    justify-content: center;
    color: #718293;
    font-size: 8px;
    background: #ffffff;
    border-radius: 10px;
}

.notice-filters button:hover,
.notice-filters button:focus,
.notice-filters button.is-active {
    color: #ffffff;
    background: #0b2b4b;
    border-color: #0b2b4b;
}

.notice-filters button.is-active span {
    color: #061d33;
    background: #f4b844;
}

.notice-toolbar > p {
    margin: 0;
    color: #7a8a99;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    white-space: nowrap;
}

.notice-list {
    display: grid;
    gap: 15px;
}

.notice-card {
    position: relative;
    display: grid;
    min-height: 194px;
    padding: 25px 76px 25px 25px;
    grid-template-columns: 74px 52px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-left: 4px solid #c7d4dd;
    border-radius: 9px;
    box-shadow: 0 12px 34px rgba(10,45,70,.06);
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.notice-card--current {
    border-left-color: #20b9df;
}

.notice-card--upcoming {
    border-left-color: #f4b844;
}

.notice-card:hover {
    border-color: #bcd5e3;
    border-left-color: #20b9df;
    box-shadow: 0 18px 45px rgba(10,45,70,.12);
    transform: translateY(-3px);
}

.notice-card[hidden] {
    display: none !important;
}

.notice-card__date {
    display: flex;
    width: 74px;
    height: 86px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    background: #0b2b4b;
    border-radius: 7px;
}

.notice-card__date strong,
.notice-card__date span,
.notice-card__date small {
    display: block;
}

.notice-card__date strong {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
}

.notice-card__date span {
    margin-top: 4px;
    color: #f4b844;
    font-family: 'Open Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.notice-card__date small {
    margin-top: 2px;
    color: rgba(255,255,255,.55);
    font-size: 8px;
}

.notice-card__icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    color: #0d5e8f;
    font-size: 18px;
    background: #eaf7fb;
    border-radius: 50%;
}

.notice-card__meta {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.notice-card__meta > span:not(.notice-status):not(.notice-new) {
    color: #738493;
    font-family: 'Open Sans', sans-serif;
    font-size: 9px;
}

.notice-card__meta i {
    margin-right: 4px;
    color: #20b9df;
}

.notice-status,
.notice-new {
    display: inline-flex;
    min-height: 23px;
    padding: 0 8px;
    align-items: center;
    color: #526779;
    font-family: 'Open Sans', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
    background: #edf2f5;
    border-radius: 12px;
}

.notice-status--current {
    color: #13784a;
    background: #e9f8f0;
}

.notice-status--upcoming {
    color: #8a6110;
    background: #fff6df;
}

.notice-status--archive {
    color: #657585;
    background: #eef2f5;
}

.notice-new {
    color: #061d33;
    background: #f4b844;
}

.notice-card__content h3 {
    margin: 0 0 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.notice-card__content h3 a,
.notice-card__content h3 a:visited {
    color: #10263b;
}

.notice-card__content h3 a:hover {
    color: #0d5e8f;
}

.notice-card__content > p {
    margin: 0 0 9px;
    color: #657789;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    line-height: 1.65;
}

.notice-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d5e8f;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
}

.notice-card__link:hover,
.notice-card__link:focus,
.notice-card__link:visited {
    color: #0d5e8f;
}

.notice-card__arrow {
    position: absolute;
    top: 50%;
    right: 22px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    align-items: center;
    justify-content: center;
    color: #0d5e8f;
    font-size: 18px;
    background: #f1f7fa;
    border-radius: 50%;
}

.notice-card__arrow:hover,
.notice-card__arrow:focus,
.notice-card__arrow:visited {
    color: #061d33;
}

.notice-card:hover .notice-card__arrow {
    color: #061d33;
    background: #f4b844;
}

.notice-filter-empty,
.notice-empty {
    padding: 64px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-radius: 10px;
}

.notice-filter-empty[hidden] {
    display: none !important;
}

.notice-filter-empty > span,
.notice-empty > span {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #0d5e8f;
    font-size: 20px;
    background: #eaf7fb;
    border-radius: 50%;
}

.notice-filter-empty h3,
.notice-empty h2 {
    margin: 16px 0 6px;
    color: #10263b;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
}

.notice-filter-empty p,
.notice-empty p {
    margin: 0;
    color: #718293;
    font-size: 12px;
}

.news-help {
    display: flex;
    margin-top: 30px;
    padding: 24px 27px;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    background: linear-gradient(110deg, #0b2b4b, #0d5e8f);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(6,29,51,.18);
}

.news-help__icon {
    display: inline-flex;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    color: #061d33;
    font-size: 19px;
    background: #f4b844;
    border-radius: 50%;
}

.news-help > div {
    flex: 1;
}

.news-help > div > span {
    color: #20b9df;
    font-family: 'Open Sans', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-help strong {
    display: block;
    margin: 3px 0;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.news-help p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
}

.news-help > a {
    display: inline-flex;
    min-height: 43px;
    padding: 0 17px;
    align-items: center;
    gap: 9px;
    color: #061d33;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    background: #f4b844;
    border-radius: 6px;
}

.news-help > a:hover,
.news-help > a:focus,
.news-help > a:visited {
    color: #061d33;
}

/* Notice detail */
.news-page .notice-hero {
    min-height: 285px;
    padding-top: 79px;
    padding-bottom: 53px;
}

.notice-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 30px;
}

.notice-article {
    min-width: 0;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-radius: 11px;
    box-shadow: 0 16px 46px rgba(10,45,70,.08);
}

.notice-back {
    display: inline-flex;
    margin-bottom: 23px;
    align-items: center;
    gap: 8px;
    color: #0d5e8f;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.notice-back:hover,
.notice-back:focus,
.notice-back:visited {
    color: #0d5e8f;
}

.notice-article__meta {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.notice-article__meta > time,
.notice-article__meta > span:not(.notice-status) {
    color: #718293;
    font-family: 'Open Sans', sans-serif;
    font-size: 9px;
}

.notice-article__meta i {
    margin-right: 5px;
    color: #20b9df;
}

.notice-article > h2 {
    margin: 0;
    color: #10263b;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.025em;
}

.notice-validity {
    display: inline-flex;
    min-height: 56px;
    margin-top: 23px;
    padding: 9px 14px;
    align-items: center;
    gap: 11px;
    color: #435c70;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    background: #eef8fb;
    border-left: 3px solid #20b9df;
    border-radius: 5px;
}

.notice-validity > i {
    color: #0d5e8f;
    font-size: 17px;
}

.notice-validity small {
    display: block;
    margin-bottom: 2px;
    color: #7890a2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.notice-article__image {
    margin: 27px 0 0;
    overflow: hidden;
    border-radius: 8px;
}

.notice-article__image img {
    display: block;
    width: 100%;
    height: auto;
}

.notice-article__content {
    margin-top: 29px;
    padding-top: 27px;
    color: #536779;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.85;
    border-top: 1px solid #e4ebf0;
}

.notice-article__content p {
    margin: 0 0 18px;
    color: #536779;
    font-size: 14px;
    line-height: 1.85;
}

.notice-article__content p:last-child {
    margin-bottom: 0;
}

.notice-article__content h2,
.notice-article__content h3,
.notice-article__content h4 {
    margin: 25px 0 10px;
    color: #10263b;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.notice-article__content ul,
.notice-article__content ol {
    margin: 0 0 20px 22px;
}

.notice-article__content li {
    margin-bottom: 7px;
}

.notice-attachment {
    display: grid;
    min-height: 70px;
    margin-top: 28px;
    padding: 12px 16px;
    grid-template-columns: 43px 1fr auto;
    align-items: center;
    gap: 12px;
    color: #10263b;
    background: #f8fafb;
    border: 1px solid #dce7ee;
    border-radius: 7px;
}

.notice-attachment:hover,
.notice-attachment:focus,
.notice-attachment:visited {
    color: #10263b;
}

.notice-attachment > span:first-child {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    color: #c94848;
    font-size: 17px;
    background: #fff0f0;
    border-radius: 50%;
}

.notice-attachment small,
.notice-attachment strong {
    display: block;
}

.notice-attachment small {
    color: #7b8b99;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.notice-attachment strong {
    color: #10263b;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.notice-article__footer {
    display: flex;
    min-height: 60px;
    margin-top: 30px;
    padding-top: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #84929e;
    font-family: 'Open Sans', sans-serif;
    font-size: 8px;
    border-top: 1px solid #e4ebf0;
}

.notice-article__footer > div {
    display: flex;
    gap: 7px;
}

.notice-article__footer button {
    display: inline-flex;
    min-height: 35px;
    padding: 0 11px;
    align-items: center;
    gap: 7px;
    color: #526779;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
    background: #f4f7f9;
    border: 1px solid #dce7ee;
    border-radius: 5px;
}

.notice-article__footer button:hover,
.notice-article__footer button:focus {
    color: #ffffff;
    background: #0d5e8f;
    border-color: #0d5e8f;
}

.notice-sidebar {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 18px;
}

.notice-sidebar__card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-radius: 10px;
    box-shadow: 0 13px 36px rgba(10,45,70,.07);
}

.notice-sidebar__card--status {
    color: rgba(255,255,255,.68);
    background: #0b2b4b;
    border-color: #0b2b4b;
}

.notice-sidebar__icon {
    display: inline-flex;
    width: 45px;
    height: 45px;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
    color: #061d33;
    font-size: 17px;
    background: #f4b844;
    border-radius: 50%;
}

.notice-sidebar__card h2 {
    margin: 6px 0 10px;
    color: #10263b;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.notice-sidebar__card--status h2 {
    color: #ffffff;
}

.notice-sidebar__card p {
    margin: 0;
    color: #687a8b;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    line-height: 1.7;
}

.notice-sidebar__card--status p {
    color: rgba(255,255,255,.63);
}

.notice-sidebar__heading {
    margin-bottom: 16px;
}

.related-notices {
    margin: 0;
}

.related-notices li {
    padding: 13px 0;
    border-bottom: 1px solid #e5ecf1;
}

.related-notices li:first-child {
    padding-top: 0;
}

.related-notices time {
    display: block;
    margin-bottom: 4px;
    color: #20a5c7;
    font-family: 'Open Sans', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.related-notices a {
    display: block;
    color: #334b60;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.55;
}

.related-notices a:hover {
    color: #0d5e8f;
}

.notice-sidebar__link {
    display: inline-flex;
    margin-top: 17px;
    align-items: center;
    gap: 8px;
    color: #0d5e8f;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
}

.notice-sidebar__link:hover,
.notice-sidebar__link:focus,
.notice-sidebar__link:visited {
    color: #0d5e8f;
}

.notice-sidebar__card--help {
    border-left: 4px solid #20b9df;
}

.notice-sidebar__card--help > a {
    display: inline-flex;
    min-height: 39px;
    margin-top: 16px;
    padding: 0 13px;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
    background: #0b2b4b;
    border-radius: 5px;
}

.notice-sidebar__card--help > a:hover,
.notice-sidebar__card--help > a:focus,
.notice-sidebar__card--help > a:visited {
    color: #ffffff;
}

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

    .notice-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notice-sidebar__card--help {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .news-page .news-hero,
    .news-page .notice-hero {
        min-height: 275px;
        padding: 53px 0 44px;
    }

    .news-hero__intro {
        font-size: 13px;
    }

    .news-archive,
    .notice-detail-section {
        padding: 57px 0 70px;
    }

    .news-archive__header {
        display: block;
        margin-bottom: 27px;
    }

    .news-archive__header h2 {
        font-size: 29px;
    }

    .news-total {
        display: inline-flex;
        margin-top: 20px;
    }

    .notice-toolbar {
        display: block;
    }

    .notice-toolbar > p {
        margin-top: 10px;
    }

    .notice-card {
        min-height: 0;
        padding: 20px;
        grid-template-columns: 60px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    .notice-card__date {
        width: 60px;
        height: 72px;
    }

    .notice-card__date strong {
        font-size: 21px;
    }

    .notice-card__icon,
    .notice-card__arrow {
        display: none;
    }

    .notice-card__content h3 {
        font-size: 15px;
    }

    .notice-card__content > p {
        grid-column: 1 / -1;
    }

    .news-help {
        display: block;
        padding: 24px;
    }

    .news-help > div {
        margin: 15px 0 18px;
    }

    .notice-article {
        padding: 25px 21px;
    }

    .notice-article > h2 {
        font-size: 23px;
        line-height: 1.45;
    }

    .notice-article__footer {
        display: block;
    }

    .notice-article__footer > div {
        margin-top: 13px;
    }

    .notice-sidebar {
        grid-template-columns: 1fr;
    }

    .notice-sidebar__card--help {
        grid-column: auto;
    }
}

@media print {
    .notice-detail-page .main-header,
    .notice-detail-page .page-hero,
    .notice-detail-page .notice-sidebar,
    .notice-detail-page .notice-back,
    .notice-detail-page .notice-article__footer button,
    .notice-detail-page .footer-cta,
    .notice-detail-page .site-footer,
    .notice-detail-page .scroll-to-top {
        display: none !important;
    }

    .notice-detail-section {
        padding: 0;
        background: #ffffff;
    }

    .notice-detail-layout {
        display: block;
    }

    .notice-article {
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .notice-card,
    .notice-filters button {
        transition: none;
    }
}
