:root {
    --navy: #032d53;
    --navy-dark: #011d38;
    --navy-light: #075c91;

    --green: #8dc63f;
    --green-dark: #679b28;
    --green-soft: #f1f8e7;

    --cyan: #00a7b7;

    --text: #1a2836;
    --muted: #657382;

    --bg: #f5f7f9;
    --white: #ffffff;
    --border: #e5e9ec;

    --shadow:
        0 18px 50px rgba(4, 36, 65, .10);
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family: "Inter", sans-serif;

    line-height: 1.75;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}



/* =====================================================
   TOP BAR
===================================================== */

.topbar {
    position: relative;
    z-index: 20;

    background: var(--navy-dark);
    color: white;
}


.topbar-inner {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


.brand {
    font-size: 13px;
    font-weight: 800;

    letter-spacing: .3px;
}


.back-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,.78);

    font-size: 12px;
    font-weight: 600;

    transition:
        color .2s ease;
}


.back-link:hover {
    color: var(--green);
}



/* =====================================================
   HERO SLIDER
===================================================== */

.article-hero {
    position: relative;

    overflow: hidden;

    min-height: 650px;

    display: flex;
    align-items: flex-end;

    color: white;

    background: var(--navy-dark);
}


.hero-slider {
    position: absolute;
    inset: 0;

    z-index: 1;
}


.hero-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1.1s ease,
        visibility 1.1s ease;
}


.hero-slide.active {
    opacity: 1;
    visibility: visible;
}


.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.04);

    transition:
        transform 7s ease;
}


.hero-slide.active img {
    transform: scale(1);
}



/* LEFT OVERLAY */

.article-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(1, 22, 43, .93) 0%,
            rgba(1, 33, 61, .76) 35%,
            rgba(1, 28, 50, .30) 70%,
            rgba(1, 23, 41, .20) 100%
        );
}



/* BOTTOM OVERLAY */

.article-hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 270px;

    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(1, 23, 43, .95)
        );
}



/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 970px;

    padding:
        120px 0 72px;
}


.article-label {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding:
        8px 14px;

    margin-bottom: 20px;

    border-radius: 100px;

    background:
        rgba(141, 198, 63, .17);

    border:
        1px solid
        rgba(190, 230, 130, .30);

    backdrop-filter:
        blur(7px);

    color: #c7ec93;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.article-label::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);
}


.article-hero h1 {
    margin:
        0 0 23px;

    max-width: 970px;

    font-size:
        clamp(38px, 5vw, 65px);

    line-height: 1.07;

    letter-spacing: -2px;

    text-shadow:
        0 4px 25px
        rgba(0, 0, 0, .30);
}


.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    color:
        rgba(255, 255, 255, .73);

    font-size: 12px;
    font-weight: 600;
}


.hero-meta strong {
    color: white;
}



/* =====================================================
   HERO NAVIGATION
===================================================== */

.hero-slider-nav {
    position: absolute;

    z-index: 7;

    right:
        max(
            20px,
            calc((100vw - 1180px) / 2)
        );

    bottom: 70px;

    display: flex;
    align-items: center;

    gap: 14px;
}


.slider-arrows {
    display: flex;

    gap: 8px;
}


.slider-button {
    appearance: none;

    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    border:
        1px solid
        rgba(255, 255, 255, .22);

    border-radius: 50%;

    background:
        rgba(1, 28, 51, .56);

    backdrop-filter:
        blur(10px);

    color: white;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        border-color .25s ease;
}


.slider-button:hover {
    background: var(--green);

    border-color: var(--green);

    transform:
        translateY(-2px);
}



/* DOTS */

.slider-dots {
    display: flex;
    align-items: center;

    gap: 7px;

    padding:
        8px 11px;

    border-radius: 100px;

    background:
        rgba(1, 28, 51, .55);

    backdrop-filter:
        blur(8px);
}


.slider-dot {
    appearance: none;

    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 100px;

    background:
        rgba(255, 255, 255, .45);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease;
}


.slider-dot.active {
    width: 25px;

    background: var(--green);
}



