body.no-scroll {
  overflow: hidden;
}
section.related-treatment-grid {
  background-color: #efefef;
  padding: 88px 0;
}
section.related-treatment-grid h4 {
  margin-bottom: 47px;
}
section.related-treatment-grid p.caps.body-large-bold {
  margin-bottom: 16px;
}
section.related-treatment-grid .treatment-card a {
  padding: 32px 20px 20px;
  background-color: #ffffff;
  height: 290px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
section.related-treatment-grid .treatment-card a span {
  align-self: end;
  transition: transform 0.3s ease;
}
section.related-treatment-grid .treatment-card a:hover span {
  transform: translateX(5px);
}
section.related-treatment-grid .treatment-card.view-all {
  padding: 0;
}
section.related-treatment-grid .treatment-card.view-all a:hover span{
  transform: translateX(0);
}
section.related-treatment-grid .treatment-card.view-all a {
  background-color: #ff0000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 767px) {
  section.related-treatment-grid h4 {
    margin-bottom: 32px;
  }
  section.related-treatment-grid .treatment-card a {
    height: 227px;
    min-height: 227px;
    gap: 32px;
    align-items: flex-start;
  }
  section.related-treatment-grid .treatment-card a {
    align-self: end;
  }
}

.modal-overly {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  right: 0;
  background: rgb(16 16 16 / 30%);
  align-items: flex-start;
  justify-content: flex-end;
  display: none;
}
.show {
  display: flex;
}

.modal {
  width: calc(100% - 324px);
  height: 100%;
  background-color: #ffffff;
  overflow-y: scroll;
  position: relative;
}

.modal .modal-header {
  background-color: #fff;
}
.modal-header.scrolled {
  position: sticky;
  top: 0;
  z-index: 1;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #a6a9aa;
}
.modal .modal-header .close:not(button.close) {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 72px;
}
.modal .modal-header .close button {
  background: #171717;
  padding: 24px;
  float: right;
}
.modal .headings {
  padding: 0 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal .modal-body {
  padding: 48px 80px 0;
}
.modal .treatment-card {
  background-color: #efefef;
  padding: 32px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.modal .treatment-card .card-info {
  display: flex;
  justify-content: space-between;
  padding: 0 72px 0 32px;
  gap: 72px;
}
.modal a.treatmentfullwidth .card-info {
  width: 100%;
}
.modal a.treatmentfullwidth span svg {
  transition: transform 0.3s ease;
}
.modal a.treatmentfullwidth:hover span svg {
  transform: translateX(5px);
}
.modal .treatment-card .card-info p.caps {
  flex: 1 1 40%;
}
.modal p.treatmentdescription {
    flex: 1 1 60%;
}
.modal .headings h4.caps sup {
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -0.18px;
  font-family: "Gotham-Book", Arial, sans-serif;
}
.modal .treatment-card a {
  display: flex;
  align-items: self-end;
  justify-content: end;
  padding: 0 20px;
}
.modal .close-btn {
  color: #000;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 350;
  line-height: 21px;
  letter-spacing: -0.14px;
  text-transform: uppercase;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  margin: 32px auto 88px;
  width: 160px;
  height: 48px;
  align-items: center;
  border: 1px solid #a6a9aa;
  background: #fff;
}

@media only screen and (max-width: 1024px) {
  .modal {
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
    .modal .close-btn {
        width: calc(100% - 40px);
    }
  .modal .modal-header .close {
    margin-bottom: 24px;
  }
  .modal .headings {
    padding: 0 20px 20px;
  }
  .modal .modal-body {
    padding: 0px 20px 0;
  }
  .modal .treatment-card {
    padding: 32px 20px 20px;
  }
  .modal .treatment-card .card-info {
    padding: 0;
    gap: 16px;
    flex-direction: column;
  }
  .modal .treatment-card a {
    padding: 0;
  }
  .modal .modal-header.scrolled {
    display: grid;
    grid-template-columns: 1fr 11fr;
    place-content: center;
    align-items: center;
  }
  .modal .modal-header.scrolled .close:not(button.close) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-items: baseline;
    margin: 0;
  }
  .modal .modal-header.scrolled .close {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }
  .modal .modal-header.scrolled .headings {
    grid-column: 2;
    grid-row: 1;
    padding: 0 104px 0px 0px;
    position: relative;
    z-index: 0;
  }
  .modal .modal-header.scrolled .headings h4 {
    font-size: 20px;
  }
  .modal .modal-header.scrolled p.caps.body-small {
    display: none;
  }
}
