/* Group the four policy links alongside the address and contact details. */
.pc-footer-heading { margin-bottom: 1rem; }
.pc-legal-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pc-legal-group-label { margin: 0 0 8px; color: #e1eaf0; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.pc-legal-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pc-legal-footer li { min-width: 0; }
.pc-legal-footer a { display: block; width: fit-content; max-width: 100%; color: #c7d7e3; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; padding: 3px 0; }
.pc-legal-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pc-legal-footer a:focus-visible { outline: 3px solid #e8b865; outline-offset: 4px; }
.pc-footer-contact a { overflow-wrap: anywhere; }
@media (min-width: 992px) {
  /* Shared rows align the heading baselines and the final content edges. */
  .pc-footer-grid { --pc-footer-row-gap: 8px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; row-gap: var(--pc-footer-row-gap); }
  .pc-footer-grid > * { display: grid; grid-template-rows: subgrid; grid-row: span 3; width: auto; }
  .pc-footer-brand { grid-column: span 4; }
  .pc-legal-footer { grid-column: span 5; }
  .pc-footer-contact { grid-column: span 3; }
  .pc-footer-grid .pc-footer-heading { align-self: baseline; margin: 0; }
  .pc-footer-tagline, .pc-footer-address { margin: 0; }
  .pc-footer-address { align-self: end; }
  .pc-legal-groups, .pc-footer-contact-links { grid-row: 2 / span 2; display: grid; grid-template-rows: subgrid; row-gap: var(--pc-footer-row-gap); }
  .pc-legal-groups > div { grid-row: span 2; display: grid; grid-template-rows: subgrid; }
  .pc-legal-group-label { margin: 0; }
  .pc-legal-footer ul { align-self: end; gap: var(--pc-footer-row-gap); }
  .pc-legal-footer li:last-child a { padding-bottom: 0; }
  .pc-footer-contact-links > li:first-child { margin-bottom: 0 !important; }
  .pc-footer-contact-links > li:last-child { align-self: end; }
}
@media (max-width: 575px) {
  /* Keep the existing clinic CTA inside narrow phone viewports. */
  #for-clinics .btn { max-width: 100%; white-space: normal; }
}
@media (max-width: 380px) { .pc-legal-groups { grid-template-columns: 1fr; } }
