/* ==========================================================================
   Dr. Rebecca Sullivan — site stylesheet
   1. Tokens   2. Base   3. Layout   4. Utilities   5. Buttons
   6. Header   7. Footer   8. Components   9. Elementor bridge  10. A11y
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --brand:      #2F4B40;
  --brand-deep: #1C2F28;
  --brand-soft: #6E8B7E;
  --brand-tint: #E7EDE9;
  --cream:      #F6F2EA;
  --paper:      #FFFFFF;
  --ink:        #16191B;
  --muted:      #5A6260;
  --line:       #E3DDD2;
  --accent:     #A8804B;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);

  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(22, 25, 27, .04), 0 8px 24px -16px rgba(22, 25, 27, .18);
  --shadow-md: 0 2px 4px rgba(22, 25, 27, .05), 0 18px 40px -24px rgba(22, 25, 27, .22);

  --header-h: 84px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* 2. Base ----------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }               /* clip, not hidden: keeps position:sticky working */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}
img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .drs-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 .5em;
}
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
p { text-wrap: pretty; }

/* Scroll-margin so in-page anchors clear the sticky header. */
:target { scroll-margin-top: calc(var(--header-h) + 24px); }

/* 3. Layout --------------------------------------------------------------- */
.drs-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}
.drs-narrow { max-width: var(--maxw-narrow); margin-inline: auto; }
.site-main { display: block; }

/* Non-Elementor page content stays readable instead of running edge to edge. */
.drs-entry > :not([class*="elementor"]) {
  max-width: var(--maxw-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* 4. Utilities ------------------------------------------------------------ */
.drs-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  line-height: 1.4;
}
.drs-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: .85;
}
.drs-eyebrow--center { justify-content: center; }

.drs-lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}
.drs-lead--center { margin-inline: auto; }

.drs-rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Placeholders: unmistakable in the admin and on the page, never mistaken for copy. */
.drs-placeholder {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .82em;
  letter-spacing: .01em;
  color: #8A6D3B;
  background: rgba(168, 128, 75, .10);
  border: 1px dashed rgba(168, 128, 75, .45);
  border-radius: 3px;
  padding: .1em .45em;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.drs-footer .drs-placeholder,
.drs-topbar .drs-placeholder {
  color: #E4CFA8;
  background: rgba(228, 207, 168, .10);
  border-color: rgba(228, 207, 168, .35);
}

/* 5. Buttons -------------------------------------------------------------- */
.wp-block-button__link,
.drs-btn > .wp-block-button__link {
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  padding: 1.05rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  display: inline-block;
  min-height: 48px;               /* comfortable touch target */
  box-sizing: border-box;
}
.drs-btn--primary > .wp-block-button__link {
  background: var(--brand);
  color: var(--paper);
  border: 1px solid var(--brand);
}
.drs-btn--primary > .wp-block-button__link:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--paper); }

.drs-btn--ghost > .wp-block-button__link {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}
.drs-btn--ghost > .wp-block-button__link:hover { background: var(--brand-tint); border-color: var(--brand-soft); color: var(--brand-deep); }

.drs-btn--light > .wp-block-button__link {
  background: var(--cream);
  color: var(--brand-deep);
  border: 1px solid var(--cream);
}
.drs-btn--light > .wp-block-button__link:hover { background: var(--paper); border-color: var(--paper); color: var(--brand-deep); }

/* 6. Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

/* Utility bar — verified address left, contact right. */
.drs-topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .82);
  font-size: .8125rem;
  line-height: 1.5;
  overflow: hidden;
  max-height: 52px;
  transition: max-height .35s var(--ease), opacity .25s var(--ease);
}
.drs-topbar__inner { display: flex; gap: 1rem 2rem; padding-block: .7rem; }
.drs-topbar__item { margin: 0; letter-spacing: .01em; }
.drs-topbar a { color: rgba(255, 255, 255, .82); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), color .2s var(--ease); }
.drs-topbar a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }

.site-header.is-scrolled .drs-topbar { max-height: 0; opacity: 0; }

/* Main bar */
.drs-header__inner {
  display: flex;
  gap: 2rem;
  padding-block: 1.35rem;
  transition: padding .3s var(--ease);
  min-height: 0;
}
.site-header.is-scrolled .drs-header__inner { padding-block: .85rem; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 28px -22px rgba(22, 25, 27, .35); }

