/* Shared CÉZAR offer footers: copyright left, related modules right with spacing, 7. 9. 2026. */
footer:has(.cezar-footer-bottom) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
footer .mm-footer-main,
footer .footer-inner:has(> .cezar-footer-bottom) { grid-template-columns: minmax(0, 1fr) auto !important; }
footer .cezar-footer-bottom { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; min-width: 0; border-top: 1px solid rgb(255 255 255 / 9%); padding-top: 12px; }
footer .mm-footer-bottom.cezar-footer-bottom { margin-top: 16px; }
footer .cezar-footer-bottom > .copyright { flex: 0 0 auto; margin: 0; border: 0; padding: 0; }
footer .cezar-footer-bottom > span { flex: 0 0 auto; }
footer .cezar-footer-bottom > .cezar-footer-related { flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 8px 24px; min-width: 0; margin: 0 0 0 auto; font-size: 13px; font-weight: 400; line-height: 1.8; text-align: right; color: #c5dbe9; }
footer .cezar-footer-related a { display: block !important; max-width: 100%; color: #c5dbe9; white-space: normal; text-decoration: none !important; }
footer .cezar-footer-related a:hover { color: #ffffff; }
footer .cezar-footer-related a:focus-visible { outline: 2px solid #73d9ef; outline-offset: 3px; }
@media (max-width: 760px) {
  footer .mm-footer-main,
  footer .footer-inner:has(> .cezar-footer-bottom) { grid-template-columns: minmax(0, 1fr) !important; }
  footer .mm-footer-contact { grid-column: auto; grid-row: auto; }
  footer .cezar-footer-bottom { flex-direction: column; align-items: stretch; }
  footer .cezar-footer-bottom > .cezar-footer-related { width: 100%; }
}
:root:has(footer .cezar-footer-bottom) :is(.motion-toggle, .cezar-back-to-top, .km-back-to-top) { bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; }
:root:has(footer .cezar-footer-bottom) :is(.cezar-back-to-top, .km-back-to-top) { right: calc(194px + env(safe-area-inset-right, 0px)) !important; }
/* Compact vertical rhythm, 7. 9. 2026. */
footer:has(.cezar-footer-bottom) { padding-top: 24px !important; }
footer .footer-inner:has(> .cezar-footer-bottom), footer .mm-footer-main { row-gap: 16px !important; }
footer.site-footer:has(> small) { padding-top: 24px !important; padding-bottom: 24px !important; row-gap: 16px !important; }
footer .footer-inner:has(.footer-brand-group) { min-height: 88px !important; row-gap: 16px !important; }
footer:has(.footer-main > div > .footer-desc) { padding-top: 24px !important; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
footer:has(.footer-desc) .footer-bottom { margin-top: 16px !important; padding-top: 12px !important; }
footer .footer-desc { margin-top: 10px !important; }
:root:has(footer .footer-desc) :is(.motion-toggle, .cezar-back-to-top) { bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; }
:root:has(footer .footer-desc) .cezar-back-to-top { right: calc(194px + env(safe-area-inset-right, 0px)) !important; }
@media (max-width: 760px) {
 footer .footer-inner:has(.footer-brand-group) { padding-top: 16px !important; padding-bottom: 28px !important; }
}
