/* HOA P64 — restore separate Follow Us and About Us footer bands.
   Keep the established navy/gold theme. Compact layout is scoped to the public footer. */

body.hoa-public-front #hoaGlobalPublicFooter {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* FOLLOW US — its own narrow social band, separate from the information footer. */
body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter.hoa-front-social-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 18px 0 0 !important;
  padding: 10px 20px !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social-bar {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  min-height: 54px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 5px 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
}

body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-actions {
  align-items: center !important;
}

/* ABOUT / LINKS / CONTACT — second, visually distinct footer band. */
body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 0 !important;
  padding: 20px 20px 10px !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
  width: min(1120px, 100%) !important;
  margin: 0 auto !important;
  align-items: start !important;
}

body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
  overflow-wrap: anywhere;
}

body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Tablet: retain two distinct bands and use a balanced information grid. */
@media (max-width: 760px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter.hoa-front-social-footer {
    margin-top: 10px !important;
    padding: 8px 14px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
    margin-top: 6px !important;
    padding: 14px 14px 8px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
    padding: 0 !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px 14px !important;
  }
}

/* Small tablets: use two balanced information columns rather than squeezing four. */
@media (min-width: 761px) and (max-width: 900px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
    padding: 16px 18px 9px !important;
  }
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px 16px !important;
    padding: 0 !important;
  }
}