.drs-brand { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.drs-brand__name a,
.drs-brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
}
.drs-brand__name a:hover { color: var(--brand); text-decoration: none; }
.drs-brand__sub {
  margin: 0;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-soft);
  line-height: 1.4;
}

.drs-header__nav { display: flex; align-items: center; gap: 2rem; }

/* Desktop navigation */
.drs-nav .wp-block-navigation__container { gap: 2rem; }
.drs-nav .wp-block-navigation-item__content {
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: .35rem;
  position: relative;
  letter-spacing: .005em;
}
.drs-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.drs-nav .wp-block-navigation-item__content:hover::after,
.drs-nav .current-menu-item .wp-block-navigation-item__content::after { transform: scaleX(1); }
.drs-nav .current-menu-item .wp-block-navigation-item__content { color: var(--brand); }

.drs-header__cta .wp-block-button__link { padding: .85rem 1.6rem; font-size: .875rem; }

/* Mobile overlay — core's breakpoint is 600px; the nav plus CTA needs more room. */
@media (max-width: 1023px) {
  .drs-topbar { display: none; }
  .drs-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .drs-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .drs-nav .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; }
  .drs-header__nav { gap: .75rem; }
  .drs-header__cta .wp-block-button__link { padding: .75rem 1.15rem; font-size: .8125rem; }
}
@media (max-width: 560px) {
  .drs-header__cta { display: none; }          /* replaced by the sticky action bar */
}

.wp-block-navigation__responsive-container-open {
  color: var(--ink);
  padding: .5rem;
  border-radius: var(--radius);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.wp-block-navigation__responsive-container-open:hover { background: var(--brand-tint); }

.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--paper);
  padding: clamp(1.5rem, 5vw, 3rem);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 3rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -.01em;
  padding: 1.05rem 0;
  width: 100%;
  display: block;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
.wp-block-navigation__responsive-close { min-width: 44px; min-height: 44px; color: var(--ink); }

/* Mobile sticky action bar — verified destinations only. */
.drs-actionbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
  box-shadow: 0 -8px 24px -20px rgba(22, 25, 27, .5);
}
.drs-actionbar a {
  flex: 1;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.drs-actionbar__primary { background: var(--brand); color: var(--paper); }
.drs-actionbar__secondary { background: transparent; color: var(--brand); border: 1px solid var(--line); }
@media (max-width: 560px) {
  .drs-actionbar { display: flex; }
  body { padding-bottom: 76px; }
}

/* 7. Footer --------------------------------------------------------------- */
.drs-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .74); }
.drs-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6rem);
}
.drs-footer__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 .5rem;
  line-height: 1.2;
}
.drs-footer__tagline { font-size: .9375rem; line-height: 1.7; margin: 0 0 1.75rem; max-width: 30ch; color: rgba(255, 255, 255, .68); }
.drs-footer__title {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 1rem;
  line-height: 1.4;
}
.drs-footer__title--spaced { margin-top: 2rem; }
.drs-footer__text { font-size: .9375rem; line-height: 1.75; margin: 0 0 .5rem; }
.drs-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s var(--ease); }
.drs-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.drs-footer__nav .wp-block-navigation-item__content { font-size: .9375rem; }

.drs-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.drs-footer__bottom-inner { display: flex; gap: .75rem 2rem; padding-block: 1.5rem; }
.drs-footer__legal { font-size: .8125rem; margin: 0; color: rgba(255, 255, 255, .55); }
.drs-footer__disclaimer {
  font-size: .75rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .42);
  margin: 0;
  padding-bottom: 2.5rem;
  max-width: 90ch;
}

@media (max-width: 900px) {
  .drs-footer__grid { grid-template-columns: 1fr 1fr; }
  .drs-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .drs-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .drs-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .drs-footer { padding-bottom: 76px; }        /* clears the sticky action bar */
}

/* 8. Components ----------------------------------------------------------- */

/* Image frames — consistent ratios, no squashing. */
.drs-figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-tint); }
.drs-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drs-figure--portrait { aspect-ratio: 3 / 4; }
.drs-figure--card { aspect-ratio: 4 / 3; }
.drs-figure--wide { aspect-ratio: 16 / 9; }

