/* ========================================
   INSIGHTS PAGE
======================================== */

.insights-container {
    width: calc(100% - 160px);
    max-width: 1240px;
    margin: 0 auto;
}


/* ========================================
   INSIGHTS HERO
======================================== */

.insights-hero {
    position: relative;

    padding: 170px 0 78px;

    overflow: hidden;

    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    background: #ffffff;
}

.insights-hero::before,
.insights-hero::after {
    content: none !important;
    display: none !important;
}

.insights-hero-copy {
    max-width: 960px;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.insights-eyebrow,
.insights-section-label {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;

    color: #00686d;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.insights-eyebrow::before,
.insights-section-label::before {
    content: "";

    width: 30px;
    height: 1px;

    background: #006064;
}

.insights-hero h1 {
    max-width: 930px;

    margin: 0;

    color: #0A1022;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(50px, 5.6vw, 50px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1.08px;
}



/* ========================================
   FEATURED INSIGHT
======================================== */

.featured-insight {
    position: relative;

    margin-top: -1px;
    padding: 1px 0 110px;

    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    background: #ffffff;
}

.featured-insight::before,
.featured-insight::after {
    content: none !important;
    display: none !important;
}

.featured-insight-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(360px, 0.65fr);

    gap: 16px;

    border: 0;
    outline: 0;
}

.featured-insight-image-wrap {
    position: relative;

    min-height: 590px;

    display: block;

    overflow: hidden;

    background: #d9e1df;
    border-radius: 14px;
}

.featured-insight-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transform: scale(1);

    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
}

.featured-insight-image-wrap:hover
.featured-insight-image {
    transform: scale(1.035);

    filter:
        brightness(0.96)
        contrast(1.03);
}



.featured-insight-content {
    padding: 50px 46px 42px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid rgba(0, 79, 82, 0.08);
    border-radius: 14px;
}

.featured-insight-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 34px;

    color: #68787d;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-insight-content h2 {
    margin: 0 0 27px;
}

.featured-insight-content h2 a {
    color: #0A1022;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(34px, 3.2vw, 40px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -1px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.featured-insight-content h2 a:hover {
    color: #006064;
}

.featured-insight-content p {
    margin: 0;

    color: #4B5563;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
}

.insight-read-link {
    width: fit-content;

    margin-top: auto;
    padding-top: 45px;

    display: inline-flex;
    align-items: center;
    gap: 13px;

    color: #005c60;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-transform: uppercase;
}

.insight-read-arrow {
    transition: transform 0.3s ease;
}

.insight-read-link:hover
.insight-read-arrow {
    transform: translate(4px, -4px);
}


/* ========================================
   INSIGHTS CONTENT
======================================== */

.insights-content {
    position: relative;

    padding: 60px 0 110px;

    border: 0;
    outline: 0;

    background: #ffffff;
}

.insights-content-header {
    margin-bottom: 58px;

    display: block;
}

.insights-content-header h2 {
    max-width: 620px;

    margin: 0;

    color: #0A1022;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: clamp(40px, 4vw, 50px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -1.08px;
}


/* ========================================
   CONTENT LAYOUT
======================================== */

.insights-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 0.31fr);

    gap: 72px;

    align-items: start;
}


/* ========================================
   ARTICLE GRID
======================================== */

.insights-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 50px 30px;
}

.insight-card {
    min-width: 0;
}

.insight-card-image-wrap {
    position: relative;

    aspect-ratio: 16 / 10;

    display: block;

    overflow: hidden;

    background: #dae3e1;
    border-radius: 10px;

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

.insight-card-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transform: scale(1);

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s ease;
}

.insight-card:hover
.insight-card-image {
    transform: scale(1.045);

    filter:
        brightness(0.96)
        contrast(1.02);
}

.insight-card:hover
.insight-card-image-wrap {
    transform: translateY(-3px);

    box-shadow:
        0 22px 48px rgba(0, 52, 55, 0.13);
}

.insight-card-content {
    padding-top: 24px;
}

.insight-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 14px;

    color: #708086;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.insight-card-content h3 {
    margin: 0 0 14px;
}

.insight-card-content h3 a {
    color: #0A1022;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.8px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.insight-card-content h3 a:hover {
    color: #006064;
}

.insight-card-content p {
    margin: 0;

    color: #4B5563;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.insight-card-link {
    width: fit-content;

    margin-top: 21px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #006064;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.insight-card-link span {
    transition: transform 0.3s ease;
}

.insight-card-link:hover span {
    transform: translate(3px, -3px);
}


/* ========================================
   TRENDING SIDEBAR
======================================== */

.insights-sidebar {
    position: sticky;
    top: 125px;
}

.insights-sidebar-inner {
    padding: 29px 26px;

    background: #ffffff;

    border: 1px solid rgba(0, 79, 82, 0.09);
    border-radius: 12px;
}

