/* Scoped browsing layouts, using the existing Restored Blue Atlas tokens. */
/* Without navigation enhancement its expanded directory must scroll with the page. */
html.rmof-no-js .rmof-global-header { position:relative; }
.rmof-core { background:var(--rmof-canvas); color:var(--rmof-salt); }
.rmof-core .rmof-core-head { padding:clamp(3rem,6vw,5rem) 0 1rem; }
.rmof-core .rmof-wrap { width:min(1400px,calc(100% - 64px)); }
.rmof-core .rmof-core-head h1 { max-width:22ch; margin:0 0 1.25rem; font-size:clamp(2.15rem,4.3vw,4.4rem); line-height:1.12; }
.rmof-core .rmof-core-head p { max-width:65ch; color:var(--rmof-muted); }
.rmof-core .rmof-core-links { display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; margin:1.25rem 0 0; }
.rmof-core .rmof-core-links a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:.25em; color:var(--rmof-action); }
.rmof-core .rmof-core-section { padding:clamp(1.5rem,3vw,3rem) 0; }
.rmof-core .rmof-core-group { scroll-margin-top:7rem; padding-top:2rem; }
.rmof-core .rmof-core-group h3 { font-size:1.5rem; margin:0 0 1.25rem; }
.rmof-core .rmof-core-destinations { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.rmof-core .rmof-core-destination { display:block; overflow:hidden; border:1px solid var(--rmof-border-subtle); border-radius:10px; background:var(--rmof-card); color:var(--rmof-salt); text-decoration:none; }
.rmof-core .rmof-core-destination img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; }
.rmof-core .rmof-core-destination-body { display:grid; gap:.45rem; padding:1.25rem; }
.rmof-core .rmof-core-destination h4 { margin:0; font-size:1.25rem; }
.rmof-core .rmof-core-destination p { margin:0; color:var(--rmof-muted); }
.rmof-core .rmof-core-destination span { color:var(--rmof-action); }
.rmof-core .rmof-core-text-links { display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; padding:0; list-style:none; }
.rmof-core .rmof-core-text-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--rmof-action); text-decoration:underline; text-underline-offset:.25em; }
.rmof-core .rmof-core-guide { border-top:1px solid var(--rmof-border-subtle); }
.rmof-core .rmof-core-guide-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem 4rem; }
.rmof-core .rmof-core-guide h2 { font-size:clamp(1.5rem,2.4vw,2rem); line-height:1.25; margin:0 0 1rem; }
.rmof-core .rmof-core-guide p { max-width:65ch; color:var(--rmof-muted); }
.rmof-core .rmof-core-guide a:not(.rmof-btn) { color:var(--rmof-action); text-decoration:underline; text-underline-offset:.2em; }
.rmof-core .rmof-core-closing { margin-top:2.5rem; padding-top:2.5rem; border-top:1px solid var(--rmof-border-subtle); }
.rmof-core .rmof-core-closing .rmof-btn { max-width:100%; white-space:normal; line-height:1.4; }
.rmof-core > .rmof-section { padding-top:2rem; }
.rmof-core .rmof-core-group summary { min-height:44px; padding:.75rem 0; cursor:pointer; }
.rmof-core :is(a,button,select):focus-visible { outline:3px solid var(--rmof-focus); outline-offset:4px; }
@media(max-width:900px) { .rmof-core .rmof-core-destinations { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .rmof-core .rmof-core-destinations,.rmof-core .rmof-core-guide-grid { grid-template-columns:1fr; }
  .rmof-core .rmof-core-head { padding-top:2.5rem; }
  .rmof-core .rmof-wrap { width:calc(100% - 32px); }
}

/* D-123: brief introductions and a balanced desktop header keep inventory close. */
.rmof-core .rmof-core-head { padding:2rem 0 .5rem; }
.rmof-core .rmof-core-head > div { display:grid; grid-template-columns:1fr 1fr; column-gap:3rem; align-items:start; }
.rmof-core .rmof-core-head .rmof-eyebrow { grid-column:1 / -1; margin:0 0 .65rem; }
.rmof-core .rmof-core-head h1 { font-size:clamp(1.75rem,2.8vw,2.75rem); max-width:26ch; margin:0; }
.rmof-core .rmof-core-head p:not(.rmof-eyebrow) { margin:0; font-size:1rem; line-height:1.6; }
.rmof-core .rmof-core-links { grid-column:1 / -1; margin:.75rem 0 0; }
.rmof-core .rmof-core-section { padding:1.25rem 0; }
.rmof-core .rmof-core-group { padding-top:1.25rem; }
.rmof-core > .rmof-section { padding-top:1rem; }
.rmof-core #destinations-all-heading { font-size:1.5rem; margin:0; }
@media(max-width:600px) {
 .rmof-core .rmof-core-head { padding:1.25rem 0 .25rem; }
 .rmof-core .rmof-core-head > div { grid-template-columns:1fr; gap:.6rem; }
 .rmof-core .rmof-core-head .rmof-eyebrow { margin:0; }
 .rmof-core .rmof-core-links { margin:0; gap:.25rem 1rem; }
 .rmof-core .rmof-core-links[aria-label="Destination countries and regions"] { flex-wrap:nowrap; overflow-x:auto; max-width:100%; padding:7px; scroll-padding-inline:7px; }
 .rmof-core .rmof-core-links[aria-label="Destination countries and regions"] a { flex-shrink:0; }
 .rmof-core .rmof-core-group h3 { margin-bottom:.75rem; }
}
