.red-background,
.white-background,
.transparent-background,
.grey-background {
  padding-bottom: 20px;

  .slider_icons__title {
    text-align: center;
    padding-top: 40px;

    .alert-heading {
      text-wrap: balance;
      margin: 0 auto;
      max-width: 40ch;
      font-weight: 300;
      letter-spacing: 0;
      font-size: 2.8125rem;
    }
  }

  .slider_icons__subtext {
    /* padding-bottom: 10px; */
    /* padding-top: 20px; */
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;

    ul {
      list-style: disc;
      list-style-position: inside;
      padding-left: 0;
      margin-top: 0;
      margin-bottom: 0;
      text-align: left;
    }

    li {
      display: list-item !important;
      list-style: inherit !important;
      margin: 0 !important;
      padding-left: 0;
      font-weight: inherit;
    }

    p {
      font-weight: inherit;
      letter-spacing: 0;
      margin-top: 0;
      margin-bottom: 0;
      /* padding-top: 20px;
      padding-bottom: 10px; */
      padding: 0;
    }
  }

  .swiper-container {
    max-width: 73.125rem;
    box-sizing: content-box;
    width: 100%;
    margin: 0 auto;
    position: relative;
    transition-property: transform;
    z-index: 1;
    padding: 40px 0px 82px;

    .glide-3-columns {
      width: 100%;

      .glide__track {
        overflow: hidden;
      }

      .glide__slides {
        display: flex;
        flex-direction: row;
        gap: 0;
        margin: 0;
        padding: 0;

        >li {
          margin: 0 1rem;
          background-color: var(--color-white);
          border-radius: 4px;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          flex-direction: row;
          flex-shrink: 1;
          margin-right: 24px !important;
          height: auto;

          .card {
            display: flex;
            flex-direction: column;
            width: 100%;
            padding: 48px;
            align-items: center;
            height: 100%;

            .text-center {
              .alert-heading {
                text-align: center;
              }
            }

            .text-left {
              .alert-heading {
                text-align: left;
              }
            }

            .h_title {
              margin: 0;
              flex: 1;

              .alert-heading {
                font-size: 1.25rem !important;
                line-height: unset;
                border-bottom: none;
              }
            }

            .container-img {
              padding: 1rem 0;
              margin: 0 auto;

              img {
                height: 88px;
                width: 88px;
                object-fit: contain;
              }
            }

            .slide_contents_wrapper {
              display: flex;
              flex-direction: column;
              width: 100%;
              gap: 26px;
              flex: 1;
            }

            .btn-transparent {
              padding: 0;
              color: var(--color-red);

              a {
                color: inherit;
                text-decoration: none;
                display: contents;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100%;
                padding: 0;
              }
            }

            .cta_button {
              .button {
                a {
                  padding: 0;
                }
              }
            }
          }
        }
      }

      .glide__slides {
        >li {
          background-color: var(--color-white);

          .card {
            .btn-transparent {
              color: var(--color-red);
            }
          }
        }
      }

      .glide__bullets {
        bottom: -1.5rem;

        .glide__bullet {
          background-color: rgba(255, 255, 255, .5);

          &.glide__bullet--active {
            background: var(--color-white);
          }
        }
      }
    }

    .glide__arrows {
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      position: absolute;
    }

    .glide__arrow {
      position: absolute;
      top: 45%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      background-color: var(--color-white);
      border-radius: 50%;
      border: 1px solid var(--color-gray);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
      z-index: 10;
      display: flex;
      justify-content: center;
      align-items: center;
      pointer-events: auto;
      cursor: pointer;
      transition: background 0.3s;
    }

    .glide__arrow--left {
      left: -60px;
    }

    .glide__arrow--right {
      right: -60px;
    }
  }

  .no-slider {
    height: auto;
    padding: 0;

    .glide__slides {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      padding: 40px 0px 42px;
      gap: 24px;

      >li {
        margin: 0;
        background-color: var(--color-white);
        border-radius: 4px;
        /* padding: 0; */
        width: 100%;
        display: block;

        .card {
          display: flex;
          flex-direction: column;
          padding: 48px 16px;
          align-items: center;
          box-shadow: rgba(27, 19, 19, 0.1) 0px 5px 35px 0px;
          gap: 16px;
          height: 100%;

          .text-center {
            .alert-heading {
              text-align: center;
            }
          }

          .text-left {
            .alert-heading {
              text-align: left;
            }
          }

          .h_title {
            margin: 0;

            .alert-heading {
              font-size: 1.25rem !important;
              line-height: unset;
            }
          }

          .container-img {
            padding: 1rem 0;
            margin: 0 auto;

            img {
              height: 128px;
              width: 128px;
            }
          }

          .image-list__item-content content {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 26px;
          }

          .slide_contents_wrapper {
            display: flex;
            flex-direction: column;
            width: 100%;
            gap: 26px;
          }

          .btn-transparent {
            padding: 0;
            color: var(--color-red);

            a {
              color: inherit;
              text-decoration: none;
              display: inline-flex;
              align-items: center;
              justify-content: center;
              width: 100%;
              height: 100%;
              padding: 0;
            }
          }
        }
      }
    }
  }
}

