/*#region Why PEG-Lax*/
.why-peg-lax {
  height: 680px;
}

.connector {
  width: 26px;
  height: 26px;
  margin-inline: -4px;
  background: white;
  -webkit-mask-image: url('/Themes/PegLax/Content/images/connector-mask.svg');
  mask-image: url('/Themes/PegLax/Content/images/connector-mask.svg');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@media (min-width: 62em) {
  .why-peg-lax {
    height: auto;
  }

  .connector {
    width: 39px;
    height: 39px;
    margin-inline: -7px;
  }
}

@media (min-width: 118.75em) {
  .bullet-box {
    width: 1640px;
    margin: 0 auto;
  }

  .connector {
    width: 39px;
    height: 39px;
    margin-inline: -7px;
  }
}
/*#endregion*/

/*#region Colonoscopy*/
.colonoscopy-video {
  height: 200px;
}

  .colonoscopy-video .plyr {
    border-radius: 12px;
  }

@media (min-width: 48em) {
  .colonoscopy-video {
    height: auto;
    width: 100%;
  }
}

@media (min-width: 75em) {
  .colonoscopy-video {
    height: 430px;
    width: auto;
  }

    .colonoscopy-video .plyr {
      border-radius: 30px;
      height: 100%;
    }

  .colonoscopy-content {
    min-width: 362px;
    width: 362px;
  }
}
/*#endregion*/

@media (max-width: 375px) {
  .list-group {
    font-size: 14px;
  }

    .list-group li {
      margin-top: 6px;
    }

  .btn {
    width: fit-content;
  }

  .take-care img {
    max-width: 100%;
  }
}

/*#region Blogs swipper*/
.blog-info,
.divider {
  display: none !important;
}

.blog-card .card-info .blog-description,
.blog-card .card-info .blog-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card .card-info .blog-description {
  -webkit-line-clamp: 2;
}

.blog-card .card-info {
  height: 218px;
}

  .blog-card .card-info .blog-title {
    height: 70px;
  }

  .blog-card .card-info .blog-description {
    height: fit-content;
  }

.home-page .blog-card {
  height: 100% !important;
}

.blogs-swiper {
  overflow: visible;
}

  .blogs-swiper .swiper-wrapper .swiper-slide {
    height: 400px;
    width: 300px;
    background-color: transparent;
  }

.swiper-pagination {
  background-color: var(--white-25) !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  opacity: 1;
  transition: .3s;
  background-color: var(--magenta-ternary-2);
}

.swiper-pagination-bullet-active {
  width: 48px;
  height: 8px;
  padding: 0;
  border-radius: 10px;
  background-color: var(--magenta-ternary-2);
}

.carousel-pause.btn:focus-visible,
.carousel-pause {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--white-25) !important;
}

  .carousel-pause i {
    color: var(--magenta-ternary-2);
  }

  .carousel-pause:focus-visible,
  .carousel-pause:hover {
    --btn-hover-bg: var(--white-25);
  }

  .carousel-pause.btn::before {
    --btn-animation-color: var(--white-25);
  }

.carousel-pause {
  width: 56px;
  height: 56px;
  position: relative;
  border: none;
  background: var(--white-25);
  padding: 0;
}

.progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

  .progress-ring circle {
    fill: none;
    stroke-width: 8;
  }

.progress-bg {
  stroke: transparent;
}

.progress {
  stroke: var(--magenta-ternary-2);
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
}

.carousel-pause i {
  position: relative;
  z-index: 2;
  font-size: 28px;
}

