:root {
    --insight-ink: #142433;
    --insight-muted: #5f6f7d;
    --insight-line: #dfe5e9;
    --insight-surface: #f4f7f8;
    --insight-accent: #176b4d;
    --insight-accent-dark: #0d5038;
}

html,
body {
    overflow-x: clip;
}

.insight-page,
.insight-category-page,
.insight-detail-page {
    background: #fff;
    color: var(--insight-ink);
}

.insight-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.insight-masthead {
    height: auto !important;
    padding: 76px 0 50px;
    border-bottom: 1px solid var(--insight-line);
    background: #eef3f3;
}

.insight-eyebrow {
    margin: 0 0 15px;
    color: var(--insight-accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.insight-masthead h1 {
    max-width: 760px;
    margin: 0;
    color: var(--insight-ink);
    font-size: 48px;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: 0;
}

.insight-masthead__summary {
    max-width: 850px;
    margin: 20px 0 0;
    color: #4c5f6b;
    font-size: 17px;
    line-height: 1.9;
}

.insight-category-nav {
    position: relative;
    z-index: 3;
    border-bottom: 1px solid var(--insight-line);
    background: rgba(255, 255, 255, 0.96);
}

.insight-category-nav__inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: thin;
}

.insight-category-nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-bottom: 2px solid transparent;
    color: #4e5f6b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.insight-category-nav a:hover,
.insight-category-nav a.is-active {
    border-color: var(--insight-accent);
    color: var(--insight-accent-dark);
}

.insight-section {
    padding: 58px 0 68px;
}

.insight-section + .insight-section {
    border-top: 1px solid var(--insight-line);
}

.insight-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.insight-section__head h2 {
    margin: 0;
    color: var(--insight-ink);
    font-size: 28px;
    font-weight: 730;
    line-height: 1.3;
    letter-spacing: 0;
}

.insight-section__head p {
    max-width: 620px;
    margin: 0;
    color: var(--insight-muted);
    font-size: 15px;
    line-height: 1.8;
}

.insight-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--insight-line);
    border-left: 1px solid var(--insight-line);
}

.insight-category-card {
    min-width: 0;
    border-right: 1px solid var(--insight-line);
    border-bottom: 1px solid var(--insight-line);
    background: #fff;
}

.insight-category-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dfe7e7;
}

.insight-category-card__media--empty::before,
.insight-article-card__media--empty::before,
.insight-detail-cover--empty::before {
    content: "";
    position: absolute;
    top: 30%;
    left: 12%;
    right: 12%;
    height: 1px;
    background: rgba(20, 36, 51, 0.12);
    box-shadow: 0 18px 0 rgba(20, 36, 51, 0.1), 0 36px 0 rgba(20, 36, 51, 0.08), 0 54px 0 rgba(20, 36, 51, 0.06);
}

.insight-category-card__media--empty::after,
.insight-article-card__media--empty::after,
.insight-detail-cover--empty::after {
    content: "";
    position: absolute;
    right: 16%;
    bottom: 28%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--insight-accent);
    box-shadow: -18px 0 0 rgba(23, 107, 77, 0.42), -36px 0 0 rgba(23, 107, 77, 0.2);
}

.insight-category-card__media img,
.insight-article-card__media img,
.insight-category-hero__image img,
.insight-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.insight-category-card:hover .insight-category-card__media img,
.insight-article-card:hover .insight-article-card__media img {
    transform: scale(1.025);
}

.insight-category-card__body {
    min-height: 218px;
    padding: 28px 30px 30px;
}

.insight-category-card__index {
    display: block;
    margin-bottom: 14px;
    color: #87949d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.insight-category-card h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 720;
    line-height: 1.35;
    letter-spacing: 0;
}

.insight-category-card h2 a {
    color: var(--insight-ink);
}

.insight-category-card h2 a:hover {
    color: var(--insight-accent-dark);
}

.insight-category-card p {
    margin: 13px 0 22px;
    color: var(--insight-muted);
    font-size: 15px;
    line-height: 1.8;
}

.insight-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--insight-accent-dark);
    font-size: 14px;
    font-weight: 700;
}

.insight-text-link i {
    transition: transform 0.2s ease;
}

.insight-text-link:hover i {
    transform: translateX(3px);
}

.insight-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--insight-line);
    border-left: 1px solid var(--insight-line);
}

.insight-article-card {
    min-width: 0;
    border-right: 1px solid var(--insight-line);
    border-bottom: 1px solid var(--insight-line);
    background: #fff;
}

.insight-article-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e3e9e9;
}

.insight-article-card__body {
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 24px 25px 26px;
}

.insight-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    color: #7a8993;
    font-size: 12px;
    line-height: 1.5;
}

.insight-article-card h2,
.insight-article-card h3 {
    margin: 0;
    color: var(--insight-ink);
    font-size: 20px;
    font-weight: 720;
    line-height: 1.45;
    letter-spacing: 0;
}

.insight-article-card h2 a,
.insight-article-card h3 a {
    color: inherit;
}

.insight-article-card h2 a:hover,
.insight-article-card h3 a:hover {
    color: var(--insight-accent-dark);
}

