.olp-editorial-main {
  background: var(--olp-paper);
}

.olp-editorial-hero,
.olp-article__hero {
  padding: calc(var(--olp-header) + clamp(5rem, 9vw, 9rem)) 0 clamp(4.5rem, 8vw, 7.5rem);
  background: var(--olp-graphite);
  color: var(--olp-white);
}

.olp-editorial-hero .olp-shell,
.olp-article__hero .olp-shell {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.olp-editorial-hero .olp-eyebrow,
.olp-article__hero .olp-eyebrow,
.olp-article__back {
  grid-column: 1 / 4;
}

.olp-editorial-hero h1,
.olp-article__hero h1 {
  grid-column: 4 / 12;
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.25rem);
  line-height: 0.94;
}

.olp-editorial-hero .olp-shell > p:last-child {
  grid-column: 4 / 9;
  max-width: 38rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
}

.olp-editorial-list {
  padding-block: var(--olp-section);
}

.olp-editorial-list__intro {
  display: grid;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
  grid-template-columns: 0.5fr 1fr 0.7fr;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: start;
}

.olp-editorial-list__intro .olp-kicker {
  padding-top: 0.5rem;
  color: var(--olp-wine);
}

.olp-editorial-list__intro h2 {
  max-width: 12ch;
  margin: 0;
}

.olp-editorial-list__intro > p:last-child {
  color: var(--olp-text-muted);
}

.olp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem) clamp(1.5rem, 3vw, 3rem);
}

.olp-article-card {
  min-width: 0;
}

.olp-article-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--olp-graphite);
  text-decoration: none;
}

.olp-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--olp-ease);
}

.olp-article-card__media:hover img {
  transform: scale(1.035);
}

.olp-article-card__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  align-content: center;
  background: var(--olp-graphite);
  color: var(--olp-white);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.olp-article-card__fallback b:last-child {
  color: var(--olp-wine-bright);
}

.olp-article-card__body {
  padding-top: 1.5rem;
}

.olp-article-card__meta {
  display: flex;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  color: var(--olp-text-muted);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.olp-article-card h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.12;
}

.olp-article-card h3 a {
  text-decoration: none;
}

.olp-article-card__body > p:not(.olp-article-card__meta) {
  color: var(--olp-text-muted);
  font-size: 0.86rem;
}

.navigation.pagination {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--olp-line);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-numbers {
  display: grid;
  min-width: 2.8rem;
  min-height: 2.8rem;
  padding: 0.6rem;
  border: 1px solid var(--olp-line);
  place-items: center;
  color: var(--olp-ink);
  font-size: 0.72rem;
  font-weight: 760;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--olp-wine);
  background: var(--olp-wine);
  color: var(--olp-white);
}

.olp-editorial-cta {
  padding-block: clamp(4rem, 7vw, 7rem);
  background: var(--olp-wine);
  color: var(--olp-white);
}

.olp-editorial-cta .olp-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.olp-editorial-cta h2 {
  max-width: 15ch;
  margin: 1rem 0 0;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
}

