:root {
  --pink: #E52180;
  --pink-soft: #FFEFF5;
  --pink-line: #f4bdd6;
  --blue: #002979;
  --ink: #111111;
  --muted: #5c5c63;
  --white: #fff;
  --header-overlap: clamp(70px, 6.5vw, 94px)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Funnel Sans";
  font-size: 16px;
  line-height: 21px;
  overflow-x: hidden
}

a {
  color: inherit;
  text-decoration: none
}

a:hover {
  color: var(--pink);
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

/* .tb-space {
  padding-block: clamp(30px, 4.2vw, 64px)
} */

section {
  padding-block: 0
}

.section-space {
  padding: 101px;
}

.section-pink {
  background: transparent
}

.section-title {
  margin: 0 0 24px;
  color: #111111;
  font-weight: 600;
  font-size: 37px;
  text-align: center;
}

.btn-pink {
  display: inline-block;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 50px;
  color: #fff;
  background: var(--pink);
  font-size: 15px;
  text-align: center;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.btn-pink:hover,
.btn-pink:focus-visible {
  border-color: #000;
  color: #000;
  background: transparent;
}

.btn-block-pink {
  width: 100%
}

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  padding: clamp(12px, 1.7vw, 25px) clamp(12px, 1.7vw, 25px) 4px;
  background: transparent;
  isolation: isolate;
  transition: padding .35s ease
}

.header-inner {
  padding: 10px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .18);
  transition: border-radius .35s ease
}

.site-header.is-scrolled {
  padding: 0;
}

.site-header.is-scrolled .header-inner {
  border-radius: 0;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 13px
}

.header-logos img {
  width: auto;
  height: clamp(42px, 4.5vw, 65px);
}

.header-nav {
  text-align: center
}

.header-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap
}

.header-nav li {
  display: inline-block;
  margin: 0 8px
}

.header-call {
  text-align: right
}

.header-call a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: #fff;
  background: var(--pink);
  font-size: 15px;
  white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease
}

.header-call a:hover,
.header-call a:focus-visible {
  border-color: #000;
  color: #000;
  background: transparent;
}

.header-call a:hover img {
  filter: brightness(0) saturate(100%) invert(0%) sepia(90%) saturate(7459%) hue-rotate(328deg) brightness(93%) contrast(94%);
}

.icon-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 14px
}

.navbar-toggler-custom {
  display: none;
  border: 0;
  background: transparent;
  color: var(--pink);
  font-size: 25px
}

/* Split hero banner */
.hero {
  margin-top: calc(var(--header-overlap) * -1);
  padding: 0 0 26px
}

.hero-banner {
  display: grid;
  overflow: hidden;
  margin: 0px 15px;
  border-radius: clamp(18px, 2.4vw, 35px);
}

.hero-banner-image {
  grid-area: 1 / 1;
  width: 100%;
  align-self: start
}

.hero-content {
  grid-area: 1 / 1;
  z-index: 2;
  justify-self: end;
  width: 41%;
  min-width: 0;
  padding: clamp(22px, 4vw, 58px) clamp(12px, 1.5vw, 22px) 0;
  display: flex;
  flex-direction: column
}

.hero-text {
  text-align: center;
  margin-top: 70px;
  width: 100%;
  margin-left: -135px;
}

.hero-text h1 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 51px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-text h2 {
  margin: 0 0 clamp(18px, 3.5vw, 56px);
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 500
}

.hero-text .accent {
  color: var(--pink)
}

.appointment-card {
  margin-top: 0px;
  padding: clamp(34px, 3vw, 48px) clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px);
  /* border-radius: 20px 20px 18px 18px; */
  /* background: var(--pink); */
  color: #fff;
  background-image: url("../images//form-rectangle.png");
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* clip-path: polygon(0px -3px, 100% 18%, 100% 100%, 0 100%); */
}

.hero-mobile {
  display: none;
}

.appointment-card form#heroAppointmentForm option {
  color: #000;
}

.campaign-section {
  padding-top: 50px;
}

