/* Responsive refinements for the shared hair-guide service blocks. */
.sv-hair-page .sv-hair-hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  order: 5;
}
.sv-hair-page .sv-hair-google-source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  min-height: 52px;
  border: 1px solid #d8cdd1;
  border-radius: 6px;
  background: #fff;
  color: #51464b;
  font:
    400 14px/1.25 Outfit,
    sans-serif;
  text-decoration: none;
}
.sv-hair-page .sv-hair-google-source img {
  width: 26px;
  height: 26px;
  margin: 0;
}
.sv-hair-page .sv-hair-hero-actions .bt-book-button {
  min-height: 52px;
}
.sv-hair-page .sv-hair-google-source:focus-visible {
  outline: 2px solid #943246;
  outline-offset: 3px;
}
.sv-hair-page .sv-hair-summary {
  padding: 24px;
  border: 1px solid #e4dadd;
  border-radius: 10px;
  background: #f8f6f7;
  margin-bottom: 36px;
}
.sv-hair-page .sv-hair-summary > h2 {
  background: none;
  padding: 0;
  margin-bottom: 12px;
  font-size: 22px;
}
.sv-hair-page .sv-hair-summary-list {
  margin: 0;
  padding-left: 20px;
}
.sv-hair-page .sv-hair-summary-list li {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.65;
}
.sv-hair-page .sv-hair-doctors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sv-hair-page .sv-hair-doctors .sv-specialist {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
}
.sv-hair-page .sv-hair-doctors .sv-specialist h3 {
  font-size: 20px;
}
.sv-hair-page .sv-hair-doctors .sv-specialist p {
  font-size: 15px;
  margin-bottom: 10px;
}
.sv-hair-page .sv-specialist-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}
.sv-hair-page .sv-choice-copy > span:last-child {
  margin-top: auto;
  color: #943246;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}
.sv-hair-page .sv-hair-guides {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sv-hair-related {
  padding: 48px 0;
  background: #fff;
  scroll-margin-top: 110px;
}
.sv-hair-related .bd-prose {
  max-width: none;
}
.sv-hair-page .sv-choice-image .sv-hair-gfc-photo {
  object-position: center 35%;
}
.sv-hair-related h2 {
  font:
    500 28px/1.35 Outfit,
    sans-serif;
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e4dadd;
}
.sv-hair-related .sv-choice-image {
  aspect-ratio: 16 / 9;
}
.sv-hair-related .sv-choice-copy p {
  margin-bottom: 0;
}
.sv-hair-review {
  padding-block: 32px;
}
.sv-hair-review .medical-review-card {
  padding: 24px !important;
}
.sv-hair-review .medical-review-card > .row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: start !important;
  gap: 24px;
  margin: 0;
}
.sv-hair-review .medical-review-card > .row > div {
  width: auto;
  padding: 0;
  margin: 0;
}
.sv-hair-review .medical-review-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px !important;
}
@media (max-width: 700px) {
  .sv-hair-page .sv-table-scroll {
    overflow: visible;
  }
  .sv-hair-page .sv-table-scroll table,
  .sv-hair-page .sv-table-scroll tbody,
  .sv-hair-page .sv-table-scroll caption {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .sv-hair-page .sv-table-scroll thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .sv-hair-page .sv-table-scroll tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #e4dadd;
  }
  .sv-hair-page .sv-table-scroll th,
  .sv-hair-page .sv-table-scroll td {
    display: block;
    width: auto;
    padding: 8px 0;
    border: 0;
    text-align: left;
    overflow-wrap: anywhere;
  }
  .sv-hair-page .sv-table-scroll th[scope="row"] {
    padding-top: 0;
    font-size: 17px;
    color: #943246;
  }
  .sv-hair-page .sv-table-scroll td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 14px;
    color: #332c30;
  }
  /* Keep the treatment comparison side by side on narrow screens. */
  .sv-hair-page #hair-comparison .sv-table-scroll table {
    border: 1px solid #e4dadd;
    border-radius: 8px;
    overflow: hidden;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll caption {
    padding: 14px 12px;
    color: #332c30;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    text-align: start;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll thead {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    border: 0;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll thead th:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .sv-hair-page #hair-comparison .sv-table-scroll thead th:not(:first-child) {
    padding: 12px;
    background: #943246;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll th[scope="row"] {
    grid-column: 1 / -1;
    padding: 9px 12px;
    border-block: 1px solid #e4dadd;
    background: #f8f3f5;
    color: #51464b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll td {
    min-width: 0;
    padding: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: normal;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll td:last-child {
    border-inline-start: 1px solid #e4dadd;
  }
  .sv-hair-page #hair-comparison .sv-table-scroll thead th:last-child {
    border-inline-start: 1px solid rgb(255 255 255 / 25%);
  }
  .sv-hair-page #hair-comparison .sv-table-scroll td::before {
    content: none;
  }
  .sv-hair-page.bd-blog-sample .bd-hero-tools {
    margin-bottom: 16px;
    padding-block: 0;
  }
  .sv-hair-page.bd-blog-sample .bd-hero-copy > .article-reviewer {
    order: 3;
  }
  .sv-hair-page .sv-hair-hero-actions {
    order: 4;
    margin-top: 4px;
    gap: 10px;
  }
  .sv-hair-page .sv-hair-hero-actions .bt-book-button {
    justify-content: center;
    width: 100%;
  }
  .sv-hair-page .sv-hair-google-source {
    margin-inline: auto;
  }
  .sv-hair-page.bd-blog-sample .bd-hero-grid > .bd-photo {
    order: 5;
    margin: 0;
    height: 210px;
  }
  .sv-hair-page .bd-photo img {
    height: 210px;
    min-height: 0;
    object-position: center 40%;
  }
  .sv-hair-page .bd-article-summary {
    font-size: 16px;
    line-height: 1.65;
  }
  .sv-hair-page .sv-hair-summary {
    padding: 18px;
    margin-bottom: 28px;
  }
  .sv-hair-page #hair-treatment-options .sv-choice-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    grid-auto-rows: auto;
  }
  .sv-hair-page #hair-treatment-options .sv-choice-image {
    aspect-ratio: auto;
    height: 160px;
  }
  .sv-hair-page #hair-treatment-options .sv-choice p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .sv-hair-page .sv-clinic-list {
    gap: 10px;
  }
  .sv-hair-page .sv-clinic {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
  }
  .sv-hair-page .sv-clinic img {
    width: 72px;
    height: 68px;
    aspect-ratio: auto;
  }
  .sv-hair-page .sv-clinic-name {
    padding: 10px 14px;
    font-size: 16px;
  }
  .sv-hair-page .sv-hair-guides,
  .sv-hair-page .sv-hair-doctors {
    grid-template-columns: 1fr;
  }
  .sv-hair-related {
    padding-block: 28px;
  }
  .sv-hair-related .sv-hair-guides {
    gap: 12px;
  }
  .sv-hair-related .sv-related-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .sv-hair-related .sv-choice-image {
    aspect-ratio: auto;
    height: 100%;
  }
  .sv-hair-related .sv-choice-image img {
    min-height: 116px;
  }
  .sv-hair-related .sv-choice-copy h3 {
    font-size: 17px;
    text-wrap: auto;
  }
  .sv-hair-related .sv-choice-copy p {
    font-size: 14px;
    line-height: 1.5;
  }
  .sv-hair-page .sv-hair-doctors .sv-specialist {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .sv-hair-page .sv-hair-doctors .sv-specialist-photo {
    width: 64px;
  }
  .sv-hair-page .sv-hair-doctors .sv-specialist h3 {
    font-size: 18px;
  }
  .sv-hair-page .bd-faq-answer {
    padding-block: 24px;
  }
  .sv-hair-page .bd-faq-answer p {
    font-size: 16px;
    line-height: 1.65;
  }
  .sv-hair-review .medical-review-card {
    padding: 18px !important;
  }
  .sv-hair-review .medical-review-card > .row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 14px;
  }
  .sv-hair-review .medical-review-card > .row > div:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
  }
  .sv-hair-review .medical-review-card > .row > div:last-child {
    display: contents;
  }
  .sv-hair-review .medical-review-card p,
  .sv-hair-review .medical-review-card h2 {
    grid-column: 2;
  }
  .sv-hair-review .medical-review-card h2 {
    font-size: 22px;
  }
  .sv-hair-review .medical-review-card p.mb-4,
  .sv-hair-review .medical-review-card .btn {
    grid-column: 1 / -1;
  }
  .sv-hair-review .medical-review-card p.mb-4 {
    margin-top: 8px;
  }
  .sv-hair-review .medical-review-card .btn {
    justify-self: start;
  }
}
