@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

.therapy-hero,
.therapy-page,
.therapy-detail {
  font-family: "Poppins", sans-serif;
}

.therapy-landing-page .banner_wrapper.as_banner_wrapper {
  height: 523px;
}

.therapy-landing-page .banner_content {
  margin-left: 0;
  text-align: left;
}

.therapy-landing-page .banner_content h1,
.therapy-landing-page .banner_content p {
  margin-left: 0;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .therapy-landing-page .banner_wrapper.as_banner_wrapper {
    height: 624px;
  }
}

.therapy-hero {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: center;
  overflow: hidden;
  background: #4d2635;
  color: #fff;
}

.therapy-detail-hero {
  min-height: 600px;
}

.therapy-hero__image,
.therapy-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.therapy-hero__image {
  object-fit: cover;
}

.therapy-hero__shade {
  background: linear-gradient(
    90deg,
    rgb(20 14 17 / 82%) 0%,
    rgb(20 14 17 / 62%) 48%,
    rgb(20 14 17 / 28%) 100%
  );
}

.therapy-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1270px);
  margin: 0 auto;
  padding: 64px 0;
}

.therapy-detail-hero .therapy-hero__content {
  width: 100%;
  padding: 0 30px;
  transform: translateY(-58px);
}

.therapy-hero__content h1 {
  max-width: 620px;
  margin: 0 0 14px;
  color: #fff !important;
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  text-shadow: 0 2px 8px rgb(0 0 0 / 45%);
}

.therapy-detail-hero .therapy-hero__content h1 {
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.therapy-hero__content > p {
  max-width: 620px;
  margin: 0 0 14px;
  color: #fff !important;
  font-size: 1.125rem !important;
  font-weight: 400;
  line-height: 1.8 !important;
  text-shadow: 0 1px 5px rgb(0 0 0 / 70%);
}

.therapy-detail-hero .therapy-hero__content .therapy-hero__kicker {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2vw, 1.5rem) !important;
  font-weight: 300;
  line-height: 1.35 !important;
  text-shadow: 0 1px 5px rgb(0 0 0 / 70%);
}

.therapy-detail-hero .therapy-hero__content .therapy-hero__description {
  max-width: 560px;
  margin: 0;
  font-size: .875rem !important;
  font-weight: 400;
  line-height: 1.65 !important;
}

.therapy-hero__eyebrow {
  margin-bottom: 4px !important;
  font-size: 1.25rem !important;
  font-weight: 500;
}

.therapy-page,
.therapy-detail {
  width: min(100% - 40px, 1150px);
  margin: 0 auto;
}

.therapy-intro,
.therapy-section,
.therapy-faq {
  padding: 64px 0;
}

.therapy-intro,
.therapy-section__heading,
.therapy-listing > h2,
.therapy-more > h2,
.therapy-faq > h2 {
  text-align: center;
}

.therapy-intro h2,
.therapy-listing > h2,
.therapy-section h2,
.therapy-more > h2,
.therapy-faq > h2 {
  margin: 0 0 18px;
  color: #701433;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 400;
}

.therapy-rich-text {
  color: #302b2d;
  font-size: 1.125rem;
  line-height: 1.8;
}

.therapy-rich-text h2,
.therapy-rich-text h3,
.therapy-rich-text h4 {
  margin: 0 0 16px;
  color: #701433;
  text-align: center;
}

.therapy-rich-text h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 400;
}

.therapy-rich-text h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
}

.therapy-rich-text p {
  margin: 0 auto 18px;
  color: #302b2d;
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: center;
}

.therapy-rich-text ul,
.therapy-rich-text ol {
  margin: 0 auto 18px;
  padding-left: 24px;
  text-align: left;
}

.therapy-rich-text li {
  margin-bottom: 8px;
}

.therapy-rich-text > :last-child {
  margin-bottom: 0;
}

.therapy-rich-text img {
  max-width: 100%;
  height: auto;
}

.therapy-listing {
  padding: 52px 0 72px;
}

.therapy-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.therapy-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f0e7ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgb(60 20 37 / 6%);
}

.therapy-card__image-link {
  display: block;
}

.therapy-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.therapy-card__image--empty {
  background: #f7edf0;
}

.therapy-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 16px;
}

.therapy-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.therapy-card__body h3 a {
  color: #701433;
  text-decoration: none;
}

.therapy-card__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 16px;
  color: #393336;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.therapy-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #701433;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.therapy-text-link:hover,
.therapy-card__body h3 a:hover {
  color: #a43b5a;
}

.therapy-detail {
  padding-top: 42px;
}

.therapy-article {
  max-width: 980px;
  margin: 0 auto;
}

.therapy-article__text {
  margin: 0 auto 36px;
  text-align: center;
}

.therapy-content-cards {
  margin: 42px auto;
}

.therapy-content-cards > h2 {
  margin: 0 0 14px;
  color: #701433;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 400;
  text-align: center;
}

.therapy-content-cards__intro {
  margin: 0 auto 22px;
  text-align: center;
}

.therapy-content-cards__grid {
  display: grid;
  gap: 14px;
}