.form-select:focus {
  outline: 0;
  box-shadow: none !important;
}

.appointment-card h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.4vw, 21px);
  /* line-height: 1.25; */
  font-weight: 700
}

.appointment-card .form-control,
.appointment-card .form-select {
  min-height: clamp(40px, 3vw, 46px);
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .19);
  font-family: inherit;
  font-size: clamp(13px, .9vw, 15px);
  line-height: 1.35
}

.appointment-card textarea.form-control {
  min-height: clamp(40px, 3vw, 46px);
  resize: none
}

.appointment-card ::placeholder {
  color: rgba(255, 255, 255, .84)
}

.appointment-card .form-select {
  padding-right: 36px;
  color: rgba(255, 255, 255, .84);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 8px;
}

/* Floating labels sit over the field background, creating the cut-out border effect. */
.floating-field {
  position: relative;
  margin-top: 6px;
}

/* Keep the Salesforce country-code and phone fields in one visible control. */
.phone-input-group {
  display: flex;
}

.floating-field .phone-input-group .form-select {
  flex: 0 0 0;
  width: 0;
  min-width: 0;
  padding-right: 0;
  padding-left: 0;
  border-width: 0;
  border-radius: 9px 0 0 9px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: width .2s ease, flex-basis .2s ease, padding .2s ease, opacity .15s ease;
}

.floating-field .phone-input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 9px;
  transition: border-radius .2s ease;
}

.phone-field>label {
  transition: top .2s ease, transform .2s ease, font-size .2s ease;
}

.phone-field:focus-within>label,
.phone-field:has(input:not(:placeholder-shown))>label {
  top: 0;
  transform: translateY(-50%);
  font-size: .78em;
}

.phone-field:focus-within .phone-input-group .form-select,
.phone-field:has(input:not(:placeholder-shown)) .phone-input-group .form-select {
  flex-basis: 34%;
  width: 34%;
  padding-left: 12px;
  padding-right: 32px;
  border-width: 0;
  opacity: 1;
  pointer-events: auto;
}

.recovery-form-card .phone-field:focus-within .phone-input-group .form-select,
.recovery-form-card .phone-field:has(input:not(:placeholder-shown)) .phone-input-group .form-select {
  border-width: 1px;
}

.phone-field:focus-within .phone-input-group .form-control,
.phone-field:has(input:not(:placeholder-shown)) .phone-input-group .form-control {
  border-radius: 0 9px 9px 0;
}

.appointment-card .phone-field:focus-within>label,
.appointment-card .phone-field:has(input:not(:placeholder-shown))>label {
  background: var(--pink);
}

.recovery-form-card .phone-input-group .form-select,
.recovery-form-card .phone-input-group .form-control {
  margin-bottom: 0;
}

.floating-field>label {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 0 4px;
  color: inherit;
  font-size: inherit;
  line-height: 1.1;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left center;
  transition: top .55s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1), font-size .55s cubic-bezier(.22, 1, .36, 1), color .35s ease;
}

.floating-field> :is(input, textarea):focus+label,
.floating-field> :is(input, textarea):not(:placeholder-shown)+label,
.floating-field>select:focus+label,
.floating-field>select:valid+label {
  top: 0;
  transform: translateY(-50%);
  font-size: .78em;
}

.appointment-card .floating-field>label {
  color: rgba(255, 255, 255, .84);
}

.appointment-card .floating-field> :is(input, textarea):focus+label {
  background: var(--pink);
  color: #fff;
}

/* A textarea label stays at the top edge because the field is multi-line. */
.floating-field>textarea+label {
  top: 25px;
}

/* .appointment-card .floating-field>textarea+label {
  background: var(--pink);
} */

.recovery-form-card .floating-field {
  margin-bottom: 12px;
}

.recovery-form-card .floating-field>.form-control,
.recovery-form-card .floating-field>.form-select {
  margin-bottom: 0;
}

.recovery-form-card .form-select {
  padding-right: 36px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23111111' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 7px;
}

