/* UMOYA Website 2.0 | Shared editorial opening system (Phase 4I + 4J)
   Applies ONLY to Our Approach and How We Help, EN/NL. The H1 remains owned by
   fees.css and the theme's WordPress page-title template. */

:where(body.umoya-approach-page, body.umoya-help-page) {
    --umoya-editorial-bg: #FAF8F3;
    --umoya-editorial-navy: #174574;
    --umoya-editorial-inset: 48px;
}

/* Same spacing after the H1 and before the first substantive section. */
:is(.umoya-approach .umoya-approach-opening,
    .umoya-help .umoya-help-opening) {
    padding: 18px 0 48px;
}

/* Wider outer shell makes the statement/intro independent of one another.
   Avoid vw-based translation, which caused earlier centering confusion. */
.umoya-approach .umoya-approach-opening > .umoya-fees-wrap,
.umoya-help .umoya-help-opening > .umoya-fees-wrap {
    box-sizing: border-box;
    width: min(1120px, calc(100% - 96px));
    max-width: 1120px !important;
    margin-inline: auto !important;
}

/* Same headline treatment on both pages. The extra small Approach sentence is
   a contextual kicker, not a second headline, and remains editable. */
.umoya-approach .umoya-approach-tagline-primary {
    max-width: 760px !important;
    margin: 0 auto 14px !important;
    color: #263B49;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}
.umoya-approach .umoya-approach-tagline-primary strong {
    font-weight: 500;
}

.umoya-approach .umoya-approach-tagline-secondary,
.umoya-help .umoya-help-opening-statement {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 760px !important;
    margin: 0 auto !important;
    font-family: var(--umoya-display, 'Roboto Slab', Georgia, serif);
    font-size: clamp(24px, 2.2vw, 28px);
    font-weight: 400;
    line-height: 1.4;
    color: var(--umoya-editorial-navy);
    text-align: center;
    text-wrap: balance;
}
.umoya-approach .umoya-approach-tagline-secondary strong,
.umoya-help .umoya-help-opening-statement strong {
    font-weight: 500;
}

/* Shared reading width and rhythm; no orange divider in just one opening. */
.umoya-approach .umoya-approach-intro,
.umoya-help .umoya-help-intro {
    box-sizing: border-box;
    width: 100%;
    max-width: 900px !important;
    margin: 40px auto 0 !important;
    padding: 0;
    border: 0;
    transform: none;
}
.umoya-approach .umoya-approach-intro > p,
.umoya-help .umoya-help-intro > p {
    width: 100%;
    max-width: none !important;
    margin-inline: 0 !important;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
}
.umoya-approach .umoya-approach-intro > p + p,
.umoya-help .umoya-help-intro > p + p {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .umoya-approach .umoya-approach-opening > .umoya-fees-wrap,
    .umoya-help .umoya-help-opening > .umoya-fees-wrap {
        width: calc(100% - 48px);
    }
}
@media (max-width: 600px) {
    .umoya-approach .umoya-approach-opening,
    .umoya-help .umoya-help-opening {
        padding: 12px 0 34px;
    }
    .umoya-approach .umoya-approach-opening > .umoya-fees-wrap,
    .umoya-help .umoya-help-opening > .umoya-fees-wrap {
        width: calc(100% - 44px);
    }
    .umoya-approach .umoya-approach-tagline-primary {
        font-size: 16px;
        margin-bottom: 12px !important;
    }
    .umoya-approach .umoya-approach-tagline-secondary,
    .umoya-help .umoya-help-opening-statement {
        font-size: 21px;
    }
    .umoya-approach .umoya-approach-intro,
    .umoya-help .umoya-help-intro {
        margin-top: 30px !important;
    }
    .umoya-approach .umoya-approach-intro > p,
    .umoya-help .umoya-help-intro > p {
        font-size: 16px;
        line-height: 1.7;
    }
}
