/* SLP Laser – Astra footer 1.2.0. Opt-in: class added by PHP. Existing footer DOM and links preserved. */
body.slp-hb-footer-on #colophon.site-footer{
  --slp-footer-bg:#0b1823;
  --slp-footer-ink:#e4f0f2;
  --slp-footer-link:#e3f3f3;
  --slp-footer-accent:#88f768;
  background:linear-gradient(120deg,#0a1722 0%,#112635 70%,#132a34 100%)!important;
  color:var(--slp-footer-ink)!important;
  border-top:3px solid #75e94e;
  font-family:inherit;
  line-height:1.6;
  font-size:16px;
}
body.slp-hb-footer-on #colophon .site-primary-footer-wrap,
body.slp-hb-footer-on #colophon .site-primary-footer-wrap .ast-builder-grid-row-container-inner,
body.slp-hb-footer-on #colophon .site-primary-footer-inner-wrap{
  background:transparent!important;
  color:inherit!important;
}
body.slp-hb-footer-on #colophon .site-primary-footer-wrap{
  padding:clamp(46px,5vw,75px) 0 clamp(45px,4.5vw,62px)!important;
}
body.slp-hb-footer-on #colophon .site-primary-footer-inner-wrap{
  display:grid!important;
  grid-template-columns:minmax(190px,1fr) minmax(250px,1.15fr) minmax(170px,.72fr)!important;
  gap:clamp(26px,5vw,90px)!important;
  align-items:start!important;
  width:min(100%,1250px);
  padding-inline:clamp(22px,4vw,54px)!important;
  margin:0 auto!important;
}
body.slp-hb-footer-on #colophon .site-footer-section{
  display:block!important;
  width:auto!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  border:0!important;
  background:transparent!important;
}
body.slp-hb-footer-on #colophon .footer-widget-area,
body.slp-hb-footer-on #colophon .ast-builder-layout-element,
body.slp-hb-footer-on #colophon .footer-bar-navigation{
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  background:transparent!important;
}
body.slp-hb-footer-on #colophon #astra-footer-menu{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:3px 18px!important;
  justify-content:start!important;
  align-items:start!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.slp-hb-footer-on #colophon #astra-footer-menu>li{
  margin:0!important;padding:0!important;list-style:none!important;
}
body.slp-hb-footer-on #colophon #astra-footer-menu .menu-link{
  display:inline-flex!important;
  align-items:center;
  min-height:40px;
  padding:7px 0!important;
  margin:0!important;
  color:var(--slp-footer-link)!important;
  background:transparent!important;
  font-size:16px!important;
  font-weight:650!important;
  text-decoration:none!important;
  line-height:1.4!important;
  opacity:1!important;
}
body.slp-hb-footer-on #colophon #astra-footer-menu .current-menu-item>.menu-link,
body.slp-hb-footer-on #colophon #astra-footer-menu .menu-link[aria-current="page"]{
  color:var(--slp-footer-accent)!important;
}
body.slp-hb-footer-on #colophon a{
  color:var(--slp-footer-link)!important;
  text-decoration:none!important;
  transition:color .16s ease;
}
body.slp-hb-footer-on #colophon a:hover,
body.slp-hb-footer-on #colophon a:focus-visible{
  color:var(--slp-footer-accent)!important;
  text-decoration:underline!important;
  text-underline-offset:4px;
}
body.slp-hb-footer-on #colophon a:focus-visible{
  outline:2px solid var(--slp-footer-accent)!important;
  outline-offset:3px!important;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .footer-widget-area-inner{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:17px;
  row-gap:5px;
  width:100%;
  text-align:left;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_media_image{
  grid-column:1/-1;
  margin-bottom:12px!important;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_media_image figure{
  width:max-content;
  max-width:100%;
  margin:0!important;
  display:block;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_media_image img{
  display:block;
  max-width:min(100%,220px);
  max-height:55px;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:left center;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block:not(.widget_media_image){
  margin:0!important;
  padding:0!important;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block p{
  text-align:left!important;
  color:var(--slp-footer-ink)!important;
  font-size:16px!important;
  line-height:1.85!important;
  margin:0!important;
  overflow-wrap:anywhere;
}
/* Astra widget order: image, contact links, old empty paragraphs, privacy, cookie policy. */
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block:has(a[href^="tel:"]){grid-column:1/-1;margin-bottom:8px!important}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block:has(a[href*="tietosuoja"]),
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block:has(a[href*="evaste"]){grid-column:auto}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block:has(>p:empty){display:none}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block p a{
  font-size:16px!important;
  line-height:1.8!important;
  display:inline-block;
  min-height:31px;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .ast-footer-social-wrap{
  display:block;
  margin-top:19px!important;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .ast-footer-social-wrap a{
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  padding:8px!important;
  border:1px solid rgba(203,238,238,.22);
  border-radius:9px;
  margin:0 5px 0 0!important;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .ast-footer-social-wrap svg{
  width:17px;height:17px;fill:#aef98f!important;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-3 .ast-footer-copyright{
  color:#a9bfc4!important;
  text-align:left!important;
  margin:0!important;
  padding:0!important;
  font-size:15px!important;
  line-height:1.65!important;
  max-width:270px;
}
body.slp-hb-footer-on #colophon .site-footer-primary-section-3 .ast-footer-copyright p{
  color:#a9bfc4!important;
  font-size:15px!important;
  line-height:1.65!important;
  text-align:left!important;
  margin:0!important;
}
@media(max-width:950px){
  body.slp-hb-footer-on #colophon .site-primary-footer-inner-wrap{
    grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;
    gap:28px!important;
  }
  body.slp-hb-footer-on #colophon .site-footer-primary-section-3{grid-column:1/-1!important;
    border-top:1px solid rgba(195,226,232,.16)!important;
    padding-top:22px!important;
  }
}
@media(max-width:630px){
  body.slp-hb-footer-on #colophon .site-primary-footer-inner-wrap{
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding-inline:22px!important;
  }
  body.slp-hb-footer-on #colophon .site-footer-primary-section-3{grid-column:1!important}
  body.slp-hb-footer-on #colophon #astra-footer-menu{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .footer-widget-area-inner{grid-template-columns:1fr 1fr}
  body.slp-hb-footer-on #colophon .site-footer-primary-section-2 .widget_block p a{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){body.slp-hb-footer-on #colophon a{transition:none}}
