/* Treatment timeline variables and base styles. */
:root {
    --c-blue: #073B64;
    --c-green: #19BA5D;
    --c-bg: #f9f9f9;
    --icon: 40px;
    --icon-desktop: 80px;
    --gap: 12px;
    --radius: 20px;
}

.hr-gallery [data-hr-gallery-swiper],
.hr-gallery [data-hr-gallery-swiper] .swiper-wrapper {
  width: 100%;
}

@media (max-width: 767.98px) {
  .hr-gallery [data-hr-gallery-swiper] .swiper-slide {
    width: 100% !important;
  }
}

.hr-gallery .hr-gallery-pagination.swiper-pagination {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hr-gallery .hr-gallery-pagination .swiper-pagination-bullet {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 !important;
  border-radius: 9999px;
  opacity: 1;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.hr-gallery .hr-gallery-pagination .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #bfc5ce;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background-color .2s ease;
}

.hr-gallery .hr-gallery-pagination .swiper-pagination-bullet-active::after {
  transform: translate(-50%, -50%) scale(1.2);
  background: #6f7c8e;
}

.hr-gallery .hr-gallery-pagination .swiper-pagination-bullet:focus-visible {
  outline: 2px solid #004980;
  outline-offset: 2px;
}

/* Mobile timeline. */
.procedure-tl {
    margin-top: 3rem;
    counter-reset: step;
    position: relative;
}

.procedure-tl li {
    position: relative;
    list-style: none;
}

.procedure-tl li:last-child {
    margin-bottom: 0;
}

.procedure-tl .icon {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--icon);
    height: var(--icon);
    border-radius: 50%;
    background: var(--c-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    z-index: 2;
}

.procedure-tl .icon svg {
    width: 52%;
    height: 52%;
    display: block;
    flex-shrink: 0;
    color: #fff;
}

.procedure-tl li::after {
    content: "";
    position: absolute;
    left: calc(var(--icon) / 2 - 2px);
    top: var(--icon);
    width: 4px;
    height: calc(100% - var(--icon));
    background: var(--c-green);
}

.procedure-tl li:last-child::after {
    display: none;
}

.procedure-tl h3 {
    font-size: 1.1rem;
    padding: 6px 0;
    font-weight: 700;
    margin: 0 0 0.4rem;
    padding-left: 0.2rem;
}

.procedure-tl h3::before {
    counter-increment: step;
    content: counter(step) " – ";
    font-weight: 700;
}

.procedure-tl p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: lighter;
    padding-bottom: 12px;
}

@media (min-width: 768px) {
    .procedure-tl .icon {
        width: var(--icon-desktop);
        height: var(--icon-desktop);
        font-size: 2.5rem;
    }

    .procedure-tl h3 {
        font-size: 1.7rem;
        font-weight: 700;
        margin: 0 0 0.4rem;
        padding-left: 0.2rem;
    }

    /* Desktop timeline grid. */
    .procedure-tl {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-left: 0;
        position: relative;
    }

    .procedure-tl li:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .procedure-tl li:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .procedure-tl li::after {
        display: none;
    }

    .procedure-tl li {
        position: relative;
        padding: calc(var(--icon) / 2 + var(--gap)) 1rem 1rem;
        text-align: center;
        padding: 60px 60px 80px 60px;
    }

    .procedure-tl .icon {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
    }

    .procedure-tl li:first-child::before {
        display: none;
    }

    .procedure-tl li:first-child::after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 50%;
        height: 4px;
        background: var(--c-green);
        z-index: 1;
    }

    .procedure-tl li:not(:first-child):not(:last-child)::before,
    .procedure-tl li:not(:first-child):not(:last-child)::after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        height: 4px;
        background: var(--c-green);
        z-index: 1;
    }

    .procedure-tl li:not(:first-child):not(:last-child)::before {
        left: 0;
        width: 50%;
    }

    .procedure-tl li:not(:first-child):not(:last-child)::after {
        left: 50%;
        width: 50%;
    }

    .procedure-tl li:last-child::after {
        display: none;
    }

    .procedure-tl li:last-child::before {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 4px;
        background: var(--c-green);
        z-index: 1;
    }

    .procedure-tl li:nth-child(2) {
        border-right: 4px solid var(--c-green);
        padding-right: var(--gap);
    }

    .procedure-tl li:nth-child(4) {
        border-left: 4px solid var(--c-green);
        padding-left: var(--gap);
    }
}

