.tmj-therapy-page .page-hero h1 {
  max-width: 22ch;
}

.tmj-introduction {
  display: grid;
  gap: 1rem;
}

.tmj-introduction .lede {
  margin-bottom: 0;
}

.tmj-content {
  width: min(calc(100% - 2rem), 880px);
  margin-inline: auto;
}

.tmj-content p,
.tmj-image-layout p,
.tmj-symptom-layout p {
  font-size: 1.08rem;
  line-height: 1.72;
}

.tmj-image-layout {
  align-items: stretch;
}

.tmj-image-area {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--white), var(--teal-50));
  box-shadow: var(--shadow);
}

.tmj-image-area.tmj-symptom-image,
.tmj-image-area.tmj-nightguard-image {
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  place-items: center;
  background: var(--white);
  align-self: start;
}

.tmj-symptom-image img,
.tmj-nightguard-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  object-fit: contain;
}

.tmj-symptom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 3rem;
  align-items: start;
}

.tmj-symptom-introduction {
  grid-column: 1;
  grid-row: 1;
}

.tmj-symptom-details {
  grid-column: 1;
  grid-row: 2;
}

.tmj-symptom-image {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.tmj-content a:not(.button) {
  font-weight: 750;
}

.tmj-content a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.tmj-external-resource {
  margin-top: 0.5rem;
}

@media (max-width: 760px) {
  .tmj-symptom-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tmj-symptom-introduction,
  .tmj-symptom-image,
  .tmj-symptom-details {
    grid-column: 1;
    grid-row: auto;
  }

  .tmj-image-layout {
    grid-template-columns: 1fr;
  }

  .tmj-image-area {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .tmj-content p,
  .tmj-image-layout p,
  .tmj-symptom-layout p {
    font-size: 1rem;
  }

  .tmj-image-area {
    min-height: 230px;
  }
}
