/* =========================================================
   SINGLE NEWS
========================================================= */
.gslide-description {
    display: none;
}
.news-single-page {
    --news-accent: #2580e8;
    --news-accent-rgb: 37,128,232;

    color: #08244d;

    background:
        linear-gradient(
            180deg,
            #f6f9fe 0%,
            #ffffff 100%
        );
}

.news-single-hero__container,
.news-single__container {
    width:
        min(
            1420px,
            calc(100% - 80px)
        );

    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.news-single-hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background: #031b3b;
}

.news-single-hero__media {
    position: absolute;
    inset: 0;
}

.news-single-hero__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.news-single-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,20,46,.96) 0%,
            rgba(2,20,46,.82) 35%,
            rgba(2,20,46,.46) 64%,
            rgba(2,20,46,.16) 100%
        );
}

.news-single-hero__accent {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(
                var(--news-accent-rgb),
                .24
            ),
            transparent 44%
        );

    mix-blend-mode: screen;

    opacity: .65;
}

.news-single-hero__container {
    position: relative;
    z-index: 2;

    padding-bottom: 70px;
}

.news-single-hero__content {
    max-width: 900px;
}

.news-single-hero__category {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    padding:
        9px 14px;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius: 999px;

    color: #fff;

    background:
        rgba(
            var(--news-accent-rgb),
            .82
        );

    backdrop-filter: blur(16px);

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-single-hero__title {
    margin: 0;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            5.8vw,
            70px
        );

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.045em;
}

.news-single-hero__meta {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 25px;

    color:
        rgba(
            255,
            255,
            255,
            .76
        );

    font-size: 13px;
}


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.news-single {
    padding:
        80px 0
        110px;
}

.news-single__layout {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        310px;

    gap: 38px;

    align-items: start;
}


/* =========================================================
   ARTICLE
========================================================= */

.news-single__article {
    min-width: 0;

    padding: 46px;

    border:
        1px solid
        rgba(10,41,85,.07);

    border-radius: 30px;

    background:
        rgba(255,255,255,.88);

    box-shadow:
        0 28px 70px
        rgba(8,37,80,.07);

    backdrop-filter:
        blur(22px);
}

.news-single__content {
    color: #3f5572;

    font-size: 17px;
    line-height: 1.85;
}

.news-single__content > *:first-child {
    margin-top: 0;
}

.news-single__content p {
    margin:
        0 0 26px;
}

.news-single__content h2,
.news-single__content h3 {
    color: #08244d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}

.news-single__content h2 {
    margin:
        48px 0 18px;

    font-size:
        clamp(
            30px,
            3vw,
            42px
        );
}

.news-single__content h3 {
    margin:
        36px 0 15px;

    font-size: 27px;
}

.news-single__content a {
    color:
        var(--news-accent);
}

.news-single__content blockquote {
    position: relative;

    margin:
        42px 0;

    padding:
        30px 34px 30px 46px;

    border-left:
        3px solid
        var(--news-accent);

    border-radius:
        0 20px 20px 0;

    color: #08244d;

    background:
        rgba(
            var(--news-accent-rgb),
            .07
        );

    font-family:
        Georgia,
        serif;

    font-size: 21px;
    line-height: 1.55;
}


/* =========================================================
   GALLERY
========================================================= */

.news-single-gallery {
    margin-top: 70px;

    padding-top: 50px;

    border-top:
        1px solid
        rgba(10,41,85,.08);
}

.news-single-gallery__grid {
    display: grid;

    grid-template-columns:
        repeat(12, minmax(0, 1fr));

    grid-auto-rows: 170px;

    gap: 16px;
}

.news-gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 22px;

    background: #eaf0f8;

    box-shadow:
        0 18px 45px
        rgba(7,34,72,.08);

    cursor: zoom-in;
}


/* 1 */
.news-gallery-item:nth-child(6n + 1) {
    grid-column: span 7;
    grid-row: span 3;
}

/* 2 */
.news-gallery-item:nth-child(6n + 2) {
    grid-column: span 5;
    grid-row: span 2;
}

/* 3 */
.news-gallery-item:nth-child(6n + 3) {
    grid-column: span 5;
    grid-row: span 2;
}

/* 4 */
.news-gallery-item:nth-child(6n + 4) {
    grid-column: span 4;
    grid-row: span 2;
}

/* 5 */
.news-gallery-item:nth-child(6n + 5) {
    grid-column: span 4;
    grid-row: span 2;
}

/* 6 */
.news-gallery-item:nth-child(6n + 6) {
    grid-column: span 4;
    grid-row: span 2;
}


.news-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s
        cubic-bezier(.22,1,.36,1);
}

.news-gallery-item:hover img {
    transform: scale(1.045);
}

.news-gallery-item__overlay {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(3,22,48,.28)
        );

    opacity: 0;

    transition:
        opacity .3s ease;
}

.news-gallery-item:hover
.news-gallery-item__overlay {
    opacity: 1;
}

.news-gallery-item__overlay span {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.45);

    border-radius: 50%;

    color: #fff;

    background:
        rgba(255,255,255,.14);

    backdrop-filter: blur(14px);

    font-size: 28px;
    font-weight: 300;
}


