/* =========================================================
   Batch 8E.1A — Doctor biography parity enrichment
   Scope is intentionally limited to .doctor-v1-page.
   ========================================================= */

.doctor-v1-page {
  overflow: hidden;
  background: #fff;
  color: #333;
}

.doctor-v1-page *,
.doctor-v1-page *::before,
.doctor-v1-page *::after {
  box-sizing: border-box;
}

.site-main > article.doctor-v1-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.doctor-v1-container {
  width: min(1500px, calc(100% - 40px));
  margin-inline: auto;
}

.doctor-v1-container--narrow {
  width: min(1120px, calc(100% - 48px));
}

.doctor-v1-gold-line {
  height: 2px;
  background: linear-gradient(
    90deg,
    #a2682a 0%,
    #be8c3c 12%,
    #d3b15f 27%,
    #faf0a0 40%,
    #ffffc2 49%,
    #d3b15f 58%,
    #be8c3c 70%,
    #b17b32 80%,
    #d4a245 90%,
    #a4692a 100%
  );
}

.doctor-v1-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.95fr);
  min-height: clamp(520px, 58vw, 700px);
}

.doctor-v1-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px);
  color: #fff;
  background: radial-gradient(
    circle at 50% 35%,
    #6e6e6e 0%,
    #565656 38%,
    #4f4f4f 72%,
    #474747 100%
  );
}

.doctor-v1-hero__media {
  min-height: 420px;
  overflow: hidden;
  background: #ddd;
}

.doctor-v1-hero__media img,
.doctor-v1-media-fallback {
  width: 100%;
  height: 100%;
}

.doctor-v1-hero__media img {
  display: block;
  object-fit: cover;
  object-position: center top;
}

.doctor-v1-media-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #6b6b6b, #4b4b4b);
  color: #d3b15f;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
}

.doctor-v1-kicker {
  margin: 0 0 12px;
  color: #ead2a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.doctor-v1-gold-title {
  margin: 0;
  color: #d6b15f;
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(
    105deg,
    #ffdfbc 0%,
    #be8c3c 16%,
    #d3b15f 32%,
    #faf0a0 50%,
    #d3b15f 68%,
    #bb8332 86%,
    #e1b453 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doctor-v1-gold-title--on-white {
  background-image: linear-gradient(
    105deg,
    #9b6224 0%,
    #be8c3c 22%,
    #d3b15f 42%,
    #a4692a 72%,
    #bb8332 100%
  );
}

.doctor-v1-hero h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.doctor-v1-lead,
.doctor-v1-band-lead {
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.85;
}

.doctor-v1-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.doctor-v1-band-lead {
  max-width: 860px;
  margin: 18px auto 0;
  color: #5d5d5d;
}

.doctor-v1-band-lead--light {
  color: rgba(255, 255, 255, 0.82);
}

.doctor-v1-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.doctor-v1-highlight-list span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(24, 24, 24, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.45;
}

.doctor-v1-band {
  padding: clamp(60px, 7vw, 92px) 0;
}

.doctor-v1-band--white {
  color: #373737;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(190, 140, 60, 0.055),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 72%,
      rgba(164, 105, 42, 0.04),
      transparent 30%
    ),
    #fff;
}

.doctor-v1-band--dark {
  color: #fff;
  background: radial-gradient(
    circle at 50% 35%,
    #6e6e6e 0%,
    #565656 38%,
    #4f4f4f 72%,
    #474747 100%
  );
}

.doctor-v1-heading {
  max-width: 980px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.doctor-v1-heading--center {
  margin-inline: auto;
  text-align: center;
}

.doctor-v1-bio-list {
  border-top: 1px solid rgba(190, 140, 60, 0.45);
}

.doctor-v1-bio-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(30px, 5vw, 74px);
  padding: clamp(34px, 4.5vw, 56px) 0;
  border-bottom: 1px solid rgba(190, 140, 60, 0.45);
}

.doctor-v1-bio-row__heading {
  align-self: start;
}

.doctor-v1-bio-row__number {
  display: block;
  margin-bottom: 12px;
  color: #bb8332;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.doctor-v1-bio-row h3 {
  margin: 0;
  color: #8f5b20;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.doctor-v1-bio-row__body {
  max-width: 760px;
}

.doctor-v1-bio-row__body p {
  margin: 0 0 1.25em;
  color: #4c4c4c;
  font-size: 1rem;
  line-height: 1.85;
}

.doctor-v1-bio-row__body p:last-child {
  margin-bottom: 0;
}

