/* Keep old footer visible if the replacement hook is not rendered. */
body:has(> .tanba-site-footer) .elementor-location-footer,
body:has(> .tanba-site-footer) footer#site-footer,
body:has(> .tanba-site-footer) footer.site-footer.dynamic-footer { display:none !important; }
.tanba-site-footer,.tanba-site-footer * { box-sizing:border-box; }
.tanba-site-footer { width:100%; min-height:180px; margin:0; background:#ffffff url('../images/ta-footer.webp?ver=0.1.5') center center/cover no-repeat; color:#3f4741; }
.tanba-site-footer__inner { width:min(960px,calc(100% - 40px)); min-height:180px; margin:0 auto; padding:22px 20px 18px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; overflow-wrap:anywhere; }
.tanba-site-footer .tanba-site-footer__inner p { margin:0; }
.tanba-site-footer .tanba-site-footer__name { font-size:20px; font-weight:700; line-height:1.5; color:#3f4741; }
.tanba-site-footer__name span { display:inline-block; margin-left:.5em; }
.tanba-site-footer .tanba-site-footer__address { margin-top:6px; font-size:15px; line-height:1.6; }
.tanba-site-footer__address span { display:inline-block; max-width:100%; }
.tanba-site-footer .tanba-site-footer__contact { display:flex; flex-wrap:wrap; justify-content:center; gap:0 18px; margin-top:3px; font-size:15px; line-height:1.6; }
.tanba-site-footer .tanba-site-footer__contact a { color:inherit; text-decoration:none; }
.tanba-site-footer .tanba-site-footer__contact a:hover { text-decoration:underline; }
.tanba-site-footer a:focus-visible { outline:2px solid #557b38; outline-offset:3px; }
.tanba-site-footer .tanba-site-footer__copyright { margin-top:10px; font-size:12px; line-height:1.5; }
@media (max-width:1023px) {
 .tanba-site-footer,.tanba-site-footer__inner { min-height:160px; }
 .tanba-site-footer__inner { padding-top:18px; padding-bottom:14px; }
}
@media (max-width:767px) {
 .tanba-site-footer__inner { width:calc(100% - 28px); padding-left:0; padding-right:0; }
 .tanba-site-footer .tanba-site-footer__name { font-size:17px; }
 .tanba-site-footer__name span { display:block; margin-left:0; }
 .tanba-site-footer .tanba-site-footer__address,.tanba-site-footer .tanba-site-footer__contact { font-size:14px; }
 .tanba-site-footer .tanba-site-footer__contact { flex-direction:column; gap:0; }
}

/* R15: policies remain readable on narrow screens and are excluded from print. */
.tanba-site-footer .tanba-site-footer__policies { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:4px 20px; margin-top:10px; font-size:14px; line-height:1.6; max-width:100%; }
.tanba-site-footer .tanba-site-footer__policies a { color:inherit; text-decoration:underline; text-underline-offset:2px; overflow-wrap:anywhere; max-width:100%; }
.tanba-site-footer .tanba-site-footer__policies a:hover { text-decoration:none; }
@media (max-width:767px) { .tanba-site-footer .tanba-site-footer__policies { font-size:13px; } }
@media print { .tanba-site-footer .tanba-site-footer__policies { display:none!important; } }
