/* CMS integration layer — no global typography resets */
.helprite-header-cta{flex:none;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:40px;background:#14a39a;color:#fff!important;text-decoration:none;font-size:13px;font-weight:600}
.helprite-header-cta:hover{background:#087b76}
.helprite-header-inner .nav-links .hdd{white-space:nowrap}
.helprite-header-inner .nav-links .hdd .hddm{top:100%;min-width:240px;display:none;position:absolute;background:#fff;z-index:220;padding:6px 0;box-shadow:0 10px 24px rgba(0,0,0,.08);border-top:2px solid #17a9a9}
.helprite-header-inner .nav-links .hdd:hover>.hddm,.helprite-header-inner .nav-links .hdd.menu-open>.hddm,.helprite-header-inner .nav-links .hdd:focus-within>.hddm{display:block}
.helprite-header-inner .nav-links .hdd .hddm a{display:block;padding:10px 18px;font-size:14px;white-space:nowrap;color:#111}
.helprite-header-inner .nav-links .hdd.has-active-page{color:#108a83}
.footer-social [data-social-unconfigured="1"]{cursor:default;opacity:.65}
[data-action="send-quote"][aria-busy="true"]{opacity:.7}
@media(max-width:1250px){.helprite-header-cta{display:none}}

/* Keep the header identical to the supplied static template; never insert a CMS CTA. */
.helprite-sticky-header .helprite-header-cta,.helprite-sticky-header [data-cms-header-cta]{display:none!important}
.helprite-header-inner .nav-links{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}
.helprite-header-inner .nav-links>a,.helprite-header-inner .nav-links>.hdd{white-space:nowrap;flex-shrink:0}
.helprite-header-inner .nav-links>.hdd{align-items:center;justify-content:center}
.helprite-header-inner .nav-links .hddm{top:100%}
@media(max-width:1320px){.helprite-header-inner .nav-links{display:none!important}}

/* Desktop navigation: align each menu item vertically within the header, not on its upper edge.
   This final stylesheet intentionally wins over exported inline positions without touching fonts. */
@media(min-width:1321px){
 .helprite-header-inner{display:grid!important;grid-template-columns:minmax(190px,1fr) minmax(0,max-content) minmax(190px,1fr);align-items:center!important;column-gap:18px!important;position:relative}
 .helprite-header-inner>.helprite-brand-logo{grid-column:1;justify-self:start}
 .helprite-header-inner>.nav-links{grid-column:2;justify-self:center;margin:0!important;align-self:center!important;display:flex!important;align-items:center!important;gap:clamp(12px,1.1vw,21px)!important;height:100%!important}
 .helprite-header-inner>.nav-links>a,.helprite-header-inner>.nav-links>.hdd{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;height:100%!important;line-height:normal!important;vertical-align:middle!important;white-space:nowrap!important;position:relative!important}
 .helprite-header-inner>.nav-links>.hdd>.hddm{top:100%!important;left:0!important;right:auto!important;align-items:initial!important;height:auto!important}
 .helprite-header-inner>a[href^="tel:"]{grid-column:3;justify-self:end;margin:0!important}
 .helprite-sticky-header[data-menu-align="left"] .helprite-header-inner>.nav-links{justify-self:start}
 .helprite-sticky-header[data-menu-align="right"] .helprite-header-inner>.nav-links{justify-self:end}
}
@media(min-width:1321px) and (max-width:1500px){.helprite-header-inner{grid-template-columns:minmax(170px,1fr) max-content minmax(170px,1fr);column-gap:10px!important}.helprite-header-inner>.nav-links{gap:12px!important}}

/* Homepage ONLY: compact the outer whitespace on short desktop viewports.
   No font-size declarations; the original heading, text and buttons remain unchanged. */
@media (min-width: 861px) and (max-height: 900px) {
  body .helprite-home-hero,
  body .navy.helprite-home-hero {
    padding-top: clamp(26px, 3.8vh, 38px) !important;
    padding-bottom: clamp(24px, 3.6vh, 36px) !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  body .helprite-home-hero > .w.hero-g {
    align-items: center !important;
    gap: clamp(18px, 2.4vw, 38px) !important;
    margin-top:0!important;
    margin-bottom:0!important;
  }
  body .helprite-home-hero .eyebrow {margin-bottom: 5px !important;}
  body .helprite-home-hero .hero-h {margin-bottom: 8px !important;}
  body .helprite-home-hero .hero-g > div:first-child > p[style*="margin-top:22px"] {margin-top: 7px !important;}
  body .helprite-home-hero .hero-g > div:first-child > div[style*="margin-top:30px"] {margin-top: 10px !important;}
  body .helprite-home-hero .hero-g > div:first-child > p:last-child {margin-bottom:0!important;}
  body .helprite-home-hero .hero-g .ph {height: min(380px, 47svh) !important;max-height:min(380px,47svh)!important;min-height:0!important;overflow:hidden;}
  body .helprite-home-hero .hero-g .ph img,
  body .helprite-home-hero .hero-g .ph video,
  body .helprite-home-hero .hero-g .ph iframe {height:100%!important;width:100%!important;object-fit:cover;}
  body .helprite-home-trust .helprite-home-trust-inner {padding-top:9px!important;padding-bottom:9px!important;}
  body .helprite-home-trust .helprite-trust-item {min-height:54px!important;padding-top:4px!important;padding-bottom:4px!important;}
}
@media (min-width: 861px) and (max-height: 740px) {
  body .helprite-home-hero,body .navy.helprite-home-hero {padding-top:26px!important;padding-bottom:24px!important;}
  body .helprite-home-hero .hero-g .ph {height:min(330px,42svh)!important;max-height:min(330px,42svh)!important;}
}
