/* /services/, the Treatments page (tools/services-page.mjs). The captured header, hero,
   "Schedule Your Consultation", newsletter and footer rows keep their Beaver Builder
   styling; this file styles only the sections the build adds. Type and palette are the
   site's own: DidotDisplay headings, FreightNeo Pro text, the pastels of the homepage
   cards (#FF82C8 #FF780A #FFFF6E #96F0FC #F2B4FF #B4FFA8), black square buttons as on
   /team/. The theme styles h2 to h4 with its own font, hence !important on headings. */

.dr-sv-sec { padding: 112px 0; color: #000; }
.dr-sv-sec + .dr-sv-sec { padding-top: 0; }
.dr-sv-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.dr-sv-sec *, .dr-sv-sec *::before, .dr-sv-sec *::after { box-sizing: border-box; }
.dr-sv-sec ul { list-style: none; margin: 0; padding: 0; }
.dr-sv-sec li { margin: 0; padding: 0; }
.dr-sv-sec a { color: #000; }
/* Links in running text and lists are underlined (WCAG 1.4.1: not by colour alone). The
   theme's own link rules outrank a plain declaration, hence !important. */
.dr-sv-sec :is(.dr-sv-az, .dr-sv-col, .dr-sv-cat__h, .dr-sv-more__link, .dr-sv-index__more, .dr-sv-doc__how, .dr-sv-rating, .dr-sv-faq__item p, .dr-sv-faq__more, .dr-sv-crumbs) a {
  text-decoration: underline !important; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dr-sv-sec a:focus-visible, .dr-sv-hero-call a:focus-visible, .dr-sv-call a:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.dr-sv-sec h2, .dr-sv-sec h3, .dr-sv-sec h4 { font-family: DidotDisplay, Georgia, serif !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; color: #000; }
.dr-sv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#concerns, #treatments, #procedures, #doctors, #patients, #questions, .dr-sv-cat { scroll-margin-top: 90px; }

.dr-sv-sec .dr-sv-kicker {
  font-family: "FreightNeo Pro", Verdana, Arial, sans-serif !important; font-size: 12px !important; line-height: 1.4 !important;
  letter-spacing: .22em !important; text-transform: uppercase !important; color: #595959 !important; margin: 0 0 16px !important;
}
.dr-sv-sec .dr-sv-h { font-size: clamp(36px, 3.6vw, 56px) !important; line-height: 1.05 !important; margin: 0 0 16px !important; }
.dr-sv-sub { margin: 0 0 56px; max-width: 60ch; font-size: 17px; line-height: 1.55; color: #333; }
.dr-sv-sub a { color: inherit !important; text-decoration: underline !important; text-underline-offset: 3px; } /* the /for-men/ link in the concerns intro */

/* The definitional sentence under the breadcrumb (the page's first words) */
.dr-sv-intro { margin: 0 0 72px; max-width: 46ch; font-family: DidotDisplay, Georgia, serif; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }
@media (max-width: 767px) { .dr-sv-intro { margin-bottom: 48px; } .dr-sv-hero-call { text-align: center; padding: 0 20px; } }

/* Breadcrumb, above the first section */
.dr-sv-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 40px; font-size: 14px; }
.dr-sv-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.dr-sv-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.dr-sv-crumbs [aria-current] { color: #595959; }

/* Hero: the phone line for Dr. Idriss under the Book button */
.dr-sv-hero-call { margin: 14px 0 0; font-size: 15px; line-height: 1.4; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.dr-sv-hero-call a { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap; }

/* 1. Concerns: ten tiles, five across, hairlines between */
.dr-sv-concern-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #000; }
.dr-sv-concern { padding: 26px 22px 30px; border-bottom: 1px solid #E6E6E6; }
.dr-sv-concern:not(:nth-child(5n)) { border-right: 1px solid #E6E6E6; }
.dr-sv-concern:nth-child(5n+1) { padding-left: 0; }
.dr-sv-concern::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: 18px; }
.dr-sv-accent--pink::before { background: #FF82C8; } .dr-sv-accent--orange::before { background: #FF780A; }
.dr-sv-accent--yellow::before { background: #FFFF6E; outline: 1px solid #E6E6A0; } .dr-sv-accent--blue::before { background: #96F0FC; }
.dr-sv-accent--lilac::before { background: #F2B4FF; } .dr-sv-accent--green::before { background: #B4FFA8; }
.dr-sv-sec .dr-sv-concern__name { font-size: 24px !important; line-height: 1.12 !important; margin: 0 0 16px !important; min-height: 54px; }
.dr-sv-concern__links { font-size: 15px; line-height: 1.4; }
.dr-sv-concern__links li { margin: 0 0 8px; }
.dr-sv-concern__links a { text-decoration: none; border-bottom: 1px solid #999; padding-bottom: 1px; }
.dr-sv-concern__links a:hover { border-color: #000; }

/* 2. Treatment cards by category */
.dr-sv-cat { margin: 56px 0 0; }
.dr-sv-treatments .dr-sv-sub { margin-bottom: 0; }
.dr-sv-cat__h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid #000; padding-bottom: 12px; margin-bottom: 28px; }
.dr-sv-sec .dr-sv-cat__h h3 { font-size: 32px !important; line-height: 1.1 !important; margin: 0 !important; }
.dr-sv-cat__h a { font-size: 15px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.dr-sv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.dr-sv-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.dr-sv-card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 18px; background: #F4F1EE;
  transition: opacity .3s; }
.dr-sv-card:hover .dr-sv-card__img { opacity: .88; }
.dr-sv-sec .dr-sv-card__name { font-size: 26px !important; line-height: 1.1 !important; margin: 0 0 6px !important; }
.dr-sv-card__name a { text-decoration: none; }
.dr-sv-card__name a::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.dr-sv-card__name a:focus-visible { outline: none; }
.dr-sv-card:focus-within { outline: 2px solid #000; outline-offset: 6px; }
.dr-sv-card__line { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: #333; }
.dr-sv-card__facts { margin: auto 0 0; padding-top: 10px; border-top: 1px solid #E6E6E6; font-size: 14px; line-height: 1.35; }
.dr-sv-card__facts > div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 3px 0; }
.dr-sv-card__facts dt { color: #595959; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; padding-top: 2px; }
.dr-sv-card__facts dd { margin: 0; }

/* the last card of a category: its treatments without a page yet, and the hub link */
.dr-sv-card--more { background: #F7F3EF; padding: 28px; justify-content: flex-end; }
.dr-sv-sec .dr-sv-card--more .dr-sv-kicker { margin-bottom: 10px !important; }
.dr-sv-more__names { margin: 0 0 18px; font-family: DidotDisplay, Georgia, serif; font-size: 22px; line-height: 1.3; }
.dr-sv-more__link { margin: 0; font-size: 15px; }
.dr-sv-more__link a { text-decoration: underline; text-underline-offset: 4px; }

/* 3. All treatments, A to Z + three category columns */
.dr-sv-index { background: #F7F3EF; padding-top: 104px !important; padding-bottom: 104px; }
.dr-sv-index + .dr-sv-sec { padding-top: 112px; }
.dr-sv-sec .dr-sv-index__sub { font-size: 26px !important; line-height: 1.1 !important; margin: 0 0 22px !important; padding-bottom: 12px; border-bottom: 1px solid #000; }
.dr-sv-az { columns: 4 200px; column-gap: 40px; margin: 0 0 64px; }
.dr-sv-az__group { break-inside: avoid; margin: 0 0 22px; }
.dr-sv-sec .dr-sv-az__letter { font-size: 22px !important; line-height: 1 !important; margin: 0 0 8px !important; }
.dr-sv-az li, .dr-sv-col li { font-size: 16px; line-height: 1.4; padding: 3px 0; color: #333; }
.dr-sv-az a, .dr-sv-col a { text-decoration: underline; text-underline-offset: 3px; color: #000; }
.dr-sv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.dr-sv-sec .dr-sv-col h4 { font-size: 22px !important; line-height: 1.15 !important; margin: 0 0 12px !important; }
.dr-sv-index__more { margin: 48px 0 0; font-size: 16px; }
.dr-sv-index__more a { text-decoration: underline; text-underline-offset: 4px; }

/* 4. Who treats you: Dr. Idriss first, then Dr. Fisher (as on /team/) */
.dr-sv-docs__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.dr-sv-docs__text { align-self: center; }
.dr-sv-docs__text { padding-right: 24px; }
.dr-sv-doc__photo { display: block; overflow: hidden; background: #F4F1EE; margin-bottom: 16px; }
.dr-sv-doc__photo img { display: block; width: 100%; height: auto; aspect-ratio: 15 / 16; object-fit: cover; }
.dr-sv-doc__eyebrow { min-height: 2.8em; margin: 0 0 8px; font-size: 11px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: #595959; }
.dr-sv-sec .dr-sv-doc__name { font-size: 28px !important; line-height: 1.1 !important; margin: 0 0 6px !important; }
.dr-sv-doc__name a { text-decoration: none; }
.dr-sv-doc__line { margin: 0 0 10px; font-family: DidotDisplay, Georgia, serif; font-size: 18px; line-height: 1.35; }
.dr-sv-doc__how { margin: 0; font-size: 15px; }
.dr-sv-doc__how a { text-decoration: underline; text-underline-offset: 4px; }
.dr-sv-docs__text p { font-size: 17px; line-height: 1.55; margin: 0 0 26px; }
.dr-sv-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.dr-sv-sec a.dr-sv-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  background: #000; color: #fff; border: 1px solid #000; text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .25s, color .25s;
}
.fl-builder-content .dr-sv-sec a.dr-sv-btn:hover, .dr-sv-sec a.dr-sv-btn:focus-visible { background: #fff; color: #000; }
.dr-sv-sec a.dr-sv-btn--line { background: #fff; color: #000; }
.fl-builder-content .dr-sv-sec a.dr-sv-btn--line:hover, .dr-sv-sec a.dr-sv-btn--line:focus-visible { background: #000; color: #fff; }

/* 5. Patient quote + rating */
.dr-sv-proof__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; }
.dr-sv-quote { margin: 0; }
.dr-sv-quote blockquote { margin: 0; padding: 0; border: 0; }
.dr-sv-quote blockquote p { margin: 0; font-family: DidotDisplay, Georgia, serif; font-size: 32px; line-height: 1.25; }
.dr-sv-quote figcaption { margin-top: 20px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.dr-sv-rating p { margin: 0 0 6px; font-size: 16px; }
.dr-sv-rating .dr-sv-rating__n { font-family: DidotDisplay, Georgia, serif; font-size: 72px; line-height: 1; margin-bottom: 10px; }
.dr-sv-rating a { text-decoration: underline; text-underline-offset: 4px; }

/* 6. Questions: native disclosure, no script */
.dr-sv-faq__list { margin-top: 32px; border-bottom: 1px solid #E6E6E6; }
.dr-sv-faq__item { border-top: 1px solid #E6E6E6; }
.dr-sv-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; }
.dr-sv-faq__item summary::-webkit-details-marker { display: none; }
.dr-sv-faq__item summary::after { content: "+"; font-size: 26px; line-height: 1; flex: none; }
.dr-sv-faq__item[open] summary::after { content: "\2212"; }
.dr-sv-faq__item summary:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.dr-sv-sec .dr-sv-faq__item h3 { font-size: 22px !important; line-height: 1.25 !important; margin: 0 !important; }
.dr-sv-faq__item p { margin: 0 0 22px; max-width: 70ch; font-size: 17px; line-height: 1.55; }
.dr-sv-faq__item p a { text-decoration: underline; text-underline-offset: 3px; }
.dr-sv-faq__more { margin: 28px 0 0; font-size: 16px; }
.dr-sv-faq__more a { text-decoration: underline; text-underline-offset: 4px; }
.dr-sv-review { margin: 40px 0 0; font-size: 14px; color: #555; text-align: center; text-wrap: balance; }
.dr-sv-review a { color: inherit; text-decoration: underline !important; text-underline-offset: 3px; } /* the WordPress theme forces a{text-decoration:none!important} */

/* Closing row: the Call action under the Book button */
.dr-sv-call { text-align: center; margin: 18px 0 0; }
.dr-sv-call a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1024px) {
  .dr-sv-concern-grid { grid-template-columns: repeat(3, 1fr); }
  .dr-sv-concern, .dr-sv-concern:nth-child(5n+1) { padding: 22px 16px 24px; border-right: 1px solid #E6E6E6; }
  .dr-sv-concern:nth-child(3n) { border-right: 0; }
  .dr-sv-concern:nth-child(3n+1) { padding-left: 0; }
  .dr-sv-cards { grid-template-columns: repeat(3, 1fr); }
  .dr-sv-docs__grid { grid-template-columns: 1fr 1fr; }
  .dr-sv-docs__text { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 767px) {
  .dr-sv-sec { padding: 72px 0; }
  .dr-sv-wrap { padding: 0 20px; }
  .dr-sv-sub { margin-bottom: 36px; }
  .dr-sv-concern-grid { grid-template-columns: 1fr 1fr; }
  .dr-sv-concern, .dr-sv-concern:nth-child(5n+1), .dr-sv-concern:nth-child(3n+1) { padding: 20px 14px 22px 14px; border-right: 0; }
  .dr-sv-concern:nth-child(odd) { padding-left: 0; border-right: 1px solid #E6E6E6; }
  .dr-sv-sec .dr-sv-concern__name { font-size: 20px !important; min-height: 0; }
  .dr-sv-cards { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .dr-sv-sec .dr-sv-card__name { font-size: 21px !important; overflow-wrap: anywhere; }
  .dr-sv-card__facts { display: none; }
  .dr-sv-card--more { padding: 18px; justify-content: flex-start; }
  .dr-sv-more__names { font-size: 18px; }
  .dr-sv-cat__h { flex-wrap: wrap; }
  .dr-sv-sec .dr-sv-cat__h h3 { font-size: 26px !important; }
  .dr-sv-index { padding-top: 72px !important; padding-bottom: 72px; }
  .dr-sv-index + .dr-sv-sec { padding-top: 72px; }
  .dr-sv-az { columns: 2; column-gap: 20px; }
  .dr-sv-cols { grid-template-columns: 1fr; gap: 28px; }
  .dr-sv-docs__grid { gap: 28px 16px; }
  .dr-sv-sec .dr-sv-doc__name { font-size: 21px !important; }
  .dr-sv-doc__eyebrow { min-height: 0; font-size: 10px; letter-spacing: .12em; }
  .dr-sv-doc__line { font-size: 16px; }
  .dr-sv-ctas .dr-sv-btn { flex: 1 1 100%; }
  .dr-sv-proof__grid { grid-template-columns: 1fr; gap: 40px; }
  .dr-sv-quote blockquote p { font-size: 24px; }
  .dr-sv-rating .dr-sv-rating__n { font-size: 56px; }
  .dr-sv-sec .dr-sv-faq__item h3 { font-size: 19px !important; }
}
@media (prefers-reduced-motion: reduce) { .dr-sv-card__img { transition: none; } }