/* Portrait placeholder — reads as a deliberate frame, never as a broken image. */
.drs-portrait-ph {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(110, 139, 126, .16), rgba(110, 139, 126, .04) 55%),
    var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}
.drs-portrait-ph__mono {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  line-height: 1;
  color: var(--brand-soft);
  letter-spacing: .02em;
}
.drs-portrait-ph__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .75rem;
  letter-spacing: .08em;
  color: #8A6D3B;
  background: rgba(168, 128, 75, .10);
  border: 1px dashed rgba(168, 128, 75, .45);
  border-radius: 3px;
  padding: .35rem .7rem;
}

/* Value / "why choose" item */
.drs-value { display: flex; flex-direction: column; gap: .85rem; }
.drs-value__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
}
.drs-value__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.drs-value__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; margin: 0; line-height: 1.25; letter-spacing: -.01em; }
.drs-value__text { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin: 0; }

/* Service card */
.drs-service {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  text-decoration: none;
  color: inherit;
}
a.drs-service:hover { border-color: var(--brand-soft); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.drs-service__media { aspect-ratio: 4 / 3; background: var(--brand-tint); position: relative; overflow: hidden; }
.drs-service__media img { width: 100%; height: 100%; object-fit: cover; }
.drs-service__body { padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.drs-service__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; margin: 0; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.drs-service__text { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin: 0; flex: 1; }
.drs-service__more { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-top: .5rem; }
.drs-service__more::after { content: " →"; }

/* Testimonial — structure only; no review is published until real ones exist. */
.drs-quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.drs-quote__stars { display: flex; gap: .2rem; color: var(--accent); }
.drs-quote__stars svg { width: 15px; height: 15px; fill: currentColor; }
.drs-quote__text { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--ink); margin: 0; letter-spacing: -.005em; }
.drs-quote__author { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* Empty-state notice for sections that are built but have no verified content yet. */
.drs-empty {
  border: 1px dashed rgba(168, 128, 75, .5);
  background: rgba(168, 128, 75, .05);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  color: #8A6D3B;
}
.drs-empty p { margin: 0; font-size: .9375rem; line-height: 1.7; }
.drs-empty strong { font-weight: 600; }

/* Definition rows — hours, credentials */
.drs-rows { display: flex; flex-direction: column; gap: 0; margin: 0; }
.drs-rows__item { display: flex; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.drs-rows__item:last-child { border-bottom: 0; }
.drs-rows__key { color: var(--ink); font-weight: 500; }
.drs-rows__val { color: var(--muted); text-align: right; }

/* FAQ — native disclosure, no JS, keyboard accessible. */
.drs-faq { border-top: 1px solid var(--line); }
.drs-faq details { border-bottom: 1px solid var(--line); }
.drs-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.4rem 2.5rem 1.4rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.drs-faq summary::-webkit-details-marker { display: none; }
.drs-faq summary::after {
  content: "";
  position: absolute; right: .35rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--brand-soft);
  border-bottom: 1.5px solid var(--brand-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.drs-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.drs-faq__answer { padding: 0 2.5rem 1.5rem 0; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.75; }

/* Map */
.drs-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--brand-tint); }
.drs-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) { .drs-map { aspect-ratio: 4 / 3; } }

/* Contact form (WordPress-native handler, no plugin) */
.drs-form { display: grid; gap: 1.15rem; }
.drs-form__row { display: grid; gap: 1.15rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .drs-form__row { grid-template-columns: 1fr; } }
.drs-field { display: flex; flex-direction: column; gap: .45rem; }
.drs-field label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.drs-field input, .drs-field textarea, .drs-field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.drs-field textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.drs-field input:focus, .drs-field textarea:focus, .drs-field select:focus {
  outline: none;
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(110, 139, 126, .18);
}
.drs-form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.drs-form__consent input { width: 18px; height: 18px; min-height: 0; margin-top: .2rem; flex: none; accent-color: var(--brand); }
.drs-form__note {
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--muted);
  background: var(--cream);
  border-left: 2px solid var(--brand-soft);
  padding: .9rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}