.olp-editorial-cta__copy > p:last-child {
  max-width: 48rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.olp-article__back {
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.olp-article__hero .olp-eyebrow {
  grid-row: 2;
}

.olp-article__hero h1 {
  grid-row: 2;
  max-width: 15ch;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  line-height: 1;
}

.olp-article__meta {
  display: flex;
  grid-column: 4 / 10;
  margin: 2rem 0 0;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.olp-article__featured {
  margin: 0;
  background: var(--olp-graphite-deep);
}

.olp-article__featured img {
  width: 100%;
  max-height: min(75vh, 58rem);
  object-fit: cover;
}

.olp-article__content,
.olp-page__content {
  padding: clamp(4rem, 8vw, 8rem) var(--olp-gutter);
}

.olp-prose {
  max-width: 47rem;
  margin-inline: auto;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.78;
}

.olp-prose > *:first-child {
  margin-top: 0;
}

.olp-prose h2,
.olp-prose h3,
.olp-prose h4 {
  margin-top: 2.2em;
}

.olp-prose h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.olp-prose h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.olp-prose p,
.olp-prose li {
  color: #3d3e3c;
}

.olp-prose a {
  color: var(--olp-wine);
  font-weight: 650;
}

.olp-prose blockquote {
  margin: 2.5rem 0;
  padding: 0.5rem 0 0.5rem 1.75rem;
  border-left: 3px solid var(--olp-wine);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.olp-prose blockquote p {
  margin: 0;
  color: var(--olp-ink);
}

.olp-prose img,
.olp-prose figure,
.olp-prose .wp-block-image {
  max-width: min(62rem, calc(100vw - (2 * var(--olp-gutter))));
}

.olp-prose figure.alignwide,
.olp-prose .alignwide {
  width: min(62rem, calc(100vw - (2 * var(--olp-gutter))));
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.olp-prose figure.alignfull,
.olp-prose .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.olp-prose figcaption {
  margin-top: 0.65rem;
  color: var(--olp-text-muted);
  font-size: 0.72rem;
}

.olp-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.olp-prose th,
.olp-prose td {
  padding: 0.8rem;
  border: 1px solid var(--olp-line);
  text-align: left;
}

.olp-article__nav {
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--olp-paper);
}

.olp-article__nav .olp-shell {
  display: flex;
  padding-top: 1.5rem;
  border-top: 1px solid var(--olp-line);
  justify-content: space-between;
  gap: 2rem;
}

.olp-article__nav a {
  max-width: 27rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.olp-page__featured {
  margin-top: clamp(3rem, 6vw, 6rem);
}

.olp-page__featured img {
  width: 100%;
  max-height: 48rem;
  object-fit: cover;
}

.olp-empty-state {
  max-width: 42rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--olp-line);
}

.olp-empty-state h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.search-form {
  display: flex;
  max-width: 38rem;
  margin-top: 2rem;
  gap: 0.5rem;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--olp-line);
  background: var(--olp-white);
}

.search-submit {
  min-height: 3.3rem;
  padding: 0.75rem 1.2rem;
  border: 0;
  background: var(--olp-wine);
  color: var(--olp-white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.olp-404 {
  min-height: 100svh;
  padding: calc(var(--olp-header) + clamp(3rem, 8vw, 7rem)) var(--olp-gutter) clamp(4rem, 8vw, 7rem);
  background: var(--olp-graphite-deep);
  color: var(--olp-white);
}

.olp-404__layout {
  display: grid;
  width: min(100%, var(--olp-shell));
  min-height: calc(100svh - var(--olp-header) - clamp(7rem, 15vw, 14rem));
  margin-inline: auto;
  grid-template-columns: 0.8fr 1.15fr 0.65fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.olp-404__signal {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(6rem, 13vw, 13rem);
  font-weight: 850;
  letter-spacing: -0.1em;
  line-height: 0.72;
}

.olp-404__signal i {
  display: block;
  width: clamp(2.8rem, 5vw, 5rem);
  height: clamp(2.8rem, 5vw, 5rem);
  margin-inline: -0.08em;
  border: clamp(0.35rem, 0.7vw, 0.75rem) solid var(--olp-wine-bright);
  border-radius: 50%;
}

.olp-404__copy h1 {
  max-width: 11ch;
  margin: 1.2rem 0 1.5rem;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
}

.olp-404__copy > p:not(.olp-eyebrow) {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.63);
}

.olp-404__copy .olp-button {
  margin-top: 1rem;
}

.olp-404__routes {
  display: grid;
  border-top: 1px solid var(--olp-line-light);
}

.olp-404__routes > p {
  margin: 0;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.olp-404__routes a {
  display: flex;
  min-height: 3.6rem;
  border-bottom: 1px solid var(--olp-line-light);
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  text-decoration: none;
}

.olp-404__routes a:hover {
  color: var(--olp-white);
}

@media (max-width: 1000px) {
  .olp-editorial-hero .olp-eyebrow,
  .olp-article__hero .olp-eyebrow,
  .olp-article__back {
    grid-column: 1 / 3;
  }

  .olp-editorial-hero h1,
  .olp-article__hero h1,
  .olp-editorial-hero .olp-shell > p:last-child,
  .olp-article__meta {
    grid-column: 3 / 12;
  }

  .olp-editorial-list__intro {
    grid-template-columns: 0.45fr 1fr;
  }

  .olp-editorial-list__intro > p:last-child {
    grid-column: 2;
  }

  .olp-post-grid {
    grid-template-columns: 1fr 1fr;
  }

  .olp-404__layout {
    grid-template-columns: 0.6fr 1.4fr;
  }

  .olp-404__routes {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .olp-editorial-hero,
  .olp-article__hero {
    padding-top: calc(var(--olp-header) + 4.5rem);
    padding-bottom: 4rem;
  }

  .olp-editorial-hero .olp-eyebrow,
  .olp-article__hero .olp-eyebrow,
  .olp-article__back,
  .olp-editorial-hero h1,
  .olp-article__hero h1,
  .olp-editorial-hero .olp-shell > p:last-child,
  .olp-article__meta {
    grid-column: 1 / -1;
  }

  .olp-editorial-hero h1,
  .olp-article__hero h1 {
    margin-top: 1.5rem;
    font-size: clamp(2.8rem, 12.5vw, 4.3rem);
  }

  .olp-article__hero .olp-eyebrow {
    grid-row: auto;
  }

  .olp-editorial-list__intro,
  .olp-post-grid {
    grid-template-columns: 1fr;
  }

  .olp-editorial-list__intro > p:last-child {
    grid-column: auto;
  }

  .olp-editorial-cta .olp-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .olp-prose {
    font-size: 1rem;
  }

  .olp-article__nav .olp-shell {
    flex-direction: column;
  }

  .olp-404__layout {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .olp-404__signal {
    font-size: clamp(5rem, 28vw, 8rem);
  }

  .olp-404__routes {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .olp-editorial-hero h1,
  .olp-article__hero h1,
  .olp-404__copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .search-form {
    flex-direction: column;
  }
}
