/* ==========================================================================
   KSL MEDIATION — RESOURCE HUB
   Page 109
   ========================================================================== */

.kslm-resources {
    --oxblood-950: #470C14;
    --oxblood-900: #3D0C02;
    --oxblood-800: #7A1825;
    --oxblood-700: #972936;
    --gold: #C39A36;
    --deep-gold: #A77D1F;
    --soft-gold: #EEE3C5;
    --warm: #F7F5EF;
    --stone: #E7E2D8;
    --white: #FFFFFF;
    --charcoal: #2B2F33;
    --muted: #67615C;

    color: var(--charcoal);
}

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

.kslm-resources__eyebrow {
    margin: 0;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .15em;
    text-transform: uppercase;
}


/* =========================================================
   RETIRE DEFAULT NEVE PAGE CHROME
   ========================================================= */

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

body.page-id-109 .single-page-container,
body.page-id-109 .nv-single-page-wrap,
body.page-id-109 .nv-content-wrap,
body.page-id-109 .container.single-page-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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


/* =========================================================
   LOCKED FIXED HEADER BEHAVIOR
   ========================================================= */

@media (min-width: 960px) {

    body.page-id-109 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-109 #header-grid.site-header {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    body.page-id-109 .kslm-resources {
        margin-top: 100px !important;
    }
}


/* =========================================================
   HERO
   ========================================================= */

.kslm-resources__hero {
    padding: 40px 0 70px;

    background: var(--oxblood-900);

    color: rgba(255,255,255,.80);
}

.kslm-resources__breadcrumbs {
    display: flex;
    gap: 9px;

    margin-bottom: 48px;

    color: rgba(255,255,255,.52);

    font-size: 11px;
}

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

.kslm-resources__hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        330px;

    gap: 88px;

    align-items: center;
}

.kslm-resources__hero-copy {
    max-width: 730px;
}

.kslm-resources__hero .kslm-resources__eyebrow {
    margin-bottom: 20px;
}

.kslm-resources__hero h1 {
    max-width: 730px;

    margin: 0 0 24px;

    color: #FFFFFF;

    font-size: clamp(46px,5vw,68px);
    font-weight: 500;
    line-height: 1.00;
    letter-spacing: -.04em;
}

.kslm-resources__lede {
    max-width: 660px;

    margin: 0 0 32px;

    color: rgba(255,255,255,.78);

    font-size: 18px;
    line-height: 1.62;
}

.kslm-resources__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.kslm-resources__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .09em;

    text-decoration: none;
    text-transform: uppercase;
}

.kslm-resources__button--gold {
    border: 1px solid var(--gold);

    background: var(--gold);
    color: var(--oxblood-900);
}

.kslm-resources__button--outline {
    border: 1px solid rgba(195,154,54,.9);

    background: transparent;
    color: var(--gold);
}

.kslm-resources__button:hover,
.kslm-resources__button:focus-visible {
    border-color: #FFFFFF;

    background: #FFFFFF;
    color: var(--oxblood-900);
}


/* hero category rail */

