/* Four Winds repo-wide layout centering fix — rerun 2026-06-30
   Scope: center mixed legacy/template containers without changing copy, images, schema, URLs, or folder names. */
:root{--fw-content-max:var(--max,1100px);--fw-content-wide:1180px;--fw-content-sm:var(--max-sm,760px);--fw-content-pad:clamp(1rem,4vw,1.5rem)}
html,body{max-width:100%;overflow-x:hidden}
/* Core centered shells used across all page generations/templates. */
.wrap,.wrap-sm,.container,.section-inner,.section__inner,.inner,.content-inner,.content__inner,.hero-inner,.hero__inner,.page-hero__inner,.page-header-inner,.page-header__inner,.unit-hero__inner,.proof-inner,.proof-bar__inner,.rating-strip__inner,.theme-bar__inner,.facts-strip__inner,.cap-band__inner,.nap-strip__inner,.trust-strip__inner,.lodging-strip__inner,.details-band__inner,.schedule-band__inner,.stats-band__inner,.routes-band__inner,.timeline-band__inner,.facts-band__inner,.times-band__inner,.nights-band__inner,.week-band__inner,.events-band__inner,.footer__inner,.footer-inner,.site-header__inner,.nav,.site-nav-wrap,.fw-phase4-wrap,.fw-art-feature__grid,.widget-band,.widget-section__inner,.cta-block__inner,.bottom-cta__inner,.cta-inner,.cta-banner__inner,.dominance-band__inner,.advantage-bar__inner,.filter-bar__inner,.quick-links__inner,.help__inner{margin-left:auto!important;margin-right:auto!important;max-width:var(--fw-content-max)!important;width:min(100%,var(--fw-content-max))}
.wrap-sm{max-width:var(--fw-content-sm)!important;width:min(100%,var(--fw-content-sm))}
/* Legacy/direct page-body shells that were missed in the first pass. */
.page-body,.main-content,.content-wrap,.page-wrap,.detail-wrap,.fw-page,.fw-container,.yr-strip,.soft-cta,.photo-gallery,.video-section,.proof-bar,.badges,.simple-band,.work-band,.pet-band,.trust-strip,.nap-strip,.facts-strip,.cap-band,.rating-strip,.theme-bar,.advantage-bar,.filter-bar,.lodging-strip,.details-band,.schedule-band,.stats-band,.routes-band,.timeline-band,.facts-band,.times-band,.nights-band,.week-band,.events-band,.minnights,.fw-urgency,.fw-decision-bar,.photo-strip,.fw-micro-trust,.dominance-band,.fw-cta-mid,.event-source-note{margin-left:auto!important;margin-right:auto!important;max-width:var(--fw-content-max)!important;width:min(100%,var(--fw-content-max));padding-left:var(--fw-content-pad);padding-right:var(--fw-content-pad)}
/* Keep primary full-bleed hero backgrounds full width while centering the actual hero content. */
.hero,.page-hero,.unit-hero,.fw-hero{width:100%;max-width:none!important;margin-left:0!important;margin-right:0!important}
.hero>*,.page-hero>*,.unit-hero>*,.fw-hero>*{margin-left:auto;margin-right:auto}
/* Additive S22/phase/authority blocks sometimes appear as direct main children with no inner wrapper. */
.fw-s22-section,.fw-phase4-section,.fw-v1-visual-polish,.fw-v4-event-visual-pass,.fw-v5-crawl-priority,.fw-authority-visuals,.fw-cluster-routing,.fw-final-impression,.fw-p2-story-section{margin-left:auto!important;margin-right:auto!important;max-width:var(--fw-content-max)!important;width:min(100%,var(--fw-content-max));padding-left:var(--fw-content-pad);padding-right:var(--fw-content-pad)}
/* If a generic section is used without a wrap/container, center its direct content children. */
main>section> :is(h1,h2,h3,h4,p,ul,ol,div,figure,form,table,blockquote):not(.wrap):not(.wrap-sm):not(.container):not(.section-inner):not(.section__inner):not(.hero__inner):not(.page-hero__inner):not(.unit-hero__inner),
body>section> :is(h1,h2,h3,h4,p,ul,ol,div,figure,form,table,blockquote):not(.wrap):not(.wrap-sm):not(.container):not(.section-inner):not(.section__inner):not(.hero__inner):not(.page-hero__inner):not(.unit-hero__inner){max-width:var(--fw-content-max);margin-left:auto;margin-right:auto}
/* Preserve common grids/cards while preventing sideways drift. */
.grid,.cards,.card-grid,.room-grid,.media-grid,.fw-media-grid,.facts,.link-grid,.event-grid,.room-cards,.unit-grid,.gallery-grid,.photo-grid,.split,.two-col,.three-col{max-width:100%;margin-left:auto;margin-right:auto}
img,video,iframe,table{max-width:100%}
@media(max-width:700px){.wrap,.container,.section-inner,.section__inner,.hero__inner,.page-hero__inner,.unit-hero__inner,.page-body,.main-content,.content-wrap,.page-wrap,.detail-wrap,.fw-page,.fw-container,.fw-s22-section,.fw-phase4-section,.fw-v1-visual-polish,.fw-authority-visuals,.fw-cluster-routing{width:100%!important;padding-left:1rem!important;padding-right:1rem!important}.site-header__inner,.nav{padding-left:1rem!important;padding-right:1rem!important}}
