/* Blocksy Footer fuer Myscanify
   Ziel: dunkler Original-Footer aus dem Home-HTML, angewendet auf den bestehenden Blocksy-Footer.
   Kein extra Footer-HTML noetig. */

#footer.ct-footer{
  background:var(--ms-ink);
  color:var(--ms-paper);
}

#footer.ct-footer [data-row]{
  background:transparent;
  border:0;
}

#footer.ct-footer [data-row="top"]{
  padding:64px 0 28px;
}

#footer.ct-footer [data-row="middle"]{
  padding:0 0 28px;
}

#footer.ct-footer [data-row="bottom"]{
  padding:22px 0 32px;
}

#footer.ct-footer [data-row="top"] .ct-container{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:82px;
  align-items:start;
  max-width:1160px;
}

#footer.ct-footer [data-row="middle"] .ct-container,
#footer.ct-footer [data-row="bottom"] .ct-container{
  max-width:1160px;
}

#footer.ct-footer [data-column]{
  min-width:0;
}

#footer.ct-footer .ct-widget{
  margin:0;
}

#footer.ct-footer #block-8{
  margin-bottom:26px;
}

#footer.ct-footer #block-8 figure{
  margin:0;
}

#footer.ct-footer #block-8 img{
  width:auto;
  height:42px;
  display:block;
}

#footer.ct-footer #block-9{
  max-width:300px;
}

#footer.ct-footer #block-9 h6{
  margin:0;
  color:#D6D2C8;
  font-family:Inter, system-ui, sans-serif;
  font-size:16px;
  line-height:1.48;
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
}

#footer.ct-footer #block-12{
  display:none;
}

#footer.ct-footer .wp-block-heading{
  margin:0 0 22px;
  color:#fff;
  font-family:"JetBrains Mono", monospace;
  font-size:13px;
  line-height:1;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

#footer.ct-footer p.wp-block-paragraph{
  margin:0;
  color:#D6D2C8;
  font-size:15.5px;
  line-height:1.35;
}

#footer.ct-footer p.wp-block-paragraph a,
#footer.ct-footer a{
  display:inline-block;
  color:#D6D2C8;
  margin:0 0 12px;
  font-size:15.5px;
  line-height:1.35;
  font-weight:400;
  text-decoration:none;
  transition:color .2s, transform .2s;
}

#footer.ct-footer p.wp-block-paragraph a:hover,
#footer.ct-footer a:hover{
  color:#fff;
  transform:translateX(3px);
}

#footer.ct-footer [data-row="middle"] .ct-container{
  display:flex;
  justify-content:center;
}

#footer.ct-footer [data-column="widget-area-5"]{
  width:100%;
}

#footer.ct-footer .ms-payment-icons{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

#footer.ct-footer .ms-payment-icons span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

#footer.ct-footer .ms-payment-icons img{
  height:28px;
  width:auto;
  max-width:84px;
  object-fit:contain;
  display:block;
  padding:5px 8px;
  border:1px solid rgba(252,251,248,.14);
  border-radius:6px;
  background:rgba(252,251,248,.08);
  opacity:.92;
  transition:transform .22s var(--ms-ease), opacity .22s, background .22s, border-color .22s;
}

#footer.ct-footer .ms-payment-icons img:hover{
  transform:translateY(-2px);
  opacity:1;
  border-color:rgba(252,251,248,.26);
  background:rgba(252,251,248,.13);
}

#footer.ct-footer [data-row="bottom"] .ct-container{
  border-top:1px solid rgba(252,251,248,.1);
  padding-top:22px;
}

#footer.ct-footer .ct-footer-copyright,
#footer.ct-footer .ct-footer-copyright p{
  margin:0;
  color:#787A82;
  font-size:13px;
  line-height:1.4;
  text-align:center;
}

@media(max-width:920px){
  #footer.ct-footer [data-row="top"] .ct-container{
    grid-template-columns:1fr 1fr;
    gap:44px 56px;
  }
}

@media(max-width:760px){
  #footer.ct-footer [data-row="top"]{
    padding-top:48px;
  }

  #footer.ct-footer [data-row="top"] .ct-container{
    grid-template-columns:1fr;
    gap:34px;
  }

  #footer.ct-footer #block-9{
    max-width:100%;
  }

  #footer.ct-footer .ms-payment-icons{
    justify-content:flex-start;
  }

  #footer.ct-footer [data-row="bottom"] .ct-container{
    padding-top:20px;
  }

  #footer.ct-footer .ct-footer-copyright,
  #footer.ct-footer .ct-footer-copyright p{
    text-align:left;
  }
}
