/* LA GLORIA PUBLIC SHELL UNIFIED */
:root{
  --lg-public-max:1540px;
  --lg-public-gutter:20px;
}

html,
body{
  width:100%;
  max-width:100%;
  margin:0;
  overflow-x:clip;
}

body > main,
main#main-content,
.wa-home,
.lgm12-main,
.ag-page,
.rv29-page,
.lg214-body > main,
.lg21441-gallery,
.lg207-page,
.rvm-page{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box;
}

/*
 * One shared public inner width.
 * Sections remain full-width, their content aligns to the same grid.
 */
:where(
  .wa-shell,
  .lgm12-shell,
  .ag-shell,
  .rv29-shell,
  .lg214-shell,
  .lg21441-shell,
  .lg207-shell,
  .lgmc-shell,
  .rvm-shell,
  body.reviews-page .shell,
  body.review-page .shell,
  main > .shell
){
  width:min(var(--lg-public-max),calc(100% - 40px))!important;
  max-width:var(--lg-public-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

body > header,
body > nav,
.wa-nav,
.public-navigation,
.site-header,
.wa-footer,
#site-footer{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

.wa-nav :where(.wa-shell),
.wa-footer :where(.wa-shell),
#site-footer :where(.wa-shell){
  width:min(var(--lg-public-max),calc(100% - 40px))!important;
  max-width:var(--lg-public-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Prevent legacy page rules from creating horizontal mismatch. */
img,
video,
iframe{
  max-width:100%;
}

main,
section,
article,
aside,
div{
  min-width:0;
}

@media(max-width:900px){
  :where(
    .wa-shell,
    .lgm12-shell,
    .ag-shell,
    .rv29-shell,
    .lg214-shell,
    .lg21441-shell,
    .lg207-shell,
    .lgmc-shell,
    .rvm-shell,
    body.reviews-page .shell,
    body.review-page .shell,
    main > .shell
  ),
  .wa-nav :where(.wa-shell),
  .wa-footer :where(.wa-shell),
  #site-footer :where(.wa-shell){
    width:calc(100% - 28px)!important;
    max-width:none!important;
  }
}

@media(max-width:600px){
  :where(
    .wa-shell,
    .lgm12-shell,
    .ag-shell,
    .rv29-shell,
    .lg214-shell,
    .lg21441-shell,
    .lg207-shell,
    .lgmc-shell,
    .rvm-shell,
    body.reviews-page .shell,
    body.review-page .shell,
    main > .shell
  ),
  .wa-nav :where(.wa-shell),
  .wa-footer :where(.wa-shell),
  #site-footer :where(.wa-shell){
    width:calc(100% - 20px)!important;
  }
}

/* BEGIN LA GLORIA TRUE FULL WIDTH */
:root{
  --lg-public-edge:clamp(12px,2.1vw,34px);
}

html,
body{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow-x:clip!important;
}

body > main,
main#main-content,
.wa-home,
.lgm12-main,
.ag-page,
.rv29-page,
.lg214-body > main,
.lg21441-gallery,
.lg207-page,
.rvm-page{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

:where(
  .wa-shell,
  .wa-hero-shell,
  .lgm12-shell,
  .ag-shell,
  .rv29-shell,
  .lg214-shell,
  .lg21441-shell,
  .lg207-shell,
  .lgmc-shell,
  .rvm-shell,
  .rr-shell,
  body.reviews-page .shell,
  body.review-page .shell,
  main > .shell
){
  width:calc(100% - (var(--lg-public-edge) * 2))!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

body > header,
body > nav,
.wa-nav,
.public-navigation,
.site-header,
.wa-footer,
#site-footer,
footer.wa-footer,
footer[id="site-footer"]{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

.wa-footer > .wa-shell,
#site-footer > .wa-shell,
.wa-footer .wa-shell,
#site-footer .wa-shell,
.wa-footer-inner,
.wa-footer-container,
[class*="footer-inner"],
[class*="footer-shell"]{
  width:calc(100% - (var(--lg-public-edge) * 2))!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

.wa-footer :where(
  .wa-footer-intro-v107,
  .wa-footer-quick-contact-v108,
  .wa-footer-quick-contact-v109,
  .wa-footer-grid-v107,
  .wa-footer-legal-v107
),
#site-footer :where(
  .wa-footer-intro-v107,
  .wa-footer-quick-contact-v108,
  .wa-footer-quick-contact-v109,
  .wa-footer-grid-v107,
  .wa-footer-legal-v107
){
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

main > section,
main > div,
.wa-home > section,
.lgm12-main > section,
.ag-page > section,
.rv29-page > section,
.lg21441-gallery > section{
  max-width:none!important;
  box-sizing:border-box!important;
}

img,
picture,
video,
iframe,
canvas,
svg{
  max-width:100%;
}

@media(max-width:760px){
  :root{
    --lg-public-edge:10px;
  }
}

@media(min-width:1800px){
  :root{
    --lg-public-edge:40px;
  }
}
/* END LA GLORIA TRUE FULL WIDTH */