.kslm-resources__hero-rail {
    width: 330px;

    padding-left: 30px;

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

.kslm-resources__rail-label {
    margin: 0 0 18px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;

    text-transform: uppercase;
}

.kslm-resources__rail-item {
    display: grid;

    grid-template-columns:
        32px
        minmax(0,1fr);

    gap: 12px;

    align-items: center;

    min-height: 66px;

    padding: 14px 0;

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

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

    text-decoration: none;
}

.kslm-resources__rail-item span {
    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
}

.kslm-resources__rail-item strong {
    width: max-content;
    max-width: none;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;
}


/* =========================================================
   LIBRARY
   ========================================================= */

.kslm-resources__library {
    padding: 92px 0 98px;

    background: #FFFFFF;
}

.kslm-resources__section-heading {
    display: grid;

    grid-template-columns:
        minmax(0,1.1fr)
        minmax(300px,.9fr);

    gap: 70px;

    align-items: end;

    margin-top: 12px;
    margin-bottom: 46px;
}

.kslm-resources__section-heading h2 {
    max-width: 680px;

    margin: 0;

    font-size: clamp(36px,4.2vw,52px);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -.035em;
}

.kslm-resources__section-heading p {
    max-width: 470px;

    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.7;
}

.kslm-resources__library-grid {
    display: grid;

    grid-template-columns: repeat(3,minmax(0,1fr));

    gap: 20px;
}

.kslm-resources__library-grid > p:empty {
    display: none !important;
}

.kslm-resources__library-card {
    box-sizing: border-box;

    min-height: 330px;

    padding: 30px;

    border: 1px solid #D8D4CC;

    background: #FFFFFF;
    color: var(--charcoal);

    text-decoration: none;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease;
}

.kslm-resources__library-card:hover,
.kslm-resources__library-card:focus-visible {
    transform: translateY(-3px);

    border-color: var(--gold);

    background: var(--warm);
}

.kslm-resources__card-number {
    display: block;

    margin-bottom: 34px;

    color: var(--gold);

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

.kslm-resources__card-label {
    margin: 0 0 10px;

    color: var(--deep-gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;

    text-transform: uppercase;
}

.kslm-resources__library-card h3 {
    margin: 0 0 14px;

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

.kslm-resources__library-card > p:not(.kslm-resources__card-label) {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

.kslm-resources__card-link {
    display: block;

    margin-top: 26px;

    color: var(--oxblood-800);

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   TOPIC INDEX
   ========================================================= */

.kslm-resources__topics {
    padding: 84px 0 90px;

    background: var(--warm);
}

.kslm-resources__topics .kslm-resources__shell {
    max-width: 1040px;
}

.kslm-resources__topics-heading {
    margin-bottom: 36px;
}

.kslm-resources__topics-heading h2 {
    max-width: 620px;

    margin: 10px 0 0;

    font-size: clamp(34px,3.8vw,46px);
    font-weight: 500;
    line-height: 1.08;
}

.kslm-resources__topic-index {
    border-top: 1px solid rgba(61,12,2,.18);
}

.kslm-resources__topic-index a {
    display: grid;

    grid-template-columns:
        minmax(230px,.8fr)
        minmax(0,1.4fr)
        28px;

    gap: 34px;

    align-items: center;

    padding: 22px 0;

    border-bottom: 1px solid rgba(61,12,2,.18);

    color: var(--charcoal);

    text-decoration: none;
}

.kslm-resources__topic-index a > span {
    font-size: 16px;
    font-weight: 600;
}

.kslm-resources__topic-index small {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}

.kslm-resources__topic-index b {
    color: var(--gold);

    font-size: 16px;
    font-weight: 400;
}


/* =========================================================
   DARK INSIGHTS GRID
   ========================================================= */

.kslm-resources__insights {
    padding: 92px 0 100px;

    background: var(--oxblood-950);

    color: rgba(255,255,255,.76);
}

.kslm-resources__insights h2 {
    max-width: 790px;

    margin: 12px 0 20px;

    color: #FFFFFF;

    font-size: clamp(36px,4.2vw,50px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.kslm-resources__insights-intro {
    max-width: 720px;

    margin: 0 0 48px;

    color: rgba(255,255,255,.68);

    font-size: 16px;
    line-height: 1.72;
}

.kslm-resources__insights-grid {
    display: grid;

    grid-template-columns: repeat(2,minmax(0,1fr));

    gap: 20px;
}

.kslm-resources__insights-grid > p:empty {
    display: none !important;
}

.kslm-resources__insights-grid article {
    padding: 28px 30px 30px;

    border: 1px solid rgba(195,154,54,.28);

    background: rgba(255,255,255,.035);
}

.kslm-resources__insight-label {
    margin: 0 0 11px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;

    text-transform: uppercase;
}

.kslm-resources__insights-grid h3 {
    max-width: 490px;

    margin: 0 0 10px;

    color: #FFFFFF;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.kslm-resources__insights-grid article > p:last-of-type {
    max-width: 520px;

    margin: 0;

    color: rgba(255,255,255,.67);

    font-size: 14px;
    line-height: 1.65;
}

.kslm-resources__insights-grid a {
    display: inline-block;

    margin-top: 18px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   PRACTICE NOTES
   ========================================================= */

.kslm-resources__practice {
    padding: 92px 0;

    background: #FFFFFF;
}

.kslm-resources__practice .kslm-resources__shell {
    display: grid;

    grid-template-columns:
        minmax(0,.85fr)
        minmax(0,1.15fr);

    gap: 90px;

    align-items: start;

    max-width: 1080px;
}

.kslm-resources__practice-lead h2 {
    max-width: 460px;

    margin: 12px 0 18px;

    font-size: clamp(34px,3.7vw,46px);
    font-weight: 500;
    line-height: 1.08;
}

.kslm-resources__practice-lead > p:not(.kslm-resources__eyebrow) {
    max-width: 450px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.72;
}

.kslm-resources__text-link {
    display: inline-block;

    margin-top: 24px;

    color: var(--oxblood-800);

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

    text-decoration: none;
}

.kslm-resources__practice-list {
    border-top: 1px solid #DDD7CE;
}

.kslm-resources__practice-list a {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 28px;

    padding: 21px 0;

    border-bottom: 1px solid #DDD7CE;

    color: var(--charcoal);

    text-decoration: none;
}

.kslm-resources__practice-list span {
    display: grid;
    gap: 6px;
}

.kslm-resources__practice-list small {
    color: var(--gold);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;

    text-transform: uppercase;
}

.kslm-resources__practice-list strong {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.kslm-resources__practice-list b {
    color: var(--gold);

    font-weight: 400;
}


/* =========================================================
   FUTURE ARTICLE / CASE STUDY HUB
   ========================================================= */

.kslm-resources__future {
    padding: 88px 0 96px;

    background: var(--soft-gold);
}

.kslm-resources__future-heading {
    max-width: 760px;

    margin-bottom: 42px;
}

.kslm-resources__future-heading h2 {
    margin: 10px 0 16px;

    font-size: clamp(34px,4vw,48px);
    font-weight: 500;
    line-height: 1.08;
}

.kslm-resources__future-heading > p:last-child {
    max-width: 650px;

    margin: 0;

    color: #645C4D;

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

.kslm-resources__future-grid {
    display: grid;

    grid-template-columns: repeat(3,minmax(0,1fr));

    gap: 20px;
}

.kslm-resources__future-grid > p:empty {
    display: none !important;
}

.kslm-resources__future-grid article {
    min-height: 245px;

    padding: 27px;

    border-top: 3px solid var(--gold);
    border-right: 1px solid rgba(61,12,2,.14);
    border-bottom: 1px solid rgba(61,12,2,.14);
    border-left: 1px solid rgba(61,12,2,.14);

    background: rgba(255,255,255,.52);
}

.kslm-resources__future-type {
    margin: 0 0 22px;

    color: var(--deep-gold);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;

    text-transform: uppercase;
}

.kslm-resources__future-grid h3 {
    margin: 0 0 11px;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.kslm-resources__future-grid article > p:last-of-type {
    margin: 0;

    color: #675F54;

    font-size: 13px;
    line-height: 1.65;
}

.kslm-resources__future-grid a {
    display: inline-block;

    margin-top: 18px;

    color: var(--oxblood-800);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   CLOSING
   ========================================================= */

.kslm-resources__closing {
    padding: 56px 0;

    background: var(--oxblood-800);
}

.kslm-resources__closing-grid {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.kslm-resources__closing h2 {
    margin: 8px 0 0;

    color: #FFFFFF;

    font-size: clamp(28px,3vw,39px);
    font-weight: 500;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 959px) {

    .kslm-resources__hero-grid,
    .kslm-resources__section-heading,
    .kslm-resources__practice .kslm-resources__shell {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kslm-resources__hero-rail {
        width: 100%;
        max-width: 620px;
    }

    .kslm-resources__library-grid,
    .kslm-resources__future-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

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

    .kslm-resources__insights-grid {
        grid-template-columns: 1fr;
    }

    .kslm-resources__topic-index a {
        grid-template-columns:
            minmax(0,1fr)
            20px;

        gap: 16px;
    }

    .kslm-resources__topic-index small {
        display: none;
    }

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

    .kslm-resources__rail-item strong {
        white-space: normal;
    }
}


/* ==========================================================================
   KSLM RESOURCE LIBRARY — WPAUTOP-SAFE CARD DOM V2
   Articles are the grid children; links live inside the cards.
   ========================================================================== */

body.page-id-109 .kslm-resources__library-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
}

body.page-id-109 .kslm-resources__library-grid > p:empty {
    display: none !important;
}

body.page-id-109 .kslm-resources__library-card {
    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    min-height: 330px !important;

    color: #2B2F33 !important;
}

body.page-id-109 .kslm-resources__library-card h3 a {
    color: #2B2F33 !important;
    text-decoration: none !important;
}

body.page-id-109 .kslm-resources__library-card h3 a:hover,
body.page-id-109 .kslm-resources__library-card h3 a:focus-visible {
    color: #7A1825 !important;
}

body.page-id-109 .kslm-resources__library-card
> p:not(.kslm-resources__card-label) {
    margin-bottom: 0 !important;
}

body.page-id-109 .kslm-resources__card-link {
    margin-top: auto !important;
    padding-top: 26px !important;

    color: #7A1825 !important;
    text-decoration: none !important;
}

body.page-id-109 .kslm-resources__card-link:hover,
body.page-id-109 .kslm-resources__card-link:focus-visible {
    color: #C39A36 !important;
}

@media (max-width: 959px) {
    body.page-id-109 .kslm-resources__library-grid {
        grid-template-columns: 1fr !important;
    }
}
