/* =========================================================
   NEWS VIEW PAGE
========================================================= */

.news-view-page {
    background: #fff;
}

/* =========================================================
   HERO
========================================================= */

.news-view-hero {
    position: relative;

    padding: 35px 0 65px;

    background:
        linear-gradient(
            135deg,
            #00152F,
            #062D5A
        );

    overflow: hidden;
}

.news-view-hero::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -170px;
    top: -210px;

    border: 1px solid rgba(242,182,50,.16);

    border-radius: 50%;
}

.news-view-breadcrumb {
    position: relative;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 45px;

    color: rgba(255,255,255,.45);

    font-size: 10px;
}

.news-view-breadcrumb a {
    color: rgba(255,255,255,.68);

    text-decoration: none;
}

.news-view-breadcrumb a:hover {
    color: #F2B632;
}

.news-view-hero-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 120px;

    align-items: center;

    gap: 50px;
}

.news-view-hero-content {
    max-width: 900px;
}

.news-view-category {
    display: inline-block;

    margin-bottom: 15px;

    padding-left: 12px;

    border-left: 3px solid #F2B632;

    color: #F2B632;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.news-view-hero h1 {
    margin: 0;

    color: #fff;

    font-family: 'Playfair Display', serif;

    font-size: clamp(38px, 4.8vw, 62px);

    line-height: 1.08;

    max-width: 900px;
}

.news-view-meta {
    display: flex;

    margin-top: 25px;
}

.news-meta-item {
    display: flex;

    align-items: center;

    gap: 10px;
}

.news-meta-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border: 1px solid rgba(242,182,50,.35);

    color: #F2B632;

    font-size: 11px;
}

.news-meta-item small {
    display: block;

    margin-bottom: 2px;

    color: rgba(255,255,255,.42);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.news-meta-item strong {
    color: #fff;

    font-size: 11px;

    font-weight: 500;
}

/* =========================================================
   DATE CARD
========================================================= */

.news-view-date-card {
    width: 120px;
    height: 135px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: #D99A00;

    text-align: center;

    box-shadow:
        0 18px 45px rgba(0,0,0,.18);
}

.news-view-date-card span {
    color: #001B3D;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.news-view-date-card strong {
    margin: 2px 0;

    color: #fff;

    font-family: 'Playfair Display', serif;

    font-size: 58px;

    line-height: 1;
}

.news-view-date-card small {
    color: rgba(255,255,255,.8);

    font-size: 10px;
}

/* =========================================================
   CONTENT
========================================================= */

.news-view-content-section {
    padding: 70px 0 100px;
}

.news-view-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 65px;

    align-items: start;
}

/* =========================================================
   FEATURED IMAGE
========================================================= */

.news-view-featured-image {
    margin: 0 0 30px;

    width: 100%;

    overflow: hidden;

    background: #EEF5FF;
}

.news-view-featured-image img {
    display: block;

    width: 100%;

    max-height: 620px;

    object-fit: cover;
}

/* =========================================================
   PUBLISHED
========================================================= */

.news-view-published {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 32px;

    padding-bottom: 18px;

    border-bottom: 1px solid #e7ebf1;
}

.news-published-label {
    color: #D99A00;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.news-view-published strong {
    color: #001B3D;

    font-size: 12px;

    font-weight: 600;
}

/* =========================================================
   ARTICLE CONTENT
========================================================= */

.news-view-article-content {
    color: #344054;

    font-size: 15px;

    line-height: 1.9;
}

.news-view-article-content p {
    margin-bottom: 20px;
}

.news-view-article-content h2,
.news-view-article-content h3,
.news-view-article-content h4 {
    margin-top: 35px;

    margin-bottom: 15px;

    color: #001B3D;

    font-family: 'Playfair Display', serif;
}

.news-view-article-content img {
    max-width: 100%;

    height: auto;
}

/* =========================================================
   GALLERY
========================================================= */

.news-view-gallery {
    margin-top: 65px;

    padding-top: 50px;

    border-top: 1px solid #e7ebf1;
}

.news-gallery-heading {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 25px;
}

.news-gallery-heading h2 {
    margin: 0;

    color: #001B3D;

    font-family: 'Playfair Display', serif;

    font-size: 32px;

    line-height: 1.2;
}

.news-photo-count {
    color: #7A8494;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;
}

/* =========================================================
   GALLERY GRID
========================================================= */

.news-gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.news-gallery-item {
    position: relative;

    display: block;

    width: 100%;

    height: 190px;

    padding: 0;

    overflow: hidden;

    border: 0;

    background: #EEF5FF;

    cursor: pointer;
}

.news-gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease,
        filter .3s ease;
}

.news-gallery-item:hover img {
    transform: scale(1.05);

    filter: brightness(.75);
}

.news-gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    background: rgba(0,27,61,.35);

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    opacity: 0;

    transition: opacity .25s ease;
}

.news-gallery-item:hover
.news-gallery-overlay {
    opacity: 1;
}

.news-gallery-view-icon {
    font-size: 15px;
}

/* =========================================================
   BACK
========================================================= */

.news-view-back {
    margin-top: 55px;

    padding-top: 25px;

    border-top: 1px solid #e7ebf1;
}

.news-view-back a {
    color: #001B3D;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;
}

.news-view-back a span {
    margin-right: 7px;

    transition: margin .2s ease;
}

.news-view-back a:hover {
    color: #D99A00;
}

.news-view-back a:hover span {
    margin-right: 12px;
}

/* =========================================================
   SIDEBAR
========================================================= */

