/* =========================================================
   KSL MEDIATION — HOW MEDIATION WORKS
   Page 106
   ========================================================= */

.kslm-how {
    --oxblood: #3D0C02;
    --oxblood-light: #521409;
    --gold: #C39A36;
    --warm: #F7F5EF;
    --stone: #E7E2D8;
    --charcoal: #2B2F33;
    --white: #FFFFFF;

    color: var(--charcoal);
}

.kslm-how__shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.kslm-how__eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}


/* HERO */

.kslm-how__hero {
    padding: 42px 0 58px;
    background: var(--oxblood);
    color: rgba(255,255,255,.80);
}

.kslm-how__breadcrumbs {
    display: flex;
    gap: 9px;
    margin-bottom: 42px;
    color: rgba(255,255,255,.52);
    font-size: 11px;
}

.kslm-how__breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.kslm-how__hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr);
    gap: clamp(60px,8vw,110px);
    align-items: end;
}

.kslm-how__hero-copy {
    max-width: 700px;
}

.kslm-how__hero .kslm-how__eyebrow {
    margin-bottom: 20px;
}

.kslm-how__hero h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--white);
    font-size: clamp(44px,5vw,64px);
    font-weight: 500;
    letter-spacing: -.038em;
    line-height: 1.02;
}

.kslm-how__lede {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.6;
}

.kslm-how__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 21px;

    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--oxblood);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
}

.kslm-how__button:hover,
.kslm-how__button:focus-visible {
    border-color: var(--white);
    background: var(--white);
    color: var(--oxblood);
}


/* RIGHT PROCESS RAIL */

.kslm-how__process {
    padding-left: 30px;
    border-left: 1px solid rgba(195,154,54,.55);
}

.kslm-how__process-label {
    margin: 0 0 17px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.kslm-how__process-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 15px 0;

    border-top: 1px solid rgba(195,154,54,.25);
}

.kslm-how__process-item span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: .1em;
}

.kslm-how__process-item strong {
    color: rgba(255,255,255,.90);
    font-size: 14px;
    font-weight: 500;
}


/* INTRO */

.kslm-how__intro {
    padding: 78px 0;
    background: var(--warm);
}

.kslm-how__intro-grid {
    display: grid;
    grid-template-columns: 210px minmax(0,1fr);
    gap: 60px;
}

.kslm-how__intro h2 {
    max-width: 780px;
    margin: 0 0 20px;
    color: var(--charcoal);
    font-size: clamp(32px,3.6vw,46px);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.1;
}

.kslm-how__intro p:not(.kslm-how__eyebrow) {
    max-width: 700px;
    margin: 0;
    color: #67615C;
    font-size: 17px;
    line-height: 1.7;
}


/* PROCESS STEPS */

.kslm-how__steps {
    padding: 88px 0 94px;
    background: #FFFFFF;
}

.kslm-how__steps > .kslm-how__shell > h2 {
    margin: 13px 0 50px;
    color: var(--charcoal);
    font-size: clamp(34px,4vw,48px);
    font-weight: 500;
    letter-spacing: -.03em;
}

.kslm-how__step {
    display: grid;
    grid-template-columns: 90px minmax(0,1fr);
    gap: 34px;

    padding: 30px 0;
    border-top: 1px solid #DDD7CE;
}

.kslm-how__step:last-child {
    border-bottom: 1px solid #DDD7CE;
}