.insight-article-card__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin: 12px 0 0;
    color: var(--insight-muted);
    font-size: 14px;
    line-height: 1.8;
}

.insight-article-card__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--insight-accent-dark);
    font-size: 14px;
    font-weight: 700;
}

.insight-article-card__link i {
    transition: transform 0.2s ease;
}

.insight-article-card__link:hover i {
    transform: translateX(3px);
}

.insight-category-hero {
    height: auto !important;
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #23343e;
}

.insight-category-hero__image {
    position: absolute;
    inset: 0;
}

.insight-category-hero__image--empty {
    background: #263a42;
}

.insight-category-hero__image--empty::before {
    content: "";
    position: absolute;
    inset: 12% 7% 12% 52%;
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.insight-category-hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 31, 0.58);
}

.insight-category-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 430px;
    flex-direction: column;
    justify-content: center;
    padding: 54px 0;
    color: #fff;
}

.insight-category-hero__copy {
    max-width: 760px;
}

.insight-category-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 44px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
}

.insight-category-hero__copy > p:last-child {
    max-width: 690px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.9;
}

.insight-consult {
    padding: 54px 0;
    background: #14242d;
    color: #fff;
}

.insight-consult__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.insight-consult__copy {
    max-width: 760px;
}

.insight-consult .insight-eyebrow {
    color: #72c59f;
}

.insight-consult h2 {
    margin: 0;
    color: #fff;
    font-size: 29px;
    font-weight: 740;
    line-height: 1.35;
    letter-spacing: 0;
}

.insight-consult__copy > p:last-child {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.85;
}

.insight-consult__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.insight-consult__button,
.insight-detail-aside__action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.insight-consult__button--primary {
    border-color: #fff;
    background: #fff;
    color: #14242d;
}

.insight-consult__button:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-1px);
}

.insight-consult__button--primary:hover {
    background: #ecf4f0;
    color: #14242d;
}

.insight-empty {
    grid-column: 1 / -1;
    padding: 44px 24px;
    border-right: 1px solid var(--insight-line);
    border-bottom: 1px solid var(--insight-line);
    color: var(--insight-muted);
    text-align: center;
}

.insight-faq {
    padding: 56px 0 68px;
    border-top: 1px solid var(--insight-line);
    background: var(--insight-surface);
}

.insight-faq__list {
    border-top: 1px solid #cfd9dd;
}

.insight-faq details,
.insight-detail-faq details {
    border-bottom: 1px solid #cfd9dd;
}

.insight-faq summary,
.insight-detail-faq summary {
    position: relative;
    padding: 22px 48px 22px 0;
    color: var(--insight-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    cursor: pointer;
    list-style: none;
}

.insight-faq summary::-webkit-details-marker,
.insight-detail-faq summary::-webkit-details-marker {
    display: none;
}

.insight-faq summary::after,
.insight-detail-faq summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 2px;
    color: var(--insight-accent);
    font-size: 25px;
    font-weight: 400;
}

.insight-faq details[open] summary::after,
.insight-detail-faq details[open] summary::after {
    content: "−";
}

.insight-faq__answer {
    max-width: 900px;
    padding: 0 48px 23px 0;
    color: var(--insight-muted);
    font-size: 15px;
    line-height: 1.9;
}

.insight-detail-header {
    height: auto !important;
    padding: 68px 0 38px;
    background: #eef3f3;
}

.insight-detail-header__inner {
    max-width: 980px;
}

.insight-detail-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 17px;
    color: #647680;
    font-size: 13px;
    line-height: 1.5;
}

.insight-detail-header__meta a {
    color: var(--insight-accent-dark);
    font-weight: 700;
}

.insight-detail-header h1 {
    margin: 0;
    color: var(--insight-ink);
    font-size: 42px;
    font-weight: 760;
    line-height: 1.28;
    letter-spacing: 0;
}

.insight-detail-header__summary {
    max-width: 900px;
    margin: 20px 0 0;
    color: #536873;
    font-size: 17px;
    line-height: 1.9;
}

.insight-detail-cover {
    position: relative;
    width: min(1280px, calc(100% - 48px));
    aspect-ratio: 16 / 8;
    margin: 38px auto 0;
    overflow: hidden;
    background: #dfe7e7;
}

.insight-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(220px, 300px);
    justify-content: space-between;
    gap: 70px;
    padding: 54px 0 72px;
}

.insight-detail-body {
    min-width: 0;
    color: #273a46;
    font-size: 17px;
    line-height: 1.95;
}

.insight-detail-body h2,
.insight-detail-body h3 {
    color: var(--insight-ink);
    letter-spacing: 0;
}

.insight-detail-body h2 {
    margin: 46px 0 18px;
    padding-top: 4px;
    font-size: 27px;
    font-weight: 740;
    line-height: 1.4;
}

.insight-detail-body h3 {
    margin: 30px 0 14px;
    font-size: 21px;
    font-weight: 720;
    line-height: 1.45;
}

.insight-detail-body p {
    margin: 0 0 20px;
}

