/* Shared footer only: logo and contact stay on one row, with a full-width map below. */
@media(max-width:899px){
 footer .footer-section{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px clamp(12px,2vw,24px);align-items:start;padding:32px clamp(16px,3vw,32px)!important;width:100%;max-width:100%;box-sizing:border-box}
 footer .footer-section>.footer-column{width:100%!important;max-width:none!important;min-width:0;margin:0!important;align-self:start}
 footer .footer-section>.footer-column.map{grid-column:1/-1;display:block!important;flex:auto!important;width:100%!important;margin:0!important}
 footer .footer-section .social-section,footer .footer-section .about-us-section{width:100%;min-width:0;padding:0!important;align-items:center}
 footer .footer-section .about-us-section{gap:14px;justify-content:flex-start}
 footer .footer-section .footer-logo{width:clamp(96px,16vw,148px)!important;height:auto!important;max-width:100%;object-fit:contain}
 footer .footer-section .social-text{font-size:14px;line-height:1.4;margin:12px 0}
 footer .footer-section .social-row{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;max-width:100%}
 footer .footer-section .social-dot{width:26px;height:26px;flex:0 0 26px}
 footer .footer-section .social-dot img{width:100%;height:100%;object-fit:contain}
 footer .footer-section .about-us-sub-section{max-width:100%;min-width:0}
 footer .footer-section .about-us-header{font-size:clamp(14px,1.7vw,18px);line-height:1.4;margin:0 0 4px}
 footer .footer-section .about-us-text,footer .footer-section .contact-row{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
 footer .footer-section .contact-row{justify-content:center;flex-wrap:wrap;gap:4px 8px;padding-bottom:6px}
 footer .footer-section .contact-value{min-width:0;overflow-wrap:anywhere}
 footer .footer-section .map-container{width:100%!important;max-width:100%!important;height:clamp(180px,26vw,240px)!important;min-height:180px}
 footer .footer-section .map-container iframe{width:100%!important;height:100%!important;min-height:180px;border:0}
 footer .legal-section{height:auto;min-height:56px;padding:12px 16px;gap:8px 16px;flex-wrap:wrap}
 footer .legal-section .legal-text{flex:1 1 230px;width:auto;font-size:12px;line-height:1.5}
 footer .legal-section .legal-text-row{flex:1 1 230px;width:auto;min-width:0;justify-content:flex-end;flex-wrap:wrap;font-size:12px;line-height:1.5}
}

/* Keep the tablet map compact and centered with the contact row. */
@media(max-width:899px){
 footer .footer-section>.footer-column.map{max-width:640px!important;justify-self:center}
 footer .footer-section .map-container>.cmplz-placeholder-parent{height:100%!important;min-height:180px!important}
 footer .footer-section .about-us-section .about-us-sub-section .contact-row{justify-content:center;flex-wrap:wrap;gap:4px 8px}
 footer .footer-section .about-us-section .about-us-sub-section .about-us-text{font-size:14px;line-height:1.45}
 footer .footer-section .about-us-section .about-us-sub-section .about-us-header{margin:0 0 4px}
 footer .footer-section .about-us-section{gap:14px;padding:0!important}
}

/* Consent text needs its own space before the compact map is unlocked. */
@media(max-width:899px){
 footer .footer-section .map-container:has(.cmplz-blocked-content-notice){height:240px!important;min-height:240px}
 footer .footer-section .map-container:has(.cmplz-blocked-content-notice)>.cmplz-placeholder-parent{min-height:240px!important}
 footer .footer-section .cmplz-blocked-content-notice .mrl-media-symbol{display:none!important}
 footer .footer-section .cmplz-blocked-content-notice{gap:12px!important}
}

/* A column's flex basis is a height; keep the legal footer content-sized. */
@media (max-width:1023px) {
 footer .legal-section {flex-direction:column;align-items:stretch;gap:8px;padding:12px 16px}
 footer .legal-section .legal-text,
 footer .legal-section .legal-text-row {flex:0 0 auto;width:100%;min-width:0}
 footer .legal-section .legal-text-row {justify-content:flex-start}
}

/* Readable legal links and enough room for both groups on smaller laptops. */
@media (max-width:1399px) {
 footer .legal-section {height:auto;min-height:56px;padding:12px 16px;gap:8px 16px;flex-wrap:wrap}
 footer .legal-section .legal-text {font-size:12px;line-height:1.5}
 footer .legal-section .terms-and-conditions {font-size:14px;line-height:1.4}
 footer .legal-section .terms-and-conditions-spliter {width:8px;flex:0 0 8px}
}
@media (min-width:1024px) and (max-width:1399px) {
 footer .legal-section .legal-text {flex:1 1 45%;width:auto;min-width:0}
 footer .legal-section .legal-text-row {flex:0 1 auto;width:auto;min-width:0}
}

/* Keep the three desktop columns inside the available laptop width. */
@media (min-width:900px) and (max-width:1399px) {
 footer .footer-section {display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start;padding:48px 0!important}
 footer .footer-section > .footer-column {width:100%!important;min-width:0;max-width:100%;margin:0!important}
 footer .footer-section .social-section,
 footer .footer-section .about-us-section {width:100%;min-width:0;padding:0!important}
 footer .footer-section .footer-logo {width:min(100%,240px)!important;height:auto!important;object-fit:contain}
 footer .footer-section .social-text {font-size:18px;line-height:1.4}
 footer .footer-section .social-row {justify-content:center;gap:12px;flex-wrap:wrap}
 footer .footer-section .social-dot {width:44px;height:44px;flex:0 0 44px}
 footer .footer-section .social-dot img {width:100%;height:100%;object-fit:contain}
 footer .footer-section .about-us-header {font-size:18px;line-height:1.4}
 footer .footer-section .about-us-text {font-size:18px;line-height:1.45;overflow-wrap:anywhere}
 footer .footer-section .about-us-section {gap:20px}
 footer .footer-section .contact-row {justify-content:center;flex-wrap:wrap;gap:4px 10px;padding-bottom:6px}
 footer .footer-section .contact-datails,
 footer .footer-section .contact-value {font-size:16px;line-height:1.45;min-width:0;overflow-wrap:anywhere}
 footer .footer-section .map-container {width:100%!important;max-width:100%;height:300px!important}
 footer .footer-section .map-container iframe {width:100%!important;height:100%!important;border:0}
}

@media (min-width:900px) and (max-width:1399px) {
 footer .page-section .footer-section .footer-column .about-us-section .about-us-sub-section .about-us-text {font-size:18px;line-height:1.45}
 footer .page-section .footer-section .footer-column .about-us-section .about-us-sub-section .about-us-header {font-size:18px;line-height:1.4}
}

/* Stretch the map to the shared row instead of imposing a short fixed height. */
@media(min-width:900px){
 footer .page-section .footer-section{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) minmax(0,1fr);align-items:stretch!important;gap:24px}
 footer .page-section .footer-section>.footer-column{width:100%!important;min-width:0;margin:0!important;align-self:stretch!important}
 footer .page-section .footer-section>.footer-column.map{display:flex!important;max-width:none!important;padding:0!important;grid-column:auto!important}
 footer .page-section .footer-section .map-container{display:flex;flex:1;width:100%!important;height:100%!important;min-height:300px;max-width:none!important}
 footer .page-section .footer-section .map-container>iframe,
 footer .page-section .footer-section .map-container>.cmplz-placeholder-parent{width:100%!important;height:100%!important;flex:1;min-height:300px!important}
 footer .page-section .footer-section .map-container iframe{width:100%!important;height:100%!important;min-height:300px!important}
}

@media(min-width:900px){footer .page-section .footer-section>.footer-column.map{height:auto!important;min-height:0!important}footer .page-section .footer-section .map-container{min-height:100%!important}}

/* Keep the laptop footer away from both viewport edges. */
@media (min-width:900px) and (max-width:1199px) {
 footer .page-section .footer-section {
  box-sizing:border-box;
  width:100%;
  padding:32px clamp(20px,3vw,32px)!important;
 }
}
