/* Internal content keeps its own template; only the touch layout is adapted. */
.mh-inner-header, .mh-secondary-nav, .mh-footer--secondary { display:none; }
@media (min-width:1025px), (min-width:768px) and (pointer:fine) {
    .rdm-mobile-page .mh-dialog { display:none !important; }
}
@media (max-width:767px), (max-width:1024px) and (pointer:coarse) {
    body.rdm-mobile-page {
        --rdm-color-primary:var(--renew-olive,#284638);
        --rdm-color-background:var(--renew-cream,#f9f8f0);
        --rdm-color-surface:var(--renew-pale,#edf2e9);
        --rdm-color-text:var(--renew-ink,#22382d);
        --rdm-color-muted:var(--renew-muted,#536157);
        --rdm-radius:24px;
        padding-top:calc(96px + env(safe-area-inset-top)) !important;
        padding-bottom:0 !important;
        background:var(--rdm-color-background); color:var(--rdm-color-text);
        font-family:var(--rdm-font-family-base,sans-serif);
    }
    .rdm-mobile-page :is(#masthead,#rdm-topbar,.rdm-header-spacer,.rdm-mobile-navigation,.equipe-mobile-cta,#colophon) { display:none !important; }
    .mh-inner-header { display:block; position:fixed; top:calc(12px + var(--mh-admin) + env(safe-area-inset-top)); inset-inline:0; z-index:1010; pointer-events:none; }
    .mh-inner-header > .mh-header { position:relative; top:auto; pointer-events:auto; }
    .mh-secondary-nav { display:grid; z-index:1010; }
    .mh-footer--secondary { display:block; }
    .rdm-mobile-page :is(.mh-header,.mh-bottom-nav) a { line-height:1.2; }
    .rdm-mobile-page :is(.mrjs-main,.equipe-main,.mrjb-main,.site-main) { padding-top:0 !important; margin-top:0; min-width:0; }
    .rdm-mobile-page :is(.mrjs-container,.equipe-container,.mrjb-container) { width:100%; padding-inline:22px; box-sizing:border-box; }
    .rdm-mobile-page :is(.mrjs-breadcrumb,.equipe-breadcrumb,.mrjb-breadcrumb) { padding-block:20px 26px; font-size:11px; overflow-wrap:anywhere; }
    .rdm-mobile-page .rdm-content-hero__inner { padding:34px 22px 38px !important; }
    .rdm-mobile-page :is(.rdm-content-hero__title,.mrjs-hero h1,.equipe-hero h1,.mrjb-article-header h1,.mrjb-index-header h1) { font-size:clamp(32px,9vw,42px); line-height:1.12; overflow-wrap:break-word; }
    .rdm-mobile-page :is(.mrjs-hero,.mrjs-detail-layout,.equipe-hero,.mrjb-index-header,.mrjb-reading-layout,.mrjb-featured) { grid-template-columns:minmax(0,1fr); gap:28px; }
    .rdm-mobile-page :is(.mrjs-card-grid,.mrjs-steps ol,.mrjb-grid,.spa-values,.spa-steps) { grid-template-columns:minmax(0,1fr); }
    .rdm-mobile-page :is(.mrjs-booking,.mrjb-reading-nav) { position:static; }
    .rdm-mobile-page :is(.mrjb-section-heading,.mrjs-section-heading,.equipe-section-heading) { flex-wrap:wrap; gap:18px; }
    .rdm-mobile-page :is(.mrjb-article-body,.mrjs-content,.entry-content) { min-width:0; overflow-wrap:break-word; }
    .rdm-mobile-page :is(.mrjb-prose,.mrjs-content,.entry-content) img { max-width:100%; height:auto; }
    .rdm-mobile-page :is(.mrjb-prose,.mrjs-content,.entry-content) iframe { max-width:100%; }
    .rdm-mobile-page :is(.mrjb-prose,.mrjs-content,.entry-content) pre { max-width:100%; overflow-x:auto; }
    .rdm-mobile-page :is(.mrjb-prose,.mrjs-content,.entry-content) table { display:block; max-width:100%; overflow-x:auto; }
    .rdm-mobile-page :is(input,select,textarea) { font-size:16px; }
    .rdm-mobile-page :is(main [id],.rdm-content-hero) { scroll-margin-top:calc(104px + var(--mh-admin) + env(safe-area-inset-top)); }
    .rdm-mobile-page .mh-dialog .mh-desktop-link { display:none; }
}
