/* WMF v164 — compact desktop footer layout. Mobile footer remains unchanged. */
@media (min-width: 992px) {
  .wmf-footer .wmf-footer-shell {
    padding-top: 0 !important;
    padding-bottom: 18px !important;
  }

  .wmf-footer .wmf-footer-bottom {
    padding-top: 17px !important;
  }

  .wmf-footer .wmf-footer-contact,
  .wmf-footer .wmf-footer-legal,
  .wmf-footer .wmf-footer-langs {
    min-height: 82px !important;
  }
}

@media (min-width: 1200px) {
  .wmf-footer .wmf-footer-main {
    display: grid !important;
    grid-template-columns:
      minmax(245px, 1.08fr)
      minmax(235px, .98fr)
      repeat(3, minmax(170px, .92fr)) !important;
    align-items: stretch !important;
    min-height: 0 !important;
  }

  .wmf-footer .wmf-footer-brand,
  .wmf-footer .wmf-footer-nav-v159--desktop {
    display: contents !important;
  }

  .wmf-footer .wmf-footer-visual {
    grid-column: 1;
    grid-row: 1;
    position: relative !important;
    align-self: stretch !important;
    width: auto !important;
    max-width: none !important;
    min-height: 265px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .wmf-footer .wmf-footer-visual::before,
  .wmf-footer .wmf-footer-visual-glow {
    display: none !important;
  }

  .wmf-footer .wmf-footer-visual img {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 229px !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 14px !important;
  }

  .wmf-footer .wmf-footer-brand-head {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch !important;
    align-content: center !important;
    min-height: 265px !important;
    margin: 0 !important;
    padding: 28px 23px !important;
    box-sizing: border-box !important;
    border-right: 1px solid rgba(255, 255, 255, .1) !important;
  }

  .wmf-footer .wmf-footer-brand-logos {
    grid-template-columns: 58px !important;
    gap: 10px !important;
  }

  .wmf-footer .wmf-footer-brand-logos .wmf-footer-logo img {
    width: 58px !important;
    height: 58px !important;
  }

  .wmf-footer .wmf-footer-brand-logos .wmf-footer-partner {
    width: 58px !important;
    height: 38px !important;
  }

  .wmf-footer .wmf-footer-brand-copy-compact .wmf-footer-brand-title strong {
    font-size: 19px !important;
  }

  .wmf-footer .wmf-footer-brand-copy-compact .wmf-footer-brand-title span,
  .wmf-footer .wmf-footer-brand-copy-compact .wmf-footer-brand-description {
    font-size: 13px !important;
  }

  .wmf-footer .wmf-footer-slogan {
    display: none !important;
  }

  .wmf-footer .wmf-footer-group-v159 {
    grid-row: 1;
    align-self: stretch !important;
    min-height: 265px !important;
    padding: 29px 20px 25px !important;
    box-sizing: border-box !important;
  }

  .wmf-footer .wmf-footer-group-v159:nth-child(1) { grid-column: 3; }
  .wmf-footer .wmf-footer-group-v159:nth-child(2) { grid-column: 4; }
  .wmf-footer .wmf-footer-group-v159:nth-child(3) { grid-column: 5; }

  .wmf-footer .wmf-footer-group-v159 h2 {
    margin-bottom: 17px !important;
    font-size: 18px !important;
  }

  .wmf-footer .wmf-footer-group-v159 a {
    min-height: 39px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .wmf-footer .wmf-footer-brand {
    min-height: 285px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .wmf-footer .wmf-footer-visual {
    margin-top: 20px !important;
  }

  .wmf-footer .wmf-footer-group-v159 {
    padding-top: 30px !important;
    padding-bottom: 26px !important;
  }
}
