.ny-wrap {
  width: min(calc(100% - 2.5rem), 70rem);
  margin-inline: auto;
}

.ny-page h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
}

.ny-hero {
  background: linear-gradient(120deg, #fff8f0 5%, #f0f6fc 90%);
  padding-block: clamp(2.25rem, 6vw, 5rem);
}

.ny-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.ny-lead {
  margin-top: 1.25rem;
  color: #57534e;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.ny-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 1.25rem;
}

.ny-hero-links a,
.ny-page .seo-text-link {
  gap: 0.4rem;
  min-height: 44px;
}

.ny-pair,
.ny-reading figure {
  margin: 0;
}

.ny-pair img,
.ny-reader-hero-art,
.ny-reading img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  background: #f0f6fc;
}

.ny-pair img,
.ny-reader-hero-art {
  box-shadow: 0 12px 32px #1e3a5f18;
}

.ny-pair figcaption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 0.65rem;
  text-align: center;
  color: #57534e;
  font-size: 0.875rem;
}

.ny-section {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.ny-examples,
.ny-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.ny-example,
.ny-formats article {
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid #e8e6e3;
  border-radius: 1.125rem;
  background: #fff;
}

.ny-formats article {
  background: #fff8f0;
}

.ny-example h3,
.ny-formats h3,
.ny-steps h3 {
  margin-top: 0;
}

.ny-example > p,
.ny-formats p,
.ny-steps p,
.ny-action p {
  margin-bottom: 1rem;
  color: #57534e;
  line-height: 1.65;
}

.ny-example .seo-pdf-example figcaption {
  margin-top: 0.5rem;
}

.ny-example .seo-pdf-example figcaption a {
  margin-left: 0;
}

.ny-excerpt p + p {
  margin-top: 0.65rem;
}

.ny-narrow {
  max-width: 49rem;
}

.ny-steps {
  list-style: decimal;
  padding-left: 1.75rem;
}

.ny-steps li {
  padding: 1.2rem 0 0.3rem 0.25rem;
  border-bottom: 1px solid #e8e6e3;
}

.ny-steps li::marker {
  color: #2c5280;
  font-weight: 600;
}

.ny-footer {
  padding-block: 0.5rem 3.5rem;
}

.ny-action {
  background: #fff8f0;
  border-radius: 1.125rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.ny-action .seo-button {
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.ny-reader-hero {
  background: #f0f6fc;
}

.ny-reader-hero-art {
  width: min(100%, 22rem);
  justify-self: center;
}

.ny-reading {
  max-width: 61rem;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.ny-reading-part {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  grid-template-areas: "illustration text";
  gap: clamp(1.15rem, 4vw, 2.5rem);
  align-items: start;
  margin-bottom: clamp(1.5rem, 4vw, 3.25rem);
}

.ny-reading-part figure {
  grid-area: illustration;
}

.ny-prose {
  grid-area: text;
  font-family: Nunito, system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  color: #292524;
  line-height: 1.7;
}

.ny-prose p + p {
  margin-top: 0.95em;
}

@media (max-width: 48em) {
  .ny-hero-grid,
  .ny-examples,
  .ny-formats,
  .ny-reading-part {
    grid-template-columns: 1fr;
  }

  .ny-reader-hero-art,
  .ny-reading figure {
    width: min(100%, 20rem);
    justify-self: center;
  }

  .ny-reading-part {
    grid-template-areas: "illustration" "text";
  }

  .ny-reading-opening {
    grid-template-areas: "text" "illustration";
  }

  .ny-reading-part + .ny-reading-part {
    padding-top: 1.5rem;
    border-top: 1px solid #e8e6e3;
  }
}