.doctor-v1-team-grid,
.doctor-v1-treatment-grid,
.doctor-v1-review-grid {
  display: grid;
  gap: 20px;
}

.doctor-v1-team-grid,
.doctor-v1-review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.doctor-v1-team-grid.team-v1-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.doctor-v1-treatment-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.doctor-v1-team-card,
.doctor-v1-treatment-card,
.doctor-v1-treatment-card > a {
  height: 100%;
}

.doctor-v1-team-card,
.doctor-v1-treatment-card,
.doctor-v1-review-card {
  overflow: hidden;
}

.doctor-v1-team-card,
.doctor-v1-treatment-card > a {
  display: flex;
  flex-direction: column;
}

.doctor-v1-team-card,
.doctor-v1-treatment-card > a,
.doctor-v1-review-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.doctor-v1-team-card img,
.doctor-v1-treatment-card img,
.doctor-v1-card-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.doctor-v1-team-card img,
.doctor-v1-treatment-card img {
  display: block;
  object-fit: cover;
}

.doctor-v1-card-fallback {
  display: block;
  background: linear-gradient(145deg, #efefef, #dcdcdc);
}

.doctor-v1-card-fallback--dark {
  background: linear-gradient(145deg, #666, #4d4d4d);
}

.doctor-v1-team-card__body,
.doctor-v1-treatment-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 18px;
}

.doctor-v1-team-card__body strong,
.doctor-v1-treatment-card__body strong {
  color: #c99543;
  font-size: 1.05rem;
  line-height: 1.45;
}

.doctor-v1-team-card__body p,
.doctor-v1-treatment-card__body small {
  margin: 0;
  color: #4b4b4b;
  line-height: 1.7;
}

.doctor-v1-treatment-card > a {
  text-decoration: none;
}

.doctor-v1-treatment-card--dark > a {
  background: rgba(39, 39, 39, 0.55);
}

.doctor-v1-treatment-card--dark .doctor-v1-treatment-card__body small {
  color: rgba(255, 255, 255, 0.78);
}

.doctor-v1-treatment-card--dark .doctor-v1-treatment-card__body strong,
.doctor-v1-team-card__body strong {
  color: #d3b15f;
}

.doctor-v1-review-card {
  padding: 24px 22px;
}

.doctor-v1-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.doctor-v1-review-card__meta strong {
  color: #8f5b20;
  font-size: 1.02rem;
}

.doctor-v1-review-card__meta span {
  color: #8a8a8a;
  font-size: 0.92rem;
}

.doctor-v1-review-card p {
  margin: 0;
  color: #4e4e4e;
  line-height: 1.8;
}

.doctor-v1-feature-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 34px;
}

.doctor-v1-feature-split__media img,
.doctor-v1-feature-split__media .doctor-v1-card-fallback {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.doctor-v1-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.doctor-v1-actions--center {
  justify-content: center;
}

.doctor-v1-page .button {
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid #bb8332;
  border-radius: 0;
  background: #bb8332;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.doctor-v1-page .button:hover {
  border-color: #a4692a;
  background: #a4692a;
  color: #fff;
  transform: none;
}

.doctor-v1-page .doctor-v1-button--outline {
  border-color: rgba(255, 255, 255, 0.68);
  background: transparent;
  color: #fff;
}

.doctor-v1-page .doctor-v1-button--outline:hover {
  border-color: #d3b15f;
  background: rgba(211, 177, 95, 0.1);
}

.doctor-v1-page a:focus-visible {
  outline: 3px solid #d3b15f;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .doctor-v1-team-grid,
  .doctor-v1-review-grid,
  .doctor-v1-treatment-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-v1-team-grid.team-v1-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .doctor-v1-feature-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .doctor-v1-team-grid.team-v1-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .doctor-v1-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .doctor-v1-hero__media {
    min-height: min(78vw, 620px);
  }
}

@media (max-width: 640px) {
  .doctor-v1-container,
  .doctor-v1-container--narrow {
    width: min(100% - 24px, 1240px);
  }

  .doctor-v1-hero__copy {
    padding: 54px 22px 60px;
  }

  .doctor-v1-team-grid,
  .doctor-v1-team-grid.team-v1-grid--5,
  .doctor-v1-review-grid,
  .doctor-v1-treatment-grid--4,
  .doctor-v1-highlight-list {
    grid-template-columns: 1fr;
  }

  .doctor-v1-highlight-list {
    display: grid;
  }

  .doctor-v1-band {
    padding: 52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-v1-page *,
  .doctor-v1-page *::before,
  .doctor-v1-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
