/* UMOYA Website 2.0 | Phase 4J: How We Help
   Consolidated from owner stylesheet, 15 October 2026.
   Native Gutenberg content remains editable; all rules are page-scoped. */

/* Shared page treatment */
body.umoya-help-page .umoya-page-main > .wp-block-post-title {
    /* Let the theme control the H1's full-width shell and centering. */
    background: #FAF8F3;
}
.umoya-help {
    background: #FAF8F3;
}
.umoya-help > .umoya-fees-wrap {
    margin-top: 0;
    margin-bottom: 0;
}
.umoya-help h2 {
    max-width: 38ch;
    margin-bottom: 22px;
}
.umoya-help h3 {
    margin: 0 0 20px;
    font-family: var(--umoya-display);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--fees-blue);
    overflow-wrap: anywhere;
    hyphens: auto;
    text-wrap: balance;
}
.umoya-help p + p {
    margin-top: 18px;
}

/* The opening is governed by page-layout.css. */

/* B. The five concern panels */
.umoya-help .umoya-help-reasons {
    padding-bottom: 50px;
}
.umoya-help .umoya-help-section-intro {
    max-width: 65ch;
    margin-bottom: 28px;
}
.umoya-help .umoya-help-three-panels,
.umoya-help .umoya-help-wide-panels {
    display: grid;
    gap: 24px;
    align-items: stretch;
}
.umoya-help .umoya-help-three-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.umoya-help .umoya-help-wide-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}
/* Gutenberg's block-gap margins must not offset individual grid items. */
.umoya-help .umoya-help-three-panels > .umoya-help-concern,
.umoya-help .umoya-help-wide-panels > .umoya-help-concern {
    margin: 0 !important;
    align-self: stretch;
}
.umoya-help .umoya-help-concern {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 0;
    background: #F0EEE9;
}
/* No icon on the outer card; use precisely one icon inside the heading. */
.umoya-help .umoya-help-concern > :first-child {
    margin-top: 0 !important;
}
.umoya-help .umoya-help-concern h3 {
    margin-top: 0 !important;
}
.umoya-help .umoya-help-concern h3::before {
    content: "";
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}
.umoya-help .umoya-help-concern-0 h3::before {
    background-image: url("../icons/help-back.svg");
}
.umoya-help .umoya-help-concern-1 h3::before {
    background-image: url("../icons/help-neck.svg");
}
.umoya-help .umoya-help-concern-2 h3::before {
    background-image: url("../icons/help-headaches.svg");
}
.umoya-help .umoya-help-concern-3 h3::before {
    background-image: url("../icons/help-stress.svg");
}
.umoya-help .umoya-help-concern-4 h3::before {
    background-image: url("../icons/help-pregnancy.svg");
}
/* Reserve room for two-line headings so all three body texts begin level. */
@media (min-width: 901px) {
    .umoya-help .umoya-help-three-panels .umoya-help-concern h3 {
        min-height: 140px;
    }
}
.umoya-help .umoya-help-concern h3 + p {
    margin-top: 0 !important;
}
.umoya-help .umoya-help-pending-link {
    font-size: 16px;
    color: var(--fees-body);
}
.umoya-help .umoya-help-pending-link strong {
    font-weight: 600;
}
.umoya-help .umoya-help-three-panels .umoya-help-pending-link {
    margin-top: auto;
    padding-top: 24px;
}
.umoya-help .umoya-help-context-note {
    max-width: 75ch;
    margin-top: 26px;
    font-size: 16px;
}

/* C. Beyond pain: editorial text and the existing practice photograph */
.umoya-help .umoya-help-editorial {
    padding: 40px 0 50px;
    border-top: 1px solid var(--fees-rule);
}
.umoya-help .umoya-help-photo-layout {
    display: flex;
    gap: 42px;
    align-items: flex-start;
}
.umoya-help .umoya-help-photo-layout > .wp-block-column {
    flex: 1 1 0 !important;
    min-width: 0;
    margin: 0;
}
.umoya-help .umoya-help-photo-layout > .umoya-help-photo-text {
    flex-grow: 1.3 !important;
}
.umoya-help .umoya-help-photo {
    margin: 0;
    aspect-ratio: 4 / 3;
}
.umoya-help .umoya-help-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* D. Your situation matters */
.umoya-help .umoya-help-situation {
    padding: 36px 0 54px;
    border-top: 3px solid var(--fees-orange);
}
.umoya-help .umoya-help-situation-layout {
    display: grid !important;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 48px !important;
}
.umoya-help .umoya-help-situation-layout > .wp-block-column {
    min-width: 0;
    flex-basis: auto !important;
    margin: 0;
}
.umoya-help .umoya-help-situation-statement strong {
    display: block;
    margin-bottom: 18px;
    font-family: var(--umoya-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--fees-blue);
}