.insight-detail-body ul,
.insight-detail-body ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.insight-detail-body li {
    margin-bottom: 9px;
}

.insight-detail-body .article-table-wrap {
    max-width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid var(--insight-line);
}

.insight-detail-body table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.65;
}

.insight-detail-body th,
.insight-detail-body td {
    padding: 14px 16px;
    border-right: 1px solid var(--insight-line);
    border-bottom: 1px solid var(--insight-line);
    text-align: left;
    vertical-align: top;
}

.insight-detail-body th {
    background: #eef3f3;
    color: var(--insight-ink);
    font-weight: 700;
}

.insight-detail-aside {
    align-self: start;
    position: sticky;
    top: 100px;
    padding-top: 4px;
    border-top: 2px solid var(--insight-accent);
}

.insight-detail-aside h2 {
    margin: 18px 0 10px;
    color: var(--insight-ink);
    font-size: 18px;
    font-weight: 730;
    line-height: 1.4;
}

.insight-detail-aside p {
    margin: 0;
    color: var(--insight-muted);
    font-size: 14px;
    line-height: 1.8;
}

.insight-detail-aside__links {
    margin: 18px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--insight-line);
    list-style: none;
}

.insight-detail-aside__links li + li {
    margin-top: 10px;
}

.insight-detail-aside__links a {
    color: var(--insight-accent-dark);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
}

.insight-detail-aside__action {
    width: 100%;
    margin-top: 24px;
    border-color: var(--insight-accent);
    background: var(--insight-accent);
    color: #fff;
}

.insight-detail-aside__action:hover {
    border-color: var(--insight-accent-dark);
    background: var(--insight-accent-dark);
    color: #fff;
}

.insight-detail-faq {
    margin-top: 52px;
    padding-top: 42px;
    border-top: 1px solid var(--insight-line);
}

.insight-detail-faq h2 {
    margin-top: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .insight-category-hero__image img {
        animation: insight-hero-settle 0.9s ease both;
    }

    .insight-category-hero__copy {
        animation: insight-hero-copy 0.65s 0.08s ease both;
    }

    .insight-reveal {
        animation: insight-rise 0.55s ease both;
    }

    .insight-reveal:nth-child(2n) {
        animation-delay: 0.06s;
    }

    @keyframes insight-rise {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes insight-hero-settle {
        from { opacity: 0.78; transform: scale(1.025); }
        to { opacity: 1; transform: scale(1); }
    }

    @keyframes insight-hero-copy {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (min-width: 1400px) {
    .insight-page .insight-shell,
    .insight-category-page .insight-shell {
        width: 88%;
        max-width: none;
    }

    .insight-page .insight-category-nav__inner,
    .insight-category-page .insight-category-nav__inner {
        justify-content: space-between;
    }
}

@media (max-width: 991.98px) {
    .insight-masthead {
        padding: 56px 0 40px;
    }

    .insight-masthead h1,
    .insight-category-hero h1 {
        font-size: 38px;
    }

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

    .insight-category-hero,
    .insight-category-hero__content {
        min-height: 380px;
    }

    .insight-detail-header h1 {
        font-size: 36px;
    }

    .insight-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .insight-detail-aside {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .insight-shell,
    .insight-detail-cover {
        width: min(100% - 32px, 1280px);
    }

    .insight-masthead {
        padding: 44px 0 34px;
    }

    .insight-masthead h1,
    .insight-category-hero h1 {
        font-size: 32px;
    }

    .insight-masthead__summary,
    .insight-category-hero__copy > p:last-child,
    .insight-detail-header__summary {
        font-size: 15px;
    }

    .insight-section {
        padding: 42px 0 50px;
    }

    .insight-section__head {
        display: block;
    }

    .insight-section__head h2 {
        font-size: 24px;
    }

    .insight-section__head p {
        margin-top: 8px;
    }

    .insight-category-grid,
    .insight-article-grid {
        grid-template-columns: 1fr;
    }

    .insight-consult {
        padding: 42px 0;
    }

    .insight-consult__inner {
        display: block;
    }

    .insight-consult h2 {
        font-size: 25px;
    }

    .insight-consult__actions {
        margin-top: 24px;
    }

    .insight-consult__button {
        flex: 1 1 180px;
    }

    .insight-category-card__body,
    .insight-article-card__body {
        min-height: 0;
        padding: 22px 20px 24px;
    }

    .insight-category-card h2 {
        font-size: 21px;
    }

    .insight-category-hero,
    .insight-category-hero__content {
        min-height: 350px;
    }

    .insight-category-hero__image::after {
        background: rgba(10, 25, 31, 0.66);
    }

    .insight-detail-header {
        padding: 46px 0 30px;
    }

    .insight-detail-header h1 {
        font-size: 30px;
    }

    .insight-detail-cover {
        aspect-ratio: 16 / 9;
        margin-top: 26px;
    }

    .insight-detail-layout {
        padding: 38px 0 52px;
    }

    .insight-detail-body {
        font-size: 16px;
        line-height: 1.9;
    }

    .insight-detail-body h2 {
        margin-top: 38px;
        font-size: 23px;
    }
}
