/* Thermabella v8.0 - unified footer baseline.
   The homepage is the design reference. Desktop viewport >=1101px.
   Appended last in every page to override old per-template footer rules. */
@media (min-width: 1101px) {
  html:has(body > footer.site-footer) { height:100%; }
  body:has(> footer.site-footer) {
    display:flex !important;
    flex-direction:column !important;
    height:100dvh !important;
    min-height:100dvh !important;
    max-height:100dvh !important;
    margin:0 !important;
    overflow:hidden !important;
  }
  body:has(> footer.site-footer) > .site-header {
    flex:0 0 auto !important;
  }
  body:has(> footer.site-footer) > main {
    flex:1 1 0px !important;
    min-height:0 !important;
    margin-bottom:0 !important;
    overflow-x:clip !important;
    overflow-y:auto !important;
    overscroll-behavior-y:contain;
  }
  body:has(> footer.site-footer) > footer.site-footer {
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    flex:0 0 124px !important;
    height:124px !important;
    min-height:124px !important;
    max-height:124px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-inner {
    box-sizing:border-box !important;
    display:grid !important;
    grid-template-columns:190px minmax(0,1fr) minmax(0,1.28fr) minmax(0,.89fr) !important;
    flex:1 1 auto !important;
    min-height:0 !important;
    width:min(calc(100% - 48px),1440px) !important;
    max-width:1440px !important;
    margin:0 auto !important;
    padding:4px 0 0 !important;
    align-items:start !important;
    gap:0 18px !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-brand {
    margin:0 !important;
    padding:0 !important;
    align-items:flex-start !important;
    justify-content:center !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-logo {
    display:block !important;
    width:76px !important;
    height:auto !important;
    max-height:82px !important;
    object-fit:contain !important;
  }
  body:has(> footer.site-footer) > footer.site-footer,
  body:has(> footer.site-footer) > footer.site-footer :is(h2,a,p,span,address) {
    font-family:Montserrat,Arial,sans-serif !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-column {
    display:flex !important;
    flex-direction:column !important;
    gap:1px !important;
    padding:0 !important;
    margin:0 !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-column h2 {
    margin:0 0 2px !important;
    padding:0 !important;
    font-size:10px !important;
    font-weight:600 !important;
    line-height:11.5px !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-column a,
  body:has(> footer.site-footer) > footer.site-footer .footer-column address {
    font-size:10px !important;
    line-height:12px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .contact-link {gap:6px !important;}
  body:has(> footer.site-footer) > footer.site-footer .contact-icon {
    width:13px !important;
    height:13px !important;
    flex-basis:13px !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .social-links {gap:7px !important;}
  body:has(> footer.site-footer) > footer.site-footer .social-link {
    display:grid !important;
    place-items:center !important;
    flex:0 0 28px !important;
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    padding:0 !important;
    margin:0 !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-bottom {
    box-sizing:border-box !important;
    display:flex !important;
    flex:0 0 auto !important;
    justify-content:space-between !important;
    align-items:center !important;
    width:min(calc(100% - 48px),1440px) !important;
    max-width:1440px !important;
    min-height:0 !important;
    margin:0 auto !important;
    padding:3px 0 4px !important;
    gap:8px !important;
  }
  body:has(> footer.site-footer) > footer.site-footer .footer-bottom p,
  body:has(> footer.site-footer) > footer.site-footer .footer-legal,
  body:has(> footer.site-footer) > footer.site-footer .footer-legal a {
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
    font-size:9px !important;
    line-height:10.35px !important;
  }
}
