/*
 * Insight pages (single-insight.php) - approved design, Nov 2026.
 * Plain CSS on purpose: loaded only on insight pages, no build step needed.
 * Colours: ink #0B0A0D, green #3FB880 (fills), text green #1C6E4A, tint #F5FBF9 / #ECF7F2.
 */

.sra-insight {
    font-family: 'Open Sans', sans-serif;
    color: #0B0A0D;
    background: #FFFFFF;
}

.sra-insight h1,
.sra-insight h2,
.sra-insight h3 {
    font-family: 'Gudea', sans-serif;
    font-weight: 700;
    color: #0B0A0D;
    margin: 0;
    padding: 0;
    text-transform: none;
    letter-spacing: normal;
}

.sra-insight p,
.sra-insight ul,
.sra-insight ol,
.sra-insight figure,
.sra-insight blockquote {
    margin: 0;
    padding: 0;
}

.sra-insight ul,
.sra-insight ol {
    list-style: none;
}

/* Same content edges as the Beaver Themer header and footer:
   1200px row with 15px inside (1170px content), 30px from the screen edge below that, 15px on phones. */
.sra-insight__wrap {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Buttons and links */

.sra-insight__btn,
.sra-insight__btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    background: #3FB880;
    color: #0B0A0D;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 100px;
    transition: background-color .15s ease;
}

.sra-insight__btn:hover,
.sra-insight__btn:focus {
    background: #36A473;
    color: #0B0A0D;
    text-decoration: none;
}

.sra-insight__btn--large {
    min-height: 56px;
    padding: 0 36px;
    font-size: 17px;
}

.sra-insight__link,
.sra-insight__link:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 600;
    font-size: 15px;
    color: #1C6E4A;
    text-decoration: underline;
}

.sra-insight__link:hover {
    color: #0B0A0D;
}

.sra-insight a:focus-visible,
.sra-insight select:focus-visible {
    outline: 2px solid #1C6E4A;
    outline-offset: 3px;
}

.sra-insight__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #4A4F55;
    margin-bottom: 6px !important;
}

/* Hero */

.sra-insight__hero {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
}

.sra-insight .sra-service__hero-contours {
    position: absolute;
    top: -40px;
    right: -120px;
    width: 640px;
    height: 480px;
    opacity: .55;
    pointer-events: none;
}

.sra-insight__hero-inner {
    position: relative;
    padding-top: 28px;
    padding-bottom: 72px;
}

.sra-insight__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 56px;
    font-size: 14px;
    line-height: 1.5;
    color: #4A4F55;
}

.sra-insight__breadcrumb a,
.sra-insight__breadcrumb a:visited {
    color: #4A4F55;
    text-decoration: none;
}

.sra-insight__breadcrumb a:hover {
    color: #1C6E4A;
    text-decoration: underline;
}

.sra-insight__breadcrumb-current {
    color: #1C6E4A;
    font-weight: 600;
}

.sra-insight__hero-row {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: flex-start;
}

.sra-insight__hero-text {
    flex: 1 1 560px;
    min-width: 0;
    max-width: 700px;
}

.sra-insight__hero-row--no-image .sra-insight__hero-text {
    max-width: 800px;
}

.sra-insight__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #1C6E4A;
}

.sra-insight__eyebrow::before {
    content: '';
    flex: 0 0 24px;
    height: 2px;
    background: #3FB880;
}

.sra-insight .sra-insight__title {
    font-size: clamp(34px, 3.9vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.3px;
    margin-bottom: 28px;
}

.sra-insight__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 16px 0;
    margin-bottom: 28px;
    border-top: 1px solid #E3EDE8;
    border-bottom: 1px solid #E3EDE8;
}