/* Tablet widths: keep the brand and social actions on one tidy row where they fit. */
@media (min-width: 761px) and (max-width: 900px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social-bar {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-brand {
    display: none !important;
  }
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-actions {
    width: auto !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Phones: reduce wasted vertical space. Keep Follow Us as one compact horizontal strip,
   About Us and branding side-by-side, then links and contact side-by-side. */
@media (max-width: 600px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter.hoa-front-social-footer {
    width: 100% !important;
    margin: 7px 0 0 !important;
    padding: 6px 8px !important;
    border-top-width: 2px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social-bar {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 2px 0 !important;
    gap: 6px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-brand {
    display: none !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-actions {
    display: flex !important;
    width: auto !important;
    margin: 0 auto !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-follow-label {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    align-items: center !important;
    margin: 0 2px 0 0 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin {
    display: inline-flex !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    border-radius: 8px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social > span,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin > span {
    display: none !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social svg,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin svg {
    width: 15px !important;
    height: 15px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
    margin: 6px 0 0 !important;
    padding: 12px 10px 7px !important;
    border-top-width: 1px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    align-items: start !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading {
    margin: 0 0 3px !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    letter-spacing: .35px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading::after {
    width: 22px !important;
    height: 2px !important;
    margin-top: 4px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    max-width: none !important;
    margin: 3px 0 0 !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-brand-name {
    font-size: 12px !important;
    line-height: 1.15 !important;
    letter-spacing: .1px !important;
    overflow-wrap: anywhere;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-tagline {
    margin-top: 2px !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 2px 7px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links .hoa-footer-heading {
    grid-column: 1 / -1 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-link-coming-soon,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    display: block !important;
    min-height: 0 !important;
    padding: 2px 0 !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-career-soon {
    margin-left: 2px !important;
    padding: 1px 3px !important;
    font-size: 7px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-divider {
    width: 100% !important;
    margin: 7px auto 5px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 3px 8px !important;
    text-align: left !important;
    font-size: 7.5px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 360px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin {
    flex-basis: 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
    gap: 7px 8px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    font-size: 8.5px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    font-size: 7px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.hoa-public-front #hoaGlobalPublicFooter * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}


/* P67 responsive hybrid footer:
   - Laptop/desktop: retain the original P64 presentation unchanged.
   - Phones: apply the refinements users preferred in P66, including compact text,
     the navy/gold finish, and square outer/social bars.
*/
@media (max-width: 600px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter.hoa-front-social-footer {
    background: linear-gradient(115deg, #071a3a 0%, #0a2c61 58%, #0b3470 100%) !important;
    border-top-color: #f4c542 !important;
    border-bottom: 1px solid rgba(211, 224, 246, .14) !important;
    border-radius: 0 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social-bar {
    border: 1px solid rgba(244, 197, 66, .42) !important;
    border-radius: 0 !important;
    background: linear-gradient(110deg, rgba(4, 19, 45, .7), rgba(11, 41, 86, .62)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin {
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social:hover,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin:hover {
    border-color: rgba(244, 197, 66, .8) !important;
    background-color: rgba(244, 197, 66, .10) !important;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .16) !important;
    transform: translateY(-1px) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter a:focus-visible,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter a:focus-visible {
    outline: 2px solid #ffd95c !important;
    outline-offset: 3px !important;
    border-radius: 4px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
    background: linear-gradient(112deg, #071a39 0%, #09295a 56%, #0b3169 100%) !important;
    border-top: 1px solid rgba(244, 197, 66, .22) !important;
    border-radius: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading {
    color: #ffd44f !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .18) !important;
    font-size: 9.5px !important;
    letter-spacing: .38px !important;
    margin-bottom: 4px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    font-size: 9px !important;
    line-height: 1.3 !important;
    color: rgba(233, 240, 251, .88) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-brand-name {
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    letter-spacing: .12px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-tagline {
    font-size: 8.5px !important;
    line-height: 1.25 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-link-coming-soon {
    font-size: 9.2px !important;
    line-height: 1.3 !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    font-size: 9px !important;
    line-height: 1.32 !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    transition: color .16s ease, text-decoration-color .16s ease !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a:hover,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a:hover {
    color: #ffe17a !important;
    text-decoration: underline !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-divider {
    background: linear-gradient(90deg, transparent, rgba(244, 197, 66, .28), rgba(211, 224, 246, .12), transparent) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    color: rgba(227, 235, 248, .82) !important;
    letter-spacing: .05px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-developer em {
    color: #ffd44f !important;
    font-style: normal !important;
  }
}

@media (max-width: 360px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    font-size: 8.6px !important;
    line-height: 1.3 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-link-coming-soon {
    font-size: 9px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    font-size: 8.8px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    font-size: 7.8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter a {
    transition: none !important;
  }
}

/* P68 — final alignment, rhythm, and accessibility polish.
   Keeps the approved P64 desktop / P66 mobile hybrid layout and all existing markup. */
@media (min-width: 901px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter.hoa-front-social-footer {
    margin-top: 16px !important;
    padding: 11px clamp(18px, 2.2vw, 28px) 10px !important;
    border-top: 3px solid #f5c842 !important;
    border-bottom: 1px solid rgba(245, 200, 66, .24) !important;
    background: linear-gradient(112deg, #06183d 0%, #082c68 52%, #0b408c 100%) !important;
    box-shadow: 0 -8px 28px rgba(4, 25, 61, .12) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social-bar {
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
    min-height: 58px !important;
    padding: 7px 14px !important;
    gap: clamp(16px, 1.8vw, 24px) !important;
    border: 1px solid rgba(245, 200, 66, .27) !important;
    border-radius: 18px !important;
    background: rgba(3, 20, 51, .22) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 18px rgba(2, 15, 40, .09) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-brand {
    min-width: 220px !important;
    align-items: center !important;
    gap: 11px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-brand img {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    object-fit: contain !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-brand-name {
    font-size: 16px !important;
    line-height: 1.1 !important;
    letter-spacing: .025em !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-brand-tag {
    margin-top: 4px !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    letter-spacing: .06em !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-actions {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-follow-label {
    margin-right: 3px !important;
    color: #ffdc68 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 13px !important;
    gap: 8px !important;
    border-radius: 11px !important;
    border-color: rgba(245, 200, 66, .36) !important;
    background: rgba(255, 255, 255, .055) !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social:hover {
    transform: translateY(-1px) !important;
    border-color: #ffdc68 !important;
    background: rgba(21, 88, 179, .54) !important;
    box-shadow: 0 5px 14px rgba(1, 12, 35, .2) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter a:focus-visible,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter a:focus-visible {
    outline: 2px solid #ffdc68 !important;
    outline-offset: 3px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
    margin-top: 7px !important;
    padding: 22px 24px 11px !important;
    background: linear-gradient(112deg, #061735 0%, #08295f 56%, #0a3474 100%) !important;
    border-top: 1px solid rgba(245, 200, 66, .45) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
    width: min(1120px, 100%) !important;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1.12fr) minmax(0, 1.08fr) minmax(0, 1.12fr) !important;
    gap: clamp(20px, 2vw, 30px) !important;
    align-items: start !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner > * {
    min-width: 0 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading {
    margin-bottom: 7px !important;
    color: #ffdc68 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: .055em !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading::after {
    width: 30px !important;
    height: 2px !important;
    margin-top: 6px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    max-width: 290px !important;
    margin-top: 8px !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
    color: #cbd9ed !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-brand-name {
    font-size: 18px !important;
    line-height: 1.2 !important;
    letter-spacing: .02em !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-tagline {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links {
    gap: 8px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-link-coming-soon,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    font-size: 12px !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-career-soon {
    margin-left: 6px !important;
    padding: 3px 7px !important;
    font-size: 9px !important;
    vertical-align: middle !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-divider {
    width: min(1120px, 100%) !important;
    margin: 20px auto 10px !important;
    background: linear-gradient(90deg, transparent, rgba(245, 200, 66, .48), rgba(255, 255, 255, .12), transparent) !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    width: min(1120px, 100%) !important;
    gap: 8px 14px !important;
    font-size: 10.5px !important;
    line-height: 1.5 !important;
    color: #cbd9ed !important;
  }
}

/* Tablet finishing: keep both footer bands distinct and prevent social buttons from crowding. */
@media (min-width: 601px) and (max-width: 900px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading {
    font-size: 10.5px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-link-coming-soon,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }
}

/* Last-mile mobile clarity: preserve the compact P66 layout without shrinking tap focus. */
@media (max-width: 600px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social:focus-visible,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter a:focus-visible {
    outline: 2px solid #ffdc68 !important;
    outline-offset: 2px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    text-wrap: pretty !important;
  }
}

/* P68 accessibility finish — improve phone readability and tap comfort while keeping the footer compact. */
@media (max-width: 600px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin {
    flex-basis: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 9px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social svg,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin svg {
    width: 16px !important;
    height: 16px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    font-size: 9.6px !important;
    line-height: 1.34 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-link-coming-soon,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    font-size: 9.8px !important;
    line-height: 1.32 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    font-size: 8px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 360px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-social,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaFrontSocialFooter .hoa-v619-admin {
    flex-basis: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    font-size: 9.2px !important;
    line-height: 1.32 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links a,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-link-coming-soon,
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-contact a {
    font-size: 9.4px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    font-size: 8px !important;
  }
}

/* Keep the compact footer's two-column flow clean on narrow phone widths. */
@media (max-width: 600px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
    gap: 6px 9px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-heading {
    margin-bottom: 3px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    line-height: 1.27 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links {
    gap: 1px 6px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links .hoa-footer-link-coming-soon {
    grid-column: 1 / -1 !important;
    width: fit-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-divider {
    margin-top: 5px !important;
    margin-bottom: 3px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-bottom {
    line-height: 1.2 !important;
  }
}

@media (max-width: 360px) {
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    line-height: 1.25 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links .hoa-footer-link-coming-soon {
    white-space: normal !important;
  }
}

@media (max-width: 360px) {
  /* Keep career and student links in the compact two-column grid on mini phones. */
  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-links .hoa-footer-link-coming-soon {
    grid-column: auto !important;
    width: auto !important;
    max-width: 100% !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter.hoa-professional-footer {
    padding-top: 10px !important;
    padding-bottom: 6px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-inner {
    gap: 5px 7px !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-about p {
    font-size: 9px !important;
    line-height: 1.22 !important;
  }

  body.hoa-public-front #hoaGlobalPublicFooter > #hoaProfessionalFooter .hoa-footer-divider {
    margin-top: 4px !important;
    margin-bottom: 2px !important;
  }
}