.red-background {
  background-color: var(--color-red);

  .slider_icons__title {
    .alert-heading {
      color: var(--color-white);
      text-align: center;
    }
  }

  .slider_icons__subtext {
    color: var(--color-white);
  }

  .slide_contents_wrapper {
    .slider_icons__subtext {
      color: var(--color-body);
    }
  }


  .swiper-container {
    .glide-3-columns {
      .glide__slides {
        >li {
          background-color: var(--color-white);
        }
      }
    }
  }
}

.white-background,
.transparent-background {
  background-color: transparent;

  .slider_icons__subtext {
    color: var(--color-body);
  }

  .swiper-container {
    .glide-3-columns {
      padding: 40px 0 82px;
      overflow: hidden;
      position: unset;

      .glide__track {
        overflow: visible;

        .glide__slides {
          >li {
            background-color: var(--color-white);
            box-shadow: 0 5px 35px 0 rgba(27, 19, 19, 0.1);

            .card {
              .h_title {
                &.text-center {
                  text-align: center;
                }
              }
            }
          }
        }
      }

      .glide__bullets {
        .glide__bullet {
          background-color: var(--color-gray-darker2);
        }

        .glide__bullet.glide__bullet--active {
          background-color: var(--color-red);
        }

      }
    }
  }
}

.transparent-background {
  background-color: transparent;

  .slider_icons__subtext {
    color: var(--color-body);
  }

  .swiper-container {
    .glide-3-columns {
      .glide__slides {
        >li {
          background-color: var(--color-white);

          .card {
            box-shadow: rgba(27, 19, 19, 0.1) 0px 5px 35px 0px;
          }
        }
      }
    }
  }
}

.grey-background {
  background-color: var(--color-gray-light2);

  .slider_icons__subtext {
    color: var(--color-body);
  }

  .swiper-container {
    .glide-3-columns {
      .glide__slides {
        >li {
          background-color: var(--color-white);
        }
      }
    }
  }
}

/* Title weight variants for slider icons cards only. */
.slider_icons_item {
  .h_title {
    &.font-bold {
      .alert-heading {
        font-weight: 700;
      }
    }

    &.font-normal {
      .alert-heading {
        font-weight: 300;
      }
    }
  }
}

@media (max-width: 1024px) {

  .red-background,
  .white-background,
  .grey-background {
    .swiper-container {
      padding: 0;
      max-width: 768px;

      .glide-3-columns {
        position: static;
        padding: 0px;

        .glide__slides {
          margin-left: auto;
          margin-right: auto;
        }

        /* .glide__arrow--left {
          left: 5px;
        }

        .glide__arrow--right {
          right: 5px;
        } */
      }
    }
  }
}

@media (max-width: 768px) {

  .red-background,
  .white-background,
  .transparent-background,
  .grey-background {
    .swiper-container {
      box-sizing: border-box;

      .glide-3-columns {

        .glide__slides {
          gap: 0px;

          >li {
            box-shadow: 0 5px 35px 0 rgba(27, 19, 19, 0.1);
            margin-left: 0 !important;
            margin-right: 0 !important;
          }

          .card {
            h2.alert-heading {
              font-size: 1rem !important;
            }

            .btn-transparent {
              a {
                font-size: 0.875rem;
              }
            }
          }
        }
      }

      .glide__arrow--left {
        left: 0px;
      }

      .glide__arrow--right {
        right: 0px;
      }
    }
  }

  .transparent-background,
  .grey-background {
    .swiper-container {
      .glide-3-columns {
        .glide__slides {
          >li {
            box-shadow: none;
          }
        }
      }
    }
  }

  .white-background {
    .swiper-container {
      .glide-3-columns {
        overflow: visible;
      }
    }
  }
}

@media (max-width: 425px) {

  .red-background,
  .white-background,
  .transparent-background,
  .grey-background {
    .swiper-container {
      .glide__arrow--right {
        right: 0px;
      }

      .glide__arrow--left {
        left: 0px;
      }
    }
  }
}

.no-slider {
  max-width: 73.125rem;
  box-sizing: content-box;
  width: 100%;
  margin: 0 auto;
  position: relative;
  transition-property: transform;
  z-index: 1;
  padding: 40px 0px 82px;
  height: 100%;
  /* height: 100%; */

  .glide__bullet,
  .glide__arrows {
    display: none;
  }
}