.sra-insight__byline-who {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sra-insight__avatars {
    display: inline-flex;
    flex: 0 0 auto;
}

.sra-insight .sra-insight__avatar {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    border: 2px solid #FFFFFF;
    object-fit: cover;
    object-position: 50% 20%;
    background: #ECF7F2;
}

.sra-insight__avatars .sra-insight__avatar + .sra-insight__avatar {
    margin-left: -14px;
}

.sra-insight__avatars:empty {
    display: none;
}

.sra-insight__byline-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sra-insight__byline-names {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

.sra-insight__byline-names a,
.sra-insight__byline-names a:visited {
    color: #0B0A0D;
    text-decoration: none;
}

.sra-insight__byline-names a:hover {
    color: #1C6E4A;
    text-decoration: underline;
}

.sra-insight__byline-meta {
    font-size: 14px;
    line-height: 1.5;
    color: #4A4F55;
}

.sra-insight__summary {
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.7;
    color: #2B2F33;
}

.sra-insight__hero-figure {
    flex: 1 1 340px;
    max-width: 420px;
    margin-top: 8px !important;
}

.sra-insight .sra-insight__hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 16px;
}

.sra-insight__hero-caption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #4A4F55;
}

.sra-insight .sra-insight__hero-img--left {
    object-position: 15% 50%;
}

.sra-insight .sra-insight__hero-img--right {
    object-position: 85% 50%;
}

/* Body: article + sidebar */

.sra-insight__body {
    padding: 24px 0 96px;
}

.sra-insight__body-row {
    display: flex;
    flex-wrap: wrap;
    gap: 56px 72px;
    align-items: flex-start;
}

.sra-insight__article {
    flex: 999 1 560px;
    min-width: 0;
    max-width: 740px;
}

.sra-insight__takeaways {
    background: #F5FBF9;
    border: 1px solid #DCEFE6;
    border-radius: 16px;
    padding: 32px 32px 28px;
    margin-bottom: 56px;
    scroll-margin-top: 24px;
}

.sra-insight .sra-insight__takeaways-title {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.sra-insight__takeaways ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sra-insight__takeaways li {
    display: flex;
    gap: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: #0B0A0D;
}

.sra-insight__check {
    flex: 0 0 auto;
    margin-top: 1px;
}

.sra-insight .sra-insight__h2 {
    font-size: clamp(26px, 2.4vw, 30px);
    line-height: 1.2;
    margin-bottom: 18px;
    scroll-margin-top: 24px;
}

.sra-insight .sra-insight__h2--large {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
    margin-bottom: 0;
}

/* Spacing: 24px between paragraphs, 48px before the next heading, 40px around a pull quote. */
.sra-insight__content p {
    font-size: 18px;
    line-height: 1.75;
    color: #2B2F33;
    margin-bottom: 24px !important;
}

.sra-insight__content > .sra-insight__h2:not(:first-child) {
    margin-top: 24px;
}

.sra-insight__content > .sra-insight__quote + .sra-insight__h2 {
    margin-top: 48px;
}

.sra-insight__quote {
    margin: 16px 0 0 !important;
    padding: 32px 0 !important;
    border-top: 2px solid #3FB880;
    border-bottom: 1px solid #DCEFE6;
}

.sra-insight__quote-mark {
    display: block;
    margin-bottom: 16px;
}

.sra-insight__quote blockquote {
    border: 0;
    font-family: 'Gudea', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2vw, 26px);
    line-height: 1.4;
    color: #0B0A0D;
    quotes: none;
}

.sra-insight__quote blockquote::before,
.sra-insight__quote blockquote::after {
    content: none;
}

/* Author */

.sra-insight__author {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    padding: 28px;
    border: 1px solid #DCEFE6;
    border-radius: 16px;
}

.sra-insight__avatars--large .sra-insight__avatar {
    width: 96px;
    height: 96px;
    border-width: 3px;
}

.sra-insight__avatars--large .sra-insight__avatar + .sra-insight__avatar {
    margin-left: -24px;
}

.sra-insight__author-text {
    flex: 1 1 320px;
    min-width: 0;
}

.sra-insight .sra-insight__author-name {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 4px;
}

.sra-insight__author-role {
    font-size: 14px;
    font-weight: 600;
    color: #1C6E4A;
    margin-bottom: 12px !important;
}

.sra-insight__author-bio {
    font-size: 16px;
    line-height: 1.65;
    color: #2B2F33;
    margin-bottom: 8px !important;
}

.sra-insight__author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}

/* Sidebar */