.news-view-sidebar {
    position: sticky;

    top: 30px;
}

.news-sidebar-card {
    padding: 28px;

    background: #F7F9FC;

    border-top: 4px solid #D99A00;
}

.news-sidebar-card h3 {
    margin: 0 0 25px;

    color: #001B3D;

    font-family: 'Playfair Display', serif;

    font-size: 23px;

    line-height: 1.3;
}

.news-sidebar-detail {
    display: flex;

    gap: 12px;

    padding: 16px 0;

    border-top: 1px solid #e1e6ec;
}

.news-sidebar-icon {
    color: #D99A00;

    font-size: 12px;
}

.news-sidebar-detail small {
    display: block;

    margin-bottom: 3px;

    color: #8A94A3;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.news-sidebar-detail strong {
    display: block;

    color: #001B3D;

    font-size: 12px;

    line-height: 1.5;
}

/* =========================================================
   SIDEBAR CTA
========================================================= */

.news-sidebar-cta {
    margin-top: 20px;

    padding: 28px;

    background: #001B3D;
}

.news-sidebar-cta > span {
    color: #F2B632;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.8px;
}

.news-sidebar-cta h3 {
    margin: 10px 0;

    color: #fff;

    font-family: 'Playfair Display', serif;

    font-size: 26px;
}

.news-sidebar-cta p {
    margin: 0 0 22px;

    color: rgba(255,255,255,.65);

    font-size: 11px;

    line-height: 1.7;
}

.news-sidebar-cta a {
    color: #F2B632;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-decoration: none;
}

.news-sidebar-cta a span {
    margin-left: 5px;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.news-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    background: rgba(0,10,25,.94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.news-lightbox.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.news-lightbox-content {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    max-width: min(1200px, 88vw);

    max-height: 90vh;
}

.news-lightbox-content img {
    display: block;

    max-width: 100%;

    max-height: 78vh;

    width: auto;

    height: auto;

    object-fit: contain;

    box-shadow:
        0 25px 80px rgba(0,0,0,.45);
}

/* =========================================================
   LIGHTBOX BOTTOM
========================================================= */

.news-lightbox-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    gap: 30px;

    margin-top: 15px;
}

.news-lightbox-bottom span {
    color: rgba(255,255,255,.75);

    font-size: 11px;
}

.news-lightbox-title {
    overflow: hidden;

    color: rgba(255,255,255,.55) !important;

    text-align: right;

    white-space: nowrap;

    text-overflow: ellipsis;
}

/* =========================================================
   CLOSE
========================================================= */

.news-lightbox-close {
    position: absolute;

    top: 25px;

    right: 30px;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 30px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;
}

.news-lightbox-close:hover {
    background: rgba(255,255,255,.18);
}

/* =========================================================
   ARROWS
========================================================= */

.news-lightbox-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    transform: translateY(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 72px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.2);

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 50px;

    font-weight: 200;

    line-height: 1;

    cursor: pointer;
}

.news-lightbox-arrow:hover {
    background: rgba(255,255,255,.18);
}

.news-lightbox-prev {
    left: 25px;
}

.news-lightbox-next {
    right: 25px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .news-view-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .news-view-sidebar {
        position: static;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 20px;
    }

    .news-sidebar-cta {
        margin-top: 0;
    }

}

@media (max-width: 768px) {

    .news-view-hero {
        padding: 30px 0 55px;
    }

    .news-view-breadcrumb {
        margin-bottom: 35px;
    }

    .news-view-hero-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .news-view-date-card {
        width: 105px;

        height: 120px;
    }

    .news-view-date-card strong {
        font-size: 50px;
    }

    .news-view-content-section {
        padding: 55px 0 75px;
    }

    .news-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-gallery-item {
        height: 180px;
    }

    .news-view-sidebar {
        grid-template-columns: 1fr;
    }

    /* LIGHTBOX */

    .news-lightbox {
        padding: 25px;
    }

    .news-lightbox-content {
        max-width: 92vw;
    }

    .news-lightbox-content img {
        max-height: 72vh;
    }

    .news-lightbox-arrow {
        width: 45px;

        height: 55px;

        font-size: 38px;
    }

    .news-lightbox-prev {
        left: 10px;
    }

    .news-lightbox-next {
        right: 10px;
    }

    .news-lightbox-close {
        top: 15px;

        right: 15px;

        width: 42px;

        height: 42px;

        font-size: 26px;
    }

}

@media (max-width: 576px) {

    .news-view-hero h1 {
        font-size: 38px;
    }

    .news-view-meta {
        flex-wrap: wrap;
    }

    .news-view-article-content {
        font-size: 15px;
    }

    .news-gallery-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .news-gallery-heading h2 {
        font-size: 29px;
    }

    .news-gallery-grid {
        grid-template-columns: 1fr;
    }

    .news-gallery-item {
        height: 230px;
    }

    .news-view-sidebar {
        grid-template-columns: 1fr;
    }

    /* MOBILE LIGHTBOX */

    .news-lightbox {
        padding: 15px;
    }

    .news-lightbox-content {
        max-width: 94vw;
    }

    .news-lightbox-content img {
        max-width: 94vw;

        max-height: 68vh;
    }

    .news-lightbox-arrow {
        top: auto;

        bottom: 35px;

        transform: none;

        width: 48px;

        height: 48px;

        border-radius: 50%;

        font-size: 34px;
    }

    .news-lightbox-prev {
        left: calc(50% - 60px);
    }

    .news-lightbox-next {
        right: calc(50% - 60px);
    }

}