@media (max-width: 375px) {
  .blogs-swiper .swiper-wrapper .swiper-slide {
    height: 300px;
    width: 80vw;
  }

  .swiper-slide .blog-card .card-info {
    height: auto;
  }

  .blog-card .card-info .blog-description,
  .blog-card .card-info .blog-title {
    -webkit-line-clamp: 2;
  }

  .swiper-pagination {
    padding: 20px !important;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .swiper-pagination-bullet-active {
    width: 14px;
    height: 6px;
  }
}

@media (min-width: 48em) {
  .blogs-swiper {
    overflow: hidden;
    padding-left: 0;
  }

    .blogs-swiper .swiper-wrapper .swiper-slide {
      width: 310px;
    }
}

@media (min-width: 75em) {
  .swiper {
    min-width: clamp(640px, calc(61.687px + 48.193vw), 720px);
    width: 100%;
  }

  .blog-posts .text-content {
    min-width: 360px;
  }

  .blog-card .card-info {
    height: 230px;
  }

    .blog-card .card-info .blog-title {
      height: 94px;
    }
}
/*#endregion*/

/*#region Cta Educa*/
.cta-card--educa {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.cta-card__description {
  width: 80%;
}

.cta-card--educa .cta-card__logo {
  width: 285px;
  height: 285px;
  border-radius: 50%;
  left: -48px;
  bottom: -100px;
}

  .cta-card--educa .cta-card__logo img {
    left: 65px;
    top: 75px;
  }

@media (max-width: 375px) {
  h1:not(.footer h1, .eu-cookie-bar-notification h1, .eu-cookie-preferences-modal h1, .offcanvas h1),
  h2:not(.footer h2, .eu-cookie-bar-notification h2, .eu-cookie-preferences-modal h2, .offcanvas h2) {
    font-size: clamp(44px, calc(22px + 8vw), 52px) !important;
  }

  .cta-card--educa {
    height: clamp(500px, calc(225px + 100vw), 600px);
  }

    .cta-card--educa h3 {
      font-size: clamp(24px, calc(-9px + 12vw), 36px);
    }

    .cta-card--educa .cta-card__button {
      font-size: 14px;
      padding-inline: 10px;
      height: fit-content;
    }

    .cta-card--educa .cta-card__logo {
      width: clamp(230px, calc(78.75px + 55vw), 285px);
      height: clamp(230px, calc(78.75px + 55vw), 285px);
      border-radius: 50%;
      left: -48px;
      bottom: -100px;
    }

      .cta-card--educa .cta-card__logo img {
        top: clamp(55px, calc(0px + 20vw), 75px);
        width: clamp(80px, calc(-30px + 40vw), 120px);
      }


    .cta-card--educa .cta-card__image {
      width: clamp(150px, calc(-42.5px + 70vw), 220px);
    }
}

@media (min-width: 48em) {
  .cta-card--educa {
    width: 100%;
    height: 250px;
    overflow: visible;
  }

    .cta-card--educa .cta-card__media {
      min-width: 340px;
    }
}

@media (min-width: 62em) {
  .cta-card--educa .cta-card__media {
    min-width: 400px;
  }

  .cta-card--educa .cta-card__logo {
    width: 380px;
    height: 380px;
    left: -46px;
    bottom: -246px;
  }

    .cta-card--educa .cta-card__logo img {
      left: 120px;
      top: 60px;
    }
}

@media (min-width: 75em) {
  .cta-card--educa .cta-card__media {
    min-width: 475px;
  }

  .cta-card__description {
    width: 100%;
  }

  .cta-card--educa .cta-card__image {
    right: auto;
    left: 276px;
    width: auto;
    height: 300px;
  }

  .cta-card--educa .cta-card__logo {
    width: 430px;
    height: 430px;
    left: -46px;
    bottom: -246px;
  }

    .cta-card--educa .cta-card__logo img {
      left: 120px;
      top: 70px;
      width: 190px;
    }
}
/*#endregion*/

/*#region Instagram*/
.instagram-post {
  border-radius: 24px;
}

  .instagram-post img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    height: 268px;
  }

.iconoir-instagram {
  margin-inline: auto;
}

@media (min-width: 62em) {
  .instagram-post {
    border-radius: 12px;
  }
}

@media (min-width: 75em) {
  .iconoir-instagram {
    margin-inline: unset;
    margin-left: 70px;
  }

  .instagram-cta {
    width: 250px;
  }
}
/*#endregion*/
