:root {
  --font-color: #231f20;
  --slide-bg-color: #ffffff;
  --slide-font-color: #231f20;
  --slider-max-width: 1200px;
  --slide-desk-number: 3;
  --slide-tab-number: 3;
  --slide-gap: 25px;;
  --slide-aspect-ratio: 335/625;
  --bg-color: #E9E7E4;
}

section.recovery-home {
  color: var(--font-color) !important;
  background: var(--bg-color) !important;
}

@media (max-width: 768px) {
  section.recovery-home .container {
    padding-left: 15px;
    padding-right: 15px;
 }
}
section.recovery-home .text-under-slider strong {
  font-weight: 500 !important;
}
section.recovery-home .text-under-slider {
  gap: 0px;
  margin-top: 26px;
}
section.recovery-home .intro-title-text {
  gap: 28px;
}
section.recovery-home .intro-title-text, 
section.recovery-home .text-under-slider {
  max-width: 1080px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
section.recovery-home .intro-title-text h2, 
section.recovery-home .text-under-slider h2 {
  color: var(--font-color) !important;
  margin-bottom: 20px;
}
section.recovery-home .intro-title-text h2 span, 
section.recovery-home .text-under-slider h2 span {
  color: #6798e9 !important;
}
section.recovery-home .intro-title-text p:not(:last-child), 
section.recovery-home .text-under-slider p:not(:last-child) {
  margin-bottom: 20px;
}

section.recovery-home .embla {
  margin-top: 38px;
  margin-bottom: 38px;
  max-width: var(--slider-max-width);
}
section.recovery-home .embla .embla__button {
  display: none;
}
section.recovery-home .embla.arrow-dot-hide .embla__viewport {
  padding: 20px;
}

section.recovery-home .embla.arrow-dot-hide .embla__button, section.recovery-home .embla.arrow-dot-hide .embla__dots {
  display: none;
}
section.recovery-home .embla.branches .embla__viewport {
  padding: 20px;
}
section.recovery-home .embla.branches .embla__dots {
  display: none;
}
section.recovery-home .embla.branches .embla__dots .embla__dot {
  width: 9.6px;
  height: 9.6px;
  background: #6798e9;
  opacity: 0.4;
  transition: all 0.3s ease-in-out;
}
section.recovery-home .embla.branches .embla__dots .embla__dot.is-selected {
  width: 46px;
  border-radius: 13px;
  opacity: 1;
}
section.recovery-home .embla .embla__container {
  margin-left: 0px;
  gap: var(--slide-gap) !important;
  padding-bottom: 0px;
}
section.recovery-home .embla .embla__container .embla__slide {
  position: relative;
  box-shadow: 0px 3.96px 3.96px 0px #000 40;
  border-radius: 11.88px;
  overflow: hidden;
  flex: 0 0 calc(100% - 50px);
  min-width: calc(100% - 50px);
  background: var(--slide-bg-color);
  color: var(--slide-font-color);
  padding: 0 var(--slide-padding);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section.recovery-home .embla .embla__container .embla__slide .slide_bg_image img {
  display: block;
  width: 100%;
  height: 33.7vh;
  object-fit: cover;
  object-position: center;
}

section.recovery-home .embla .embla__container .embla__slide .slide_title_box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 22px;
}
section.recovery-home .embla .embla__container .embla__slide .slide_title_box h3.branches_title {
  color: var(--font-color) !important;
  padding: 0;
  width: 100%;
  text-align: left;
  font-size: 22px;
  font-weight: 800;
  line-height: 28px;
}
section.recovery-home .embla .embla__container .embla__slide .slide_title_box img {
  margin-right: 10px;
  display: block;
  min-height: 20px;
}
section.recovery-home .embla .embla__container .embla__slide .branches_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
section.recovery-home .embla .embla__container .embla__slide .branches_content a.slide-btn {
  background: #e77d27;
  color: #fff !important;
  text-decoration: none;
  width: 100%;
  display: flex;
  min-height: 62px;
  justify-content: center;
  align-items: center;
  font-weight: 500 !important;
}
section.recovery-home .embla .embla__container .embla__slide .branches_content .branches_content-box {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}
section.recovery-home .embla .embla__container .embla__slide .branches_content .branches_content-box p:not(p.branches_title) {
  padding-inline: 22px;
}
section.recovery-home .embla .embla__container .embla__slide .branches_content .branches_content-box .slide_tag {
  display: flex;
  padding: 5px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 50px;
  background: #569af1;
  margin-left: 22px;
  width: fit-content;
  word-break: break-word;
  min-height: 29px;
  max-width: 173px;
}
section.recovery-home .embla .embla__container .embla__slide .branches_content .branches_content-box .slide_tag p {
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}
section.recovery-home .section-button {
  text-align: center;
  padding-top: 30px;
}
section.recovery-home .section-button a.btn {
  padding: 16px 18px 16px 18px;
  font-size: 18px;
  border-radius: 37px;
  background: #e77d27;
  border: none;
  width: 100%;
  font-weight: 500;
  min-height: 62px;
}

@media (min-width: 769px) {
  section.recovery-home .section-button a.btn {
    font-size: 20px;
    padding: 18px 30px 16px 30px;
 }
}

section.recovery-home .sub-content {
  width: 100%;
  max-width: 1080px;
  margin: 10px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 26px;
}
section.recovery-home .sub-content .sub-content__card {
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 3px 4px 12.8px 0 rgba(0, 0, 0, 0.14);
  overflow: hidden;
}
section.recovery-home .sub-content .sub-content__card h4 {
  font-size: 22px;
}
section.recovery-home .sub-content .sub-content__card ul li::marker {
  color: #000;
}
section.recovery-home .sub-content .sub-content__card--right, 
section.recovery-home .sub-content .sub-content__card--left {
  max-width: 100%;
  flex: 0 0 100%;
}
section.recovery-home .sub-content .sub-content__card--left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
section.recovery-home .sub-content .sub-content__card--left .image,
section.recovery-home .sub-content .sub-content__card--left .entry-content {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  
}
section.recovery-home .sub-content .sub-content__card--left .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
section.recovery-home .sub-content .sub-content__card--left .image::after {
  display: block;
  content: '';
  position: absolute;
  bottom: -1px;
  width: 100%;
  left: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 64.9%, #fff 100%);
  
}
section.recovery-home .sub-content .sub-content__card--left .entry-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 0 31px 39px;
  text-align: center;
}
section.recovery-home .sub-content .sub-content__card--right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 26px 35px;
}
section.recovery-home .sub-content .sub-content__card--right .image img {
  display: block;
  margin: 0 auto;
}
section.recovery-home .sub-content .sub-content__card--right .entry-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section.recovery-home .sub-content .last-line {
  display: block;
  width: 100%;
}

