/* DrFit — ajouts propres à WordPress (le reste vient du prototype, assets/css/style.css). */

/* Barre d'administration : l'en-tête fixe passe dessous */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.admin-bar .read-progress { top: 32px; }

/* Textes réservés aux lecteurs d'écran (classe WordPress) */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mention « à compléter », visible seulement des administrateurs connectés */
.a-completer { color: var(--saffron); font-weight: 400; }

/* Rubrique sans article dans le menu */
.nav a small { font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .7; }

/* Image des mentions légales */
.mentions-image { margin: 6px 0 18px; }
.mentions-image img { border-radius: 18px; max-width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }

/* Pages : chapô */
.prose .chapo { font-size: 22px; line-height: 1.5; color: var(--bone); }
.prose a:not(.ghost):not(.btn) { color: var(--saffron); text-decoration: underline; text-underline-offset: 3px; }
.sitemap li a { text-decoration: none !important; color: var(--mist) !important; }
.sitemap li a:hover { color: var(--saffron) !important; }
.sitemap h2 a { color: inherit !important; text-decoration: none !important; }

/* Recherche */
.search-field .btn { flex: none; }
@media (max-width: 640px) { .search-field { flex-direction: column; } }

/* Ancre gardée d'un ancien sommaire */
.ancre { position: relative; top: -110px; display: block; height: 0; }

/* Blocs de l'éditeur WordPress dans les articles et les pages */
.article-body .wp-block-image, .prose .wp-block-image { margin: 2em 0; }
.article-body .wp-block-image img { border-radius: var(--r); }
.article-body figcaption, .wp-caption-text { font-size: 14px; color: var(--ash); margin-top: 10px; text-align: center; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.has-text-align-center { text-align: center; }
.article-body iframe { max-width: 100%; border-radius: var(--r); }
.article-body [style*="border"] { border: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }

/* Formulaire WPForms éventuel : mêmes champs que le formulaire du thème */
#formulaire .wpforms-field input, #formulaire .wpforms-field textarea { background: #111114 !important; border: 0 !important; border-radius: 16px !important; color: var(--bone) !important; padding: 14px 16px !important; }
#formulaire .wpforms-field-label { color: var(--ash) !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .05em; }
#formulaire button[type="submit"] { background: var(--iris) !important; color: #fff !important; border: 0 !important; border-radius: 22.5px !important; padding: 14px 18px !important; font-weight: 600 !important; text-transform: uppercase; }
