/* ============================================================
   Single insight — rebuild of the example site's single-insight.php.
   Every rule is scoped to .fab-insight-single; the sections are
   full-width bands, and .fabrement-block-inner (the platform's own
   container) keeps their contents on the site grid.
   ============================================================ */

.fab-insight-single {
    font-family: var(--fabrement-font-body, "DM Sans", sans-serif);
    color: var(--fabrement-text, #455060);
}

/* This site leaves --fabrement-pad-inline and --fabrement-content-max undefined, so the
   platform's .fabrement-block-inner falls back to 1440px with NO side gutter — while the
   header and footer blocks set 1360px / 20px themselves. Without this the article would run
   flush to the viewport edge inside a frame that is inset. Drop it if the site ever defines
   those variables. */
.fab-insight-single .fabrement-block-inner {
    max-width: 1360px;
    padding-inline: 20px;
}

/* ---------- hero ---------- */

.fab-insight-single .fis-hero {
    background: var(--fabrement-primary, #1d3557);
    padding: 41px 0 79px;
}

.fab-insight-single .fis-hero-in {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 40px;
}

.fab-insight-single .fis-title {
    margin: 0;
    max-width: 600px;
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(36px, 4.6vw, 54px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--fabrement-text-inverse, #ffffff);
}

.fab-insight-single .fis-meta {
    margin: 14px 0 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--fabrement-text-inverse, #ffffff);
    opacity: 0.65;
}

.fab-insight-single .fis-meta b {
    font-size: 12px;
    font-weight: 400;
    margin: 0 4px;
}

.fab-insight-single .fis-hero-media {
    min-width: 0;
}

.fab-insight-single .fis-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

/* ---------- breadcrumb ---------- */

.fab-insight-single .fis-crumbs {
    background: #f6f6f6;
    padding: 12px 0;
}

.fab-insight-single .fis-crumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fab-insight-single .fis-crumb-list li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--fabrement-text, #455060);
}

.fab-insight-single .fis-crumb-list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fab-insight-single .fis-crumb-list a:hover,
.fab-insight-single .fis-crumb-list a:focus-visible {
    color: var(--fabrement-heading, #1d3557);
}

.fab-insight-single .fis-chev {
    display: block;
    opacity: 0.45;
}

/* ---------- article body ---------- */

.fab-insight-single .fis-body {
    padding: 100px 0 50px;
    background: var(--fabrement-surface, #ffffff);
}

.fab-insight-single .fis-col {
    max-width: 75%;
    margin-inline: auto;
}

.fab-insight-single .fis-top {
    margin-bottom: 30px;
}

.fab-insight-single .fis-content > *:first-child,
.fab-insight-single .fis-top > *:first-child {
    margin-top: 0;
}

.fab-insight-single .fis-content h2,
.fab-insight-single .fis-top h2 {
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(32px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.21;
    margin: 0 0 20px;
    color: var(--fabrement-heading, #1d3557);
}

.fab-insight-single .fis-content h3,
.fab-insight-single .fis-top h3 {
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(28px, 2.9vw, 34px);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 18px;
    color: var(--fabrement-heading, #1d3557);
}

.fab-insight-single .fis-content h4,
.fab-insight-single .fis-top h4 {
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px;
    color: var(--fabrement-heading, #1d3557);
}

.fab-insight-single .fis-content p,
.fab-insight-single .fis-top p {
    font-size: clamp(18px, 1.4vw, 19px);
    font-weight: 300;
    line-height: 1.44;
    margin: 0 0 30px;
}

.fab-insight-single .fis-content a,
.fab-insight-single .fis-top a {
    color: var(--fabrement-heading, #1d3557);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fab-insight-single .fis-content ul,
.fab-insight-single .fis-top ul {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}

.fab-insight-single .fis-content ul li,
.fab-insight-single .fis-top ul li {
    position: relative;
    font-size: clamp(18px, 1.4vw, 19px);
    font-weight: 300;
    line-height: 1.44;
    margin-bottom: 10px;
    padding-left: 30px;
}

/* the example site uses a logo bullet image; a token-coloured mark keeps it self-contained */
.fab-insight-single .fis-content ul li::before,
.fab-insight-single .fis-top ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--fabrement-secondary, #c7d3a5);
}

.fab-insight-single .fis-content ol,
.fab-insight-single .fis-top ol {
    margin: 0 0 40px;
    padding: 0 0 0 20px;
}

.fab-insight-single .fis-content ol li,
.fab-insight-single .fis-top ol li {
    font-size: clamp(18px, 1.4vw, 19px);
    font-weight: 300;
    line-height: 1.44;
    margin-bottom: 10px;
}

.fab-insight-single .fis-content img {
    max-width: 100%;
    height: auto;
}

.fab-insight-single .fis-content figure {
    margin: 0 0 30px;
}

.fab-insight-single .fis-content blockquote {
    margin: 0 0 30px;
    padding-left: 20px;
    border-left: 3px solid var(--fabrement-secondary, #c7d3a5);
}

/* ---------- author ---------- */

.fab-insight-single .fis-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.fab-insight-single .fis-avatar {
    width: 40px;
    height: 46px;
    object-fit: cover;
    /* the example site's hexagon crop */
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.fab-insight-single .fis-author-name {
    font-size: 19px;
    font-weight: 400;
    color: var(--fabrement-heading, #1d3557);
}

/* ---------- related insights ---------- */

.fab-insight-single .fis-related {
    background: var(--fabrement-surface-muted, #f5f9fa);
    padding: 90px 0;
}

.fab-insight-single .fis-related-title {
    margin: 0 0 75px;
    text-align: center;
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.02;
    color: var(--fabrement-heading, #1d3557);
}

.fab-insight-single .fis-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 40px;
}

.fab-insight-single .fis-card {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 20px;
    align-items: start;
}

.fab-insight-single .fis-card-media {
    display: block;
    overflow: hidden;
    min-width: 0;
}

.fab-insight-single .fis-card-img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 420ms ease-out;
}

.fab-insight-single .fis-card-link:hover .fis-card-title,
.fab-insight-single .fis-card-link:focus-visible .fis-card-title {
    opacity: 0.7;
}

.fab-insight-single .fis-card:hover .fis-card-img {
    transform: scale(1.04);
}

.fab-insight-single .fis-card-meta {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.45;
    color: var(--fabrement-text-muted, #9aa3af);
}

.fab-insight-single .fis-card-link {
    text-decoration: none;
}

.fab-insight-single .fis-card-title {
    margin: 0;
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 600;
    line-height: 1.28;
    color: var(--fabrement-heading, #1d3557);
    transition: opacity 300ms ease;
}

/* ---------- CTA ---------- */

.fab-insight-single .fis-cta {
    background: var(--fabrement-secondary, #c7d3a5);
    padding: 92px 0;
    scroll-margin-top: 105px;
}

.fab-insight-single .fis-cta-in {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 40px 60px;
}

.fab-insight-single .fis-cta-title {
    margin: 0 0 24px;
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 700;
    line-height: 1.02;
    color: var(--fabrement-heading, #1d3557);
}

.fab-insight-single .fis-cta-body p {
    margin: 0 0 14px;
    font-size: clamp(18px, 1.6vw, 21px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--fabrement-heading, #1d3557);
}

.fab-insight-single .fis-cta-body p:last-child {
    margin-bottom: 0;
}

/* ---------- focus ---------- */

.fab-insight-single a:focus-visible {
    outline: 2px solid var(--fabrement-heading, #1d3557);
    outline-offset: 3px;
}

.fab-insight-single .fis-hero a:focus-visible {
    outline-color: var(--fabrement-text-inverse, #ffffff);
}

/* ---------- responsive ---------- */

@media (max-width: 1023px) {
    .fab-insight-single .fis-col {
        max-width: 100%;
    }

    .fab-insight-single .fis-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 781px) {
    .fab-insight-single .fis-hero {
        padding: 30px 0;
    }

    .fab-insight-single .fis-hero-in,
    .fab-insight-single .fis-cta-in {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .fab-insight-single .fis-title {
        max-width: 100%;
    }

    .fab-insight-single .fis-meta {
        font-size: 14px;
    }

    .fab-insight-single .fis-crumb-list li {
        font-size: 12px;
    }

    .fab-insight-single .fis-body {
        padding: 40px 0;
    }

    .fab-insight-single .fis-related,
    .fab-insight-single .fis-cta {
        padding: 40px 0;
    }

    .fab-insight-single .fis-related-title {
        margin-bottom: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fab-insight-single .fis-card-img,
    .fab-insight-single .fis-card-title {
        transition: none;
    }

    .fab-insight-single .fis-card:hover .fis-card-img {
        transform: none;
    }
}