/* E. Consultation invitation: keep inherited navy/white/CTA treatment */
.umoya-help .umoya-help-closing {
    display: block;
    padding: 68px 0 74px;
}
.umoya-help .umoya-help-closing > .umoya-fees-wrap {
    /* Deliberately use the broader page grid instead of the old 740px column. */
    box-sizing: border-box;
    width: min(100% - 2 * var(--umoya-phone-gutter, 20px), 1100px);
    max-width: 1100px !important;
    margin-inline: auto;
}
.umoya-help .umoya-help-closing h2 {
    max-width: none;
    font-size: clamp(28px, 3vw, 36px);
    margin-bottom: 26px;
}
.umoya-help .umoya-help-closing > .umoya-fees-wrap > p:not(.umoya-help-closing-statement) {
    max-width: 90ch;
}
.umoya-help .umoya-help-closing-statement {
    max-width: 74ch;
    padding-left: 22px;
    border-left: 3px solid #F36D34;
    margin-top: 34px;
    font-size: 22px;
    line-height: 1.5;
}
.umoya-help .umoya-help-closing-statement strong {
    font-weight: 500;
}
.umoya-help .umoya-help-closing-actions {
    max-width: 100%;
    margin-top: 32px;
}
.umoya-help .umoya-help-closing-actions .wp-block-button__link {
    padding: 17px 26px;
    font-size: 16px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1180px) {
    .umoya-help .umoya-help-concern {
        padding: 24px;
    }
}
@media (max-width: 900px) {
    .umoya-help .umoya-help-three-panels,
    .umoya-help .umoya-help-wide-panels {
        grid-template-columns: minmax(0, 1fr);
    }
    .umoya-help .umoya-help-wide-panels {
        margin-top: 24px;
    }
    .umoya-help .umoya-help-photo-layout {
        flex-direction: column;
        gap: 28px;
    }
    .umoya-help .umoya-help-photo-layout > .wp-block-column {
        flex: 0 0 auto !important;
        width: 100%;
    }
    .umoya-help .umoya-help-photo-column {
        max-width: 640px;
    }
    .umoya-help .umoya-help-situation-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px !important;
    }
    .umoya-help .umoya-help-closing {
        padding: 36px 0 42px;
    }
}
@media (max-width: 600px) {
    .umoya-help h2 {
        font-size: 25px;
    }
    .umoya-help h3 {
        font-size: 22px;
    }
    .umoya-help .umoya-help-concern {
        padding: 24px 20px;
    }
    .umoya-help .umoya-help-concern h3::before {
        width: 56px;
        height: 56px;
    }
    .umoya-help .umoya-help-reasons {
        padding-bottom: 36px;
    }
    .umoya-help .umoya-help-editorial {
        padding: 30px 0 36px;
    }
    .umoya-help .umoya-help-situation {
        padding: 28px 0 36px;
    }
    .umoya-help .umoya-help-situation-statement strong {
        font-size: 22px;
    }
    .umoya-help .umoya-help-closing {
        padding: 42px 0 48px;
    }
    .umoya-help .umoya-help-closing h2 {
        font-size: 28px;
    }
    .umoya-help .umoya-help-closing-statement {
        font-size: 20px;
        padding-left: 16px;
    }
    .umoya-help .umoya-help-closing-actions,
    .umoya-help .umoya-help-closing-actions > .wp-block-button,
    .umoya-help .umoya-help-closing-actions .wp-block-button__link {
        width: 100%;
    }
}

/* Keep the two editorial anchor headings below the existing sticky header. */
.umoya-help :is(#other-joint-complaints, #andere-gewrichtsklachten) {
    scroll-margin-top: 150px;
}
