.emdr-page {
  --emdr-ink: #18324a;
  --emdr-muted: #60717a;
  --emdr-blue: #79405e;
  --emdr-sky: #dfeaf0;
  --emdr-paper: #fffdf8;
  --emdr-alert: #ad5938;
  --emdr-alert-bg: #f1dfd4;
  --emdr-line: #d8d4cb;
  background: var(--emdr-paper);
  color: var(--emdr-ink);
}

.emdr-page :where(h1, h2, h3, p, li, dt, dd) {
  color: inherit;
}

.emdr-page :where(p, li, dd) {
  line-height: 1.65;
}

.emdr-page a {
  text-decoration-color: var(--emdr-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.emdr-page a:focus-visible {
  outline: 3px solid var(--emdr-blue);
  outline-offset: 4px;
}

.emdr-hero {
  background: var(--emdr-sky);
  border-bottom: 1px solid var(--emdr-line);
  color: var(--emdr-ink);
  padding-block: 0;
}

.emdr-hero .dg-hero__inner {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 3.8vw, 3.5rem);
}

.emdr-hero .dg-hero__copy {
  max-width: 42rem;
}

body.dg-editorial .emdr-page .emdr-hero h1 {
  font-size: clamp(2.55rem, 4.1vw, 3.35rem);
  line-height: 1;
  max-width: 14ch;
}

.emdr-hero .dg-lede {
  color: #2d4653;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.55;
  margin-top: clamp(1.1rem, 2.2vw, 1.6rem);
  max-width: 56ch;
}

.emdr-hero .dg-meta {
  margin-top: 1rem;
}

.emdr-hero__visual {
  margin: 0;
  min-width: 0;
}

.emdr-hero__visual img {
  aspect-ratio: 3 / 2;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: 58% center;
  width: 100%;
}

.emdr-alerts {
  margin-block: clamp(1.5rem, 4vw, 2.75rem) 0;
}

.emdr-alerts .dg-note {
  border-radius: 0;
  margin: 0;
}

.emdr-urgent {
  background: var(--emdr-alert-bg);
  border: 1px solid color-mix(in srgb, var(--emdr-alert) 42%, var(--emdr-line));
  max-width: 68rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.emdr-urgent p {
  margin: 0;
  max-width: 65ch;
}

.emdr-urgent p + p {
  margin-top: 0.6rem;
}

.emdr-alerts__label {
  color: var(--emdr-alert);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.emdr-chapter {
  background: transparent;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.emdr-chapter__heading {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  max-width: 46rem;
}

body.dg-editorial .emdr-page .emdr-chapter__heading h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.08;
  margin: 0;
  max-width: 22ch;
}

.emdr-chapter__heading p {
  color: var(--emdr-muted);
  font-size: clamp(1.05rem, 1.15vw, 1.17rem);
  margin: 1rem 0 0;
  max-width: 62ch;
}

.emdr-timeline-layout {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.25rem);
}

.emdr-review__figure {
  margin: 0;
}

.emdr-review__figure img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.emdr-review__figure figcaption {
  color: var(--emdr-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 0.8rem;
  max-width: 48ch;
}

.emdr-timeline {
  counter-reset: emdr-timeline;
  list-style: none;
  margin: 0;
  padding: 0;
}

.emdr-timeline > div {
  counter-increment: emdr-timeline;
  display: grid;
  gap: 0 1.2rem;
  grid-template-columns: 2.5rem minmax(0, 1fr);
}

.emdr-timeline > div + div {
  margin-top: clamp(1.75rem, 3.2vw, 2.5rem);
}

.emdr-timeline > div::before {
  color: var(--emdr-blue);
  content: counter(emdr-timeline, decimal-leading-zero);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  grid-column: 1;
  letter-spacing: 0.08em;
  padding-top: 0.25rem;
}

.emdr-timeline dt,
.emdr-timeline dd {
  grid-column: 2;
}

.emdr-timeline dt {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

.emdr-timeline dd {
  color: var(--emdr-muted);
  margin: 0.65rem 0 0;
  max-width: 56ch;
}

.emdr-evidence {
  padding-block: 0 clamp(3rem, 5vw, 4.5rem);
}

body.dg-editorial .emdr-page .emdr-evidence__inner {
  background: var(--emdr-ink);
  color: var(--emdr-paper);
  margin-inline: auto;
  max-width: 67.75rem;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  width: calc(100% - 2.5rem);
}

.emdr-evidence .emdr-chapter__heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 50rem;
}

body.dg-editorial .emdr-page .emdr-evidence .emdr-chapter__heading h2,
body.dg-editorial .emdr-page .emdr-evidence .emdr-chapter__heading p,
.emdr-page .emdr-evidence :where(dt, dd) {
  color: var(--emdr-paper);
}

.emdr-evidence .emdr-chapter__heading p {
  color: var(--emdr-sky);
}

body.dg-editorial .emdr-page .emdr-evidence a {
  color: var(--emdr-paper);
  text-decoration-color: var(--emdr-sky);
}

.emdr-evidence a:focus-visible {
  outline-color: var(--emdr-sky);
}

.emdr-evidence-table {
  display: grid;
  gap: 2.25rem;
  margin: 0;
}

.emdr-evidence-table > div {
  margin: 0;
}

.emdr-evidence-table dt {
  color: var(--emdr-sky);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.emdr-evidence-table dd {
  margin: 0.75rem 0 0;
  max-width: 60ch;
}

.emdr-myths-section {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.emdr-myths__inner {
  max-width: 67.75rem;
}

.emdr-chapter__heading--offset {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 46rem;
}

.emdr-myths {
  margin: 0;
  max-width: 64rem;
}

.emdr-myths > div {
  border-top: 1px solid var(--emdr-line);
  padding-block: clamp(1.1rem, 2vw, 1.5rem);
}

.emdr-page h2[id] {
  scroll-margin-top: 6rem;
}

.emdr-myths dt {
  color: var(--emdr-alert);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  font-weight: 650;
  line-height: 1.2;
  max-width: 24ch;
}

.emdr-myths dd {
  color: var(--emdr-muted);
  margin: 0.65rem 0 0;
  max-width: 60ch;
}

.emdr-preparation {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.emdr-preparation__inner {
  max-width: 73rem;
}

.emdr-next-steps {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.emdr-next-steps__list {
  margin: 0;
  max-width: 50rem;
  padding-left: 1.4rem;
}

.emdr-next-steps__list li {
  padding-left: 0.45rem;
}

.emdr-next-steps__list li + li {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.emdr-next-steps__list li::marker {
  color: var(--emdr-blue);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 800;
}

.emdr-next-steps__list h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  margin: 0;
}

.emdr-next-steps__list p {
  color: var(--emdr-muted);
  margin: 0.65rem 0 0;
  max-width: 62ch;
}

.emdr-medication-note {
  background: var(--emdr-sky);
  border: 1px solid var(--emdr-line);
  border-radius: 0;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.emdr-medication-note h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin: 0;
}

.emdr-medication-note p {
  color: var(--emdr-muted);
  margin: 0.8rem 0 0;
}

@media (min-width: 48rem) {
  .emdr-urgent {
    align-items: start;
    display: grid;
    gap: 0.6rem 2rem;
    grid-template-columns: 9.5rem minmax(0, 1fr);
  }

  .emdr-urgent .emdr-alerts__label {
    grid-row: 1 / span 2;
  }

  .emdr-urgent p + p {
    margin-top: 0;
  }

  .emdr-evidence-table {
    gap: 2.5rem 3rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .emdr-evidence-table > div:nth-child(1) {
    grid-column: 1 / span 5;
  }

  .emdr-evidence-table > div:nth-child(2) {
    grid-column: 7 / -1;
  }

  .emdr-evidence-table > div:nth-child(3) {
    border-top: 1px solid color-mix(in srgb, var(--emdr-paper) 24%, transparent);
    grid-column: 3 / span 8;
    padding-top: 2.25rem;
  }

  .emdr-myths > div {
    align-items: start;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(14rem, 5fr) minmax(0, 7fr);
  }

  .emdr-myths dd {
    margin: 0;
  }
}

@media (min-width: 68rem) {
  .emdr-hero .dg-hero__inner {
    grid-template-columns: minmax(0, 6.25fr) minmax(24rem, 5fr);
  }

  .emdr-timeline-layout {
    align-items: start;
    grid-template-columns: minmax(20rem, 5fr) minmax(0, 7fr);
  }

  .emdr-review__figure img {
    aspect-ratio: 4 / 5;
  }

  .emdr-next-steps {
    align-items: start;
    grid-template-columns: minmax(0, 8fr) minmax(17rem, 4fr);
  }
}

@media (max-width: 67.99rem) {
  .emdr-hero__visual {
    max-width: 46rem;
  }

  .emdr-hero__visual img {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 48rem) and (max-width: 67.99rem) {
  .emdr-hero__visual img {
    aspect-ratio: 2 / 1;
  }
}

@media (pointer: coarse) {
  .emdr-page a {
    min-height: 44px;
  }
}
