/* HealthLine 2026 v0.15.1 — Footer */
.hl-footer-v150 {
  margin: 0 !important;
  padding: clamp(3.1rem, 5vw, 4.7rem) 1rem 1.25rem;
  background: linear-gradient(135deg, #0a2744 0%, #0d3153 58%, #102f4c 100%);
  color: #fff;
}
.hl-footer-v150, .hl-footer-v150 * { box-sizing: border-box; }
.hl-footer-v150__grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(140px, .8fr)) minmax(180px, .95fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
}
.hl-footer-v150 .wp-block-site-logo { margin: 0 0 .85rem !important; }
.hl-footer-v150 .wp-block-site-logo img,
.hl-footer-v150 .custom-logo {
  width: min(220px, 100%) !important;
  height: auto !important;
  filter: brightness(1.28) saturate(1.16);
}
.hl-footer-v150__tagline {
  max-width: 280px;
  margin: 0 !important;
  color: rgba(255,255,255,.68);
  font-size: .88rem;
  line-height: 1.6;
}
.hl-footer-v150__social {
  display: flex;
  gap: .7rem;
  margin-top: 1.25rem;
}
.hl-footer-v150__social a,
.hl-footer-v150__social a:visited {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff !important;
  background: rgba(255,255,255,.06);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.hl-footer-v150__social svg { width: 20px; height: 20px; }
.hl-footer-v150__heading {
  margin: .1rem 0 .8rem !important;
  color: #fff;
  font-size: .88rem;
  font-weight: 850;
  line-height: 1.2;
}
.hl-footer-v150__links {
  margin: 0 !important;
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  line-height: 1.95;
}
.hl-footer-v150__links a,
.hl-footer-v150__links a:visited {
  color: rgba(255,255,255,.78) !important;
  text-decoration: none;
  transition: color 150ms ease;
}
.hl-footer-v150__legal { display: grid; gap: .35rem; }
.hl-footer-v150__motto-wrap { align-self: center; justify-self: end; }
.hl-footer-v150__motto {
  margin: 0 !important;
  color: rgba(255,255,255,.9);
  font-family: "Segoe Print", "Comic Sans MS", "Bradley Hand", cursive;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.04;
  letter-spacing: .015em;
  transform: rotate(-4deg);
  text-rendering: optimizeLegibility;
}

.hl-footer-v150__motto span { display: block; }
.hl-footer-v150__motto span:first-child { transform: rotate(-1.2deg); }
.hl-footer-v150__motto span:last-child { margin-left: .72em; transform: rotate(.9deg); }
.hl-footer-v150__bottom {
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  margin: clamp(2.2rem, 4vw, 3rem) auto 0 !important;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,.13);
}
.hl-footer-v150__copyright {
  margin: 0 !important;
  color: rgba(255,255,255,.58);
  font-size: .73rem;
  line-height: 1.5;
}
.hl-footer-v150__top {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #0b2948;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
  transition: transform 160ms ease, background 160ms ease;
}
.hl-footer-v150__top svg { width: 21px; height: 21px; }
@media (hover:hover) and (pointer:fine) {
  .hl-footer-v150__social a:hover,
  .hl-footer-v150__social a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
  }
  .hl-footer-v150__links a:hover,
  .hl-footer-v150__links a:focus-visible { color: #fff !important; }
  .hl-footer-v150__top:hover,
  .hl-footer-v150__top:focus-visible { transform: translateY(-2px); background: #fff; }
}
@media (max-width: 1050px) {
  .hl-footer-v150__grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
  .hl-footer-v150__motto-wrap {
    grid-column: 1 / -1;
    justify-self: start;
    padding-top: .3rem;
  }
  .hl-footer-v150__motto { font-size: 1.55rem; }
}
@media (max-width: 760px) {
  .hl-footer-v150 { padding: 2.8rem 1rem 1.1rem; }
  .hl-footer-v150__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.4rem;
  }
  .hl-footer-v150__brand { grid-column: 1 / -1; }
  .hl-footer-v150__motto-wrap { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hl-footer-v150__grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .hl-footer-v150__brand,
  .hl-footer-v150__motto-wrap { grid-column: auto; }
  .hl-footer-v150__bottom { gap: 1rem; align-items: flex-end !important; }
  .hl-footer-v150__copyright { max-width: calc(100% - 58px); }
}
@media (prefers-reduced-motion: reduce) {
  .hl-footer-v150__social a,
  .hl-footer-v150__top,
  .hl-footer-v150__links a { transition: none; }
}