@media (max-width: 800px) {

    .news-single-gallery__grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        grid-auto-rows: 220px;
    }

    .news-gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .news-gallery-item:first-child {
        grid-column: 1 / -1 !important;
        grid-row: span 2 !important;
    }
}


@media (max-width: 520px) {

    .news-single-gallery__grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 260px;
    }

    .news-gallery-item,
    .news-gallery-item:first-child {
        grid-column: auto !important;
        grid-row: auto !important;
    }

}

.news-single-gallery__heading {
    margin-bottom: 28px;
}

.news-single-gallery__eyebrow {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    color:
        var(--news-accent);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .13em;

    text-transform: uppercase;
}

.news-single-gallery__eyebrow span {
    width: 30px;
    height: 2px;

    background:
        currentColor;
}

.news-single-gallery__heading h2 {
    margin: 0;

    color: #08244d;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            36px,
            4vw,
            52px
        );

    font-weight: 400;
}




/* =========================================================
   SHARE
========================================================= */

.news-single-share {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 48px;

    padding-top: 26px;

    border-top:
        1px solid
        rgba(10,41,85,.08);
}

.news-single-share > span {
    color: #08244d;

    font-weight: 700;
}

.news-single-share__links {
    display: flex;

    gap: 9px;
}

.news-single-share__links a,
.news-single-share__links button {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(10,41,85,.09);

    border-radius: 50%;

    color:
        var(--news-accent);

    background: #fff;

    text-decoration: none;

    cursor: pointer;
}


/* =========================================================
   PREV NEXT
========================================================= */

.news-single-nav {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap: 14px;

    margin-top: 28px;
}

.news-single-nav__item {
    min-height: 105px;

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 18px;

    border:
        1px solid
        rgba(10,41,85,.08);

    border-radius: 18px;

    color: #08244d;

    background:
        rgba(247,250,255,.88);

    text-decoration: none;
}

.news-single-nav__item--next {
    justify-content: flex-end;

    text-align: right;
}

.news-single-nav__item small,
.news-single-nav__item strong {
    display: block;
}

.news-single-nav__item small {
    margin-bottom: 6px;

    color:
        var(--news-accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .07em;

    text-transform: uppercase;
}

.news-single-nav__item strong {
    font-size: 14px;
    line-height: 1.35;
}

.news-single-nav__arrow {
    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff;

    background:
        var(--news-accent);
}


/* =========================================================
   SIDEBAR
========================================================= */

.news-single-sidebar {
    position: sticky;

    top: 0px;

    display: grid;

    gap: 22px;
}

.news-single-sidebar__card {
    padding: 28px;

    border:
        1px solid
        rgba(10,41,85,.08);

    border-radius: 24px;

    background:
        rgba(255,255,255,.90);

    box-shadow:
        0 22px 55px
        rgba(8,41,90,.07);
}

.news-single-sidebar__heading {
    margin-bottom: 20px;
}

.news-single-sidebar__heading h2 {
    margin: 0;

    color: #08244d;

    font-size: 19px;
}

.news-single-sidebar__heading span {
    width: 34px;
    height: 2px;

    display: block;

    margin-top: 13px;

    background:
        var(--news-accent);
}

.news-single-sidebar__card > p {
    margin:
        0 0 22px;

    color: #6c7e96;

    font-size: 14px;
    line-height: 1.65;
}

.news-single-sidebar__button {
    min-height: 52px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        0 18px;

    border-radius: 12px;

    color: #fff;

    background:
        var(--news-accent);

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}


/* RELATED */

.news-single-related {
    display: grid;

    gap: 16px;
}

.news-single-related__item {
    display: grid;

    grid-template-columns:
        82px
        minmax(0,1fr);

    gap: 13px;

    align-items: center;

    color: #08244d;

    text-decoration: none;
}

.news-single-related__item img {
    width: 82px;
    height: 70px;

    border-radius: 12px;

    object-fit: cover;
}

.news-single-related__item small {
    display: block;

    margin-bottom: 4px;

    color:
        var(--news-accent);

    font-size: 10px;
}

.news-single-related__item strong {
    display: block;

    font-size: 13px;

    line-height: 1.35;
}


/* MORE NEWS */

.news-single-sidebar__more {
    margin-top: 30px;
    color: #fff;

    background:
        linear-gradient(
            145deg,
            rgba(
                var(--news-accent-rgb),
                .96
            ),
            #08295a
        );
}

.news-single-sidebar__more h2 {
    margin:
        0 0 25px;

    font-family:
        Georgia,
        serif;

    font-size: 28px;
    font-weight: 400;
}

.news-single-sidebar__more a {
    min-height: 50px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        0 16px;

    border-radius: 11px;

    color: #08244d;

    background: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .news-single__layout {
        grid-template-columns: 1fr;
    }

    .news-single-sidebar {
        position: static;

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

}


@media (max-width: 700px) {

    .news-single-hero__container,
    .news-single__container {
        width:
            calc(
                100% - 32px
            );
    }

    .news-single-hero {
        min-height: 540px;
    }

    .news-single-hero__title {
        font-size: 49px;
    }

    .news-single__article {
        padding: 24px;
    }


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

    .news-single-nav {
        grid-template-columns: 1fr;
    }

}