/* Mobile only: icons left-align and text indents for the timeline items */
@media (max-width: 767px) {
    .procedure-tl li {
        padding-left: calc(var(--icon) + var(--gap));
    }

    .procedure-tl .icon {
        top: 0;
        left: 0;
        transform: none;
    }
}

.treatment-calculator-context #cc-left .cc-leftScroll > .bg-white:first-child {
    display: none;
}

.treatment-calculator-context #cc-left .cc-leftScroll > .bg-white:first-child + .bg-white {
    border: 1px solid rgba(25, 186, 93, 0.20);
}

.treatment-article-top {
  padding-top: 1rem;
}

.treatment-article-shell {
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
}

.treatment-article-kicker {
  margin: 0 0 .75rem;
  color: #19BA5D;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.15;
  text-transform: uppercase;
}

.treatment-article-cover {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #e8f2f7;
  box-shadow: 0 18px 42px rgba(11, 42, 74, .12);
}

.treatment-article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 73, 128, .06), rgba(0, 73, 128, .22));
  pointer-events: none;
}

.treatment-article-cover img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.treatment-meta-shell {
  position: relative;
  z-index: 20;
  width: min(100% - 2rem, 900px);
  margin: -2.9rem auto 0;
}

.treatment-meta-card {
  background: #fff;
  border: 1px solid rgba(0, 73, 128, .08);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(11, 42, 74, .14);
  padding: .9rem 1rem;
}

.treatment-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.treatment-meta-person,
.treatment-meta-person:visited {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .85rem;
  color: inherit;
  text-decoration: none;
}

.treatment-meta-link:hover .treatment-meta-name {
  color: #E63E75;
}

.treatment-meta-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(11, 42, 74, .10);
}

.treatment-meta-copy {
  min-width: 0;
}

.treatment-meta-label {
  margin: 0;
  color: rgba(0, 73, 128, .58);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.treatment-meta-name {
  margin: .25rem 0 0;
  color: #004980;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
}

.treatment-meta-role {
  margin: .2rem 0 0;
  color: rgba(0, 73, 128, .66);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: .78rem;
  line-height: 1.35;
}

.treatment-meta-stats {
  display: grid;
  gap: .45rem;
  margin: 0;
  color: #004980;
  font-size: .78rem;
  line-height: 1.35;
}

.treatment-meta-stat dd {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
}

.treatment-meta-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: rgba(11, 42, 74, .25);
}

.treatment-summary-shell + div #cost-calculator {
  scroll-margin-top: 1.25rem;
}

.treatment-summary-shell {
  width: min(100% - 2rem, 1320px);
  margin: 1.35rem auto 0;
}

.treatment-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.treatment-facts-panel,
.treatment-estimate-card {
  background: #fff;
  border: 1px solid rgba(0, 73, 128, .08);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(11, 42, 74, .08);
}

.treatment-facts-panel {
  padding: 1.35rem 1.1rem;
}

.treatment-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem .75rem;
}

.treatment-fact {
  display: grid;
  min-height: 122px;
  place-items: center;
  gap: .42rem;
  text-align: center;
  color: #004980;
}

.treatment-fact-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  color: #19BA5D;
}

.treatment-fact-value {
  margin: 0;
  color: #004980;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.treatment-fact-label {
  margin: 0;
  color: rgba(31, 31, 31, .24);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.25;
}

.treatment-estimate-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.45rem 1.35rem;
  color: #004980;
}

.treatment-estimate-eyebrow {
  margin: 0 0 1.15rem;
  color: #19BA5D;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.treatment-estimate-list {
  display: grid;
  gap: .8rem;
  margin: 0;
}

.treatment-estimate-row {
  display: grid;
  grid-template-columns: minmax(110px, .82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.25;
}

.treatment-estimate-row dt {
  color: #004980;
  font-weight: 900;
}

.treatment-estimate-row dd {
  margin: 0;
  color: #004980;
  font-weight: 500;
  text-align: left;
}

.treatment-estimate-range {
  margin: 1.25rem auto 0;
  width: min(100%, 420px);
}

.treatment-estimate-range-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .7rem;
  color: #004980;
  font-size: 1rem;
  font-weight: 900;
}

.treatment-estimate-currencies {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
}

.treatment-estimate-currency {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 73, 128, .06);
  color: #004980;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

.treatment-estimate-currency.is-active {
  background: #19BA5D;
  color: #fff;
}

