*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #f5f8fc;

    color: #24364b;

    font-family:
        "Segoe UI",
        "Open Sans",
        Arial,
        sans-serif;
}

.news-page-header {
    width: 100%;

    padding: 34px 25px 38px;

    background:
        linear-gradient(
            135deg,
            #082b58,
            #0b3d75
        );

    color: #ffffff;
}

.news-page-header-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}

.news-back-home {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    margin-bottom: 28px;

    color: #d8eaff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.news-back-home:hover {
    color: #ffffff;
}

.news-header-title span {
    display: block;

    margin-bottom: 5px;

    color: #72c2f2;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.news-header-title h1 {
    margin: 0;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.15;
}

.news-header-title p {
    max-width: 650px;

    margin:
        12px 0 0;

    color:
        rgba(255,255,255,.82);

    font-size: 14px;

    line-height: 1.6;
}

.news-list-wrapper {
    width: calc(100% - 40px);
    max-width: 1400px;

    margin: 0 auto;

    padding: 48px 0 60px;
}

.news-list-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 27px;
}

.news-list-heading span {
    color: #0072bc;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.news-list-heading h2 {
    position: relative;

    margin:
        4px 0 0;

    padding-bottom: 11px;

    color: #0b3264;

    font-size: 28px;
    font-weight: 800;
}

.news-list-heading h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 52px;
    height: 3px;

    border-radius: 20px;

    background: #0072bc;
}

.news-total {
    display: flex;

    align-items: center;
    gap: 7px;

    padding:
        9px 14px;

    border:
        1px solid #d8e2ed;

    border-radius: 20px;

    background: #ffffff;

    color: #52667d;

    font-size: 12px;
    font-weight: 600;
}

.news-list-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.news-list-card {
    overflow: hidden;

    margin: 0;

    border:
        1px solid #dde6ef;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 4px 17px
        rgba(11, 50, 100, .06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.news-list-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 12px 30px
        rgba(11, 50, 100, .13);
}

.news-list-link {
    display: flex;

    flex-direction: column;

    height: 100%;

    color: inherit;

    text-decoration: none;
}

.news-list-image {
    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #e9eff5;
}

.news-list-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .4s ease;
}

.news-list-card:hover
.news-list-image img {
    transform:
        scale(1.04);
}

.news-list-no-image {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #0b3264;

    font-size: 55px;

    background:
        linear-gradient(
            135deg,
            #eaf1f8,
            #f8fafc
        );
}

.news-list-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 20px;
}

.news-list-date {
    display: flex;

    align-items: center;
    gap: 6px;

    color: #75869a;

    font-size: 11px;
    font-weight: 600;
}

.news-list-body h3 {
    margin:
        10px 0 9px;

    color: #0b3264;

    font-size: 17px;
    font-weight: 750;

    line-height: 1.35;
}

.news-list-body p {
    margin:
        0 0 18px;

    color: #65778b;

    font-size: 13px;

    line-height: 1.55;
}

.news-list-read {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    margin-top: auto;

    color: #0072bc;

    font-size: 12px;
    font-weight: 700;
}

.news-pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 42px;
}

.news-pagination a {
    min-width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border:
        1px solid #d3deea;

    border-radius: 7px;

    background: #ffffff;

    color: #0b3264;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s;
}

.news-pagination a:hover {
    border-color: #0b3264;

    background: #eef5fc;
}

.news-pagination a.active {
    border-color: #0b3264;

    background: #0b3264;

    color: #ffffff;
}

.news-page-dots {
    padding: 0 4px;

    color: #7d8da0;
}

.news-detail-wrapper {
    width: calc(100% - 40px);
    max-width: 1100px;

    margin: 0 auto;

    padding: 48px 0 70px;
}

.news-detail {
    overflow: hidden;

    padding: 35px;

    border:
        1px solid #dde6ef;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 7px 25px
        rgba(11, 50, 100, .07);
}

.news-detail-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.news-return {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    color: #0072bc;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.news-detail-date {
    display: inline-flex;

    align-items: center;
    gap: 6px;

    color: #75869a;

    font-size: 12px;
}

.news-detail-title {
    max-width: 900px;

    margin:
        0 0 28px;

    color: #0b3264;

    font-size: 34px;
    font-weight: 800;

    line-height: 1.25;
}

.news-detail-image {
    width: 100%;

    margin-bottom: 30px;

    overflow: hidden;

    border-radius: 12px;

    background: #edf2f7;
}

.news-detail-image img {
    width: 100%;

    max-height: 650px;

    display: block;

    object-fit: contain;

    background: #f5f7fa;
}

.news-detail-content {
    color: #34495e;

    font-size: 15px;

    line-height: 1.8;

    overflow-wrap: anywhere;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
}

.news-detail-content p {
    margin:
        0 0 18px;
}

.news-detail-gallery {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    margin-top: 32px;
}

.news-gallery-item {
    overflow: hidden;

    border-radius: 10px;

    background: #edf2f7;
}

.news-gallery-item img {
    width: 100%;
    height: 300px;

    display: block;

    object-fit: cover;
}

.news-detail-footer {
    margin-top: 35px;

    padding-top: 25px;

    border-top:
        1px solid #e2e8f0;
}

.news-return-bottom {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding:
        10px 17px;

    border-radius: 7px;

    background: #0b3264;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.news-empty {
    width: calc(100% - 40px);
    max-width: 650px;

    margin: 70px auto;

    padding: 50px 25px;

    text-align: center;

    border:
        1px solid #dde6ef;

    border-radius: 14px;

    background: #ffffff;
}

.news-empty > i {
    margin-bottom: 15px;

    color: #0b3264;

    font-size: 55px;
}

.news-empty h2 {
    margin:
        0 0 8px;

    color: #0b3264;
}

.news-empty p {
    color: #6c7e91;
}

.news-empty a {
    display: inline-block;

    margin-top: 12px;

    padding:
        10px 18px;

    border-radius: 7px;

    background: #0b3264;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .news-list-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .news-detail-title {
        font-size: 29px;
    }

}

@media (max-width: 575.98px) {

    .news-page-header {
        padding:
            25px 17px 30px;
    }

    .news-back-home {
        margin-bottom: 22px;
    }

    .news-header-title h1 {
        font-size: 29px;
    }

    .news-header-title p {
        font-size: 12.5px;
    }

    .news-list-wrapper {
        width: calc(100% - 28px);

        padding:
            34px 0 45px;
    }

    .news-list-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .news-list-heading h2 {
        font-size: 23px;
    }

    .news-list-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .news-list-card {
        border-radius: 10px;
    }

    .news-list-link {
        flex-direction: row;
    }

    .news-list-image {
        width: 125px;
        min-width: 125px;

        aspect-ratio: auto;
    }

    .news-list-body {
        padding: 13px;
    }

    .news-list-body h3 {
        margin:
            7px 0 10px;

        font-size: 13px;
    }

    .news-list-body p {
        display: none;
    }

    .news-detail-wrapper {
        width: calc(100% - 24px);

        padding:
            25px 0 45px;
    }

    .news-detail {
        padding: 19px;

        border-radius: 11px;
    }

    .news-detail-top {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 18px;
    }

    .news-detail-title {
        margin-bottom: 20px;

        font-size: 23px;
    }

    .news-detail-image {
        margin-bottom: 22px;
    }

    .news-detail-content {
        font-size: 14px;

        line-height: 1.7;
    }

    .news-detail-gallery {
        grid-template-columns: 1fr;
    }

    .news-gallery-item img {
        height: auto;
    }

}