.appointment-card .floating-field> :is(input, textarea, select):focus+label {
  background: var(--pink);
  color: #fff;
}

.recovery-form-card .floating-field> :is(input, textarea, select):focus+label {
  color: var(--pink);
}

.recovery-form-card .floating-field>label {
  background: var(--pink-soft);
  color: #777;
}

.recovery-form-card .floating-field> :is(input, textarea):focus+label {
  color: var(--pink);
}

.appointment-card .btn-pink {
  min-height: clamp(40px, 3vw, 46px);
  padding: 9px 14px;
  color: #222;
  background: #fff;
  font-family: inherit;
  font-size: clamp(13px, .9vw, 15px);
  font-weight: 600
}

.form-success-msg {
  display: none;
  padding: 8px;
  margin-top: 5px;
  border-radius: 8px
}

.form-success-msg.show {
  display: block
}

/* This block is intentionally one uploaded image. */

.campaign-banner-image {
  width: 100%;
  border-radius: 18px
}

/* Pamela Munster */
#about {
  padding-top: 50px;
}

.about-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  border-radius: 20px;
  background: var(--pink-soft);
}

.about-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -40px;
  right: 5%;
  width: 86px;
  height: 126px;
  background: url("../images/svg/rebeensvg.svg") center/contain no-repeat
}

.about-photo img {
  width: 260px;
  min-height: 360px;
  object-fit: contain;
  object-position: bottom
}

.about-quote {
  margin: 0 0 14px;
  color: var(--blue);
  line-height: 30px;
  font-size: 25px;
  font-weight: 600;
}

#about p:not(.about-quote):not(.about-name):not(.about-role) {
  margin-bottom: 10px;
}

.about-name {
  margin: 17px 0 0;
  font-size: 25px;
  font-weight: 600;
}

.about-role {
  margin: 10px 0 0;
}

/* Procedures */
#procedures {
  padding-top: 42px
}

.procedure-list {
  margin: 0;
  padding: 0;
  list-style: none
}

.procedure-list li {
  margin: 0
}

.procedure-list button {
  width: 100%;
  padding: 14px 15px;
  border: 0;
  margin-bottom: 5px;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  color: #000 !important;
  border-left: 2.5px solid #FFEFF5;
}

.procedure-list button.active {
  color: var(--pink);
  background: #FFEFF5;
  font-weight: 700;
  border-left: 2.5px solid #E52180;
}

.procedure-panel {
  display: none
}

.procedure-panel.active {
  display: block
}

/* Accordion panel copies are used only below the mobile breakpoint. */
.mobile-accordion-panel {
  display: none !important;
}

.procedure-panel-image {
  overflow: hidden;
  border-radius: 20px;
  height: 330px;
}

.procedure-panel-image img {
  width: 100%;
  object-fit: cover
}

.procedure-panel h3 {
  margin: 10px 0;
  font-weight: 600;
  color: var(--blue);
  font-size: 25px;
}

/* Carousels */
.carousel-track {
  overflow: hidden
}

.carousel-track-inner {
  display: flex;
  gap: 14px;
  transition: transform .4s ease
}

.specialist-card {
  flex: 0 0 calc((100% - 42px)/4);
  min-width: 0;
  padding: 7px;
  border: 1px solid #f0d8e3;
  border-radius: 15px;
  background: #fff;
  height: auto;
  display: flex;
  flex-direction: column;
}

.specialist-photo {
  overflow: hidden;
  border-radius: 12px;
  background: var(--pink-soft)
}

.specialist-photo img {
  width: 100%;
  aspect-ratio: 1.38/1;
  object-fit: contain;
  object-position: bottom center
}

.specialist-info {
  padding: 8px 0px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.specialist-btn-wrap {
  margin-top: auto;
  /* padding-top: 20px; */
}

.specialist-info h5 {
  margin: 0 0 25px;
  font-weight: 600;
  font-size: 18px;
}

.specialist-info p {
  margin: 0 0 12px;
  font-size: 15px
}

.specialist-info .experience {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 15px
}

.carousel-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 5px;
  border: 1px solid #0000001A;
  color: #000;
  background: transparent;
}