.drs-form button[type="submit"] {
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  background: var(--brand);
  color: var(--paper);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.05rem 2rem;
  min-height: 48px;
  cursor: pointer;
  justify-self: start;
  transition: background-color .25s var(--ease);
}
.drs-form button[type="submit"]:hover { background: var(--brand-deep); }
.drs-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.drs-notice { padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .9375rem; line-height: 1.6; margin-bottom: 1.5rem; }
.drs-notice--ok { background: var(--brand-tint); color: var(--brand-deep); border: 1px solid var(--brand-soft); }
.drs-notice--err { background: #FBEEEE; color: #8A2E2E; border: 1px solid #E0B4B4; }

/* 9. Elementor bridge ----------------------------------------------------- */
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; }
.elementor-widget-text-editor, .elementor-widget-text-editor p { font-family: var(--font-body); }
.elementor-widget-button .elementor-button {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.elementor-widget-icon-box .elementor-icon-box-title { font-family: var(--font-display); font-weight: 500; }
.elementor a { text-decoration: none; }
.elementor-section, .e-con, .elementor-widget-wrap { min-width: 0; }
/* Elementor pages own their full width; the theme must not re-constrain them. */
.drs-entry > .elementor { max-width: none; padding-inline: 0; }

/* 10. Accessibility & motion ---------------------------------------------- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 999;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 11. Page components (used inside Elementor) ----------------------------- */

/* Link-styled CTAs — used inside HTML widgets so a row of actions stays one unit. */
.drs-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.drs-hero__actions--center { justify-content: center; }
.drs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  padding: 1.05rem 2rem;
  min-height: 52px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.drs-cta--primary { background: var(--brand); color: var(--paper); border-color: var(--brand); }
.drs-cta--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--paper); }
.drs-cta--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.drs-cta--ghost:hover { background: var(--brand-tint); border-color: var(--brand-soft); color: var(--brand-deep); }
.drs-cta--light { background: var(--paper); color: var(--brand-deep); border-color: var(--paper); }
.drs-cta--light:hover { background: var(--cream); border-color: var(--cream); color: var(--brand-deep); }
.drs-cta--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.drs-cta--outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: #fff; }
@media (max-width: 480px) { .drs-cta { width: 100%; } }

/* Hero */
.drs-hero .elementor-heading-title { letter-spacing: -.025em; }
.drs-hero__lead { margin-top: .5rem; }

/* Image placeholder blocks — deliberate frames, never broken images. */
.drs-media-ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(110,139,126,.16), rgba(110,139,126,.04) 55%), var(--cream);
  border: 1px solid var(--line);
}
.drs-media-ph__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .75rem; letter-spacing: .08em; color: #8A6D3B;
  background: rgba(168,128,75,.10); border: 1px dashed rgba(168,128,75,.45);
  border-radius: 3px; padding: .35rem .7rem; text-align: center;
}

