.legal-page {
  .footer-inner-bg.footer {
    margin-top: 100px !important;
  }

  @media (max-width: 992px) {
    .footer-inner-bg.footer {
      margin-top: 60px !important;
    }
  }

  .wrapper-inner {
    margin-top: 0;
    overflow: hidden;
  }

  .mt-60 {
    @media screen and (max-width: 767.5px) {
      margin-top: 40px !important;
    }
  }

  .legal-banner-v1 {
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    padding-top: 150px;
    padding-bottom: 230px;
    align-items: center;
    justify-content: center;

    @media screen and (max-width: 992.5px) {
      padding-top: 140px;
      padding-bottom: 190px;

      @media screen and (max-width: 767.5px) {
        padding-top: 70px;
        padding-bottom: 70px;
      }
    }
  }

  .legal-banner-v1::after {
    background-image: url("https://goldbank-official-stage.s3.eu-west-2.amazonaws.com/home_new/assets/images/legal/blue-white-lines-flame-img2.png");
    background-repeat: no-repeat;
    background-size: 100% 1000px;
    background-position: center -330px;
    min-height: 810px;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    @media screen and (max-width: 992.5px) {
      background-size: 1000px 800px;
      background-position: center -180px;

      @media screen and (max-width: 640px) {
        background-size: 780px 700px;
        background-position: center -180px;
      }
    }
  }

  .legal-h1-title {
    color: #000 !important;
    text-align: center;
    font-family: "BerlingskeSerifMd";
    font-size: 48px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.69px;
    margin-bottom: 0px;

    @media screen and (max-width: 992.5px) {
      font-size: 38px;

      br {
        display: block;
      }
    }
  }

  .legal-text-container {
    color: #000;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;

    .legal-text-t1 {
      color: #000;
      font-family: var(--BerlingskeSerifDBd);
      font-size: 32px;
      line-height: 32px;
      margin-bottom: 30px;

      @media screen and (max-width: 767.5px) {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 16px;
      }
    }

    .legal-text-t2 {
      font-family: var(--BerlingskeSerifDBd);
      font-size: 24px;
      margin-bottom: 30px;

      @media screen and (max-width: 767.5px) {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 16px;
      }
    }

    .legal-text-p {
      font-family: var(--font-body);
      font-size: 18px;
      font-weight: 400;
      line-height: 32px;

      @media screen and (max-width: 767.5px) {
        font-size: 15px;
        line-height: 22px;
      }
    }

    ul {
      list-style-type: disc;
      margin-left: 1rem;
      line-height: 24px;
      margin-bottom: 30px;
      font-size: 18px;

      li {
        font-family: var(--font-body);
        font-size: 18px;
        font-weight: 400;
        line-height: 32px;
        margin-bottom: 0px;
        list-style: none;
        margin-left: 0px;
        position: relative;
        padding-left: 15px;
        @media screen and (max-width: 767.5px) {
          font-size: 14px;
          line-height: 24px;
        }

        /* added before */
        &::before {
          content: "";
          width: 4px;
          height: 4px;
          border-radius: 50%;
          background-color: #4b4b4b;
          display: inline-block;
          margin-right: 10px;
          left: 0;
          position: absolute;
          margin-top: 14px;
        }
      }
    }

    p {
      font-family: var(--font-body);
      font-size: 18px;
      font-weight: 400;
      line-height: 32px;
      margin-bottom: 30px;

      @media screen and (max-width: 767.5px) {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 16px;
      }
    }
  }

  @media screen and (max-width: 767.5px) {
    .legal-h1-title {
      font-size: 32px;
    }
  }

  @media screen and (max-width: 576.5px) {
    .legal-h1-title {
      font-size: 24px;
    }
  }

  @media screen and (max-width: 359px) {
    .legal-h1-title {
      font-size: 20px;
    }
  }

  .other-initiatives-section {
    background-color: #f5f5f5;
    margin-top: 60px;
    padding: 85px 120px;

    @media screen and (max-width: 991.5px) {
      padding: 50px 80px;
    }

    @media screen and (max-width: 767.5px) {
      padding: 30px 20px;
      margin-top: 40px;
    }

    .other-initiatives-inner {
      .other-initiatives-title {
        font-family: var(--BerlingskeSerifDBd);
        margin-bottom: 24px;
        font-size: 32px;

        @media screen and (max-width: 767.5px) {
          margin-bottom: 16px;
          font-size: 24px;
        }
      }

      p {
        font-family: var(--font-body);
        font-size: 18px;
        font-weight: 400;
        line-height: 32px;
        margin-bottom: 30px;

        @media screen and (max-width: 767.5px) {
          font-size: 14px;
          line-height: 24px;
        }

        a {
          color: inherit;
        }
      }
    }
  }
}

.legal-bg-img-container {
  position: relative;

  &::after {
    content: "";
    position: absolute;
    top: 773px;
    right: -30px;
    width: 700px;
    height: 441px;
    background-image: url("/home_new/assets/images/legal/legal-right-background-1.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
  }

  &::before {
    content: "";
    position: absolute;
    top: 1500px;
    left: -230px;
    width: 700px;
    height: 441px;
    background-image: url("/home_new/assets/images/legal/legal-left-background-1.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
  }

  &.left-mask-none::before {
    display: none;
  }

  &.left-mask-none::after {
    top: 500px;
  }
}

@media (max-width: 767px) {
  .legal-page {
    background: white !important;
  }
}
