.sw-jobs-32-footer {
  background-color: #222;
  color: #eee;
  font-size: 16px;

  .sw19s-std-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .footer-content-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .grid-col-1 {
    max-width: 504px;
    min-width: 240px;
  }

  .content-logo {
    max-width: 240px;

    img {
      width: 100%;
      height: 100%;
    }
  }

  .content-text {
    padding-top: 1.5rem;
    font-family: "Roboto";
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .middle-header {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .extended-text {
    font-size: 14px;
    line-height: 1.71;

    a {
      color: #eee;
    }
  }

  .content-text p,
  .extended-text p {
    margin: 0;
  }

  .groups-links {
    column-count: 3;
    max-width: 608px;
    margin-top: 1.5rem;
    column-gap: 1rem;
  }

  .block-links {
    break-inside: avoid;
    display: flex;
    margin-bottom: 2rem;
    flex-direction: column;
    max-width: 192px;
    gap: 12px;

    .category-header {
      line-height: 1.5;
      font-weight: bold;
      color: #fff;
    }

    .footer-link {
      font-family: "Roboto";
      font-size: 1rem;
      line-height: 1.25;
      color: #fff;
      display: inline-block;
      transition: all 0.4s ease-in-out;
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }

      &:active {
        text-decoration: underline;
        color: #ff6200;
      }
    }
  }

  .social-block {
    grid-column: span 1 / span 1;
    width: fit-content;
    max-width: 192px;
    padding-top: 12px;
  }

  .social-links {
    display: flex;
    column-gap: 0.5rem;
    margin-bottom: 2.5rem;

    li {
      width: 2rem;
      height: 2rem;
    }

    a {
      width: 2rem;
      height: 2rem;
      display: inline-block;

      &:hover svg {
        fill: #ff6200;
      }
    }
    svg {
      height: 2rem;
      width: 2rem;
      fill: #fff;
      transition: all 0.4 ease-in-out;
    }
  }

  .footer-legal-grid {
    background-color: #2e2e2e;
    color: #eee;
    padding: 1rem 0;

    .sw19s-std-wrap {
      display: flex;
    }

    li {
      position: relative;
      padding-right: 6px;
      margin-right: 6px;
      display: inline-block;

      &::after {
        content: "";
        position: absolute;
        width: 1px;
        height: 12px;
        background-color: #ccc;
        right: 0;
        top: 5px;
      }
    }

    li:last-child {
      padding: 0;
      margin: 0;

      &::after {
        background-color: transparent;
        display: none;
      }
    }
  }

  .footer-legal-grid a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.71;
  }

  .footer-legal-grid a:hover {
    text-decoration: underline;
  }

  .footer-light-background {
    background-color: #222;
    padding: 1rem 0;
    font-family: "Roboto";
    font-size: 0.875rem;
    color: #fff;
    line-height: 1.71;
  }

  &.bg-white {
    background-color: #fff;
    color: #444;

    .footer-link {
      color: #111;
    }

    .middle-header {
      color: #111;
    }

    .extended-text {
      a {
        color: #444;
      }
    }

    .category-header {
      color: #111;
    }

    .social-links svg {
      fill: #111;
    }

    .footer-legal-grid {
      background-color: #eee;

      li::after {
        background-color: #111;
      }

      a {
        color: #444;
      }
    }
  }

  @media (max-width: 1024px) {
    .footer-content-grid {
      flex-direction: column;
      padding-top: 48px;
      padding-bottom: 8px;
    }

    .content-logo {
      max-width: 200px;
    }

    .grid-col-1 {
      max-width: none;
      width: auto;
    }

    .groups-links {
      column-gap: 3.5rem;
      max-width: none;
    }
  }

  @media (max-width: 768px) {
    .groups-links {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: auto;
      grid-auto-flow: dense;
      column-gap: 8px;
      width: 100%;
    }

    .block-links:nth-child(2) {
      order: 3;
    }
    .block-links:nth-child(3) {
      order: 2;
    }
    .block-links:nth-child(4) {
      order: 4;
    }
    .block-links:nth-child(5) {
      order: 5;
    }
    .social-block {
      grid-row-start: 4;
      margin-top: 0;
    }

    .social-links {
      margin-bottom: 32px;
    }

    .footer-legal-grid {
      margin-top: 2.5rem;
      padding: 1rem 0;

      li {
        margin-right: 8px;
        padding-right: 8px;
      }
    }

    .footer-legal-grid {
      .sw19s-std-wrap {
        flex-direction: column;
        row-gap: 0.75rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
      }
    }
  }

  @media (max-width: 375px) {
    .grid-col-1 {
      min-width: auto;
    }
  }
}
