@media (min-width: 1024px) {
  #footer-container-main.footer-style-1 {
    padding-block: 36px 32px;
  }

  #footer-container-main.footer-style-1 > .container > .row:has(> .block-iqitlinksmanager-1):has(> .block-iqitcontactpage) {
    align-items: start;
    display: grid;
    gap: 14px 44px;
    grid-template-areas:
      "company contact social"
      "company withdrawal social";
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(136px, .55fr);
    grid-template-rows: auto 1fr;
    margin-inline: 0;
  }

  #footer-container-main.footer-style-1 > .container > .row > :is(.block-iqitlinksmanager-1, .block-iqitcontactpage, .afs-withdrawal-link, .col-md-auto:has(> .block-social-links)) {
    margin: 0;
    max-width: none;
    min-width: 0;
    padding: 0;
    width: auto;
  }

  #footer-container-main.footer-style-1 .block-iqitlinksmanager-1 { grid-area: company; }
  #footer-container-main.footer-style-1 .block-iqitcontactpage { grid-area: contact; }
  #footer-container-main.footer-style-1 .afs-withdrawal-link { grid-area: withdrawal; }
  #footer-container-main.footer-style-1 .col-md-auto:has(> .block-social-links) { grid-area: social; }

  #footer-container-main.footer-style-1 :is(.block-iqitlinksmanager-1, .block-iqitcontactpage, .block-social-links) .block-title {
    border-bottom: 1px solid #3d3d3d;
    color: #f5f5f5;
    font-size: 15px;
    line-height: 1.35;
    margin: 0 0 12px;
    padding: 0 0 9px;
  }

  #footer-container-main.footer-style-1 .block-iqitcontactpage .contact-rich {
    overflow-wrap: anywhere;
  }

  #footer-container-main.footer-style-1 .afs-withdrawal-link a {
    color: #dedede;
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: .2em;
  }

  #footer-container-main.footer-style-1 .block-social-links .block-content ul {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  #footer-container-main.footer-style-1 .block-social-links .block-content li {
    margin: 0;
  }

  #footer-container-main.footer-style-1 .block-social-links .block-content a {
    align-items: center;
    background: #171717;
    border: 1px solid #494949;
    border-radius: 6px;
    box-sizing: border-box;
    color: #e8e8e8;
    display: inline-flex;
    font-size: 22px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 44px;
  }

  #footer-container-main.footer-style-1 .block-social-links .block-content a:hover {
    background: #292929;
    border-color: #777;
  }

  #footer-container-main.footer-style-1 a:focus-visible,
  #footer #footer-copyrights a:focus-visible {
    outline: 2px solid #e8e8e8;
    outline-offset: 3px;
  }

  #footer #footer-copyrights {
    background: #1c1c1c;
    border-top: 1px solid #333;
    padding-block: 20px 18px;
  }

  #footer #footer-copyrights .copyright-txt {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }

  #footer #footer-copyrights .afs-footer-payments {
    order: -1;
    padding: 9px 14px;
  }

  #footer #footer-copyrights .copyright-txt > p {
    border-top: 1px solid #3b3b3b;
    color: #d7d7d7;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: anywhere;
    padding: 12px 176px 0;
    text-align: center;
  }
}
