/* Public presentation only. Native WordPress navigation keeps focus, Escape and links. */
@media(max-width:1100px){
:is(.rg-header,.rgy-header){display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:10px!important;align-items:center}
:is(.rg-header,.rgy-header) .wp-block-site-title{min-width:0;margin:0!important;grid-column:1;grid-row:1}
:is(.rg-header,.rgy-header)>.wp-block-navigation{grid-column:3;grid-row:1;margin:0!important;justify-self:end;min-width:48px}
:is(.rg-header,.rgy-header)>.gsi-languages{grid-column:2;grid-row:1;justify-self:end}
:is(.rg-header,.rgy-header) .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;width:48px;height:48px;padding:10px;border:1px solid currentColor;border-radius:4px}
:is(.rg-header,.rgy-header) .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
:is(.rg-header,.rgy-header) .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open{background:var(--rg-paper,#fff)!important;color:var(--rg-ink,#111)!important;inset:0;padding:calc(76px + var(--wp-admin--admin-bar--height,0px)) 24px 40px!important;z-index:100000;overflow:auto}
:is(.rg-header,.rgy-header) .wp-block-navigation .is-menu-open :is(.wp-block-navigation-item__content,.wp-block-navigation-item__label,.wp-block-navigation__responsive-container-close){color:var(--rg-ink,#111)!important;opacity:1!important}
:is(.rg-header,.rgy-header) .is-menu-open .wp-block-navigation__responsive-container-content{padding:0!important;align-items:stretch!important;max-width:440px;margin-inline:auto}
:is(.rg-header,.rgy-header) .is-menu-open .wp-block-navigation__container{width:100%;align-items:stretch!important;gap:8px!important}
:is(.rg-header,.rgy-header) .is-menu-open .wp-block-navigation-item{width:100%;justify-content:center}
:is(.rg-header,.rgy-header) .is-menu-open .wp-block-navigation-item__content{display:flex;justify-content:center;align-items:center;width:100%;min-height:58px;padding:12px 16px!important;font-family:var(--rg-body,sans-serif);font-size:22px!important;line-height:1.35;text-align:center;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent)}
:is(.rg-header,.rgy-header) .is-menu-open .wp-block-navigation__responsive-container-close{position:fixed!important;top:calc(16px + var(--wp-admin--admin-bar--height,0px));right:20px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:4px}
}
@media(max-width:700px){
:is(.rg-header,.rgy-header){padding-inline:18px!important;gap:8px!important}
:is(.rg-header,.rgy-header) .wp-block-site-title{font-size:clamp(19px,5vw,25px)!important}
.wp-block-buttons{justify-content:center!important;align-items:stretch!important;gap:12px!important;width:100%}
.wp-block-buttons>.wp-block-button{flex:0 1 auto;width:100%;max-width:340px;margin-inline:auto!important}
.wp-block-buttons .wp-block-button__link{display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:100%;min-height:52px;font-size:16px!important;line-height:1.4;padding:14px 20px!important;text-align:center!important}
.gl-actions{justify-content:center!important;gap:12px!important}
.gl-actions>:is(button,a){min-height:48px;min-width:140px;flex:1 1 140px;font-size:16px!important;text-align:center;justify-content:center}
.ge-form button[type=submit],.ee-form button[type=submit]{display:flex;justify-content:center;align-items:center;min-height:52px;width:100%;max-width:360px;margin-inline:auto;font-size:16px!important}
}

/* 0.2: shared top flags and a native off-canvas drawer. */
body.gml-enabled{--gml-bg:var(--rg-paper,var(--wp--preset--color--base,#f6f1e8));--gml-fg:var(--rg-ink,var(--wp--preset--color--contrast,#171717));--gml-accent:var(--rg-pop,var(--wp--preset--color--accent,#cf3428))}
.gml-flags{background:var(--gml-bg);color:var(--gml-fg);padding:4px 10px;border-bottom:1px solid color-mix(in srgb,var(--gml-fg) 14%,transparent)}
.gml-flags-inner{display:flex;justify-content:center;align-items:center;gap:4px;max-width:420px;margin-inline:auto}
.gml-flags a{display:flex;justify-content:center;align-items:center;flex:1 1 0;max-width:46px;min-width:0;min-height:40px;text-decoration:none;border-radius:4px;border-bottom:2px solid transparent}
.gml-flags a[aria-current]{border-bottom-color:var(--gml-accent)}
.gml-flags a:hover,.gml-flags a:focus-visible{background:color-mix(in srgb,var(--gml-fg) 10%,transparent);outline-offset:1px}
.gml-flags img{display:block!important;width:24px!important;height:16px!important;object-fit:contain;margin:0!important;border-radius:1px}
@media(max-width:1100px){
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header){display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;align-items:center!important;gap:12px!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header)>:is(.wp-block-site-title,.gdr-logo){grid-column:1;grid-row:1;min-width:0;margin:0!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header)>.wp-block-navigation{grid-column:2!important;grid-row:1;justify-self:end;margin:0!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;width:48px;height:48px;padding:10px!important;border:0!important;outline-offset:1px;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;margin:0!important;padding:0!important;background:rgba(0,0,0,.5)!important;color:var(--gml-fg)!important;z-index:100000;overflow:hidden}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation__responsive-close{position:absolute;inset:0 0 0 auto;width:min(86vw,380px);height:100dvh;max-width:none!important;margin:0!important;background:var(--gml-bg);color:var(--gml-fg);overflow:auto;box-shadow:-12px 0 44px #0003;animation:gml-slide-in .22s ease-out}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation__responsive-dialog{padding:calc(80px + var(--wp-admin--admin-bar--height,0px)) 24px 32px;margin:0!important;box-sizing:border-box;min-height:100%;position:relative}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation__responsive-container-content{padding:0!important;margin:0!important;align-items:stretch!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation__container{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%;gap:10px!important;counter-reset:none}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation-item{display:flex!important;width:100%;margin:0!important;padding:0!important;border:0!important;max-width:100%;justify-content:flex-start!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open :is(.wp-block-navigation-item__content,.wp-block-navigation-item__label){color:var(--gml-fg)!important;opacity:1!important;white-space:normal!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation-item__content{display:flex;justify-content:flex-start!important;align-items:center;box-sizing:border-box;width:100%;min-height:52px;padding:12px 0!important;font-size:20px!important;line-height:1.4;text-align:left!important;text-decoration:none;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--gml-fg) 18%,transparent)!important;background:transparent!important;border-radius:0!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation-item__content:before{content:none!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation__responsive-container-close{position:absolute!important;top:calc(14px + var(--wp-admin--admin-bar--height,0px))!important;right:16px!important;width:48px;height:48px;display:flex;justify-content:center;align-items:center;padding:10px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--gml-fg)!important}
}
@keyframes gml-slide-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.gml-enabled .wp-block-navigation__responsive-close{animation:none!important}}
body.gml-enabled .gml-flags+header{margin-block-start:0!important}
@media(max-width:1100px){
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .wp-block-navigation__responsive-container-open:focus:not(:focus-visible){outline:none!important}
body.gml-enabled :is(.rg-header,.rgy-header,.gdr-header) .is-menu-open .wp-block-navigation-item__label{background:transparent!important;box-shadow:none!important;border:0!important}
}

.gml-flags-inner{width:100%;box-sizing:border-box}
