/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* ---------- Footer menu items ---------- */

  .main-header {
    padding: 10px 0px 10px 0px !important;
  }

footer.footer .pwr-adc-main .pwr-adc__col {
  padding-bottom: 0px !important;
}

.pwr-footer-advanced .pwr-adc-content__menu .hs-menu-wrapper li > a {
  opacity: 1 !important;
}

.pwr-adc-content--menu .pwr-adc-content__menu .hs-menu-wrapper.hs-menu-flow-vertical li a {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
}

/* ---------- HubSpot form ---------- */

.hs-form .hs-input {
  border-bottom-width: 1px !important;
  border-bottom-color: #ffffff !important;
}

.hs-form .hs-input::placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.hs-form .hs-form-field {
  margin-bottom: 5px !important;
}

.hs-form .hs_submit {
  margin-top: 10px !important;
}

.hs-form input[type="submit"].hs-button {
  font-family: "Inter Tight", Arial !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 15px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  padding: 12px 24px !important;
  background: transparent !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 0.5px solid #ffffff !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

.hs-form input[type="submit"].hs-button:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.nc-inset p {
  font-size: 25px !important;
  line-height: 1em !important;
}

.nc-inset {
  font-size: 25px !important;
  line-height: 1em !important;
}

/* ── Accordion: Title ─────────────────────────────────────── */

.pwr-accordion__title,
.pwr--light .pwr-accordion__title,
.pwr--dark  .pwr-accordion__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* ── Accordion: Description body text ────────────────────── */

.pwr-accordion__desc,
.pwr-rich-text.pwr-accordion__desc,
.pwr-accordion__desc p,
.pwr-accordion__desc span,
.pwr-rich-text.pwr-accordion__desc p,
.pwr-rich-text.pwr-accordion__desc span,
.pwr-accordion.active .pwr-accordion__desc,
.pwr-accordion.active .pwr-accordion__desc p,
.pwr-accordion.active .pwr-accordion__desc span,
.pwr--light .pwr-accordion.active.pwr-accordion--text-only .pwr-accordion__desc,
.pwr--dark  .pwr-accordion.active.pwr-accordion--text-only .pwr-accordion__desc {
  font-size: 16px !important;
  line-height: 1.25 !important;
}

/* ── Request a Callback form only ── */

  .request-callback-form .hs-form label {
    display: none;
  }

  .request-callback-form .hs-form .hs-input::placeholder {
    color: #000000 !important;
  }

  .request-callback-form .hs-form .hs-input {
    border-bottom-color: #000000 !important;
  }

  .request-callback-form .hs-form .hs-form-field {
    margin-bottom: 20px !important;
  }

.request-callback-form .hs-form input[type="submit"],
.request-callback-form .hs-form button[type="submit"] {
  border: 1px solid #000000 !important;
}

.request-callback-form .hs-form input[type="submit"]:hover,
.request-callback-form .hs-form button[type="submit"]:hover {
  border: 1px solid #000000 !important;
  background-color: #ffffff !important;
  color: #000000 !important;
}

.request-callback-form .hs-form .hs-error-msgs label,
.request-callback-form .hs-form .hs-error-msg,
.request-callback-form .hs-form ul.hs-error-msgs li label {
  display: block !important;
  color: #ff0000 !important;
  font-size: 12px !important;
}

/* Global — show HubSpot form error labels on all forms */

.hs-form .hs-error-msgs label,
.hs-form .hs-error-msg,
.hs-form ul.hs-error-msgs li label {
    display: block !important;
    color: #ff0000 !important;
    font-size: 12px !important;
}

  /* These apply globally and don't need scoping */

  .pwr-sec-form {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .pwr-sec-form__intro-sec--vertical {
    margin-bottom: 20px !important;
  }

  @media (max-width: 767px) {
    .pwr-sec-form__form {
      padding: 0px;
    }
  }

/* ---------- Mega menu link arrows ---------- */

.pwr-adc-content__button.pwr-cta--link:not(.pwr-cta--link--back) .cta_button::before,
.pwr-adc-content__button.pwr-cta--link:not(.pwr-cta--link--back) .cta_button::after {
  display: none !important;
}

/* ---------- Mega menu link-back arrow style ---------- */

/* Default state: black text, font-weight 500 */

.pwr-adc-content__button.pwr-cta--link--back .cta_button {
  color: #000000 !important;
  font-weight: 500 !important;
}

/* Re-enable chevron only — .pwr-adc parent raises specificity
   above the display:none rule for .pwr-cta--link buttons */

.pwr-adc .pwr-adc-content__button.pwr-cta--link--back .cta_button::before {
  display: block !important;
}

/* Hide the line — chevron only */

.pwr-adc .pwr-adc-content__button.pwr-cta--link--back .cta_button::after {
  display: none !important;
}

/* Arrow chevron: always gold, faces right */

.pwr-adc .pwr-adc-content__button.pwr-cta--link--back .cta_button::before {
  color: #A28E5C !important;
  transform: translateY(-4px) rotate(45deg) !important;
}

/* Hover: text turns gold, chevron nudges right */

.pwr-adc-content__button.pwr-cta--link--back:hover .cta_button {
  color: #A28E5C !important;
}

.pwr-adc .pwr-adc-content__button.pwr-cta--link--back:hover .cta_button::before {
  color: #A28E5C !important;
  transform: translate(4px, -4px) rotate(45deg) !important;
}

/* ---------- Hamburger submenu arrow ---------- */

.pwr-menu_submenu-arrow {
  display: none !important;
}

.pwr-burger__menu .pwr-a11y-menu .pwr-menu_submenu-btn {
  background-color: transparent !important;
}

.pwr-burger__menu .pwr-a11y-menu .pwr-menu_submenu-arrow {
  display: block !important;
  color: #ffffff !important;
  box-shadow: -2px 2px 0px 0px inset !important;
  transform: translateY(-5px) rotate(135deg) !important;
}

body .pwr--dark form.hs-form ul.inputs-list.hs-error-msgs,
body .pwr-form.pwr--dark form.hs-form ul.inputs-list.hs-error-msgs {
  color: var(--clr-form-error-dk);
  font-size: 14px !important;
}

#skip-to-content { display: none !important; }

.mm-btn .cta_button,
.mm-btn .cta_button:hover,
.mm-btn .cta_button:focus {
  border: none !important;
}

.eyebrow-h1 {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.94em;
  letter-spacing: 2.5px;
  color: #000000;
  margin-bottom: 15px;
}
.pwr-adc-content__icon-text--4-4-1-1.center-vertical {
  align-items: flex-start !important;
}
.pwr-adc__content-wrapper--ix-4-4-1 .pwr-adc-content {
  width: 100% !important;
}
 /* Center the text + button group together */

.pwr-sec-cta--horizontal .pwr-sec-cta--content {
  justify-content: center !important;
  gap: 20px !important; /* reduced from 60px */
}

/* Stop the text wrapper from stretching to fill all space */

.pwr-sec-cta--horizontal .pwr-sec-cta__hor-text-wrapper {
  flex: 0 1 auto !important;
}

  @media (max-width: 991px) {

  /* Add 20px left/right padding inside the box */

  .pwr-sec-cta.pwr-sec--boxed-w-content-in {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Set gap between text and button to 20px */

  .pwr-sec-cta__cta-wrapper:has(.pwr-sec-cta__cta--right) {
    margin-top: 0px !important;
  }
}

/* ---------- Stats & section intro ---------- */

.stat-label {
  font-size: 20px;
  font-weight: 500;
  line-height: 1em;
}

.pwr-stat__number p {
  margin: 0 !important;
  line-height: 1em;
  font-size: clamp(32px, 8vw, 75px);
}

.section-intro {
  margin: 0 !important;
  line-height: 1em;
  font-size: clamp(32px, 8vw, 80px);
}

.section-intro b {
  margin: 0 !important;
  font-weight: 700;
  line-height: 1em;
}

@media (max-width: 1220px) {
  .pwr-sec--boxed-w-content-in {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .pwr-sec-cta:not(.pwr-sec--boxed-w-content-in) .pwr-sec-cta--content.page-center {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 1140px) {
  .pwr-sec-txt .page-center {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ---------- Mobile (≤767px) ---------- */

@media (max-width: 767px) {
  #footer-legal-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  #footer-legal-links li {
    margin: 0 !important;
  }

  #footer-legal-links li span {
    display: none !important;
  }

  .pwr-footer__content .pwr-adc__cols > .pwr-adc__col:nth-child(2),
  .pwr-footer__content .pwr-adc__cols > .pwr-adc__col:nth-child(3),
  .pwr-footer__content .pwr-adc__cols > .pwr-adc__col:nth-child(4) {
    display: none !important;
  }
}

/* ---------- Small mobile (≤575px) ---------- */

@media (max-width: 575px) {
  .page-center {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .pwr-sec--boxed-w-content-in,
  .pwr-sec--boxed-w-content-out,
  .pwr-sec--boxed-w-full {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/** Menu quickfix Maka support **/

.hs-menu-wrapper li a:hover: {color: #A28E5C !important}

.pwr-header.pwr-header--dark-dropdown .hs-menu-children-wrapper li:not(.active-branch) a, .pwr-header.pwr-header--dark-dropdown .hs-menu-children-wrapper li:not(.active-branch) a:after, .pwr-header.pwr-header--dark-dropdown .hs-menu-children-wrapper li:not(.hs-menu-depth-1):hover > a, .pwr-header.pwr-header--dark-dropdown .hs-menu-children-wrapper li:not(.hs-menu-depth-1):hover > a:after, .pwr-header.pwr-header--light-dropdown .hs-menu-children-wrapper li:not(.hs-menu-depth-1):hover > a, .pwr-header.pwr-header--light-dropdown .hs-menu-children-wrapper li:not(.hs-menu-depth-1):hover > a:after{color: #A28E5C !important}

/* ---------- Mega menu positioning fix ---------- */

/* Push the mega menu down to sit flush with the full header bottom (incl. padding) */

.pwr-header-advanced-mms {
  top: 100% !important;
}

/* ---------- Investment Management mega menu - remove right padding from Focus series and Prosperity series columns ---------- */

[data-target="2"] .pwr-adc-main__cols .pwr-adc__col:nth-child(3),
[data-target="2"] .pwr-adc-main__cols .pwr-adc__col:nth-child(4) {
    padding-right: 0 !important;
}

/* ---------- Investment Management mega menu - remove right margin from links in Focus series and Prosperity series columns ---------- */

[data-target="2"] .pwr-adc-main__cols .pwr-adc__col:nth-child(3) .pwr-adc-content__button .cta_button,
[data-target="2"] .pwr-adc-main__cols .pwr-adc__col:nth-child(4) .pwr-adc-content__button .cta_button {
    margin-right: 0 !important;
}

/* ---------- Mega menu centering - always centered on visible viewport ---------- */

.pwr-header-advanced-mms {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
}

/* ---------- Burger menu - show all sub-menu links (not just active branch) ---------- */

.pwr-burger__menu .hs-menu-wrapper ul.hs-menu-children-wrapper {
    display: block !important;
}

/* ---------- Burger icon - white on transparent header (home page mobile only) ---------- */

.hs-content-name-home-count-wealth .pwr-header--transparent:not(.scroll) .pwr-burger__icon-open span,
.hs-content-name-home-count-wealth .pwr-header--transparent:not(.scroll) .pwr-burger__icon-open::after,
.hs-content-name-home-count-wealth .pwr-header--transparent:not(.scroll) .pwr-burger__icon-open::before {
    background-color: #fff !important;
}

/* ---------- Header - reduce horizontal padding to 20px on mobile ---------- */

@media (max-width: 575px) {
    .pwr-header .pwr--full-width {
          padding-left: 20px !important;
          padding-right: 20px !important;
  }
}

/* ---------- Nav menu - center in header ---------- */

.pwr--full-width .pwr-header__menu--right {
      left: 50% !important;
      right: auto !important;
      transform: translate(-50%, -50%) !important;
}

/* ---------- Mega menu hover gap fix ---------- */
/* Extends the invisible hover/click area of each top-level mega-menu trigger
   down to meet the top of the mega-menu panel. Closes the ~9px dead zone
   between the nav item and the panel that was causing mouseleave to fire
   (and the panel to close) before the cursor reached the panel's links. */
.pwr-header__menu .hs-menu-item.has-mega-menu {
  padding-bottom: 20px !important;
  margin-bottom: -20px !important;
}
@media (max-width: 600px) {
  ul.count-footer-links {
    justify-content: center !important;
    column-gap: 0 !important;
    row-gap: 4px !important;
  }
  ul.count-footer-links > li { margin: 0 !important; }
  ul.count-footer-links .count-footer-sep { display: none !important; }
  ul.count-footer-links > li > a,
  ul.count-footer-links > li > span > a {
    display: block;
    padding: 8px 14px !important;
    font-size: 15px !important;
    line-height: 1.2;
  }
  ul.count-footer-links > li > span > br { display: none !important; }
}