.sra-insight__aside {
    flex: 1 1 300px;
    min-width: 0;
    max-width: 380px;
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sra-insight__download {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    background: #0B0A0D;
    color: #FFFFFF;
    border-radius: 16px;
    scroll-margin-top: 24px;
}

.sra-insight__download-head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.sra-insight__download-head > div {
    min-width: 0;
}

.sra-insight .sra-insight__cover {
    display: block;
    flex: 0 0 auto;
    width: 92px;
    height: 130px;
    object-fit: cover;
    object-position: 50% 0;
    border-radius: 6px;
    background: #1D1C21;
}

.sra-insight .sra-insight__download-title {
    font-size: 20px;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.sra-insight__download-meta {
    font-size: 14px;
    line-height: 1.5;
    color: #C9D3CE;
}

.sra-insight__lang {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sra-insight__lang-label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #C9D3CE;
}

.sra-insight__select {
    position: relative;
    color: #FFFFFF;
}

.sra-insight__select select {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 44px 0 16px;
    background: #1D1C21;
    color: #FFFFFF;
    border: 1px solid #3B3F44;
    border-radius: 10px;
    box-shadow: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 46px;
    cursor: pointer;
}

.sra-insight__select select:hover {
    border-color: #6B7177;
}

.sra-insight__select option {
    color: #0B0A0D;
    background: #FFFFFF;
}

.sra-insight__select svg {
    position: absolute;
    top: 50%;
    right: 16px;
    margin-top: -8px;
    pointer-events: none;
}

.sra-insight__toc-title {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
    color: #4A4F55 !important;
    margin-bottom: 12px !important;
}

.sra-insight__toc li {
    border-top: 1px solid #E3EDE8;
}

.sra-insight__toc li:last-child {
    border-bottom: 1px solid #E3EDE8;
}

.sra-insight__toc a,
.sra-insight__toc a:visited {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    line-height: 1.4;
    color: #0B0A0D;
    text-decoration: none;
}

.sra-insight__toc a:hover {
    color: #1C6E4A;
}

.sra-insight__toc-num {
    min-width: 20px;
    font-family: 'Gudea', sans-serif;
    font-weight: 700;
    color: #1C6E4A;
}

/* Related Insights */

.sra-insight__related {
    padding: 96px 0;
    background: #F5FBF9;
}

.sra-insight__related-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px 48px;
    margin-bottom: 40px;
}

.sra-insight__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}

.sra-insight__related-card,
.sra-insight__related-card:visited {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    height: 100%;
    min-height: 200px;
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid #D5E3DC;
    border-radius: 16px;
    color: #0B0A0D;
    text-decoration: none;
    transition: border-color .15s ease;
}

.sra-insight__related-card:hover {
    border-color: #3FB880;
    color: #0B0A0D;
    text-decoration: none;
}

.sra-insight__related-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sra-insight__related-type {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #1C6E4A;
}

.sra-insight__related-title {
    font-family: 'Gudea', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
}

.sra-insight__related-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 100px;
    background: #3FB880;
    color: #0B0A0D;
}

/* Closing CTA (light band so it does not merge with the black site footer) */

.sra-insight__cta {
    position: relative;
    overflow: hidden;
    background: #ECF7F2;
    border-top: 1px solid #DCEFE6;
}

.sra-insight .sra-service__cta-contours {
    position: absolute;
    right: -80px;
    bottom: -60px;
    width: 560px;
    height: 280px;
    opacity: .7;
    pointer-events: none;
}

.sra-insight__cta-inner {
    position: relative;
    padding-top: 88px;
    padding-bottom: 88px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.sra-insight .sra-insight__cta-title {
    max-width: 640px;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.15;
}

/* The sidebar drops under the article: no sticky, full width */
@media (max-width: 1000px) {
    .sra-insight__aside {
        position: static;
        max-width: none;
    }

    .sra-insight__article {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .sra-insight__wrap {
        padding: 0 15px;
    }

    .sra-insight__hero-inner {
        padding-bottom: 56px;
    }

    .sra-insight__breadcrumb {
        margin-bottom: 32px;
    }

    .sra-insight__hero-figure {
        max-width: none;
    }

    .sra-insight .sra-insight__hero-img {
        aspect-ratio: 4 / 3;
    }

    .sra-insight__body {
        padding-bottom: 56px;
    }

    .sra-insight__takeaways {
        padding: 24px 20px 20px;
    }

    .sra-insight__content p {
        font-size: 17px;
    }

    .sra-insight__related,
    .sra-insight__cta-inner {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}
