/* Centre d'aide (/aide/ et /hub/aide/). Les couleurs viennent du site autour (--accent, --texte-doux). */
.aide-page { padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.aide-enveloppe { max-width: 46rem; }
.aide-titre { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; margin: .2em 0 .4em; }
.aide-chapo { font-size: 1.12rem; color: var(--texte-doux, #6b655d); margin: 0 0 1.5rem; }
.aide-section { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.aide-fil { font-size: .92rem; color: var(--texte-doux, #6b655d); margin-bottom: .6rem; }

.aide-recherche { margin: 0 0 1.5rem; }
.aide-recherche label { display: block; font-weight: 700; margin-bottom: .35rem; }
.aide-recherche__ligne { display: flex; gap: .5rem; }
.aide-recherche input { flex: 1; min-width: 0; font: inherit; padding: .65rem .8rem; border: 2px solid rgba(0, 0, 0, .18); border-radius: 10px; background: #fff; color: #1f1d1a; }
.aide-recherche input:focus { outline: 3px solid var(--accent, #b4532a); outline-offset: 1px; }
.aide-recherche button { font: inherit; font-weight: 700; padding: .65rem 1.1rem; border: 0; border-radius: 10px; background: var(--accent, #b4532a); color: #fff; cursor: pointer; }

.aide-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.aide-liste a { display: block; padding: .8rem 1rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: 12px; background: rgba(255, 255, 255, .7); color: inherit; text-decoration: none; }
.aide-liste a:hover, .aide-liste a:focus-visible { border-color: var(--accent, #b4532a); }
.aide-liste strong { display: block; color: var(--accent, #b4532a); }
.aide-liste span { display: block; font-size: .95rem; color: var(--texte-doux, #6b655d); margin-top: .15rem; }
.aide-liste--compacte a { padding: .55rem .9rem; }

.aide-article { line-height: 1.65; }
.aide-article h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.aide-article h3 { font-size: 1.08rem; margin: 1.4rem 0 .4rem; }
.aide-article ol, .aide-article ul { padding-left: 1.4rem; }
.aide-article li { margin: .3rem 0; }
.aide-article table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.aide-article th, .aide-article td { border: 1px solid rgba(0, 0, 0, .15); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.aide-article th { background: rgba(0, 0, 0, .04); }
.aide-bouton { display: inline-block; font: inherit; font-size: .92em; font-weight: 700; padding: 0 .4em; border: 1px solid rgba(0, 0, 0, .25); border-radius: 6px; background: #fff; color: #1f1d1a; white-space: nowrap; }
.aide-encadre { border-left: 4px solid var(--accent, #b4532a); background: rgba(0, 0, 0, .035); padding: .8rem 1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.aide-encadre p { margin: .3rem 0; }
.aide-voisins { margin-top: 2.5rem; }
.aide-bas { margin-top: 2.5rem; font-size: .95rem; }

/* Courtes vidéos en haut d'un article (visites « Montre-moi » enregistrées) */
.aide-videos { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.aide-videos--plusieurs { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.aide-video { margin: 0; }
.aide-video video { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(0, 0, 0, .15); background: #1f1a14; }
.aide-video figcaption { font-size: .92rem; font-weight: 700; margin-top: .35rem; }
.aide-video figcaption span { font-weight: 400; color: var(--texte-doux, #6b655d); }

/* Guide complet (/aide/guide/) : une page à lire ou à imprimer; le PDF est cette page imprimée */
.aide-sommaire ol { margin: .2rem 0 .8rem; padding-left: 1.4rem; }
.aide-sommaire__section { font-weight: 700; margin: .8rem 0 0; }
.aide-guide__article { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid rgba(0, 0, 0, .12); }
.aide-guide__section { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-doux, #6b655d); margin: 0; }
.aide-imprimer { font: inherit; font-weight: 700; padding: .5rem 1rem; border: 0; border-radius: 10px; background: var(--accent, #b4532a); color: #fff; cursor: pointer; }
@media print {
  .aide-ecran, header.menu, footer.pied, .styles, .saut { display: none !important; }
  .aide-page { padding: 0; }
  .aide-enveloppe { max-width: none; }
  .aide-guide__article { break-before: page; border-top: 0; margin-top: 0; padding-top: 0; }
  .aide-article h2, .aide-article h3 { break-after: avoid; }
  .aide-article li, .aide-article tr, .aide-encadre { break-inside: avoid; }
  .aide-article table { display: table; }
  .aide-guide a { color: inherit; text-decoration: none; }
}