.pipill-group {
  display: flex;
  gap: 8px;
}

.pipill {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #6798e9;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 600;
  width: fit-content;
  min-width: 126px;
  height: 35px;
  padding: 5px 20px 6px;
}

.pipill--outline {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: transparent;
  border: 2px solid #6798e9;
  border-radius: 9999px;
  font-size: 18px;
  width: fit-content;
  min-width: 126px;
  height: 35px;
  padding: 5px 20px 6px;
}

@media (min-width: 768px) {

  section.recovery-home .embla .embla__container .embla__slide {
      flex: 0 0 calc(100% / 1.7);
      min-width: calc(100% / 1.7);
  }
  
}

@media (min-width: 1000px) {
  section.recovery-home {
      padding-top: 70px;
  }
  section.recovery-home .intro-title-text, 
  section.recovery-home .text-under-slider {
      text-align: center;
  }

  section.recovery-home .embla .embla__container .embla__slide {
      flex: 0 0 calc(100% / var(--slide-desk-number) - var(--slide-gap));
      min-width: calc(100% / var(--slide-desk-number) - var(--slide-gap));
  }

  section.recovery-home .embla.arrow-dot-hide .embla__viewport {
      padding: 0;
  }
  
  section.recovery-home .embla.branches .embla__dots {
      display: flex;
      margin-top: 0;
  }
  section.recovery-home .sub-content .sub-content__card--left {
      flex: 0 0 63%;
      max-width: 63%;
  }
  section.recovery-home .sub-content .sub-content__card--right {
      flex: 0 0 34%;
      max-width: 34%;
  }
  section.recovery-home .sub-content .sub-content__card--left .image {
      flex: 0 0 46.5%;
      max-width: 46.5%;
      height: 100%;
  }
  
  section.recovery-home .sub-content .sub-content__card--left .image::after {
    top: 0;
    left: auto;
    right: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 64.9%, #fff 100%);
  }

  section.recovery-home .sub-content .sub-content__card--left .entry-content {
    flex: 0 0 auto;
    max-width: 45%;
    display: flex;
    gap: 10px;
    padding: 50px 0;
    text-align: left;
  }
  
  .pipill, .pipill--outline {
    margin: 0 0 20px;
  }

  section.recovery-home .pipill-group {
    justify-content: center;
  }

  section.recovery-home .sub-content {
    gap: 36px 26px;
  }
  
  section.recovery-home .sub-content .last-line {
    text-align: center;
  }
}