.in-verse {
  transform: rotate(180deg);
}

.carousel-nav button:hover {
  background: var(--pink);
}

.carousel-nav button:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(93deg) brightness(105%) contrast(101%);
}

.carousel-progress {
  flex: 1;
  height: 2.5px;
  border-radius: 5px;
  margin-left: 8px;
  background: var(--pink-soft);
  overflow: hidden
}

.carousel-progress span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--pink);
  transition: width .4s ease
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  padding: 8px
}

.partner-logo img {
  max-height: 56px;
  width: auto
}

/* Assessment */
#self-assessment {
  padding-top: 30px
}

#self-assessment .section-title {
  margin-bottom: 5px
}

.assessment-card {
  padding: 24px 28px;
  border-radius: 17px;
  background: var(--pink-soft)
}

.step-tabs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none
}

.step-tabs li {
  flex: 1
}

.step-tabs button {
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 15px;
  color: #7d7578;
  background: transparent;
  text-align: left;
  font-weight: 600;
}

.step-tabs .step-label {
  display: block;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
}

.step-tabs button.active {
  color: #fff;
  background: var(--pink)
}

.step-panel {
  display: none
}

.step-panel.active {
  display: block
}

.step-panel h4 {
  margin: 0 0 7px;
  font-weight: 600;
  font-size: 25px
}

.watch-for-box {
  height: 100%;
  padding: 18px;
  border-radius: 15px;
  background: #fff
}

.watch-for-box .label {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 600
}

.watch-for-box p {
  margin-bottom: 0px;
}

/* Videos */
.video-card {
  flex: 0 0 calc((100% - 28px)/3);
  min-width: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--pink-soft)
}

.video-card iframe {
  border: 0
}

.video-card-caption {
  display: none
}

/* FAQ */
.faq-container {
  padding: 22px 30px;
  border-radius: 20px;
  background: var(--pink-soft)
}

.faq-item {
  margin-bottom: 8px;
  padding: 13px 16px;
  border-radius: 9px;
  background: #fff
}

.faq-question {
  position: relative;
  width: 100%;
  padding: 0 28px 0 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 600;
}

.faq-icon {
  position: absolute;
  right: 0;
  color: var(--pink);
  font-size: 16px
}

.faq-answer {
  display: none;
  padding-top: 6px;
}

.faq-answer p {
  margin: 0;
  line-height: 21px;
}

.faq-item.active .faq-answer {
  display: block
}

/* Locations */
.location-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 13px;
  background: #fff
}

.location-card>img {
  width: 100%;
  object-fit: cover;
  height: 171px;
}

.location-info {
  padding: 12px
}

.location-info h5 {
  margin: 0 0 5px;
  font-weight: 600;
  font-size: 18px
}

.location-info p,
.location-line {
  margin: 0 0 10px;
  line-height: 20px;
}

.location-line {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.get-directions {
  color: var(--pink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Recovery */
.recovery-container {
  background: #FFEFF5;
  border-radius: 20px;
  padding: 51px;
}

.recovery-section>.side-space>.row {
  padding: 32px 38px 0;
  border-radius: 18px;
  background: var(--pink-soft)
}

.recovery-text h2 {
  font-weight: 600;
}

.recovery-checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none
}

.recovery-checklist li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 600;
}

.recovery-hand-img {
  /* width: 145px; */
  margin-top: 15px;
  margin-bottom: -51px;
  margin-left: -40px;
}

.recovery-form-card {
  padding: 0;
  background: transparent
}

.recovery-form-card .form-control,
.recovery-form-card .form-select {
  min-height: 51px;
  margin-bottom: 12px;
  border: 1px solid #11111159;
  border-radius: 10px;
  background: transparent;
  /* font-size: 10px; */
}

.recovery-form-card textarea.form-control {
  min-height: 125px;
  resize: none
}

/* Reapply the select icon after the shared transparent form background rule. */
.recovery-form-card .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23111111' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 7px;
}

