/* Step 51D — homepage-only responsive section width improvements.
   Scoped to .lch-home; does not change global service-page layouts. */

.lch-home .lch-heading-row,
.lch-home .lch-assessment-heading,
.lch-home .lch-decisions > .wrap > .lch-decision-heading,
.lch-home .lch-faq-premium .lch-faq-layout {
    min-width: 0;
}

.lch-home .lch-heading-row > *,
.lch-home .lch-assessment-heading > *,
.lch-home .lch-decision-heading > *,
.lch-home .lch-faq-layout > * {
    min-width: 0;
}

.lch-home .lch-situations .lch-heading-row h2,
.lch-home .lch-assessment-heading h2,
.lch-home .lch-decisions .lch-decision-heading h2,
.lch-home .lch-faq-premium .lch-faq-heading h2 {
    overflow-wrap: break-word;
    text-wrap: pretty;
}

@media (max-width: 1024px) {
    .lch-home .lch-situations .lch-heading-row,
    .lch-home .lch-assessment-heading,
    .lch-home .lch-decisions > .wrap > .lch-decision-heading,
    .lch-home .lch-faq-premium .lch-faq-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 20px;
    }

    .lch-home .lch-situations .lch-heading-row h2,
    .lch-home .lch-assessment-heading h2,
    .lch-home .lch-decisions .lch-decision-heading h2,
    .lch-home .lch-faq-premium .lch-faq-heading h2,
    .lch-home .lch-situations .lch-heading-row > p,
    .lch-home .lch-assessment-heading > p,
    .lch-home .lch-decisions .lch-decision-heading > p,
    .lch-home .lch-faq-premium .lch-faq-heading > p {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .lch-home .lch-faq-premium .lch-faq-heading {
        position: static;
        top: auto;
    }

    .lch-home .lch-faq-premium-help {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .lch-home .lch-situations .lch-heading-row,
    .lch-home .lch-assessment-heading,
    .lch-home .lch-decisions > .wrap > .lch-decision-heading,
    .lch-home .lch-faq-premium .lch-faq-layout {
        gap: 16px;
    }

    .lch-home .lch-situations .lch-heading-row h2,
    .lch-home .lch-assessment-heading h2,
    .lch-home .lch-decisions .lch-decision-heading h2,
    .lch-home .lch-faq-premium .lch-faq-heading h2 {
        font-size: clamp(29px, 8vw, 38px);
        line-height: 1.15;
        letter-spacing: -0.025em;
    }

    .lch-home .lch-faq-premium-help {
        padding: clamp(17px, 5vw, 24px);
    }

    .lch-home .lch-faq-premium-help a {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }

    .lch-home .lch-faq-premium-list summary {
        min-width: 0;
    }

    .lch-home .lch-faq-premium-list summary strong {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .lch-home .lch-situations .lch-heading-row h2,
    .lch-home .lch-assessment-heading h2,
    .lch-home .lch-decisions .lch-decision-heading h2,
    .lch-home .lch-faq-premium .lch-faq-heading h2 {
        font-size: 28px;
    }

    .lch-home .lch-faq-premium-help a {
        gap: 12px;
        padding: 12px 14px;
    }
}


/* STEP 51F — FAQ RESPONSIVE FULL-WIDTH CORRECTION */
@media (max-width: 1024px) {
    .lch-home section.lch-faq-premium > .wrap.lch-faq-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        gap: 28px;
    }

    .lch-home section.lch-faq-premium .lch-faq-heading,
    .lch-home section.lch-faq-premium .lch-faq-premium-list {
        width: 100%;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
    }

    .lch-home section.lch-faq-premium .lch-faq-heading {
        position: static;
        top: auto;
    }

    .lch-home section.lch-faq-premium .lch-faq-heading h2,
    .lch-home section.lch-faq-premium .lch-faq-heading > p {
        display: block;
        width: 100%;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
    }

    .lch-home section.lch-faq-premium .lch-faq-premium-help {
        width: 100%;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .lch-home section.lch-faq-premium > .wrap.lch-faq-layout {
        gap: 24px;
    }

    .lch-home section.lch-faq-premium .lch-faq-heading h2 {
        font-size: clamp(28px, 7.5vw, 36px);
        line-height: 1.16;
        overflow-wrap: break-word;
    }

    .lch-home section.lch-faq-premium .lch-faq-premium-help {
        padding: 20px;
    }
}


/* STEP 51J — FAQ EDGES AND RESPONSIVE CTA */
@media (min-width: 601px) and (max-width: 1024px) {
    .lch-home section.lch-faq-premium > .wrap.lch-faq-layout {
        width: calc(100% - 48px);
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }

    .lch-home section.lch-faq-premium .lch-faq-premium-help {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 28px;
        row-gap: 12px;
    }

    .lch-home section.lch-faq-premium .lch-faq-premium-help > span,
    .lch-home section.lch-faq-premium .lch-faq-premium-help > strong {
        grid-column: 1;
    }

    .lch-home section.lch-faq-premium .lch-faq-premium-help > a {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        margin-top: 0;
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    .lch-home section.lch-faq-premium > .wrap.lch-faq-layout {
        width: calc(100% - 32px);
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }

    .lch-home section.lch-faq-premium .lch-faq-premium-help {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .lch-home section.lch-faq-premium .lch-faq-premium-help > a {
        display: flex;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        margin-top: 8px;
    }
}
