/* Editorial layout for the four entry pages. */
:is(.is-home, .contact-page, .about-page) {
  --editorial-olive: #4c5b3c;
  --editorial-line: #d6dfd1;
  --editorial-tint: #eef3ea;
  --editorial-hero: linear-gradient(145deg, #e9f0e6, #f9f6f1 74%);
}

.editorial-art,
.is-home .home-editorial-art {
  margin: 0;
  padding: clamp(8px, 1.1vw, 14px);
  border: 1px solid var(--editorial-line);
  border-radius: 24px;
  background: var(--editorial-tint);
}

.editorial-art img,
.is-home .home-editorial-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 15px;
}

/* Home */
.is-home .home-hero.redesigned-hero {
  align-items: center;
  gap: clamp(20px, 3.5vw, 44px);
  overflow: visible;
  padding-block: clamp(26px, 5vw, 48px);
  border-bottom: 1px solid var(--editorial-line);
  background: var(--editorial-hero);
  box-shadow: 0 0 0 100vmax #eff3eb;
  clip-path: inset(0 -100vmax);
}

.is-home .home-hero h1#home-title {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--editorial-olive);
  letter-spacing: -.045em;
}

.is-home .home-hero-copy > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.is-home .home-hero-copy .lw-search-form {
  position: relative;
  z-index: 3;
}

.is-home .home-hero .home-route-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0;
}

.is-home .home-hero .home-route-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-content: center;
  min-width: 0;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  background: #fff;
  color: var(--editorial-olive);
  text-align: start;
  text-decoration: none;
}

.is-home .home-hero .home-route-button::after {
  content: "→" / "";
  grid-area: 1 / 2 / 3 / 3;
  align-self: center;
}

.is-home .home-hero .home-route-button span {
  grid-column: 1;
  color: var(--home-muted);
}

.is-home .home-hero .home-route-button:hover {
  border-color: #7a8450;
  background: #f9f6f1;
}

.is-home .home-editorial-routes .home-themes {
  margin-top: 0;
  padding-top: 14px;
  border: 0;
}

.is-home .home-theme {
  border-radius: 16px;
}

.is-home .home-books {
  width: min(100%, 1280px);
  padding-inline: clamp(16px, 3vw, 36px);
}

/* Contact */
.contact-page .contact-hero.redesigned-hero {
  background: var(--editorial-hero);
  border-bottom-color: var(--editorial-line);
}

.contact-page .contact-hero h1 {
  color: var(--editorial-olive);
}

.contact-page .contact-main,
.contact-page .contact-sidebar {
  display: grid;
  min-width: 0;
  gap: clamp(14px, 2vw, 22px);
}

.contact-page .contact-section-card {
  border-radius: 20px;
}

.contact-page .contact-direct {
  margin: 0;
  padding: clamp(17px, 2.8vw, 29px);
  border-color: var(--editorial-line);
  background: var(--editorial-tint);
}

.contact-page .contact-compose {
  scroll-margin-top: 90px;
}

.contact-page .contact-compose:not(:has([data-contact-compose]:not([hidden]))) {
  display: none;
}

.contact-page .contact-topics li + li {
  border-top: 1px solid var(--editorial-line);
}

.contact-page .contact-direct .button {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Over mij */
.about-page .about-editorial .editorial-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(20px, 4vw, 50px);
  background: var(--editorial-hero);
  box-shadow: 0 0 0 100vmax #eff3eb;
  clip-path: inset(0 -100vmax);
}

.about-page .editorial-profile-hero h1 {
  color: var(--editorial-olive);
  letter-spacing: -.045em;
}

.about-page .about-editorial .about-profile {
  background: var(--editorial-tint);
  border-radius: 20px;
}

.about-page .about-editorial .about-page-nav a {
  min-height: 44px;
}

/* VERS */
.vers-page .editorial-vers-hero {
  --editorial-line: var(--vers-line);
  --editorial-tint: #edf5fb;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(20px, 3.4vw, 44px);
}

.vers-page .editorial-vers-hero .article-header {
  position: static;
  min-width: 0;
}

.vers-page .editorial-vers-hero .article-header > p:not(.eyebrow) {
  max-width: 62ch;
}

.vers-page .editorial-vers-hero .quick-route-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.vers-page .vers-toc ul {
  gap: 8px;
}

.vers-page .vers-toc a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--vers-line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
}

.vers-page .vers-toc a:hover {
  background: #edf5fb;
  text-decoration: underline;
}

@media (max-width: 830px) {
  .about-page .about-editorial .editorial-profile-hero,
  .vers-page .editorial-vers-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .is-home .home-hero .home-route-actions,
  .vers-page .editorial-vers-hero .quick-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .is-home .home-hero .home-route-button {
    min-height: 72px;
    padding: 13px 16px;
  }
}

@media print {
  .editorial-art,
  .home-editorial-art {
    display: none;
  }
}

.contact-page .contact-hero.redesigned-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
}

.contact-page .contact-hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--editorial-line);
}

.contact-page .contact-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-page .about-editorial .interest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.about-page .about-editorial .interest-list li {
  display: flex;
  align-items: center;
  min-height: 64px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--interest-border, #ccdace);
  border-radius: 13px;
  background: var(--interest-bg, #eaf2e9);
  color: #283c35;
  font-weight: 600;
}

.about-page .about-editorial .interest-list li::before { content: none; }

.about-page .interest-list li:nth-child(3n + 2) {
  --interest-bg: #f5ecdf;
  --interest-border: #e7d7c1;
}

.about-page .interest-list li:nth-child(3n) {
  --interest-bg: #e8f0f4;
  --interest-border: #ccdce4;
}

@media (max-width: 640px) {
  .contact-page .contact-hero.redesigned-hero,
  .about-page .about-editorial .interest-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
