/* Article catalog presentation. Keep the existing filters, groups and cards. */
.modus-interior .articles-hero.library-hero {
  min-height: clamp(220px, 21vw, 325px);
  padding-block: clamp(22px, 4vw, 54px);
}

.modus-interior main .library-hero h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
  margin-block-end: .25em;
}

.modus-interior .library-hero .library-hero-copy > p:not(.eyebrow) {
  margin-block-end: 1rem;
}

.modus-interior .library-hero-wave-frame {
  display: none;
}

html:not([data-theme="readable"], [data-theme="contrast"]) .modus-interior .library-hero .articles-landscape::after {
  background: linear-gradient(90deg, #042021f5, #042021b3 37%, #04202105 76%),
    linear-gradient(0deg, #061e1e, transparent 52%);
}

#library .library-controls {
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 14px;
}

#library :is(.article-group, .library-routes) {
  scroll-margin-block-start: 1rem;
}

#library .article-group h3,
#library .article-card h2 {
  font-family: Georgia, serif;
}

#library .article-card {
  border-radius: 14px;
  box-shadow: none;
}

#library .article-card .card-art {
  overflow: hidden;
}

#library [hidden] {
  display: none !important;
}
