/* =========================================================
   Batch 8D.2A — Treatment overview alignment with Homepage V1
   Scope is intentionally limited to .treatment-overview-v1-page.
   ========================================================= */

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

.treatment-overview-v1-page {
  --overview-gold-a: #a4692a;
  --overview-gold-b: #be8c3c;
  --overview-gold-c: #d3b15f;
  --overview-gold-d: #faf0a0;
  --overview-gold-e: #bb8332;
  --overview-dark: #4f4f4f;
  --overview-dark-deep: #3f3f3f;
  overflow: hidden;
  background: #fff;
  color: #333;
}

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

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

.treatment-overview-v1-container--text {
  width: min(860px, calc(100% - 48px));
}

.treatment-overview-v1-band {
  position: relative;
  padding: clamp(58px, 7vw, 96px) 0;
}

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

.treatment-overview-v1-band--dark-deep {
  color: #fff;
  background: radial-gradient(
    circle at 45% 32%,
    #656565 0%,
    #505050 45%,
    #444 77%,
    #3d3d3d 100%
  );
}

.treatment-overview-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%
  );
}

.treatment-overview-v1-heading {
  max-width: 1500px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

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

.treatment-overview-v1-gold-title {
  margin: 0;
  color: #d6b15f;
  font-family: var(--font-body, Roboto, Arial, Helvetica, sans-serif);
  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;
}

.treatment-overview-v1-page h1.treatment-overview-v1-gold-title {
  max-width: 1500px;
  margin-inline: auto;
}

.treatment-overview-v1-lead {
  max-width: 760px;
  margin: 22px auto 0;
  color: #555;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
}

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

.treatment-overview-v1-grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
}

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

.treatment-overview-v1-card {
  min-width: 0;
}

.treatment-overview-v1-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(32, 32, 32, 0.34);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.treatment-overview-v1-card > a:hover {
  transform: translateY(-3px);
  border-color: rgba(211, 177, 95, 0.55);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
}

.treatment-overview-v1-card img,
.treatment-overview-v1-card-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.treatment-overview-v1-card-fallback {
  display: block;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 38% 32%, #777, #555 58%, #444);
}

.treatment-overview-v1-card__body {
  display: grid;
  gap: 9px;
  padding: 20px 18px 22px;
}

.treatment-overview-v1-card__body strong {
  color: #e0bd75;
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.35;
}

.treatment-overview-v1-card__body small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.55;
}

.treatment-overview-v1-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(32, 32, 32, 0.28);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.treatment-overview-v1-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.treatment-overview-v1-actions--center {
  justify-content: center;
}

.treatment-overview-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;
}

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

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

.treatment-overview-v1-page .treatment-overview-v1-button--outline:hover {
  border-color: #bb8332;
  background: #bb8332;
  color: #fff;
}

.treatment-overview-v1-cta .treatment-overview-v1-heading {
  margin-bottom: 0;
}

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

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

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

  .treatment-overview-v1-container,
  .treatment-overview-v1-container--text {
    width: min(100% - 32px, 1240px);
  }
}

@media (max-width: 560px) {
  .treatment-overview-v1-container,
  .treatment-overview-v1-container--text {
    width: min(100% - 24px, 1240px);
  }

  .treatment-overview-v1-band {
    padding: 50px 0;
  }

  .treatment-overview-v1-grid--4 {
    grid-template-columns: 1fr;
  }

  .treatment-overview-v1-grid--4 .treatment-overview-v1-card img,
  .treatment-overview-v1-grid--4 .treatment-overview-v1-card-fallback {
    aspect-ratio: 16 / 10;
  }

  .treatment-overview-v1-card img,
  .treatment-overview-v1-card-fallback {
    aspect-ratio: 16 / 10;
  }
}

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

