/* g9: sitewide sticky top bar (header + hours banner) and contact-page desktop layout.
   Cache-bust with ?v=g9. Do not hash-rename. No wording changes. */

/* Sticky wrapper around the header and the hours banner so they stay flush
   at the top on every page, with no leftover padding gap. */
html body .acpc-top{
  position:sticky;
  top:0;
  z-index:200;
  background:#fff;
  padding-top:env(safe-area-inset-top,0);
  box-sizing:border-box;
}

/* Cancel leftover theme rules: position:fixed, position:relative from the
   preview-header CSS, and html body #masthead{top:22px!important} on some bundles. */
html body #masthead,
html body header.site-header,
html body.page-id-5 #masthead,
html body.page-id-5 header.site-header,
html body.page-id-7 #masthead,
html body.page-id-7 header.site-header,
html body.page-id-9 #masthead,
html body.page-id-9 header.site-header,
html body.page-id-37 #masthead,
html body.page-id-37 header.site-header,
html body.page-id-730 #masthead,
html body.page-id-730 header.site-header{
  position:relative!important;
  top:0!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  margin-top:0!important;
  padding-top:0!important;
  background:#fff!important;
  box-sizing:border-box;
}

/* Zero the old fixed-header spacer on every page id that still has one. */
html body .site-content,
html body.page-id-5 .site-content,
html body.page-id-7 .site-content,
html body.page-id-9 .site-content,
html body.page-id-37 .site-content,
html body.page-id-730 .site-content{
  padding-top:0!important;
}

/* Desktop only: What happens next on the contact page.
   Phone layout (stacked card and numbered list) is left as it is. */
@media (min-width:768px){
  html body .acpc-contact-page .acpc-ct-cols{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:24px;
    max-width:100%;
    width:100%;
    padding:14px 0 26px;
    box-sizing:border-box;
  }
  html body .acpc-contact-page .acpc-form-box{
    max-width:32em;
    width:100%;
    box-sizing:border-box;
  }
  html body .acpc-contact-page .acpc-next{
    max-width:100%;
    width:100%;
    box-sizing:border-box;
    background:transparent;
    border:0;
    box-shadow:none;
    padding:0;
  }
  html body .acpc-contact-page .acpc-next h2{
    margin:0 0 16px!important;
  }
  html body .acpc-contact-page .acpc-next ol{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin:0 0 16px;
    padding:0;
    list-style:none;
    counter-reset:n;
  }
  html body .acpc-contact-page .acpc-next li{
    counter-increment:n;
    position:relative;
    margin:0;
    padding:18px 18px 18px 18px;
    background:#fff;
    border:1px solid var(--line,#A0D1DC);
    border-radius:14px;
    box-shadow:0 4px 14px rgba(7,58,69,.08);
    box-sizing:border-box;
    font-size:18px;
    line-height:1.5;
    color:var(--ink,#595959);
  }
  html body .acpc-contact-page .acpc-next li:before{
    content:counter(n);
    position:static;
    display:flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    margin:0 0 12px;
    border-radius:50%;
    background:var(--turq,#228197);
    color:#000;
    font-weight:700;
  }
  html body .acpc-contact-page .acpc-next li strong{
    display:block;
    margin:0 0 6px;
    color:var(--tealdk,#000);
  }
  html body .acpc-contact-page .acpc-next > p{
    margin:0;
    max-width:40em;
  }
}
