/* Foundation from the main theme for its footer on standalone campaign pages.
   Footer colours, columns, responsive details and focus states use footer.css. */
.clinic-footer {
  --ux-accent: #2351cd;
  --ux-hover: #173d9e;
  color: #f8fafc;
  padding: 52px 0 0;
  font: 400 16px/1.5 "Google Sans", Arial, sans-serif;
}
.clinic-footer > .wrap { width: min(100% - 64px, 1240px); margin-inline: auto; }
.clinic-footer :where(h2, p) { margin: 0; }
.clinic-footer :where(a) { color: inherit; text-decoration: none; }
.clinic-footer .brand { display: inline-block; }
.clinic-footer .footer-office .brand img { width: 148px; height: auto; filter: brightness(0) invert(1); }
.footer-opening { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid #454c50; }
.clinic-footer .footer-opening h2 { font-weight: 500; letter-spacing: -.035em; }
.footer-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-buttons .ux-button {
  min-height: 46px; padding: .65rem 1.15rem; border: 1px solid var(--ux-accent);
  border-radius: 99px; color: white; background: var(--ux-accent); line-height: 1.22;
  font-size: .95rem; text-align: center;
}
.footer-buttons .ux-button:is(:hover, :focus-visible) { background: var(--ux-hover); border-color: var(--ux-hover); }
.footer-buttons .ux-button svg { width: 1.12em; height: 1.12em; }
.footer-prices { border: 1px solid #67737a; border-radius: 99px; padding: 9px 18px; font-size: .94rem; }
.footer-grid { display: grid; padding: 36px 0; }
.footer-office p { color: #c2cbd1; font-size: .94rem; margin: 10px 0; max-width: 44ch; }
.footer-contacts { display: grid; justify-items: start; gap: 5px; margin-top: 16px; }
.footer-links, .footer-contacts { font-size: .94rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.clinic-footer .footer-links h2 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; line-height: 1.2; letter-spacing: normal; }
.footer-links a { color: #c6d0d5; }
.clinic-footer a:not(.ux-button):hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) { .clinic-footer > .wrap { width: calc(100% - 48px); } }
@media (max-width: 790px) {
  .clinic-footer > .wrap { width: calc(100% - 32px); }
  .footer-opening { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .clinic-footer { padding-top: 34px; }
  .footer-links a { overflow-wrap: anywhere; }
}
