.banner_align {
  min-height: 300px;
  position: relative;

  .banner_align-box .text-box h3 {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0 0 1rem 0;
  }

  .banner_align__title {
    .alert-heading {
      text-align: center;
      text-wrap: balance;
      margin-bottom: 2.1875rem;
      margin-top: 2.1875rem;
      max-width: 40ch;
      margin-left: auto;
      margin-right: auto;
    }
  }

  .banner_right-image {
    img {
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover;
      left: 0;
      margin: 0;
      padding: 0;
      position: absolute;
      top: 0;
      width: 100%;
    }

    .banner_right-content {
      -webkit-box-pack: end;
      -ms-flex-pack: end;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      justify-content: flex-end;
      padding: 180px 92px;
      position: relative;
      z-index: 1;

      .banner_align-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        background-color: var(--color-red);
        color: var(--color-white);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 24px;
        max-width: 744px;
        padding: 40px 70px;
        width: 100%;

        .alert-heading {
          color: var(--color-white);
          font-size: 2.625rem;
          text-align: left;
        }

        .text-box {
          font-size: 1.25rem;
          font-weight: 300;
          letter-spacing: 0;
          margin: 0;

          .separator-medium {
            p {
              margin: 0;
            }
          }

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

            li {
              margin-bottom: 1rem;
              font-weight: 300;
              letter-spacing: 0.25px;

              &::before {
                content: "";
                display: inline-block;
                width: 20px;
                height: 20px;
                margin-left: -1.875rem;
                background-image: url("../../images/banner-align/check-white.svg");
                background-repeat: no-repeat;
                background-size: cover;
              }
            }
          }
        }

        .button-banner {
          .btn-white-background {
            justify-content: flex-start;
          }

          .btn-red-background {
            justify-content: flex-start;
          }
        }
      }
    }
  }

  .banner_left-image {
    width: 100%;

    img {
      height: 100%;
      left: 0;
      margin: 0;
      padding: 0;
      position: absolute;
      top: 0;
      width: 100%;
      object-fit: cover;
    }

    .banner_left-content {
      padding: 180px 92px;
      position: relative;
      z-index: 1;
      display: flex;

      .banner_align-box {
        background-color: var(--color-red);
        color: var(--color-white);
        max-width: 620px;
        padding: 40px 70px;
        width: 100%;

        .alert-heading {
          font-size: 2.25rem;
          text-align: left;
          color: var(--color-white);
        }

        .text-box {
          font-size: 1.25rem;
          font-weight: 300;
          letter-spacing: 0;
          margin: 0;

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

            li {
              margin-bottom: 1rem;
              font-weight: 300;
              letter-spacing: 0.25px;

              &::before {
                content: "";
                display: inline-block;
                width: 20px;
                height: 20px;
                margin-left: -1.875rem;
                background-image: url("../../images/banner-align/check-white.svg");
                background-repeat: no-repeat;
                background-size: cover;
              }
            }
          }
        }

        .button-banner {
          .btn-white-background {
            justify-content: flex-start;
          }

          .btn-red-background {
            justify-content: flex-start;
          }
        }
      }
    }
  }

  .banner_displaced-image {
    position: relative;
    width: 100%;

    img {
      width: 100%;
      height: auto;
      display: block;
    }

    .banner_displaced-content {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 180px 92px;
      z-index: 2;
      padding-bottom: 0 !important;

      .banner_align-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        gap: 24px;
        width: 100%;
        background-color: var(--color-white) !important;
        -webkit-box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
        color: var(--color-gray-darker3) !important;
        margin-bottom: -32px;
        max-width: 552px !important;
        padding: 80px 40px !important;
        height: 700px;

        .alert-heading {
          font-size: 2.625rem;
          text-align: left;
        }

        .text-box {
          font-size: 1.25rem;
          font-weight: 300;
          letter-spacing: 0;
          margin: 0;
        }

        .button-banner {
          .btn-white-background {
            justify-content: flex-start;
          }

          .btn-red-background {
            justify-content: flex-start;
          }
        }
      }
    }
  }
}

@media (max-width: 1024px) {
  .banner_align {
    .banner_right-image,
    .banner_left-image,
    .banner_displaced-image {
      position: relative;

      .banner_right-content,
      .banner_left-content,
      .banner_displaced-content {
        .banner_align-box {
          .alert-heading {
            font-size: 1.125rem;
          }

          .text-box {
            .separator-medium p {
              font-size: 16px;
            }
          }
        }
      }
    }

    .banner_displaced-image {
      .banner_align-box {
        height: auto !important;

        .alert-heading {
          font-size: 1.125rem !important;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .banner_align {
    .banner_right-image,
    .banner_left-image {
      position: relative;

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

      .banner_right-content,
      .banner_left-content {
        padding: 327px 16px 32px;
        justify-content: center;
        align-items: center;
        position: static;

        .banner_align-box {
          max-width: 100%;
          width: 100%;
          padding: 35px 24px;
          gap: 16px;
          z-index: 2;

          .alert-heading {
            color: var(--color-white);
            font-size: 1.125rem;
            line-height: 1.3;
          }

          .text-box {
            font-size: 1rem;

            p {
              margin-bottom: 12px;
            }
          }

          .button-banner {
            margin-top: 16px;
            text-align: center;

            .btn-white-background {
              justify-content: flex-start;
            }
          }
        }
      }
    }

    .banner_displaced-image {
      position: relative;

      img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 480px;
        object-fit: cover;
      }

      .banner_displaced-content {
        padding: 327px 16px 32px !important;
        justify-content: center !important;
        align-items: center;
        bottom: none;
        position: static !important;

        .banner_align-box {
          max-width: 100%;
          width: 100%;
          padding: 35px 24px !important;
          gap: 16px;
          z-index: 2;

          .alert-heading {
            font-size: 1.125rem !important;
            line-height: 1.3;
          }

          .text-box {
            font-size: 1rem !important;

            p {
              margin-bottom: 12px;
            }
          }

          .button-banner {
            margin-top: 16px;
            text-align: center;

            .btn-white-background {
              justify-content: flex-start;
            }

            .button {
              white-space: break-spaces;

              a {
                display: inline-block;
                font-size: 0.875rem;
              }
            }
          }
        }
      }
    }
  }
}