/* Fidélité à la maquette : books (livres, vignerons, lexique). Réutilise les composants ; seules les variantes manquantes sont ici. */
@layer pages {
  /* Livres : rubrique sans lien (sous-dossiers eZ non migrés) */
  .topic-index .card__title { text-decoration: none; }
  .books-all { scroll-margin-top: 80px; }
  .books-search { padding-top: var(--space-8, 72px); }
  .books-search .section__head { margin-bottom: var(--space-6); }

  /* Fiche vigneron : variantes de page-vigneron.css (non chargé par le thème) */
  .id-grid h1 { font-size: clamp(52px, 8vw, 120px); line-height: .95; }
  .text-cols--next { margin-top: 80px; }
  .text-cols__body .carte { font-size: var(--text-l); font-weight: 300; line-height: 1.5; text-align: center; }
  .text-cols__body .carte h3, .text-cols__body .carte h4 { font-weight: 300; }
  .text-cols__body .button { color: var(--c-white); margin-top: var(--space-2); }
  .band--dark .acc__body ul.bul { list-style: disc; padding-left: 20px; margin-top: 12px; }
  .band--dark .acc__body ul.bul li { color: var(--c-cream); margin-top: 8px; max-width: 40em; }
  .band--dark .acc__body em { font-style: normal; font-weight: 600; }
  .band--dark .acc__body figure { margin: 0 0 var(--space-4); }
  .band--dark .acc__body img, .vig-lead img { max-width: 100%; height: auto; }
  .vig-lead { margin-bottom: var(--space-5); color: var(--c-cream); }
  .vig-lead figure { margin: 0; }
  .text-cols__body .prize-list { margin-top: 0; }
  @media (max-width: 600px) { .text-cols--next { margin-top: 56px; } }

  /* Home Vignerons (page-vignerons.css) */
  .id-band--title .id-band__lead strong { font-weight: 600; }
  .note { margin-top: clamp(64px, 7vw, 104px); padding-top: var(--space-5); border-top: 1px solid var(--c-line); font-size: var(--text-s); line-height: 1.6; color: var(--c-ink-soft); max-width: 56em; }

  /* Fiche d'une définition du lexique */
  .term-page { padding-top: var(--space-8, 72px); }
  .term-page__initial { font-size: clamp(96px, 14vw, 200px); line-height: .85; font-weight: 300; color: var(--c-brand); margin: 0; }
  .text-cols__body--term { grid-column: 5 / span 7; min-width: 0; }
  .text-cols__body--term .term__txt { max-width: 40em; }
  .text-cols__body--term .term__txt img { max-width: 100%; height: auto; }
  .term-page__nav { padding-top: var(--space-6); }
  .term-nav { --cluster-gap: var(--space-5); align-items: center; }
  @media (max-width: 1100px) { .text-cols__body--term { grid-column: 1 / -1; } }
}
@layer pages {
  .books-head { padding-bottom: 0; }
  .books-head + .filter-panel { margin-top: var(--space-6); }
  .books-results { padding-top: var(--space-6); }
}
@layer pages {
  .domain-wide .card__media { align-self: start; aspect-ratio: 1 / 1; height: auto; }
  .domain-wide .card__media img { height: 100%; }
  /* Plusieurs domaines dans un même groupe : de l'air entre les fiches (les photos se touchaient). */
  .domain-wide { display: grid; row-gap: var(--space-7); }
}
@layer pages {
  .text-cols__body .carte, .text-cols__body .carte [style*="text-align"] { text-align: left !important; }
}
@layer pages {
  .feature--display .pullquote blockquote p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