/* COUNTER */

.slider-counter {
    min-width: 55px;

    color:
        rgba(255,255,255,.76);

    font-size: 11px;
    font-weight: 600;

    text-align: center;
}


.slider-counter strong {
    color: white;

    font-size: 14px;
}



/* =====================================================
   ARTICLE WRAPPER
===================================================== */

.article-section {
    position: relative;

    z-index: 5;

    margin-top: -18px;

    padding:
        0 0 90px;
}


.article-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    gap: 45px;

    align-items: start;
}


.article-card {
    overflow: hidden;

    background: white;

    border-radius: 24px;

    box-shadow:
        var(--shadow);
}



/* =====================================================
   MAIN PHOTO
===================================================== */

.main-photo {
    position: relative;

    aspect-ratio:
        16 / 8.5;

    overflow: hidden;
}


.main-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.photo-caption {
    position: absolute;

    left: 20px;
    bottom: 18px;

    padding:
        8px 12px;

    border-radius: 100px;

    background:
        rgba(1, 24, 46, .72);

    backdrop-filter:
        blur(7px);

    color:
        rgba(255,255,255,.85);

    font-size: 10px;
    font-weight: 600;
}



/* =====================================================
   ARTICLE BODY
===================================================== */

.article-body {
    padding:
        clamp(32px, 5vw, 64px);
}


.article-lead {
    margin:
        0 0 28px;

    color: #273849;

    font-size: 18px;

    line-height: 1.8;
}


.article-body p {
    margin:
        0 0 25px;

    font-size: 15px;

    line-height: 1.9;
}


.article-body strong {
    color:
        var(--navy-dark);
}


.article-body em {
    color: #405567;
}



/* =====================================================
   QUOTES
===================================================== */

.quote-box {
    position: relative;

    margin:
        38px 0;

    padding:
        32px 32px 32px 38px;

    border-left:
        5px solid
        var(--green);

    border-radius:
        0 18px 18px 0;

    background:
        linear-gradient(
            135deg,
            #f4f9ed,
            #f8fbf5
        );
}


.quote-box::before {
    content: "“";

    position: absolute;

    right: 22px;
    top: -17px;

    color:
        rgba(141,198,63,.19);

    font-size: 100px;
    font-weight: 800;

    line-height: 1;
}


.quote-box p {
    position: relative;

    z-index: 2;

    margin:
        0 0 13px;

    color:
        var(--navy);

    font-size: 18px;
    font-weight: 600;

    line-height: 1.7;
}


.quote-source {
    position: relative;

    z-index: 2;

    color:
        var(--green-dark);

    font-size: 12px;
    font-weight: 700;
}


.quote-box-final {
    background:
        linear-gradient(
            135deg,
            #edf7e3,
            #f8fcf3
        );
}



/* =====================================================
   ARTICLE IMAGE
===================================================== */

.article-image {
    margin:
        42px 0;
}


.article-image img {
    width: 100%;

    aspect-ratio:
        16 / 8.5;

    object-fit: cover;

    border-radius: 18px;
}


.article-image-caption {
    padding-top: 9px;

    color:
        var(--muted);

    font-size: 10px;
}



/* =====================================================
   CONTACT
===================================================== */

.contact-box {
    margin-top: 45px;

    padding:
        25px 27px;

    border:
        1px solid
        #dfe9d4;

    border-radius: 16px;

    background:
        var(--green-soft);
}