.therapy-content-cards__grid--image {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.therapy-content-cards__grid--icon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.therapy-content-card {
  overflow: hidden;
  border-radius: 14px;
  background: #fbf0f3;
}

.therapy-content-card--image {
  border: 1px solid #eee8ea;
  background: #fff;
}

.therapy-content-card--image > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
}

.therapy-content-card__body {
  padding: 16px;
}

.therapy-content-card h3 {
  margin: 0 0 12px;
  color: #701433;
  font-size: 1.2rem;
  font-weight: 600;
}

.therapy-content-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.therapy-content-card li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 9px;
  line-height: 1.6;
}

.therapy-content-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #111;
  content: "•";
}

.therapy-content-card--icon {
  padding: 18px;
}

.therapy-content-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.therapy-content-card__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.therapy-content-card__title h3 {
  margin: 0;
}

.therapy-content-card--icon .therapy-rich-text {
  font-size: .95rem;
  line-height: 1.75;
}

.therapy-content-card--icon .therapy-rich-text p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.75;
  text-align: left;
}

.therapy-carousel {
  overflow: hidden;
}

.therapy-carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.therapy-carousel__track::-webkit-scrollbar {
  display: none;
}

.therapy-treatment-card {
  position: relative;
  display: flex;
  flex: 0 0 min(44%, 510px);
  min-height: 285px;
  overflow: hidden;
  align-items: flex-end;
  border-radius: 16px;
  background: #7c6c68;
  color: #fff;
  scroll-snap-align: start;
}

.therapy-treatment-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.therapy-treatment-card__content {
  position: relative;
  width: 100%;
  padding: 22px;
  background: linear-gradient(0deg, rgb(25 20 22 / 82%), rgb(25 20 22 / 28%));
}

.therapy-treatment-card__content h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.2rem;
}

.therapy-treatment-card__content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.therapy-treatment-card .therapy-text-link {
  color: #fff;
}

.therapy-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 4px 4px 0;
}

.therapy-carousel__button {
  width: 38px;
  height: 38px;
  border: 1px solid #eadde2;
  border-radius: 50%;
  background: #fff;
  color: #701433;
  font-size: 1.2rem;
  cursor: pointer;
}

.therapy-more {
  margin: 30px calc((1150px - 100vw) / 2) 0;
  padding: 56px max(20px, calc((100vw - 1150px) / 2)) 62px;
  background: #fff7f9;
  text-align: center;
}

.therapy-more .therapy-card-grid {
  text-align: left;
}

.therapy-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 13px 28px;
  border-radius: 28px;
  background: #701433;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.therapy-button:hover {
  background: #541027;
  color: #fff;
}

.therapy-faq {
  max-width: 620px;
  margin: 0 auto;
  padding: 76px 0 84px;
}

.therapy-faq > h2 {
  margin-bottom: 30px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
}

.therapy-faq__item {
  border-bottom: 1px solid #e4dfe1;
}

.therapy-faq__item summary {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 34px 12px 14px;
  color: #898387;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}

.therapy-faq__item summary::-webkit-details-marker {
  display: none;
}

.therapy-faq__item summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #701433;
  border-bottom: 2px solid #701433;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}

.therapy-faq__item[open] summary {
  color: #701433;
  font-weight: 600;
}

.therapy-faq__item[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.therapy-faq__item .therapy-rich-text {
  max-width: 540px;
  padding: 0 14px 18px;
  color: #5e585b;
  font-size: .875rem;
  line-height: 1.75;
}

.therapy-faq__item .therapy-rich-text p {
  margin: 0 0 8px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}

.therapy-empty {
  padding: 30px;
  border-radius: 12px;
  background: #fff7f9;
  text-align: center;
}

.therapy-modal[hidden] {
  display: none;
}

.therapy-modal-open {
  overflow: hidden;
}

.therapy-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.therapy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 65%);
}

.therapy-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  padding: 28px 30px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 48px rgb(0 0 0 / 25%);
}

.therapy-modal__panel h2 {
  margin: 0 42px 12px 0;
  color: #701433;
  font-size: 1.25rem;
}

.therapy-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f1f2;
  color: #302b2d;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .therapy-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapy-treatment-card {
    flex-basis: 68%;
  }

  .therapy-content-cards__grid--image,
  .therapy-content-cards__grid--icon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapy-more {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 560px) {
  .therapy-hero {
    min-height: 360px;
  }

  .therapy-detail-hero {
    min-height: 440px;
  }

  .therapy-hero__content {
    width: calc(100% - 36px);
  }

  .therapy-detail-hero .therapy-hero__content {
    width: 100%;
    padding: 0 20px;
    transform: translateY(-30px);
  }

  .therapy-detail-hero .therapy-hero__content h1 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
  }

  .therapy-page,
  .therapy-detail {
    width: calc(100% - 32px);
  }

  .therapy-intro,
  .therapy-section,
  .therapy-faq {
    padding: 42px 0;
  }

  .therapy-card-grid {
    grid-template-columns: 1fr;
  }

  .therapy-treatment-card {
    flex-basis: 88%;
    min-height: 250px;
  }

  .therapy-content-cards__grid--image,
  .therapy-content-cards__grid--icon {
    grid-template-columns: 1fr;
  }

  .therapy-modal__panel {
    padding: 24px 20px;
  }
}
