/* M01 native block landing page. Shared colors and typography belong to M10. */
.wbh-m01 { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.wbh-m01 > .wp-block-group { margin-inline: auto; }
.wbh-m01 .wp-block-button { max-width: 100%; }
.wbh-m01 .wp-block-button__link { min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.wbh-m01 .wbh-m01__hero {
    padding: clamp(2.5rem, 6.5vw, 5.6rem) max(1.25rem, calc((100vw - 1120px) / 2));
    background: var(--wbh-ink, #122a35);
    color: #f7f6f0;
}
.wbh-m01 .wbh-m01__hero > .wp-block-group__inner-container { max-width: 1120px; margin-inline: auto; }
.wbh-m01 .wbh-m01__eyebrow {
    margin: 0 0 1rem;
    color: var(--wbh-accent, #59a8b4);
    font-size: .73rem;
    font-weight: 650;
    letter-spacing: .12em;
    line-height: 1.6;
}
.wbh-m01 .wbh-m01__hero h1 {
    margin: 0 0 1.15rem;
    max-width: 16em;
    font-size: clamp(2.45rem, 5.5vw, 4.75rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.045em;
}
.wbh-m01 .wbh-m01__hero .wbh-m01__intro {
    max-width: 35em;
    margin: 0;
    color: #c2d1d4;
    font-size: clamp(.98rem, 1.45vw, 1.15rem);
    line-height: 1.9;
}
.wbh-m01 .wbh-m01__hero .wp-block-buttons { gap: .75rem; margin-top: 1.65rem; }
.wbh-m01 .wbh-m01__hero .wp-block-button__link {
    min-height: 46px;
    padding: .8rem 1.3rem;
    border: 1px solid var(--wbh-accent, #59a8b4);
    border-radius: 999px;
    background: var(--wbh-accent, #59a8b4);
    color: #09232d;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}
body.wbh-site .wbh-m01 .wbh-m01__hero .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: #536f7a; color: #f7f6f0; }
.wbh-m01 .wbh-m01__hero .wp-block-button__link:hover { background: #b6dce2; border-color: #b6dce2; color: #09232d; }
.wbh-m01 .wbh-m01__overview {
    max-width: 1200px;
    padding: clamp(1.8rem, 3.6vw, 3.2rem) clamp(1.25rem, 4vw, 2.5rem) 0;
}
.wbh-m01 .wbh-m01__section-label { margin: 0 0 1.15rem; color: var(--wbh-muted, #63727a); font-size: .72rem; font-weight: 650; letter-spacing: .1em; }
.wbh-m01 .wp-block-columns.wbh-m01__map-branches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}
.wbh-m01 .wbh-m01__map-branches > .wp-block-column { min-width: 0; margin: 0; }
.wbh-m01 .wbh-m01__map-branch {
    height: 100%;
    margin: 0;
    padding: 1.55rem;
    border: 1px solid var(--wbh-line, #dce3e5);
    border-radius: 14px;
    background: var(--wbh-surface, #fffef9);
}
.wbh-m01 .wbh-m01__branch-label { margin: 0 0 .7rem; color: var(--wbh-muted, #63727a); font-size: .71rem; font-weight: 650; letter-spacing: .06em; }
.wbh-m01 .wbh-m01__map-branch h2 { margin: 0 0 .5rem; font-size: 1.35rem; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; }
.wbh-m01 .wbh-m01__map-branch h2 a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; }
.wbh-m01 .wbh-m01__map-branch p:not(.wbh-m01__branch-label):not(.wbh-m01__map-status) { margin: 0 0 1rem; color: var(--wbh-muted, #63727a); font-size: .87rem; line-height: 1.85; }
.wbh-m01 .wbh-m01__routes { margin: 0; padding: 0; list-style: none; }
.wbh-m01 .wbh-m01__routes > li { min-width: 0; margin: 0; border-bottom: 1px solid var(--wbh-line, #dce3e5); font-size: .87rem; }
.wbh-m01 .wbh-m01__routes > li:last-child { border-bottom: 0; }
.wbh-m01 .wbh-m01__routes a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; padding: .55rem 0; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
.wbh-m01 .wbh-m01__routes--topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.wbh-m01 .wbh-m01__routes--topics > li { border: 0; }
.wbh-m01 .wbh-m01__routes--topics a { justify-content: center; height: 100%; padding: .6rem .45rem; border: 1px solid var(--wbh-line, #dce3e5); border-radius: 7px; text-align: center; font-size: .78rem; }
.wbh-m01 .wbh-m01__map-branch .wbh-m01__map-status { margin: 1.15rem 0 0; padding-top: .85rem; border-top: 1px solid var(--wbh-line, #dce3e5); color: var(--wbh-muted, #63727a); font-size: .75rem; line-height: 1.75; }
.wbh-m01 .wbh-m01__map-branch a:hover { color: var(--wbh-accent, #59a8b4); }
.wbh-m01 .wbh-m01__section {
    max-width: 1200px;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) 0;
}
.wbh-m01 .wp-block-heading.wbh-m01__section-title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 2.7vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.035em;
}
.wbh-m01 .wp-block-columns.wbh-m01__content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}
.wbh-m01 .wbh-m01__content-grid > .wp-block-column { min-width: 0; margin: 0; }
.wbh-m01 .wbh-m01__content-card {
    height: 100%;
    margin: 0;
    padding: 1.55rem;
    border: 1px solid var(--wbh-line, #dce3e5);
    border-radius: 14px;
    background: var(--wbh-surface, #fff);
}
.wbh-m01 .wbh-m01__content-card h2 {
    margin: 0 0 .7rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: -.03em;
}
.wbh-m01 .wbh-m01__content-card h2 a { display: flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.wbh-m01 .wbh-m01__content-card h2 a:hover { color: var(--wbh-accent, #59a8b4); }
.wbh-m01 .wbh-m01__content-card p:not(.wbh-m01__branch-label) { margin: 0; color: var(--wbh-muted, #63727a); font-size: .9rem; line-height: 1.85; }
.wbh-m01 .wbh-m01__project-panel {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid var(--wbh-line, #dce3e5);
    border-radius: 14px;
    background: #eaf2f2;
}
.wbh-m01 .wbh-m01__project-panel p:not(.wbh-m01__section-label),
.wbh-m01 .wbh-m01__contact p { max-width: 45em; margin: 0 0 1rem; color: var(--wbh-muted, #63727a); font-size: .95rem; line-height: 1.85; }
.wbh-m01 .wbh-m01__project-facts { margin: 0 0 1.3rem; padding-left: 1.25rem; color: var(--wbh-ink, #122a35); font-size: .9rem; line-height: 1.85; }
.wbh-m01 .wbh-m01__project-facts li { margin-bottom: .4rem; }
.wbh-m01 .wbh-m01__project-panel .wp-block-button__link { min-height: 46px; background: transparent; border-color: #a5bfc1; color: var(--wbh-ink, #122a35); }
.wbh-m01 .wbh-m01__project-panel .wp-block-button__link:hover { background: #d5e6e6; border-color: #8bacaf; color: var(--wbh-ink, #122a35); }
.wbh-m01 .wbh-m01__contact .wp-block-button__link { min-height: 46px; }
.wbh-m01 .wbh-m01__contact .wp-block-buttons { margin-top: 1.25rem; }
.wbh-m01 a:focus-visible { outline: 3px solid var(--wbh-blue, #247b9b); outline-offset: 4px; }
.wbh-m01 .wbh-m01__hero a:focus-visible { outline-color: #b6dce2; }
/* The previous editable outline remains readable if a migration guard refuses a changed page. */
.wbh-m01 .wbh-m01__overview > .wp-block-group__inner-container > h1 { margin: 0 0 .8rem; font-size: clamp(2rem, 4.2vw, 3.35rem); }
.wbh-m01 .wbh-m01__overview .wbh-m01__intro { color: var(--wbh-muted, #63727a); }
.wbh-m01 .wbh-m01__map-root { margin: 0 0 1.25rem; padding: 1rem 1.5rem; border: 1px solid var(--wbh-line, #dce3e5); border-radius: 14px; background: var(--wbh-surface, #fffef9); }
.wbh-m01 .wbh-m01__map-root p { margin: 0; }
.wbh-m01 .wbh-m01__map-brand { font-size: 1.35rem; font-weight: 700; }
.wbh-m01 .wbh-m01__start { max-width: 1200px; padding: 1.5rem 2.5rem 0; }
.wbh-m01 .wbh-m01__start h2 { font-size: 1.5rem; }
@media (max-width: 781px) {
    .wbh-m01 .wbh-m01__hero { padding: 2.3rem 1.25rem 2.5rem; }
    .wbh-m01 .wbh-m01__hero h1 { font-size: clamp(2.25rem, 8vw, 3.1rem); }
    .wbh-m01 .wbh-m01__hero .wbh-m01__intro { max-width: 28em; font-size: .94rem; }
    .wbh-m01 .wbh-m01__hero .wp-block-buttons { gap: .6rem; margin-top: 1.45rem; }
    .wbh-m01 .wbh-m01__hero .wp-block-button__link { padding-inline: 1.2rem; }
    .wbh-m01 .wbh-m01__overview { padding-top: 1.6rem; }
    .wbh-m01 .wp-block-columns.wbh-m01__map-branches { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
    .wbh-m01 .wbh-m01__map-branch { padding: 1.25rem; }
    .wbh-m01 .wbh-m01__branch-label { margin-bottom: .45rem; }
    .wbh-m01 .wbh-m01__map-branch h2 { font-size: 1.3rem; }
    .wbh-m01 .wbh-m01__routes--topics a { font-size: .85rem; }
    .wbh-m01 .wbh-m01__start { padding-inline: 1.25rem; }
    .wbh-m01 .wbh-m01__section { padding-top: 2.5rem; }
    .wbh-m01 .wp-block-columns.wbh-m01__content-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
    .wbh-m01 .wbh-m01__content-card { padding: 1.25rem; }
    .wbh-m01 .wbh-m01__content-card h2 { font-size: 1.2rem; }
    .wbh-m01 .wbh-m01__project-panel { padding: 1.25rem; }
    .wbh-m01 .wbh-m01__project-panel .wp-block-button__link,
    .wbh-m01 .wbh-m01__contact .wp-block-button__link { padding-inline: 1.1rem; }
}
@media (max-width: 350px) {
    .wbh-m01 .wbh-m01__hero { padding-inline: 1rem; }
    .wbh-m01 .wbh-m01__hero h1 { font-size: 2.1rem; }
    .wbh-m01 .wbh-m01__hero .wp-block-button__link { padding-inline: 1rem; font-size: .82rem; }
    .wbh-m01 .wbh-m01__overview { padding-inline: 1rem; }
    .wbh-m01 .wbh-m01__section { padding-inline: 1rem; }
    .wbh-m01 .wbh-m01__map-branch { padding: 1.1rem; }
}