.insights-sidebar-header {
    padding-bottom: 19px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: #294950;

    border-bottom: 1px solid rgba(0, 79, 82, 0.13);

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.trending-list {
    display: grid;
}

.trending-item {
    padding: 24px 0;

    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 15px;

    border-bottom: 1px solid rgba(0, 79, 82, 0.1);
}

.trending-item:last-child {
    border-bottom: 0;
}

.trending-number {
    color: #006064;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.trending-category {
    display: block;

    margin-bottom: 8px;

    color: #75858a;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trending-item h3 {
    margin: 0;
}

.trending-item h3 a {
    color: #0A1022;

    font-family: "Graphik Trial", Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;

    transition: color 0.3s ease;
}

.trending-item h3 a:hover {
    color: #006064;
}


/* ========================================
   VIEWPORT ANIMATION
======================================== */

.insights-hero-copy {
    opacity: 0;
    transform: translateY(52px);
}

.featured-insight-card {
    opacity: 0;
    transform: translateY(55px);
}

.featured-insight-image-wrap {
    opacity: 0;

    transform:
        translateX(-72px)
        scale(0.98);
}

.featured-insight-content {
    opacity: 0;

    transform:
        translateX(72px)
        scale(0.98);
}

.insights-content-header {
    opacity: 0;
    transform: translateY(48px);
}

.insight-card {
    opacity: 0;

    transform:
        translateY(72px)
        scale(0.965);

    will-change: opacity, transform;

    transition:
        opacity 0.78s ease,
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.insights-sidebar {
    opacity: 0;
    transform: translateX(50px);
}


/* ========================================
   HERO VISIBLE
======================================== */

body.insights-page-loaded
.insights-hero-copy {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.8s ease,
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ========================================
   FEATURED VISIBLE
======================================== */

.featured-insight.is-visible
.featured-insight-card {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.8s ease,
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-insight.is-visible
.featured-insight-image-wrap {
    opacity: 1;

    transform:
        translateX(0)
        scale(1);

    transition:
        opacity 0.82s ease 0.08s,
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
        box-shadow 0.4s ease;
}

.featured-insight.is-visible
.featured-insight-content {
    opacity: 1;

    transform:
        translateX(0)
        scale(1);

    transition:
        opacity 0.82s ease 0.2s,
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}


/* ========================================
   CONTENT HEADER VISIBLE
======================================== */

.insights-content-header.is-visible {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.75s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ========================================
   CARD VISIBLE
======================================== */

.insight-card.is-visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    will-change: auto;
}

.insight-card.is-visible:hover {
    transform: translateY(-7px);
}


/* ========================================
   SIDEBAR VISIBLE
======================================== */

.insights-sidebar.is-visible {
    opacity: 1;
    transform: translateX(0);

    transition:
        opacity 0.8s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ========================================
   LAPTOP
======================================== */

@media (max-width: 1200px) {
    .insights-container {
        width: calc(100% - 96px);
    }

    .insights-layout {
        gap: 48px;
    }

    .featured-insight-card {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(340px, 0.8fr);
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {
    .insights-container {
        width: calc(100% - 64px);
    }

    .insights-hero {
        padding-top: 145px;
    }

    .featured-insight-card {
        grid-template-columns: 1fr;
    }

    .featured-insight-image-wrap {
        min-height: 480px;
    }

    .featured-insight-content {
        min-height: 430px;
    }

    .insights-content-header {
        display: block;
    }

    .insights-layout {
        grid-template-columns: 1fr;
    }

    .insights-sidebar {
        position: static;
    }

    .trending-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 0 30px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
    .insights-container {
        width: calc(100% - 36px);
    }

    .insights-hero {
        padding: 118px 0 58px;
    }

    .insights-eyebrow,
    .insights-section-label {
        margin-bottom: 18px;

        font-size: 11px;
    }

    .insights-hero h1 {
        font-size: 39px;
        line-height: 1.04;
        letter-spacing: -1.4px;
    }

    .insights-hero p {
        margin-top: 24px;

        font-size: 17px;
        line-height: 1.68;
    }

    .featured-insight {
        padding-bottom: 76px;
    }

    .featured-insight-card {
        gap: 12px;
    }

    .featured-insight-image-wrap {
        min-height: 0;
        aspect-ratio: 4 / 3;

        transform:
            translateY(42px)
            scale(0.985);
    }

    .featured-insight-content {
        min-height: 0;
        padding: 30px 25px;

        transform:
            translateY(42px)
            scale(0.985);
    }

    .featured-insight.is-visible
    .featured-insight-image-wrap,
    .featured-insight.is-visible
    .featured-insight-content {
        transform:
            translateY(0)
            scale(1);
    }

    .featured-insight-meta {
        margin-bottom: 25px;
    }

    .featured-insight-content h2 a {
        font-size: 32px;
    }

    .featured-insight-content p {
        font-size: 18px;
        line-height: 1.68;
    }

    .insight-read-link {
        margin-top: 32px;
        padding-top: 0;
    }

    .insights-content {
        padding: 0 0 76px;
    }

    .insights-content-header {
        margin-bottom: 42px;
    }

    .insights-content-header h2 {
        font-size: 37px;
        letter-spacing: -1px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .insight-card {
        transform:
            translateY(52px)
            scale(0.985);
    }

    .insight-card.is-visible {
        transform:
            translateY(0)
            scale(1);
    }

    .insight-card.is-visible:hover {
        transform: none;
    }

    .insight-card-content h3 a {
        font-size: 27px;
    }

    .insight-card-content p {
        font-size: 18px;
        line-height: 1.68;
    }

    .insights-sidebar {
        transform: translateY(42px);
    }

    .insights-sidebar.is-visible {
        transform: translateY(0);
    }

    .trending-list {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 430px) {
    .insights-hero h1 {
        font-size: 35px;
    }

    .featured-insight-content h2 a {
        font-size: 29px;
    }

    .insights-content-header h2 {
        font-size: 34px;
    }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    .insights-hero-copy,
    .featured-insight-card,
    .featured-insight-image-wrap,
    .featured-insight-content,
    .insights-content-header,
    .insight-card,
    .insights-sidebar {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .featured-insight-image,
    .insight-card-image {
        transition: none !important;
    }
}