/* Final CTA band */
.drs-finalcta { text-align: center; max-width: 760px; margin-inline: auto; }
.drs-finalcta__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em;
  color: #fff; margin: 0 0 1rem; text-wrap: balance;
}
.drs-finalcta__text { color: rgba(255,255,255,.78); font-size: 1.0625rem; line-height: 1.7; margin: 0 auto; max-width: 52ch; }
.drs-finalcta__meta { margin-top: 2rem; font-size: .875rem; color: rgba(255,255,255,.6); }
.drs-finalcta__meta .drs-placeholder { color: #E4CFA8; background: rgba(228,207,168,.10); border-color: rgba(228,207,168,.35); }

/* Dark sections: force readable text over the brand background. */
.drs-dark, .drs-dark p, .drs-dark li { color: rgba(255,255,255,.78); }
.drs-dark h1, .drs-dark h2, .drs-dark h3, .drs-dark .elementor-heading-title { color: #fff; }

/* Page hero on inner pages */
.drs-pagehero .elementor-heading-title { margin-bottom: .35rem; }
.drs-pagehero .drs-lead { margin-top: .75rem; }

/* Long-form prose */
.drs-prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 2.5rem 0 .75rem; }
.drs-prose h2:first-child { margin-top: 0; }
.drs-prose h3 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.drs-prose p { margin: 0 0 1.15rem; color: var(--muted); }
.drs-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Elementor container guards: never let a column force a horizontal scrollbar. */
.elementor-element > .e-con-inner, .e-con > .e-con-inner { min-width: 0; }
.e-con, .e-child { min-width: 0; }

/* Guard: if a cached page still carries the parent theme's AOS class, keep it visible. */
.hostinger-elementor-aos { opacity: 1; }

/* ==========================================================================
   12. Specificity corrections
   Elementor's kit prints `.elementor-kit-7 a{color:#2F4B40}` on the body, which
   outranks a single-class rule. Any CTA that is an <a> therefore needs an
   element+two-class selector to keep its own colour — without it the label is
   painted brand-on-brand and disappears.
   ========================================================================== */
a.drs-cta.drs-cta--primary { color: var(--paper); }
a.drs-cta.drs-cta--primary:hover { color: var(--paper); }
a.drs-cta.drs-cta--ghost { color: var(--brand); }
a.drs-cta.drs-cta--ghost:hover { color: var(--brand-deep); }
a.drs-cta.drs-cta--light { color: var(--brand-deep); }
a.drs-cta.drs-cta--light:hover { color: var(--brand-deep); }
a.drs-cta.drs-cta--outline-light { color: #fff; }
a.drs-cta.drs-cta--outline-light:hover { color: #fff; }
.drs-service__more, a.drs-service .drs-service__more { color: var(--brand); }

/* Same reason: global styles reach h2 at equal specificity, so scope the dark
   band's heading one level deeper. */
.drs-finalcta .drs-finalcta__title { color: #fff; font-family: var(--font-display); }
.drs-dark .drs-finalcta__text { color: rgba(255, 255, 255, .78); }
.drs-footer .drs-footer__name,
.drs-footer .drs-footer__title { color: inherit; }
.drs-footer .drs-footer__name { color: #fff; }

/* Grids: align to the top so uneven titles do not float their body copy. */
.drs-grid { align-items: start; }

/* Hero: cap the portrait so the text column is not centred against a very tall
   box, which left a large gap above the eyebrow. */
.drs-hero .drs-portrait-ph { aspect-ratio: 4 / 5; max-height: 620px; margin-inline: auto; width: 100%; }
.drs-hero .elementor-heading-title { font-size: clamp(2.75rem, 2rem + 2.4vw, 4rem); }

/* Service card media placeholder label */
.drs-service__media { display: flex; align-items: center; justify-content: center; }
.drs-service__media::after {
  content: "[SERVICE PHOTO]";
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .7rem; letter-spacing: .06em; color: #8A6D3B;
  background: rgba(168, 128, 75, .10); border: 1px dashed rgba(168, 128, 75, .40);
  border-radius: 3px; padding: .3rem .6rem;
}
.drs-service__media:has(img)::after { content: none; }

/* ==========================================================================
   13. Accessibility corrections (measured, not guessed)
   --brand-soft (#6E8B7E) scores 3.71:1 on white — fine for icons and rules,
   below AA for the small text that was using it. --brand-ink is the text-safe
   sage: 5.21:1 on white, 4.67:1 on the cream sections.
   ========================================================================== */
:root { --brand-ink: #567363; }

.drs-eyebrow, .drs-brand__sub { color: var(--brand-ink); }
.drs-value__icon { color: var(--brand); }          /* icons keep the lighter sage border */

/* Placeholders: never smaller than 11.5px, and dark enough on their own tint. */
.drs-placeholder { font-size: max(11.5px, .82em); color: #7A5E30; }
.drs-footer .drs-placeholder,
.drs-topbar .drs-placeholder,
.drs-finalcta__meta .drs-placeholder { color: #E8D3AC; }

/* The kit's `.elementor-kit-N a` rule ties with a one-class selector and wins on
   source order, so the dark-background links need an element+two-class match. */
.drs-topbar .drs-topbar__inner a,
.drs-topbar p a { color: rgba(255, 255, 255, .85); }
.drs-topbar .drs-topbar__inner a:hover,
.drs-topbar p a:hover { color: #fff; }
.drs-footer .drs-footer__col a,
.drs-footer .drs-footer__bottom a,
.drs-footer p a,
.drs-footer .drs-footer__nav a { color: rgba(255, 255, 255, .82); }
.drs-footer .drs-footer__col a:hover,
.drs-footer .drs-footer__bottom a:hover,
.drs-footer p a:hover { color: #fff; }
.drs-finalcta .drs-finalcta__text a { color: #fff; }

/* Comfortable touch targets for the desktop nav on touch screens. */
@media (hover: none) {
  .drs-nav .wp-block-navigation-item__content { padding-block: .75rem; }
}

/* The footer link colour above also caught the footer button, painting its
   label white on cream. Buttons are not body links — restore them explicitly. */
.drs-footer .drs-btn--light > .wp-block-button__link { color: var(--brand-deep); }
.drs-footer .drs-btn--light > .wp-block-button__link:hover { color: var(--brand-deep); }
.drs-footer .wp-block-button__link { text-decoration: none; }

/* Placeholder labels sit on a tinted frame; #8A6D3B measured 3.94:1 there. */
.drs-portrait-ph__label, .drs-media-ph__label, .drs-service__media::after { color: #6B5227; }

/* Mobile action bar: same kit-link override, same remedy. */
.drs-actionbar a.drs-actionbar__primary { color: var(--paper); }
.drs-actionbar a.drs-actionbar__secondary { color: var(--brand); }

/* ==========================================================================
   14. Mobile header corrections
   Two collisions showed up only at a real narrow viewport:
   - `.wp-block-buttons.is-layout-flex{display:flex}` (two classes) outranked the
     one-class rule that hides the header CTA below 560px;
   - the kit styles every <button>, so the navigation hamburger was rendered as a
     solid brand-coloured block with 32px padding.
   ========================================================================== */
.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close {
  background: transparent;
  background-color: transparent;
  color: var(--ink);
  padding: .5rem;
  border: 0;
  border-radius: var(--radius);
  min-width: 44px;
  min-height: 44px;
  font-size: inherit;
}
.site-header .wp-block-navigation__responsive-container-open:hover { background-color: var(--brand-tint); }
.site-header .wp-block-navigation__responsive-container-open svg,
.site-header .wp-block-navigation__responsive-container-close svg { fill: currentColor; width: 24px; height: 24px; }

/* Button labels must not hyphenate mid-word in a tight column. */
.wp-block-button__link, .drs-cta, .elementor-button { hyphens: none; overflow-wrap: normal; }

@media (max-width: 560px) {
  .site-header .drs-header__cta.wp-block-buttons { display: none; }
  .drs-brand__name a, .drs-brand__name { font-size: 1.25rem; }
  .drs-brand__sub { font-size: .625rem; letter-spacing: .13em; white-space: nowrap; }
  .drs-header__inner { padding-block: .9rem; gap: 1rem; }
}

/* Action bar: keep both labels on one line at 375px. */
.drs-actionbar a { font-size: .8125rem; padding: .8rem .5rem; }
@media (max-width: 360px) { .drs-actionbar a { font-size: .75rem; } }

/* Core's own overlay rule zeroes the link padding at equal specificity and wins
   on source order, leaving 30px tap targets. One level deeper restores them. */
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  padding: 0;
  min-height: 60px;          /* padding + min-height stacked to 90px; 60 is the target */
  display: flex;
  align-items: center;
  line-height: 1.2;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  width: 100%;
}

/* Overlay gutter — core resets the container padding at equal specificity. */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
  padding: clamp(1.25rem, 5vw, 2.5rem);
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 2.5rem;
  width: 100%;
}

/* ==========================================================================
   15. Components for the French urology site
   ========================================================================== */

/* Figures now carry real photography. */
.drs-figure { margin: 0; }
.drs-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drs-figure--portrait { aspect-ratio: 4 / 5; }
.drs-figure__cap { font-size: .8125rem; color: var(--muted); margin-top: .6rem; line-height: 1.5; }

/* Service cards are anchors, so their children are spans. */
a.drs-service { display: flex; flex-direction: column; }
.drs-service__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-tint); }
.drs-service__media::after { content: none; }
.drs-service__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
a.drs-service:hover .drs-service__media img { transform: scale(1.04); }
.drs-service__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.65rem; flex: 1; }
.drs-service__title { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.drs-service__text { display: block; font-size: .9375rem; line-height: 1.65; color: var(--muted); flex: 1; }
.drs-service__more { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-top: .35rem; }

/* Numbered process */
.drs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.drs-step { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); padding: 2rem 0; border-top: 1px solid var(--line); align-items: flex-start; }
.drs-step:last-child { border-bottom: 1px solid var(--line); }
.drs-step__num { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; color: var(--brand-soft); flex: none; min-width: 3.5rem; font-weight: 500; }
.drs-step__body { flex: 1; min-width: 0; }
.drs-step__title { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); font-weight: 500; line-height: 1.25; margin: 0 0 .5rem; letter-spacing: -.01em; }
.drs-step__text { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 62ch; }
@media (max-width: 560px) {
  .drs-step { flex-direction: column; gap: .5rem; padding: 1.5rem 0; }
  .drs-step__num { min-width: 0; }
}

/* Symptom tiles */
.drs-symptom { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; height: 100%; }
.drs-symptom__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.3; margin: 0 0 .5rem; letter-spacing: -.005em; }
.drs-symptom__text { margin: 0; font-size: .9375rem; line-height: 1.7; color: var(--muted); }
.drs-symptom__text a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* Link tiles (domain list) */
a.drs-tile { display: flex; flex-direction: column; gap: .45rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; height: 100%; text-decoration: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
a.drs-tile:hover { border-color: var(--brand-soft); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.drs-tile__t { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.drs-tile__d { font-size: .9375rem; line-height: 1.65; color: var(--muted); }

/* Attention block */
.drs-alert { background: #FBF3E7; border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.15rem 1.35rem; font-size: .9375rem; line-height: 1.7; color: #6B5227; }
.drs-alert strong { color: #55411E; }
.drs-alert--lg { padding: clamp(1.5rem, 3vw, 2.25rem); font-size: 1rem; border-radius: var(--radius-lg); border-left-width: 4px; }

/* Sidebar note next to the explanation */
.drs-aside { background: var(--brand-tint); border-radius: var(--radius-lg); padding: 1.75rem; margin-top: 1.5rem; }
.drs-aside h4 { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 .85rem; }
.drs-aside p, .drs-aside li { font-size: .9375rem; line-height: 1.7; color: #33463D; margin: 0 0 .5rem; }
.drs-aside ul { margin: 0; padding-left: 1.1rem; }
.drs-aside li::marker { color: var(--brand-soft); }
.drs-aside em { font-style: italic; }

/* Info blocks on the contact page */
.drs-infoblock { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.drs-infoblock__t { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.drs-infoblock p { margin: 0 0 .5rem; font-size: .9375rem; line-height: 1.7; color: var(--muted); }
.drs-infoblock__addr { color: var(--ink) !important; font-weight: 500; }
.drs-inline-link { color: var(--brand); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.drs-inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Medical information notice */
.drs-mednote { font-size: .875rem; line-height: 1.7; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); padding-top: 1.25rem; margin: 0; }

.drs-list { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.drs-list li { margin-bottom: .45rem; line-height: 1.7; color: var(--muted); }

.drs-map--wide { aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .drs-map--wide { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .drs-map--wide { aspect-ratio: 4 / 3; } }

.drs-field__opt { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .8; }

/* Footer additions */
.drs-footer__role { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-soft); margin: 0 0 1rem; }
.drs-footer__list { list-style: none; margin: 0; padding: 0; }
.drs-footer__list li { margin-bottom: .55rem; font-size: .9375rem; line-height: 1.5; }
.drs-footer__text--muted { color: rgba(255,255,255,.5); font-size: .8125rem; margin-top: 1rem; }
.drs-footer sup { font-size: .7em; }

/* Header dropdown */
.drs-nav .wp-block-navigation__submenu-container {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  min-width: 274px;
}
.drs-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: .6rem .85rem;
  font-size: .875rem;
  border-radius: var(--radius);
  width: 100%;
}
.drs-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.drs-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--brand-tint); color: var(--brand-deep); }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
  border: 0; box-shadow: none; padding: 0 0 .75rem 1rem; min-width: 0; background: transparent;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  font-family: var(--font-body); font-size: 1rem; min-height: 48px; font-weight: 400; color: var(--muted);
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }

/* The desktop bar carries seven items plus a CTA — tighten before the overlay. */
@media (min-width: 1024px) and (max-width: 1320px) {
  .drs-nav .wp-block-navigation__container { gap: 1.15rem; }
  .drs-nav .wp-block-navigation-item__content { font-size: .875rem; }
  .drs-header__cta .wp-block-button__link { padding: .8rem 1.15rem; font-size: .8125rem; }
}

/* ==========================================================================
   16. Header density and footer grid
   The French labels are longer than the English ones: the bar has six items
   plus a CTA, and `1fr` columns refuse to shrink below their content, which
   pushed the footer 25px past the viewport.
   ========================================================================== */
.drs-footer__grid { grid-template-columns: 1.4fr minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr); }
@media (max-width: 900px) { .drs-footer__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 560px) { .drs-footer__grid { grid-template-columns: minmax(0,1fr); } }
.drs-footer__list li a { display: inline-block; }

/* Nothing in the bar may wrap: a wrapped label doubles the header height. */
.drs-brand__name, .drs-brand__name a { white-space: nowrap; }
.drs-header__inner > .drs-brand { flex: none; }
.drs-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
.drs-nav .wp-block-navigation__submenu-icon { white-space: nowrap; }
.drs-header__cta .wp-block-button__link { white-space: nowrap; }

@media (min-width: 1024px) and (max-width: 1460px) {
  .drs-nav .wp-block-navigation__container { gap: 1.4rem; }
  .drs-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: .875rem; }
  .drs-header__nav { gap: 1.5rem; }
  .drs-header__cta .wp-block-button__link { padding: .82rem 1.25rem; font-size: .8125rem; }
  .drs-brand__name, .drs-brand__name a { font-size: 1.4rem; }
}
@media (min-width: 1461px) {
  .drs-nav .wp-block-navigation__container { gap: 1.9rem; }
}

/* ==========================================================================
   17. Heading sizes inside HTML widgets
   Elementor's kit prints `.elementor-kit-N h2..h6` (0,1,1), which outranks a
   single-class rule. Every component heading therefore needs its parent in the
   selector, or it inherits the page-level heading scale — the footer column
   titles were rendering at 44px and overlapping each other.
   ========================================================================== */
.drs-footer .drs-footer__title {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .5);
}
.drs-footer .drs-footer__title--spaced { margin-top: 2rem; }

.drs-steps .drs-step__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem);
  font-weight: 500; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5rem;
}
.drs-value .drs-value__title {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 500; line-height: 1.25; margin: 0; letter-spacing: -.01em;
}
.drs-symptom .drs-symptom__title {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500; line-height: 1.3; margin: 0 0 .5rem; letter-spacing: -.005em;
}
.drs-aside h4 {
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 .85rem; line-height: 1.4;
}
.drs-infoblock .drs-infoblock__t {
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .75rem; line-height: 1.4;
}
.drs-faq summary {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 500; line-height: 1.35;
}
.drs-prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 2.5rem 0 .75rem; }
.drs-prose h2:first-child { margin-top: 0; }
.drs-prose h3 { font-size: 1.3rem; margin: 2rem 0 .6rem; }

/* --brand-soft measures 3.81:1 on the footer's dark ground; this lift clears AA. */
.drs-footer .drs-footer__role { color: #9AB5A7; }

/* ==========================================================================
   18. Grid breakpoints
   The per-page <style> block used `.drs-grid[data-cols="3"]` for the tablet
   step and a bare `.drs-grid` for mobile. Both media queries match at 390px and
   the tablet selector is the more specific one, so cards stayed two-up on a
   phone. These rules are specific enough to settle it, at both steps.
   ========================================================================== */
@media (min-width: 641px) and (max-width: 1024px) {
  .elementor .drs-grid[data-cols="3"],
  .elementor .drs-grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .elementor .drs-grid[data-cols] { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
}

/* A portrait photograph in an inner-page hero would otherwise tower over the
   short heading beside it. */
.drs-pagehero .drs-figure--portrait { max-height: 560px; margin-inline: auto; width: 100%; }
@media (max-width: 1023px) { .drs-pagehero .drs-figure--portrait { max-height: 480px; } }
