.cost-article {
  color: #17273a;
  font-family: var(--text);
}

.cost-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dbe6dc;
  border-radius: 24px;
  background: #f2f6f1;
}

.cost-hero-copy {
  align-self: center;
  padding: clamp(24px, 4.4vw, 64px);
}

.cost-hero h1 {
  margin: 0 0 20px;
  font: 700 clamp(40px, 5vw, 76px)/1.04 GranovText, var(--text);
  letter-spacing: -.045em;
}

.cost-hero h1 span {
  color: #225d4c;
}

.cost-hero figure {
  position: relative;
  margin: 0;
  min-height: 330px;
  background: #f3ebdb;
}

.cost-hero figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cost-hero figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 4px 9px;
  border-radius: 6px;
  background: #fffdf6;
  color: #394944;
  font-size: 12px;
}

.cost-price {
  display: grid;
  gap: 3px;
  margin-top: 23px;
}

.cost-price strong {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: #225d4c;
}

.cost-price-note {
  margin: 12px 0 0;
  color: #425767;
  font-size: 14px;
}

.cost-layout {
  display: grid;
  grid-template-columns: minmax(175px, 230px) minmax(0, 790px);
  justify-content: center;
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(30px, 5vw, 72px);
}

.cost-toc {
  padding: 20px;
  border: 1px solid #dbe6dc;
  border-radius: 16px;
  background: #f2f6f1;
}

.cost-toc p {
  margin: 0 0 10px;
  font-weight: 700;
}

.cost-toc ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cost-article a:not(.button),
.cost-service-notes a:not(.button),
.granov-doctor-byline a {
  color: #225d4c;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.cost-copy {
  font-size: 17px;
  line-height: 1.62;
}

.cost-copy > section + section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #dbe6dc;
}

.cost-copy h2 {
  margin: 0 0 12px;
  font: 700 clamp(25px, 3vw, 38px)/1.13 GranovText, var(--text);
  letter-spacing: -.025em;
  scroll-margin-top: 110px;
}

.cost-copy p {
  margin: 0 0 12px;
}

.cost-copy section > :last-child {
  margin-bottom: 0;
}

.cost-techniques {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.cost-techniques div {
  padding: 14px 18px;
  border: 1px solid #dbe6dc;
  border-radius: 12px;
  background: #f2f6f1;
}

.cost-techniques dt {
  font-weight: 700;
}

.cost-techniques dd {
  margin: 4px 0 0;
}

.cost-figure {
  margin: 20px 0;
}

.cost-figure img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 16px;
}

.cost-figure figcaption {
  margin-top: 6px;
  color: #425767;
  font-size: 13px;
}

.cost-estimate ol,
.cost-service-notes ul {
  padding-inline-start: 1.4em;
}

.cost-estimate li + li,
.cost-service-notes li + li {
  margin-top: .5em;
}

.granov-doctor-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0;
  padding: 16px 20px;
  border: 1px solid #dbe6dc;
  border-radius: 16px;
  background: #f2f6f1;
  color: #17273a;
}

.granov-doctor-byline img {
  display: block;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
}

.granov-doctor-byline p {
  margin: 0;
  font-size: 14px;
}

.granov-doctor-byline a {
  font-size: 17px;
  font-weight: 700;
}

.cost-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.cost-service-notes {
  max-width: 760px;
  margin: 20px 0;
}

@media (max-width: 740px) {
  .cost-hero,
  .cost-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cost-hero figure {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .cost-hero figure img {
    object-fit: contain;
  }

  .cost-layout {
    gap: 28px;
  }

  .cost-toc ul {
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  }
}

@media (max-width: 400px) {
  .granov-doctor-byline {
    padding: 12px;
    gap: 10px;
  }

  .granov-doctor-byline img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }
}
