/* HAOLLA Global Layout Safety v1.42.9
   Final-cascade guard for public-page lower sections, CTA rails and generated SEO layouts. */
:root{--haolla-page-max:1180px;--haolla-page-gutter:clamp(18px,3.2vw,44px)}

/* Public sections must never escape the viewport because of late transforms or offsets. */
main>section,
main>.jaGateway,
main>.haollaGlobalGatewayV1400,
main>.haollaCornerHero,
main>.haollaCornerSection,
main>.implicitLayerV1,
main>.haollaHiddenCompactV1404,
main>.haollaEiPosition,
main>.haollaVisionBlock,
main>.haollaMissionBlock{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  left:auto!important;
  right:auto!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
}

/* Known lower-page content containers use one centered geometry. */
.quickStart,
.jaGateway>.jaWrap,
.jaSources>.jaWrap,
.haollaGlobalGatewayV1400 .gWrap,
.haollaCornerHero>.wrap,
.haollaCornerSection>.wrap,
.haollaHiddenCompactV1404 .hcWrap,
.implicitLayerV1__inner,
.haollaEiPosition .eiWrap,
.haollaVisionBlock>.wrap,
.haollaMissionBlock>.wrap,
main>section:last-of-type>.wrap,
main>section:nth-last-of-type(2)>.wrap{
  box-sizing:border-box!important;
  width:min(var(--haolla-page-max),calc(100% - (var(--haolla-page-gutter) * 2)))!important;
  max-width:var(--haolla-page-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* Final CTA / hero copy must occupy its grid cell naturally rather than being pushed sideways. */
.quickStart,
.jaGateway>.jaWrap,
.haollaGlobalGatewayV1400 .gWrap,
.haollaCornerHero>.wrap,
.haollaCornerSection>.wrap{
  position:relative!important;
  align-items:center!important;
  min-width:0!important;
}
.quickStart>*,
.jaGateway>.jaWrap>*,
.haollaGlobalGatewayV1400 .gWrap>*,
.haollaCornerHero>.wrap>*,
.haollaCornerSection>.wrap>*{
  min-width:0!important;
  max-width:100%!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
.quickStart>div:first-child,
.jaGateway>.jaWrap>div:first-child,
.haollaGlobalGatewayV1400 .gWrap>div:first-child,
.haollaCornerHero>.wrap>div:first-child,
.haollaCornerSection>.wrap>div:first-child{
  justify-self:start!important;
  text-align:left!important;
}
.quickActions,
.jaGateway .jaPrimary,
.haollaGlobalGatewayV1400 .gActions{
  justify-self:end!important;
  margin-left:0!important;
  margin-right:0!important;
}
.quickStart h1,.quickStart h2,.quickStart h3,
.jaGateway h1,.jaGateway h2,.jaGateway h3,
.haollaGlobalGatewayV1400 h1,.haollaGlobalGatewayV1400 h2,.haollaGlobalGatewayV1400 h3,
.haollaCornerHero h1,.haollaCornerHero h2,.haollaCornerHero h3,
.haollaCornerSection h1,.haollaCornerSection h2,.haollaCornerSection h3{
  max-width:24ch!important;
  margin-left:0!important;
  margin-right:0!important;
  text-wrap:balance;
}
.quickStart p,.jaGateway p,.haollaGlobalGatewayV1400 p,.haollaCornerHero p,.haollaCornerSection p{
  max-width:68ch!important;
  margin-left:0!important;
  margin-right:0!important;
  text-wrap:pretty;
}

/* Generated regional/school pages share one centered shell everywhere. */
.jeonnamAccess .jaWrap,
.jeonnamAccess .jaHeroGrid,
.jeonnamAccess .jaProof{
  box-sizing:border-box!important;
  width:min(var(--haolla-page-max),calc(100% - (var(--haolla-page-gutter) * 2)))!important;
  max-width:var(--haolla-page-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* The hero grid is itself a .jaWrap. Never expand it back to 100vw: that clipped the nationwide hub. */
.jeonnamAccess .jaHeroGrid{
  width:min(var(--haolla-page-max),calc(100% - (var(--haolla-page-gutter) * 2)))!important;
  max-width:var(--haolla-page-max)!important;
  overflow:visible!important;
}
.jeonnamAccess .jaHeroGrid>*{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
}
.jeonnamAccess .jaHeroGrid>div:first-child{
  justify-self:stretch!important;
}
.jeonnamAccess .jaHeroPanel{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  justify-self:stretch!important;
}
.jeonnamAccess .jaHero h1,
.jeonnamAccess .jaHero p{
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
.jeonnamAccess .jaSources{width:100%!important;margin:0!important;left:auto!important;right:auto!important;transform:none!important}

/* Shared top-right controls use one optical box and one text baseline. */
.siteHeader .navActions{
  align-items:center!important;
}
.siteHeader .navActions>.langBtn,
.siteHeader .navActions>.primaryBtn,
.siteHeader .navActions>.menuBtn{
  box-sizing:border-box!important;
  height:46px!important;
  min-height:46px!important;
  margin-block:0!important;
  padding-block:0!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1.2!important;
  text-align:center!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
}

/* Generated/Design-System headers receive the same visual centering contract. */
.pf-header-actions,
.ds-header-actions{align-items:center!important}
.pf-header-actions>.ds-button,
.ds-header-actions>.ds-button{
  box-sizing:border-box!important;
  height:46px!important;
  min-height:46px!important;
  margin-block:0!important;
  padding-block:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1.2!important;
  text-align:center!important;
}

/* Floating/bottom action elements cannot create horizontal page overflow. */
.v122ActionRail,.bottomBar{
  box-sizing:border-box!important;
  max-width:calc(100vw - 24px)!important;
}

@media (max-width:900px){
  .quickStart,
  .jaGateway>.jaWrap,
  .haollaGlobalGatewayV1400 .gWrap,
  .haollaCornerHero>.wrap,
  .haollaCornerSection>.wrap{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
  }
  .quickActions,.jaGateway .jaPrimary,.haollaGlobalGatewayV1400 .gActions{
    justify-self:start!important;
    width:auto!important;
    max-width:100%!important;
  }
  .jeonnamAccess .jaHeroGrid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:28px!important;
  }
}

@media (max-width:640px){
  :root{--haolla-page-gutter:18px}
  .quickStart h1,.quickStart h2,.quickStart h3,
  .jaGateway h1,.jaGateway h2,.jaGateway h3,
  .haollaGlobalGatewayV1400 h1,.haollaGlobalGatewayV1400 h2,.haollaGlobalGatewayV1400 h3,
  .haollaCornerHero h1,.haollaCornerHero h2,.haollaCornerHero h3,
  .haollaCornerSection h1,.haollaCornerSection h2,.haollaCornerSection h3{
    max-width:none!important;
  }
  .quickActions{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
  .quickActions>a{max-width:100%!important;white-space:normal!important;text-align:center!important}
  .jeonnamAccess .jaHeroGrid{
    width:calc(100% - 36px)!important;
    max-width:none!important;
  }
}