.contact-label {
    margin-bottom: 8px;

    color:
        var(--green-dark);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.contact-name {
    color:
        var(--navy);

    font-size: 14px;
    font-weight: 700;
}


.contact-phone {
    margin-top: 2px;

    color:
        var(--muted);

    font-size: 13px;
}



/* =====================================================
   SIDEBAR
===================================================== */

.sidebar {
    position: sticky;

    top: 28px;
}


.side-card {
    overflow: hidden;

    margin-bottom: 20px;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background: white;
}


.side-card-title {
    padding:
        18px 20px;

    border-bottom:
        1px solid
        var(--border);

    color:
        var(--navy);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .8px;
}


.event-info {
    padding: 20px;
}


.event-row {
    display: flex;

    gap: 12px;

    padding:
        13px 0;
}


.event-row + .event-row {
    border-top:
        1px solid
        #edf0f2;
}


.event-icon {
    flex:
        0 0 36px;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background:
        var(--green-soft);

    color:
        var(--green-dark);
}


.event-name {
    color:
        var(--muted);

    font-size: 9px;

    letter-spacing: .5px;

    text-transform: uppercase;
}


.event-value {
    margin-top: 2px;

    color:
        var(--navy);

    font-size: 11px;
    font-weight: 700;

    line-height: 1.45;
}



/* THEME CARD */

.theme-card {
    padding: 22px;

    color: white;

    border-radius: 18px;

    background:
        linear-gradient(
            140deg,
            var(--navy),
            #08749a
        );

    box-shadow:
        0 12px 30px
        rgba(3, 46, 81, .10);
}


.theme-small {
    margin-bottom: 8px;

    color:
        rgba(255,255,255,.57);

    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.theme-title {
    margin: 0;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 800;
}


.theme-title span {
    color: #a6d768;
}



/* =====================================================
   BOTTOM NAV
===================================================== */

.bottom-nav {
    margin-top: 45px;

    padding-top: 28px;

    border-top:
        1px solid
        var(--border);
}


.back-button {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding:
        12px 18px;

    border-radius: 10px;

    background:
        var(--navy);

    color: white;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}


.back-button:hover {
    transform:
        translateY(-2px);

    background:
        var(--navy-light);
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .article-layout {
        grid-template-columns:
            1fr;
    }


    .sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;
    }


    .side-card {
        margin-bottom: 0;
    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .container {
        width:
            min(100% - 28px, 1180px);
    }


    .topbar-inner {
        min-height: 58px;
    }


    .brand {
        font-size: 11px;
    }


    .back-link {
        font-size: 10px;
    }


    .article-hero {
        min-height: 650px;
    }


    .hero-slide img {
        object-position:
            center center;
    }


    .hero-slide:nth-child(3) img,
    .hero-slide:nth-child(4) img {
        object-position:
            58% center;
    }


    .article-hero::before {
        background:
            linear-gradient(
                to top,
                rgba(1, 23, 43, .98) 5%,
                rgba(1, 31, 56, .82) 42%,
                rgba(1, 26, 47, .25) 78%
            );
    }


    .article-hero::after {
        height: 310px;
    }


    .hero-content {
        padding:
            260px 0 110px;
    }


    .article-hero h1 {
        font-size: 35px;

        letter-spacing: -1.4px;

        line-height: 1.1;
    }


    .hero-meta {
        font-size: 11px;
    }


    .hero-slider-nav {
        left: 14px;
        right: 14px;

        bottom: 28px;

        justify-content:
            space-between;

        gap: 8px;
    }


    .slider-button {
        width: 38px;
        height: 38px;
    }


    .slider-counter {
        min-width: 45px;
    }


    .article-section {
        margin-top: -12px;
    }


    .article-card {
        border-radius: 20px;
    }


    .main-photo {
        aspect-ratio:
            4 / 3;
    }


    .article-body {
        padding:
            28px 23px;
    }


    .article-lead {
        font-size: 16px;
    }


    .article-body p {
        font-size: 14px;
    }


    .quote-box {
        padding:
            27px 24px
            27px 27px;
    }


    .quote-box p {
        font-size: 16px;
    }


    .article-image {
        margin:
            32px 0;
    }


    .article-image img {
        aspect-ratio:
            auto;
    }


    .sidebar {
        grid-template-columns:
            1fr;
    }

}



/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .brand {
        max-width: 160px;

        line-height: 1.3;
    }


    .article-hero h1 {
        font-size: 31px;
    }


    .slider-counter {
        display: none;
    }


    .slider-dots {
        padding:
            7px 9px;
    }

}



/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }


    *,
    *::before,
    *::after {
        transition:
            none !important;

        animation:
            none !important;
    }

}