/* Force desktop header menu horizontal */
.header__navigation ul,
.header__navigation .hs-menu-wrapper > ul {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__navigation li,
.header__navigation .hs-menu-item {
  display: inline-flex !important;
  width: auto !important;
  margin: 0;
}

.header__navigation a {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

/* Mobile/tablet header menu */
@media screen and (max-width: 1000px) {
  .header__navigation,
  .header__menu nav,
  .navigation-primary,
  .header__menu .submenu {
    background-color: #0A7A4B !important;
  }

  .header__navigation ul,
  .header__navigation .hs-menu-wrapper > ul {
    display: block !important;
  }

  .header__navigation li,
  .header__navigation .hs-menu-item {
    display: block !important;
    width: 100% !important;
  }

  .header__menu .menu-link {
    color: #FFFFFF !important;
  }

  .header__mobile-menu-icon,
  .header__mobile-menu-icon:before,
  .header__mobile-menu-icon:after {
    background-color: #FFFFFF !important;
  }

  .header__menu .menu-arrow {
    display: none !important;
  }

  .header__logo {
    max-width: 220px !important;
    flex-shrink: 0 !important;
  }

  .header__logo img {
    width: 100% !important;
    height: auto !important;
  }
}

/* Equal-height homepage cards */
.icon-row > .row-fluid-wrapper > .row-fluid,
.icon-row-li > .row-fluid-wrapper > .row-fluid {
  display: flex !important;
  align-items: stretch !important;
  gap: 24px;
}

.icon-row > .row-fluid-wrapper > .row-fluid > .icon-piece,
.icon-row-li > .row-fluid-wrapper > .row-fluid > .icon-piece-li {
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  width: auto !important;
}

.icon-row > .row-fluid-wrapper > .row-fluid > .icon-piece {
  min-height: 420px;
}

.icon-row-li > .row-fluid-wrapper > .row-fluid > .icon-piece-li {
  min-height: 210px;
}

/* Mobile/tablet reset for cards */
@media screen and (max-width: 1000px) {
  .icon-row > .row-fluid-wrapper > .row-fluid,
  .icon-row-li > .row-fluid-wrapper > .row-fluid {
    display: block !important;
  }

  .icon-piece,
  .icon-piece-li {
    width: 100% !important;
    min-height: auto !important;
    margin-bottom: 24px;
  }
}

/* Simple PNGN footer */
.pngn-footer {
  background: #34404D;
  padding: 24px 40px;
  text-align: center;
}

.pngn-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pngn-footer p {
  color: #D9DADB;
  margin: 0;
  font-weight: 700;
}

/* Normalize HubSpot editor spacing */
[class*="hs_cos_wrapper_widget_"],
[class*="hs_cos_wrapper_module_"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Fix invalid negative padding from HubSpot editor output */
.module_17787908759893-padding > #hs_cos_wrapper_module_17787908759893 {
  padding-bottom: 0 !important;
}

/* Global footer responsive fix */
@media screen and (max-width: 1000px) {
  footer .row-fluid,
  .footer .row-fluid,
  .site_footer .row-fluid,
  [data-global-resource-path*="footer"] .row-fluid,
  .site_footer [class*="row-"] > .row-fluid,
  .site_footer [class*="vertical-alignment"] > .row-fluid {
    display: block !important;
    width: 100% !important;
    gap: 0 !important;
  }

  footer .row-fluid > [class*="span"],
  .footer .row-fluid > [class*="span"],
  .site_footer .row-fluid > [class*="span"],
  [data-global-resource-path*="footer"] .row-fluid > [class*="span"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 0 0 28px 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  footer .row-fluid > [class*="span"]:last-child,
  .footer .row-fluid > [class*="span"]:last-child,
  .site_footer .row-fluid > [class*="span"]:last-child,
  [data-global-resource-path*="footer"] .row-fluid > [class*="span"]:last-child {
    margin-bottom: 0 !important;
  }

  footer .dnd-section,
  .footer .dnd-section,
  [data-global-resource-path*="footer"] .dnd-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  footer .hs-horizontal-spacer,
  .footer .hs-horizontal-spacer,
  [data-global-resource-path*="footer"] .hs-horizontal-spacer,
  footer .widget-type-space,
  .footer .widget-type-space,
  [data-global-resource-path*="footer"] .widget-type-space {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  footer img,
  .footer img,
  [data-global-resource-path*="footer"] img {
    max-width: 260px !important;
    height: auto !important;
  }

  footer h2,
  footer h3,
  footer h4,
  .footer h2,
  .footer h3,
  .footer h4 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }

  footer p,
  .footer p {
    margin-bottom: 16px !important;
  }

  footer .social-links,
  .footer .social-links {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
}/* Fix header overlapping homepage content */

.header {
  position: relative !important;
  z-index: 10 !important;
}

.header__main-bar {
  position: relative !important;
}

.body-wrapper {
  padding-top: 0 !important;
}

.dnd_area_main_banner-row-0-padding {
  margin-top: 0 !important;
}
/* =====================================
   PNGN Mobile Typography Optimization
   H1 + H2 Responsive Scaling
===================================== */

@media screen and (max-width: 767px) {

  h1,
  .h1 {
    font-size: clamp(42px, 8vw, 56px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 20px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  h2,
  .h2 {
    font-size: clamp(30px, 6vw, 42px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 18px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  h3,
  .h3 {
    font-size: clamp(22px, 4.5vw, 28px) !important;
    line-height: 1.3 !important;
  }
/* =====================================
   PNGN Global Button Refinement
   Standardize button radius + spacing
===================================== */

button,
.button,
.hs-button,
form input[type="submit"],
form .hs-button,
.button.button--secondary,
.footer__form form input[type="submit"],
.footer__form form .hs-button {
  border-radius: 20px !important;
  font-size: 15px !important;
  padding: 15.5px 30px !important;
  text-transform: none !important;
}

/* Primary button */
button,
.button,
.hs-button,
form input[type="submit"],
form .hs-button {
  background-color: #0A7A4B !important;
  border: 1px solid #0A7A4B !important;
  color: #F7F8F6 !important;
  fill: #F7F8F6 !important;
}

/* Primary button hover */
button:hover,
button:focus,
.button:hover,
.button:focus,
.hs-button:hover,
.hs-button:focus,
form input[type="submit"]:hover,
form input[type="submit"]:focus,
form .hs-button:hover,
form .hs-button:focus {
  background-color: #A7B9A8 !important;
  border-color: #A7B9A8 !important;
  color: #0A7A4B !important;
  fill: #0A7A4B !important;
}

/* Secondary button */
.button.button--secondary {
  background-color: transparent !important;
  border: 1px solid #D9DADB !important;
  color: #D9DADB !important;
  fill: #D9DADB !important;
}

/* Secondary button hover */
.button.button--secondary:hover,
.button.button--secondary:focus {
  background-color: transparent !important;
  border-color: #A7B9A8 !important;
  color: #A7B9A8 !important;
  fill: #A7B9A8 !important;
}
/* =====================================
   PNGN Dropdown Menu Styling
===================================== */

.header__navigation .hs-menu-children-wrapper {
  min-width: 340px !important;
  background: #F7F8F6 !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.12) !important;
  padding: 8px 0 !important;
}

.header__navigation .hs-menu-children-wrapper a {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #34404D !important;
  padding: 14px 24px !important;
  white-space: normal !important;
  display: block !important;
  text-decoration: none !important;
}

.header__navigation .hs-menu-children-wrapper a:hover,
.header__navigation .hs-menu-children-wrapper a:focus {
  color: #0A7A4B !important;
  background-color: rgba(167,185,168,.15) !important;
  text-decoration: none !important;
}
  /* =====================================
   PNGN Final Navigation Override
===================================== */

/* Desktop dropdown */
@media screen and (min-width: 1001px) {
  .header .navigation-primary .submenu.level-2 {
    width: 280px !important;
    min-width: 280px !important;
    background: #F7F8F6 !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.12) !important;
    padding: 0 !important;
  }

  .header .navigation-primary .submenu.level-2 > li {
    background: #F7F8F6 !important;
    border-bottom: 1px solid #D9DADB !important;
    display: block !important;
    width: 100% !important;
  }

  .header .navigation-primary .submenu.level-2 .menu-link {
    display: block !important;
    width: 100% !important;
    padding: 16px 20px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #34404D !important;
    background: transparent !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-decoration: none !important;
  }

  .header .navigation-primary .submenu.level-2 .menu-link:hover,
  .header .navigation-primary .submenu.level-2 .menu-link:focus {
    color: #A7B9A8 !important;
    background: transparent !important;
  }
}

/* Mobile menu hover */
@media screen and (max-width: 1000px) {
  .header .navigation-primary a:hover,
  .header .navigation-primary a:focus,
  .header .navigation-primary a:active,
  .header__navigation .menu-link:hover,
  .header__navigation .menu-link:focus,
  .header__navigation .menu-link:active {
    color: #A7B9A8 !important;
    background: transparent !important;
  }

  .header .navigation-primary .submenu.level-2,
  .header .navigation-primary .submenu.level-2 > li,
  .header .navigation-primary .submenu.level-2 .menu-link {
    background: transparent !important;
  }
}