.oxford-treatment {
  --navy: #082840;
  --blue: #0879cc;
  --cyan: #5fcde6;
  --copy: #587083;
  --ice: #f3f9fc;
  --line: #dce9f0;
}

.oxford-treatment .oxford-shared-hero {
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.oxford-treatment .oxford-shared-hero *,
.oxford-treatment .oxford-treatment-section {
  box-sizing: border-box;
}

.oxford-treatment .oxford-shared-hero a {
  text-decoration: none;
}

.oxford-treatment .oxford-treatment-section:not(.condition-alert, .condition-sources) {
  padding-block: 120px;
  background: #fff;
  color: var(--navy);
}

.oxford-treatment .oxford-treatment-section.oxford-treatment-tint {
  background: var(--ice);
}

.oxford-treatment .oxford-treatment-section.oxford-treatment-media {
  background: #071f33;
  color: #fff;
}

.oxford-treatment .oxford-treatment-section .back-title {
  color: var(--navy);
  font-size: clamp(44px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 720;
}

.oxford-treatment .oxford-treatment-media .back-title {
  color: #fff;
}

.oxford-treatment .oxford-treatment-section > div:first-child {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.oxford-treatment .oxford-treatment-section :is(.condition-card, [class$="-option-card"], [class$="-treatment-card"]) {
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
}

.oxford-treatment .oxford-treatment-section details {
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}

.oxford-treatment section {
  scroll-margin-top: 110px;
}

@media (max-width: 760px) {
  .oxford-treatment .oxford-treatment-section:not(.condition-alert, .condition-sources) {
    padding-block: 64px;
  }

  .oxford-treatment .oxford-treatment-section .back-title {
    font-size: clamp(34px, 8vw, 46px);
    line-height: 1.08;
  }
}

.oxford-treatment .back-why.oxford-treatment-section,
.oxford-treatment .back-faq.oxford-treatment-section,
.oxford-treatment .oxford-options-section {
  background: var(--ice);
}

.oxford-treatment .oxford-treatment-section :is(.back-why-copy, .back-approach-copy) > div {
  width: 100%;
  margin: 0;
  display: block;
}

.oxford-treatment .oxford-section-photo :is(img, video) {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 65px #08284021;
}

.oxford-treatment .oxford-options-section .condition-two {
  gap: clamp(24px, 5vw, 70px);
}

.oxford-treatment .oxford-clinical-alert {
  border-left: 4px solid #a36627;
  background: #fff8ed;
  padding-block: 36px;
}


.oxford-treatment .oxford-condition-body [class*="-reveal"] {
  opacity: 1;
  transform: none;
}

.oxford-treatment .oxford-treatment-section .back-options-grid a {
  text-decoration: none;
}

/* Size both photos inside the stack, regardless of their source aspect ratios. */
.oxford-treatment .back-image-stack:has(> img + img) {
  min-height: 0;
  aspect-ratio: 6 / 5;
}

.oxford-treatment .back-image-stack:has(> img + img) > img:first-child {
  height: 78%;
  object-position: center 40%;
}

.oxford-treatment .back-image-stack:has(> img + img) > img:last-child {
  box-sizing: border-box;
  height: 49%;
}

.oxford-treatment .back-image-stack.oxford-single-photo {
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  justify-self: center;
}

.oxford-treatment .back-image-stack.oxford-single-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  border: 0;
}

.oxford-treatment .back-options > .back-wrap > .condition-section {
  padding-block: 36px 0;
}

/* Keep the location line intact while allowing long condition names to wrap. */
.oxford-treatment .oxford-template-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  text-wrap: balance;
}

@media (max-width: 650px) {
  .oxford-treatment .oxford-template-hero h1 {
    font-size: clamp(32px, 9.6vw, 48px);
    line-height: 1.08;
  }
}