.treatment-estimate-currency:focus-visible {
  outline: 3px solid rgba(25, 186, 93, .26);
  outline-offset: 2px;
}

.treatment-estimate-range strong {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: .6rem;
  border-radius: 999px;
  background: #19BA5D;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.treatment-estimate-note {
  max-width: 440px;
  margin: 1.45rem auto 0;
  color: #19BA5D;
  font-size: .9rem;
  line-height: 1.18;
  text-align: center;
}

.treatment-estimate-cta {
  display: inline-flex;
  width: min(100%, 520px);
  align-items: center;
  justify-content: center;
  margin: .7rem auto 0;
  border-radius: 999px;
  background: #004980;
  padding: .78rem 1.35rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

@media (min-width: 768px) {
  .treatment-article-top {
    padding-top: 1.25rem;
  }

  .treatment-article-shell {
    width: min(100% - 4rem, 1320px);
  }

  .treatment-article-kicker {
    font-size: .82rem;
  }

  .treatment-article-cover {
    border-radius: 28px;
  }

  .treatment-article-cover img {
    height: clamp(320px, 32vw, 460px);
  }

  .treatment-meta-shell {
    width: min(100% - 3rem, 910px);
    margin-top: -3.6rem;
  }

  .treatment-meta-card {
    border-radius: 18px;
    padding: .9rem 1.15rem;
  }

  .treatment-meta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(155px, auto);
    gap: 1.35rem;
  }

  .treatment-meta-avatar {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .treatment-summary-shell {
    width: min(100% - 4rem, 1320px);
    margin-top: 2.6rem;
  }

  .treatment-summary-grid {
    grid-template-columns: minmax(0, .98fr) minmax(420px, 1fr);
    gap: 1.55rem;
  }

  .treatment-facts-panel,
  .treatment-estimate-card {
    border-radius: 22px;
  }

  .treatment-facts-panel {
    padding: 2.75rem 2.8rem;
  }

  .treatment-facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.55rem 2.2rem;
  }

  .treatment-fact {
    min-height: 154px;
  }

  .treatment-fact-icon {
    width: 80px;
    height: 80px;
  }

  .treatment-fact-value {
    font-size: 1.55rem;
  }

  .treatment-fact-label {
    font-size: 1rem;
  }

  .treatment-estimate-card {
    padding: 2.1rem 3rem;
  }

  .treatment-estimate-eyebrow {
    font-size: 1.65rem;
  }

  .treatment-estimate-row {
    font-size: 1.28rem;
  }

  .treatment-estimate-range-head {
    font-size: 1.25rem;
  }

  .treatment-estimate-range strong {
    min-height: 42px;
    font-size: 1.35rem;
  }

  .treatment-estimate-note {
    font-size: 1rem;
  }

  .treatment-estimate-cta {
    font-size: 1.25rem;
  }
}

.treatment-clinic-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.treatment-breadcrumb {
  width: 100%;
  overflow-x: auto;
}

.treatment-breadcrumb ol,
.treatment-breadcrumb li {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.treatment-breadcrumb ol {
  width: max-content;
  min-width: 100%;
  padding: .25rem 0;
}

.treatment-breadcrumb a,
.treatment-breadcrumb [aria-current="page"] {
  white-space: nowrap;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #fff;
  padding: .125rem .75rem;
  color: #004980;
  font-size: .75rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgb(15 23 42 / 8%);
}

.treatment-breadcrumb a:hover {
  box-shadow: 0 4px 10px rgb(0 73 128 / 14%);
}

.treatment-clinic-card {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  overflow: hidden;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 73 128 / 10%);
  transition: box-shadow 160ms ease;
}

.treatment-clinic-card:hover {
  box-shadow: 0 14px 28px rgb(0 73 128 / 16%);
}

.treatment-clinic-media {
  min-height: 7.5rem;
  background: #f4f8fb;
}

.treatment-clinic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-clinic-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem;
}

.treatment-clinic-heading,
.treatment-clinic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.treatment-clinic-heading h3 {
  color: #004980;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.treatment-clinic-rating,
.treatment-clinic-footer strong {
  flex: none;
  color: #19ba5d;
  font-size: .75rem;
  font-weight: 700;
}

.treatment-clinic-location {
  color: #66788a;
  font-size: .75rem;
}

.treatment-clinic-footer {
  margin-top: auto;
  color: #004980;
  font-size: .75rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .treatment-clinic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .treatment-clinic-card {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }
}