.form-control:focus {
  box-shadow: none !important;
}

/* Footer */
.site-footer {
  padding: 25px;
  border-radius: 14px;
  color: #fff;
  background: var(--pink);
  margin: 0px 15px 15px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 18px
}

/* .footer-logos img {
  width: auto;
  height: 31px
} */

.footer-copy {
  text-align: right;
}

@media (min-width:1331px) and (max-width:1440px) {
  .appointment-card {
    margin-top: -18px;
  }
}

@media (min-width:1200px) and (max-width:1330px) {
  .hero-text h1 {
    font-size: 37px;
  }

  .hero-text {
    margin-left: -90px;
  }

  .appointment-card {
    margin-top: -15px;
    clip-path: path("M4 42 Q4 12 34 14 L526 78 Q558 82 558 114 L558 383 Q558 411 530 411 L32 411 Q4 411 4 383 Z");
    padding: 23px 25px 10px;
    border-radius: 0 28px 28px 28px;
    background-image: none;
    background-color: var(--pink);
  }

  .appointment-card h3 {
    margin: 15px 0 5px;
  }

}

@media (max-width: 1199px) {
  .section-space {
    padding: 30px 15px;
  }

  .hero-mobile {
    display: block;
  }

  .hero-banner-image {
    display: none;
  }

  .hero-mobile {
    grid-area: 1 / 1;
    /* width: 165%; */
    max-width: none;
    width: 100%;
    height: 410px;
    border-radius: 30px;
    object-fit: cover;
    object-position: left;
  }

  .appointment-card {
    margin-top: 20px;
    padding: clamp(34px, 3vw, 48px) clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px);
    background: var(--pink);
    color: #fff;
    width: 100%;
    border-radius: 20px;
  }

  .hero-content {
    grid-area: 2 / 1;
    justify-self: stretch;
    width: 100%;
    padding: 22px 0px 0px;
  }

  .hero-text {
    padding: 0;
    margin-top: 0;
    margin-left: 0;
  }

  .hero-banner {
    margin: 0px;
  }

  .about-photo {
    margin: 28px 0px;
  }

  .recovery-hand-img {
    display: none;
  }

  .header-nav {
    display: none;
    padding-top: 12px;
    text-align: left
  }

  .header-nav.is-open {
    display: block
  }

  .header-nav li {
    display: block;
    margin: 8px 0
  }

  .navbar-toggler-custom {
    display: inline-block
  }

  .hero-text h1 {
    white-space: normal;
    font-size: 32px;
  }

  .hero-banner {
    position: relative;
  }

  .hero-banner::before {
    content: "";
    grid-area: 1 / 1;
    z-index: 1;
    background: rgba(0, 0, 0, .22);
    pointer-events: none;
    border-radius: 30px;
  }

  .hero-text {
    position: absolute;
    z-index: 3;
    top: 64px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 0;
    text-align: center;
  }

  .hero-text h1,
  .hero-text h2 {
    color: #fff;
  }
}

@media(max-width:991px) {

  .hero-text h2 {
    margin-bottom: 24px
  }

  .appointment-card {
    border-radius: 16px
  }

  .specialist-card {
    flex-basis: calc((100% - 14px)/2)
  }

  .video-card {
    flex-basis: calc((100% - 14px)/2)
  }

  /* Procedures and assessment become one-at-a-time accordions on mobile. */
  .procedure-list button,
  .step-tabs button {
    position: relative;
    padding: 16px 42px 16px 16px;
  }

  .procedure-list button::after,
  .step-tabs button::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 16px;
    font-size: 24px;
    font-weight: 400;
    transform: translateY(-50%);
  }

  .procedure-list button.active::after,
  .step-tabs button.active::after {
    content: "−";
  }

  .procedure-panel,
  .step-panel {
    display: none !important;
  }

  .mobile-accordion-panel {
    display: none;
    padding: 16px;
    background: #fff;
  }

  .mobile-accordion-panel.active {
    display: block !important;
  }

  .procedure-list .mobile-accordion-panel {
    margin: -5px 0 5px;
  }

  .procedure-list .procedure-panel-image {
    margin-top: 0;
    height: 100%;
  }

  .step-tabs {
    display: block;
    margin-bottom: 0;
  }

  .step-tabs li {
    margin-bottom: 8px;
  }

  .step-tabs .step-label {
    display: inline;
    margin: 0 8px 0 0;
    font-size: inherit;
  }

  .step-tabs .mobile-accordion-panel {
    background: #fff;
    border-radius: 12px;
  }

  .assessment-card>.row>.col-lg-8 {
    display: none;
  }

  .watch-for-box {
    margin-top: 16px;
  }
}

