.sw25-om-footer {
  padding-top: 2.5rem;
  background-color: #111;
  color: #fff;
  font-size: 16px;

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

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

  .footer-content-grid {
    display: flex;
    justify-content: space-between;
    gap: 7.5rem;
    padding-bottom: 40px;
  }

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

  .content-logo {
    max-width: 15rem;
  }

  .content-text {
    padding-top: 1.5rem;
    font-family: "Roboto";
    font-size: 16px;
    line-height: 1.5;
    color: #ccc;
  }

  .content-text p {
    margin: 0;
    line-height: 20px;
  }

  .groups-links {
    display: grid;
    max-width: 608px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: column;
    margin-top: 1.5rem;
    column-gap: 1rem;
  }

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

    li:last-child .footer-link {
      margin-bottom: 0;
    }

    .footer-link {
      font-family: "Roboto";
      font-size: 1rem;
      line-height: 19px;
      margin-bottom: 12px;
      color: #ccc;
      display: inline-block;
      transition: all 0.4s ease-in-out;

      &.main-link {
        line-height: 1.5;
        font-weight: bold;
        color: #fff;
      }

      &:hover {
        text-decoration: underline;
      }

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

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

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

    li {
      height: 32px;
    }

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

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

  .footer-legal-grid {
    color: #ccc;
    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: 14px;
        background-color: #fff;
        right: 0;
        top: 8px;
      }
    }

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

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

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

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

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

  /* sw33 button have different style for OM. */
  .sw33-button.secondary.button-bg-black {
    border-color: #fff;

    &:hover {
      border-color: #ff6200;
    }
  }

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

    .footer-link {
      color: #111;

      &.main-link {
        color: #111;
      }
    }

    .content-text {
      color: #111;
    }

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

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

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

      li:last-child::after {
        background-color: transparent;
      }

      a {
        color: #444;
      }
    }

    .footer-light-background {
      color: #fff;
    }
  }

  @media (max-width: 1024px) {
    .sw19s-std-wrap {
      padding: 0 1.5rem;
    }

    .footer-content-grid {
      flex-direction: column;
    }

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

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

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

    .social-block {
      grid-row-start: 4;
      margin-top: 1.5rem;
    }

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

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

        li::after {
          display: none;
        }
      }
    }
  }
}
