.sr-footer-01 { position: relative; }

.sr-footer-01 .sr-footer-nav .hs-menu-wrapper>ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-gap: 2.25rem;
}

.sr-footer-01 .sr-footer-nav li.hs-menu-depth-1>a {
  font-weight: 600;
  font-size: .90rem;
  color: #FCFCFC;
  margin-bottom: 0.6rem;
}

.sr-footer-01 .sr-footer-nav li.hs-menu-depth-2 a {
  line-height: 2rem;
  font-size: .85rem;
  color: inherit;
  font-weight: 500;
}

.sr-footer-01 .social {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sr-footer-01 ul.social li span {
  border-radius: 50%;
  width: 2.3rem;
  height: 2.3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: inherit;
}

.sr-footer-01 ul.social li span svg,
.sr-footer-01 ul.social li span svg g {
  fill: inherit;
}

.sr-footer-01 .footer-logo-social { padding: 3em 0; }

.sr-footer-01 ul.hs-menu-children-wrapper {
  list-style-type: none;
  padding: 0;
}

.sr-footer-01 .footer-copyright p a { text-decoration: underline; }

.sr-footer-01 .footer-copyright p a:not(:hover) { color: inherit; }

.sr-footer-01 .footer-logo-social { text-align: center; }

.sr-footer-01 .footer-logo-social img {
  max-width: 100%;
  height: auto;
}

.sr-footer-01 .sr-footer-nav .hs-menu-depth-1 {
  width: 50%;
  margin-bottom: 2rem;
}

.sr-footer-01 .footer-copyright p.small { margin: 0; }

.footer-copyright .small p { font-size: .80rem !important; }

.sr-footer-01 .button__container {
  position: absolute;
  bottom: 15px;
  right: 15px;
  height: 3rem;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.sr-footer-01 .button__container:hover { filter: brightness(1.2); }

@media only screen and (min-width: 992px) {
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-1 { margin-bottom: 0; }
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-1 { width: auto; }
  .sr-footer-01 .sr-footer-nav .hs-menu-wrapper>ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

/* Bottom row spacing + alignment */
.sr-footer-01 .footer-bottom {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* Right-align socials on desktop, stack on mobile */
.sr-footer-01 .footer-bottom .social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (min-width: 768px) {
  .sr-footer-01 .footer-bottom .social { justify-content: flex-end; }
}

/* Keep icon sizing consistent */
.sr-footer-01 .footer-bottom ul.social li span {
  border-radius: 50%;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   HOVER PACK (Harvey-style) — no CSS variables
   - Hovered link turns white
   - Arrow slides in on depth-2 links
   - Non-hovered links dim
   ========================================================= */
.sr-footer-01 .sr-footer-nav .hs-menu-depth-1 > a,
.sr-footer-01 .sr-footer-nav .hs-menu-depth-2 > a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  position: relative;
  text-decoration: none;
  transition: color 260ms cubic-bezier(.22,.61,.36,1),
              opacity 260ms cubic-bezier(.22,.61,.36,1);
}

/* Arrow for depth-2 links (reserve width to avoid layout shift) */
.sr-footer-01 .sr-footer-nav .hs-menu-depth-2 > a::after {
  content: "→";
  width: 1em;
  opacity: 0;
  transform: translateX(-.25em);
  transition: transform 260ms cubic-bezier(.22,.61,.36,1),
              opacity 260ms cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}

/* Hover/focus: link goes white; arrow slides in */
@media (hover: hover) and (pointer: fine) {
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-1 > a:hover,
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-1 > a:focus-visible,
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-2 > a:hover,
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-2 > a:focus-visible {
    color: #ffffff;
  }

  .sr-footer-01 .sr-footer-nav .hs-menu-depth-2 > a:hover::after,
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-2 > a:focus-visible::after {
    opacity: 1;
    transform: translateX(.15em);
  }

  /* Dim the rest while any item is hovered (requires :has support) */
  .sr-footer-01 .sr-footer-nav .hs-menu-wrapper > ul:has(a:hover) a:not(:hover) {
    opacity: .35;
  }
}

/* Keyboard focus outline */
.sr-footer-01 .sr-footer-nav a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .sr-footer-01 .sr-footer-nav .hs-menu-depth-2 > a::after { transition: none; }
}

/* Fallback when :has is unavailable */
.sr-footer-01.footer-hovering .sr-footer-nav .hs-menu-wrapper > ul a:not(:hover) {
  opacity: var(--footer-dim-opacity);
}
/* --- Kill hover effect on top-level (depth-1) items --- */
.sr-footer-01 .sr-footer-nav .hs-menu-depth-1 > a:hover,
.sr-footer-01 .sr-footer-nav .hs-menu-depth-1 > a:focus-visible {
  color: #FCFCFC;      /* same as your base color */
  opacity: 1;          /* ensure no unintended dim on the hovered header */
  text-decoration: none;
  cursor: default;     /* optional: looks non-interactive */
}

/* --- Dim others ONLY when a depth-2 link is active --- */
@supports selector(:has(a)) {
  /* mouse */
  .sr-footer-01 .sr-footer-nav .hs-menu-wrapper > ul:has(.hs-menu-depth-2 > a:hover)
  a:not(:hover) {
    opacity: .35;
  }
  /* keyboard */
  .sr-footer-01 .sr-footer-nav .hs-menu-wrapper > ul:has(.hs-menu-depth-2 > a:focus-visible)
  a:not(:focus-visible) {
    opacity: .35;
  }
}
.sr-footer-01 .sr-footer-nav .hs-menu-depth-1 > a { pointer-events: none; }