/* Footer layout for the captured div.footer-section.site-footer markup. */
@media (max-width: 767px) {
  .footer-section {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .footer-section .container.sidfot,
  .footer-section .div-block-7 {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 640px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .footer-section .div-block-7 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 18px !important;
    padding: 0 !important;
  }

  .footer-section .div-block-7 > * {
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .footer-section .div-block-9,
  .footer-section .org-info-parent,
  .footer-section .address-parent,
  .footer-section .sm-org-info-wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .footer-section :where(h1, h2, h3, h4, h5, h6, p, li, a, small) {
    overflow-wrap: anywhere;
  }

  .footer-section .button,
  .footer-section .btn,
  .footer-section a[href*="sok"],
  .footer-section a[href*="jobb"] {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  .footer-section {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .footer-section .div-block-7 {
    gap: 16px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-section,
  .footer-section .container.sidfot,
  .footer-section .div-block-7 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}