.kslm-how__number {
    padding-top: 4px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.kslm-how__step h3 {
    margin: 0 0 9px;
    color: var(--charcoal);
    font-size: 22px;
    font-weight: 600;
}

.kslm-how__step p {
    max-width: 720px;
    margin: 0;
    color: #66615D;
    font-size: 15px;
    line-height: 1.65;
}

.kslm-how__step a {
    display: inline-block;
    margin-top: 13px;
    color: var(--oxblood);
    font-weight: 700;
    text-decoration: none;
}


/* CLOSING */

.kslm-how__closing {
    padding: 56px 0;
    background: var(--oxblood);
}

.kslm-how__closing-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.kslm-how__closing h2 {
    margin: 8px 0 0;
    color: #FFFFFF;
    font-size: clamp(28px,3vw,38px);
    font-weight: 500;
}


/* RESPONSIVE */

@media (max-width: 959px) {

    .kslm-how__hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .kslm-how__process {
        max-width: 620px;
    }

    .kslm-how__intro-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 767px) {

    .kslm-how__shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .kslm-how__hero {
        padding-top: 34px;
    }

    .kslm-how__hero h1 {
        font-size: clamp(39px,11vw,52px);
    }

    .kslm-how__process {
        padding-left: 0;
        padding-top: 24px;
        border-left: 0;
        border-top: 1px solid rgba(195,154,54,.55);
    }

    .kslm-how__step {
        grid-template-columns: 42px 1fr;
        gap: 18px;
    }

    .kslm-how__closing-grid {
        display: grid;
    }
}


/* ==========================================================================
   KSLM HOW MEDIATION WORKS — PAGE SHELL CORRECTION V1
   Page 106 only.
   Removes Neve duplicate title geometry and restores KSL full-width rails.
   ========================================================================== */


/* ---------------------------------------------------------
   1. RETIRE NEVE'S DEFAULT PAGE TITLE / BREADCRUMB
   Our page supplies its own semantic H1 + breadcrumb.
   --------------------------------------------------------- */

body.page-id-106 .nv-page-title-wrap,
body.page-id-106 .nv-title-meta-wrap,
body.page-id-106 .nv-breadcrumbs-wrapper,
body.page-id-106 .page_header,
body.page-id-106 .entry-header {
    display: none !important;
}


/* ---------------------------------------------------------
   2. REMOVE NORMAL NEVE CONTENT CONSTRAINTS
   The custom page owns its own 1200px rails.
   --------------------------------------------------------- */

body.page-id-106 .single-page-container,
body.page-id-106 .nv-single-page-wrap,
body.page-id-106 .nv-content-wrap,
body.page-id-106 .container.single-page-container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-106 .single-page-container > .row,
body.page-id-106 .nv-single-page-wrap > .row {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}

body.page-id-106 .nv-content-wrap > .kslm-how,
body.page-id-106 .nv-content-wrap > div.kslm-how {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}


/* WordPress content typography must not constrain our custom layout */

body.page-id-106 .kslm-how h1,
body.page-id-106 .kslm-how h2,
body.page-id-106 .kslm-how h3,
body.page-id-106 .kslm-how p,
body.page-id-106 .kslm-how div,
body.page-id-106 .kslm-how section {
    max-width: none;
}


/* ---------------------------------------------------------
   3. RESTORE LOCKED HEADER BEHAVIOR
   Do not alter geometry; only restore sticky ownership.
   --------------------------------------------------------- */

@media (min-width: 960px) {

    body.page-id-106 header.header {
        position: sticky !important;
        top: 0 !important;

        width: 100% !important;

        z-index: 999999 !important;

        background: #ffffff !important;
    }

    body.page-id-106 #header-grid.site-header {
        position: relative !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    body.page-id-106 {
        padding-top: 0 !important;
    }
}


/* ---------------------------------------------------------
   4. PROCESS ROW GEOMETRY
   Prevent theme content rules from crushing column two.
   --------------------------------------------------------- */

body.page-id-106 .kslm-how__step {
    box-sizing: border-box !important;

    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        70px
        minmax(0, 1fr) !important;

    column-gap: 36px !important;

    align-items: start !important;
}

body.page-id-106 .kslm-how__step > div {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.page-id-106 .kslm-how__step h3 {
    width: auto !important;
    max-width: 760px !important;
}

body.page-id-106 .kslm-how__step p {
    width: auto !important;
    max-width: 760px !important;
}


/* ---------------------------------------------------------
   5. HERO — minor-page proportions
   Keep it clearly subordinate to homepage.
   --------------------------------------------------------- */

body.page-id-106 .kslm-how__hero {
    padding-top: 40px !important;
    padding-bottom: 58px !important;
}

body.page-id-106 .kslm-how__hero-grid {
    grid-template-columns:
        minmax(0, 1.5fr)
        260px !important;

    gap: 76px !important;
}

body.page-id-106 .kslm-how__hero h1 {
    max-width: 680px !important;

    font-size: clamp(44px, 4.4vw, 62px) !important;
}

body.page-id-106 .kslm-how__process {
    width: 100% !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 959px) {

    body.page-id-106 .kslm-how__hero-grid {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
    }
}

@media (max-width: 767px) {

    body.page-id-106 .kslm-how__step {
        grid-template-columns:
            36px
            minmax(0, 1fr) !important;

        column-gap: 16px !important;
    }
}


/* ==========================================================================
   KSLM HOW MEDIATION WORKS — CENTER RAILS V2
   Corrects prior max-width reset and establishes editorial content rails.
   ========================================================================== */


/* ---------------------------------------------------------
   RESTORE MASTER PAGE RAIL
   --------------------------------------------------------- */

body.page-id-106 .kslm-how .kslm-how__shell {
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 1200px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* Do not let the earlier generic reset destroy structural rails */

body.page-id-106 .kslm-how__hero-grid,
body.page-id-106 .kslm-how__intro-grid,
body.page-id-106 .kslm-how__closing-grid,
body.page-id-106 .kslm-how__steps .kslm-how__shell {
    max-width: 100% !important;
}


/* ---------------------------------------------------------
   HERO
   Keep same 1200px family as header/homepage.
   --------------------------------------------------------- */

body.page-id-106 .kslm-how__hero .kslm-how__shell {
    max-width: 1200px !important;
}


/* ---------------------------------------------------------
   INTRO — slightly tighter editorial rail
   --------------------------------------------------------- */

body.page-id-106 .kslm-how__intro .kslm-how__shell {
    max-width: 1040px !important;
}

body.page-id-106 .kslm-how__intro-grid {
    grid-template-columns:
        180px
        minmax(0, 1fr) !important;

    column-gap: 64px !important;
}

body.page-id-106 .kslm-how__intro h2 {
    max-width: 720px !important;
}

body.page-id-106 .kslm-how__intro p:not(.kslm-how__eyebrow) {
    max-width: 680px !important;
}


/* ---------------------------------------------------------
   PROCESS SECTION
   Give the reading content a dedicated centered rail.
   --------------------------------------------------------- */

body.page-id-106 .kslm-how__steps > .kslm-how__shell {
    width: 100% !important;
    max-width: 980px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* Section heading */

body.page-id-106 .kslm-how__steps > .kslm-how__shell > .kslm-how__eyebrow {
    margin-bottom: 12px !important;
}

body.page-id-106 .kslm-how__steps > .kslm-how__shell > h2 {
    max-width: 720px !important;

    margin-top: 0 !important;
    margin-bottom: 42px !important;
}


/* Individual process rows */

body.page-id-106 .kslm-how__step {
    box-sizing: border-box !important;

    display: grid !important;

    grid-template-columns:
        58px
        minmax(0, 1fr) !important;

    column-gap: 34px !important;

    width: 100% !important;

    padding-top: 28px !important;
    padding-bottom: 30px !important;

    border-top:
        1px solid rgba(61,12,2,.18) !important;
}

body.page-id-106 .kslm-how__step:last-child {
    border-bottom:
        1px solid rgba(61,12,2,.18) !important;
}


/* Number rail */

body.page-id-106 .kslm-how__number {
    display: block !important;

    width: auto !important;

    padding-top: 4px !important;

    color: #C39A36 !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
}


/* Content rail */

body.page-id-106 .kslm-how__step > div {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 760px !important;
}

body.page-id-106 .kslm-how__step h3 {
    width: auto !important;
    max-width: 680px !important;

    margin: 0 0 9px !important;

    color: #2B2F33 !important;

    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

body.page-id-106 .kslm-how__step p {
    width: auto !important;
    max-width: 680px !important;

    margin: 0 !important;

    color: #66615D !important;

    font-size: 15px !important;
    line-height: 1.7 !important;
}

body.page-id-106 .kslm-how__step a {
    display: inline-block !important;

    margin-top: 13px !important;

    color: #3D0C02 !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    text-decoration: none !important;
}

body.page-id-106 .kslm-how__step a:hover,
body.page-id-106 .kslm-how__step a:focus-visible {
    color: #C39A36 !important;
}


/* ---------------------------------------------------------
   CLOSING CTA
   Same rail as primary site composition.
   --------------------------------------------------------- */

body.page-id-106 .kslm-how__closing .kslm-how__shell {
    max-width: 1200px !important;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    body.page-id-106 .kslm-how .kslm-how__shell,
    body.page-id-106 .kslm-how__steps > .kslm-how__shell {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body.page-id-106 .kslm-how__intro-grid {
        grid-template-columns: 1fr !important;
        row-gap: 18px !important;
    }

    body.page-id-106 .kslm-how__step {
        grid-template-columns:
            34px
            minmax(0, 1fr) !important;

        column-gap: 16px !important;
    }
}


/* ==========================================================================
   KSLM HOW MEDIATION WORKS — POLISH V3
   Header sticky + hero rail + reading rail + CTA color separation
   ========================================================================== */


/* =========================================================
   1. HEADER — RESTORE LOCKED STICKY BEHAVIOR
   ========================================================= */

@media (min-width: 960px) {

    body.page-id-106 header.header {
        position: sticky !important;
        top: 0 !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;

        z-index: 9999999 !important;

        background: #FFFFFF !important;
    }

    body.page-id-106 #header-grid.site-header {
        position: relative !important;
        top: auto !important;
    }

    body.page-id-106 {
        padding-top: 0 !important;
    }
}


/* =========================================================
   2. HERO — CLEANER MINOR-PAGE COMPOSITION
   ========================================================= */

body.page-id-106 .kslm-how__hero {
    padding-top: 40px !important;
    padding-bottom: 64px !important;
}

body.page-id-106 .kslm-how__hero-grid {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        300px !important;

    column-gap: 88px !important;

    align-items: center !important;
}

body.page-id-106 .kslm-how__hero-copy {
    max-width: 690px !important;
}


/* Right process rail */

body.page-id-106 .kslm-how__process {
    box-sizing: border-box !important;

    width: 300px !important;

    padding-left: 30px !important;

    border-left:
        1px solid rgba(195,154,54,.60) !important;
}

body.page-id-106 .kslm-how__process-label {
    margin: 0 0 18px !important;
}

body.page-id-106 .kslm-how__process-item {
    display: grid !important;

    grid-template-columns:
        34px
        minmax(0,1fr) !important;

    column-gap: 14px !important;

    align-items: center !important;

    min-height: 66px !important;

    padding: 14px 0 !important;

    border-top:
        1px solid rgba(195,154,54,.28) !important;
}

body.page-id-106 .kslm-how__process-item span {
    color: #C39A36 !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .10em !important;
}

body.page-id-106 .kslm-how__process-item strong {
    display: block !important;

    width: auto !important;

    color: rgba(255,255,255,.92) !important;

    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;

    white-space: nowrap !important;
}


/* =========================================================
   3. INTRO — QUIET TRANSITION
   ========================================================= */

body.page-id-106 .kslm-how__intro {
    background: #FFFFFF !important;

    padding-top: 72px !important;
    padding-bottom: 72px !important;
}


/* =========================================================
   4. WHAT TO EXPECT — TRUE READING RAIL
   Style guide Warm Off-White: #F7F5EF
   ========================================================= */

body.page-id-106 .kslm-how__steps {
    background: #F7F5EF !important;

    padding-top: 84px !important;
    padding-bottom: 92px !important;
}

body.page-id-106 .kslm-how__steps > .kslm-how__shell {
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 960px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 24px !important;
    padding-right: 24px !important;
}


/* Heading block */

body.page-id-106 .kslm-how__steps
> .kslm-how__shell
> .kslm-how__eyebrow {
    margin: 0 0 12px !important;

    color: #C39A36 !important;
}

body.page-id-106 .kslm-how__steps
> .kslm-how__shell
> h2 {
    margin: 0 0 46px !important;

    color: #2B2F33 !important;

    font-size: clamp(36px,4vw,48px) !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
    letter-spacing: -.03em !important;
}


/* Process rows — use flex so inherited grid rules cannot crush copy */

body.page-id-106 .kslm-how__step {
    box-sizing: border-box !important;

    display: flex !important;

    width: 100% !important;

    gap: 34px !important;

    padding: 30px 0 32px !important;

    border-top:
        1px solid rgba(61,12,2,.18) !important;
}

body.page-id-106 .kslm-how__step:last-child {
    border-bottom:
        1px solid rgba(61,12,2,.18) !important;
}


/* Number rail */

body.page-id-106 .kslm-how__number {
    flex: 0 0 54px !important;

    width: 54px !important;

    padding-top: 5px !important;

    color: #C39A36 !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
}


/* Copy rail */

body.page-id-106 .kslm-how__step > div {
    display: block !important;

    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 720px !important;
}

body.page-id-106 .kslm-how__step h3 {
    display: block !important;

    width: auto !important;
    max-width: 640px !important;

    margin: 0 0 10px !important;

    color: #2B2F33 !important;

    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

body.page-id-106 .kslm-how__step p {
    display: block !important;

    width: auto !important;
    max-width: 680px !important;

    margin: 0 !important;

    color: #5F615F !important;

    font-size: 15px !important;
    line-height: 1.7 !important;
}

body.page-id-106 .kslm-how__step a {
    display: inline-block !important;

    margin-top: 14px !important;

    color: #7A1825 !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    text-decoration: none !important;
}

body.page-id-106 .kslm-how__step a:hover,
body.page-id-106 .kslm-how__step a:focus-visible {
    color: #C39A36 !important;
}


/* =========================================================
   5. FINAL CTA — DIFFERENT FROM FOOTER
   Style guide Oxblood 800: #7A1825
   Footer remains #3D0C02
   ========================================================= */

body.page-id-106 .kslm-how__closing {
    background: #7A1825 !important;

    padding-top: 54px !important;
    padding-bottom: 54px !important;

    border: 0 !important;
}

body.page-id-106 .kslm-how__closing h2 {
    color: #FFFFFF !important;
}

body.page-id-106 .kslm-how__closing .kslm-how__eyebrow {
    color: #C39A36 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 959px) {

    body.page-id-106 .kslm-how__hero-grid {
        grid-template-columns: 1fr !important;

        row-gap: 40px !important;
    }

    body.page-id-106 .kslm-how__process {
        width: 100% !important;
        max-width: 600px !important;
    }
}

@media (max-width: 767px) {

    body.page-id-106 .kslm-how__step {
        gap: 16px !important;
    }

    body.page-id-106 .kslm-how__number {
        flex-basis: 32px !important;
        width: 32px !important;
    }

    body.page-id-106 .kslm-how__process-item strong {
        white-space: normal !important;
    }
}


/* ==========================================================================
   KSLM MINOR PAGE HEADER + HERO RAIL FINAL
   Page 106
   ========================================================================== */

@media (min-width: 960px) {

    body.page-id-106 header.header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        z-index: 9999999 !important;

        background: #FFFFFF !important;
    }

    body.page-id-106 #header-grid.site-header {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    /* Preserve the locked 100px top-state header footprint */
    body.page-id-106 .kslm-how {
        margin-top: 100px !important;
    }
}


/* Right hero rail: one line per item */

body.page-id-106 .kslm-how__process {
    width: 320px !important;
}

body.page-id-106 .kslm-how__process-item {
    grid-template-columns: 30px minmax(0,1fr) !important;
}

body.page-id-106 .kslm-how__process-item strong {
    width: max-content !important;
    max-width: none !important;

    white-space: nowrap !important;
}


/* ==========================================================================
   KSLM HOW MEDIATION WORKS — FIXED HEADER ANCESTOR
   ========================================================================== */

body.page-id-106 .wrapper {
    overflow: visible !important;
}
