/* Lire and category archives only. The approved home and article layouts stay intact. */
.discovery-page .page-intro {
  padding-top: clamp(2rem, 3.5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}
.discovery-page .page-intro--split {
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2.5rem;
}
.discovery-page .page-intro h1 {
  max-width: 24ch;
  font-size: clamp(2.35rem, 3.7vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.discovery-page .page-intro__lead { margin-top: 1rem; font-size: 1.0625rem; }
.discovery-page .page-intro__lead p { margin: 0; }
.discovery-page .page-intro__aside { padding-top: 0; }
.discovery-shortcuts { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.discovery-shortcuts a { min-height: 44px; align-content: center; color: var(--lichen-deep); text-underline-offset: .3em; }
.discovery-page .system-section { padding-top: 2.25rem; padding-bottom: 2.5rem; }
.discovery-page .system-section__head { margin-bottom: 1.5rem; }
.discovery-page .system-section__head h2 { max-width: none; font-size: clamp(1.8rem, 2.5vw, 2.35rem); line-height: 1.15; }
.discovery-page :is(h2, summary) { scroll-margin-top: 110px; }
.rubrique-description { max-width: 47rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.rubrique-description summary { cursor: pointer; width: fit-content; padding: .7rem 0; min-height: 44px; color: var(--lichen-deep); text-decoration: underline; text-underline-offset: .3em; }
.rubrique-description p { margin: .3rem 0 0; }
.discovery-rubriques { display: none; }
.discovery-page .filter-band { gap: .25rem .8rem; padding-top: .75rem; padding-bottom: .75rem; }
.discovery-page .filter-band a { padding: .65rem .3rem; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--ink-soft); min-height: 44px; }
.discovery-page .filter-band a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--lichen-deep); font-weight: 700; }
.discovery-page .filter-band a:hover { color: var(--lichen-deep); border-bottom-color: var(--gorse); }
.discovery-page .reading-entry--illustrated {
  grid-template-columns: minmax(0, 32%) minmax(0, 1fr) 20px;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: 1.65rem 0;
  transition: none;
}
.discovery-page .reading-entry--illustrated:hover { padding-left: 0; }
.discovery-page .reading-entry__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.discovery-page .reading-entry__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.discovery-page .reading-entry__copy { min-width: 0; }
.discovery-page .reading-entry__meta { display: block; font-size: .67rem; line-height: 1.6; letter-spacing: .065em; }
.discovery-page .reading-entry--illustrated :is(h2, h3) { margin: .55rem 0 0; max-width: 34ch; font-size: clamp(1.6rem, 2.3vw, 2.25rem); font-weight: 400; line-height: 1.13; letter-spacing: -.02em; overflow-wrap: anywhere; }
.discovery-page .reading-entry--illustrated p { margin: .7rem 0 0; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.discovery-page .reading-entry__byline { display: block; margin-top: .9rem; font-size: .85rem; color: var(--ink-soft); }
.discovery-page .reading-entry__arrow { color: var(--lichen-deep); font-size: 1.25rem; }
.discovery-page .reading-entry--illustrated:hover :is(h2,h3) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.discovery-page .reading-entry--without-image { grid-template-columns: minmax(0,1fr) 20px; }
.discovery-page .reading-entry--without-image .reading-entry__copy { max-width: 52rem; }
.discovery-page .voice-doors { gap: 2rem; }
.discovery-page .voice-door { min-height: 0; padding: 1.4rem 1.75rem 1.4rem 0; border-top-width: 2px; background: transparent; }
.discovery-page .voice-door strong { max-width: none; margin: .75rem 0; font-size: 2rem; line-height: 1.15; }
.discovery-page .voice-door p { margin: 0; font-size: 1rem; line-height: 1.6; }
.discovery-page .voice-door__arrow { right: 0; bottom: 1.4rem; }
.discovery-page .system-section .filter-band { padding-left: 0; padding-right: 0; border-bottom: 0; }
.discovery-page :is(a,summary):focus-visible { outline: 2px solid var(--lichen-deep); outline-offset: 5px; }
@media (max-width: 920px) {
  .discovery-page .page-intro--split { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .discovery-page .page-intro__aside { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-left: 0; border-left: 0; }
  .discovery-page .page-intro__aside strong { margin: 0; font-size: 1.4rem; }
  .discovery-page .reading-entry--illustrated { gap: 1.25rem; }
  .discovery-page .reading-entry--illustrated :is(h2,h3) { font-size: 1.75rem; }
}
@media (max-width: 600px) {
  .discovery-page--category > .filter-band { display: none; }
  .discovery-rubriques { display: block; margin: 0 var(--gutter); border-bottom: 1px solid var(--line); }
  .discovery-rubriques summary { min-height: 44px; padding: .75rem 0; cursor: pointer; color: var(--lichen-deep); }
  .discovery-rubriques .filter-band { padding: .25rem 0 1rem; border: 0; }
  .discovery-page .reading-entry--illustrated { grid-template-columns: minmax(0,1fr) 18px; gap: 1rem .75rem; padding: 1.5rem 0; }
  .discovery-page .reading-entry__image { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .discovery-page .reading-entry__arrow { align-self: start; margin-top: 1.6rem; }
  .discovery-page .reading-entry--illustrated :is(h2,h3) { font-size: 1.75rem; }
  .discovery-page .voice-doors { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .discovery-page .page-intro__aside { gap: .3rem 1rem; }
  .discovery-page .system-section { padding-top: 1.5rem; padding-bottom: 1.75rem; }
}