@media(max-width:767px) {

  /* Swipe horizontally through location cards. */
  .locations-carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 14px;
    margin: 0;
    padding: 0 4px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .locations-carousel::-webkit-scrollbar {
    display: none;
  }

  .locations-carousel>[class*="col-"] {
    flex: 0 0 86%;
    max-width: 86%;
    margin: 0 !important;
    padding: 0;
    scroll-snap-align: start;
  }

  .side-space {
    padding-inline: 16px
  }

  .site-header .side-space {
    padding-inline: 10px
  }

  .header-logos img {
    height: 30px
  }

  .hero-text h2 {
    margin-bottom: 20px
  }

  .appointment-card {
    padding-top: 42px;
    clip-path: none
  }

  .procedure-list {
    margin-bottom: 18px
  }

  .step-tabs {
    overflow-x: auto
  }

  .step-tabs li {
    flex: 0 0 130px
  }

  .recovery-section>.side-space>.row {
    padding: 26px 18px 0
  }

  .recovery-form-card {
    margin-top: 25px;
    /* padding-bottom: 25px */
  }

  .footer-copy {
    margin-top: 14px;
    text-align: left
  }
}

/* Keep only the procedures and self-assessment accordions active on tablets. */
@media (min-width:768px) and (max-width:991px) {

  .procedure-list button,
  .step-tabs button {
    position: relative;
    padding: 16px 42px 16px 16px;
  }

  .procedure-list button::after,
  .step-tabs button::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 16px;
    font-size: 24px;
    font-weight: 400;
    transform: translateY(-50%);
  }

  .procedure-list button.active::after,
  .step-tabs button.active::after {
    content: "−";
  }

  .procedure-panel,
  .step-panel {
    display: none !important;
  }

  .mobile-accordion-panel {
    display: none;
    padding: 16px;
    background: #fff;
  }

  .mobile-accordion-panel.active {
    display: block !important;
  }

  .procedure-list .mobile-accordion-panel {
    margin: -5px 0 5px;
  }

  .step-tabs {
    display: block;
    margin-bottom: 0;
  }

  .step-tabs li {
    margin-bottom: 8px;
  }

  .step-tabs .step-label {
    display: inline;
    margin: 0 8px 0 0;
    font-size: inherit;
  }

  .step-tabs .mobile-accordion-panel {
    border-radius: 12px;
  }

  .assessment-card>.row>.col-lg-8 {
    display: none;
  }

  .watch-for-box {
    margin-top: 16px;
  }
}

@media(max-width:552px) {

  .specialist-card,
  .video-card {
    flex-basis: 86%
  }

  .recovery-container,
  .faq-container {
    padding: 30px 15px;
  }

  .recovery-hand-img {
    display: none;
  }

  .about-photo img {
    width: 200px;
    min-height: 300px;
  }

  .section-title {
    font-size: 28px;
  }

  .step-tabs button.active {
    margin-bottom: 10px;
  }

  .assessment-card {
    padding: 24px 15px;
  }
}

@media (max-width:991px) and (orientation:landscape) {
  #locations .row {
    align-items: stretch;
  }

  #locations .row>[class*="col-"] {
    display: flex;
  }

  #locations .location-card {
    width: 100%;
  }
}