/* HHS live Ask-Me-Anything banner. Brand red #AB2E2B, paper #F8F8F8, navy #0E335D, sky #67ACD3. */
:root{
  --hhs-live-banner-h:0px;
}
.hhs-live-banner[hidden],
.hhs-live-banner[data-state="hide"]{
  display:none !important;
}

.hhs-live-banner{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:80;
  background:#AB2E2B;
  color:#F8F8F8;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  box-shadow:0 2px 10px rgba(14,51,93,.28);
}

.hhs-live-banner__live{
  display:none;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.55rem .9rem;
  padding:.75rem 1.15rem;
  text-align:center;
}
.hhs-live-banner[data-state="live"] .hhs-live-banner__live{display:flex}
.hhs-live-banner[data-state="live"] .hhs-live-banner__promo{display:none}

.hhs-live-banner__badge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:#F8F8F8;
  color:#AB2E2B;
  font-weight:800;
  font-size:.82rem;
  letter-spacing:.08em;
  padding:.32rem .7rem .32rem .55rem;
  border-radius:999px;
  line-height:1;
  text-transform:uppercase;
}
.hhs-live-banner__dot{
  width:.7rem;
  height:.7rem;
  border-radius:50%;
  background:#AB2E2B;
  box-shadow:0 0 0 0 rgba(171,46,43,.55);
  animation:hhs-live-pulse 1.4s ease-out infinite;
  flex:0 0 auto;
}
@keyframes hhs-live-pulse{
  0%{box-shadow:0 0 0 0 rgba(171,46,43,.6);transform:scale(1)}
  70%{box-shadow:0 0 0 8px rgba(171,46,43,0);transform:scale(1)}
  100%{box-shadow:0 0 0 0 rgba(171,46,43,0);transform:scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .hhs-live-banner__dot{animation:none}
}
html.rm .hhs-live-banner__dot{animation:none}

.hhs-live-banner__msg{
  margin:0;
  font-size:clamp(1.05rem,2.4vw,1.35rem);
  font-weight:800;
  color:#F8F8F8;
  line-height:1.25;
}

.hhs-live-banner__btn{
  display:inline-block;
  background:#F8F8F8;
  color:#0E335D;
  font-weight:800;
  font-size:1.05rem;
  padding:.7rem 1.35rem;
  border-radius:999px;
  text-decoration:none;
  line-height:1.2;
  white-space:nowrap;
}
.hhs-live-banner__btn:hover{
  background:#fff;
  color:#0E335D;
}
.hhs-live-banner__btn:focus-visible{
  outline:3px solid #67ACD3;
  outline-offset:3px;
}

.hhs-live-banner__promo{
  display:block;
  padding:.48rem 1rem;
  text-align:center;
  color:#F8F8F8;
  text-decoration:none;
  font-weight:700;
  font-size:.95rem;
  line-height:1.35;
}
.hhs-live-banner__promo:hover,
.hhs-live-banner__promo:focus-visible{
  color:#fff;
  text-decoration:underline;
}
.hhs-live-banner__promo:focus-visible{
  outline:3px solid #67ACD3;
  outline-offset:-3px;
}

/* Keep the existing fixed header under the banner, not covered by it. */
header.nav{
  top:var(--hhs-live-banner-h,0px);
}
.prog{
  top:var(--hhs-live-banner-h,0px);
}

/* Anchor jumps and in-page links clear banner + header. */
html{
  scroll-padding-top:calc(5.5rem + var(--hhs-live-banner-h,0px));
}
section.s{
  scroll-margin-top:calc(60px + var(--hhs-live-banner-h,0px));
}

/* Heroes already pad for the fixed header; add the banner height. */
.lhero{
  padding-top:calc(5.25rem + var(--hhs-live-banner-h,0px)) !important;
}
@media(max-width:860px){
  .lhero{
    padding-top:calc(2.2rem + var(--hhs-live-banner-h,0px)) !important;
  }
  .hhs-live-banner__live{padding:.65rem .85rem}
  .hhs-live-banner__btn{padding:.65rem 1.15rem;font-size:1rem}
  .hhs-live-banner__promo{font-size:.88rem;padding:.42rem .75rem}
}
.aiready-hero{
  padding-top:calc(6.2rem + var(--hhs-live-banner-h,0px));
}
.thero .wrap,
.chero .wrap{
  padding-top:calc(8rem + var(--hhs-live-banner-h,0px));
}
.tpage > section.s[style*="padding-top"]{
  padding-top:calc(8rem + var(--hhs-live-banner-h,0px)) !important;
}
