/* ============================================================
   Single case study — hero, breadcrumb and the article body.
   Everything is scoped to .fab-case-single. The closing CTA band is
   NOT here: it is the Impact Contact Form block in the template's
   after-slot. Typography deliberately matches insight-single so an
   article and a case read as the same publication.
   ============================================================ */

.fab-case-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 set 1360px / 20px themselves. Same restatement as insight-single;
   drop it if the site ever defines those variables. */
.fab-case-single .fabrement-block-inner {
    max-width: 1360px;
    padding-inline: 20px;
}

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

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

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

.fab-case-single .fcs-title {
    margin: 0;
    max-width: 600px;
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--fabrement-text-inverse, #ffffff);
    /* German case titles build long compound words (Preisverhandlungstaktiken) */
    overflow-wrap: break-word;
    hyphens: auto;
}

.fab-case-single .fcs-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-case-single .fcs-meta b {
    font-size: 12px;
    font-weight: 400;
    margin: 0 4px;
}

.fab-case-single .fcs-hero-media {
    min-width: 0;
}

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

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

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

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

.fab-case-single .fcs-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-case-single .fcs-crumb-list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.fab-case-single .fcs-chev {
    display: block;
    opacity: 0.45;
}

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

.fab-case-single .fcs-body {
    padding: 100px 0 90px;
    background: var(--fabrement-surface, #ffffff);
}

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

.fab-case-single .fcs-content > *:first-child {
    margin-top: 0;
}

.fab-case-single .fcs-content h2 {
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(30px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.21;
    margin: 0 0 20px;
    color: var(--fabrement-heading, #1d3557);
    overflow-wrap: break-word;
}

/* h3 carries the outcome rows the migration converted out of the source's
   dynamic acf/block-repeater, so it appears far more often than in an insight. */
.fab-case-single .fcs-content h3 {
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(24px, 2.9vw, 30px);
    font-weight: 600;
    line-height: 1.25;
    margin: 34px 0 14px;
    color: var(--fabrement-heading, #1d3557);
    overflow-wrap: break-word;
}

.fab-case-single .fcs-content h4 {
    font-family: var(--fabrement-font-heading, "DM Sans", sans-serif);
    font-size: clamp(21px, 2.5vw, 26px);
    font-weight: 600;
    line-height: 1.3;
    margin: 28px 0 12px;
    color: var(--fabrement-heading, #1d3557);
}

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

.fab-case-single .fcs-content strong {
    font-weight: 600;
}

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

.fab-case-single .fcs-content ul {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}

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

.fab-case-single .fcs-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--fabrement-secondary, #c7d3a5);
}

.fab-case-single .fcs-content ol {
    margin: 0 0 40px;
    padding: 0 0 0 20px;
}

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

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

.fab-case-single .fcs-content figure {
    margin: 0 0 30px;
}

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

/* Core ships wp-block-columns styling, but only above 782px and only when the theme
   opts in; these bodies use columns for the outcome pairs, so state the layout here
   rather than depend on the frame. */
.fab-case-single .fcs-content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 30px;
}

.fab-case-single .fcs-content .wp-block-column {
    flex: 1 1 260px;
    min-width: 0;
}

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

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

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

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

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

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

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

    .fab-case-single .fcs-title {
        max-width: 100%;
    }

    .fab-case-single .fcs-meta {
        font-size: 14px;
    }

    .fab-case-single .fcs-crumb-list li {
        font-size: 12px;
    }

    .fab-case-single .fcs-body {
        padding: 40px 0;
    }

    .fab-case-single .fcs-content .wp-block-columns {
        gap: 0;
    }
}
