/* Compléments WordPress du thème Karim Challouf (barre d'admin, contenu en blocs, mode édition). */

/* Barre d'administration : la navigation fixe passe dessous */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } #wpadminbar { position: fixed; } }
.admin-bar .progress { top: 32px; }

/* Mode édition MC Live Editor : curseur natif, pas d'animation de mots, tout visible */
html.mcle-on .cursor, html.mcle-on .cursor-label { display: none !important; }
html.mcle-on [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.mcle-on .marquee__track { animation-play-state: paused; }
html.mcle-on .work a { cursor: default; }
[data-kc-vide] { opacity: .45; border-style: dashed !important; }
html:not(.mcle-on) [data-kc-vide] { display: none; }

/* Contenu en blocs (pages simples, nouveaux projets) */
.entry { max-width: 760px; padding-top: 48px; padding-bottom: 120px; color: var(--body); font-size: var(--t-lg, 1.125rem); line-height: 1.7; }
.entry--case { max-width: 900px; }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3, .entry h4 { color: var(--text); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; margin-top: 2em; }
.entry h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.entry h3 { font-size: 1.5rem; }
.entry a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.entry strong { color: var(--text); font-weight: 500; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .4em; }
.entry img { border-radius: 14px; height: auto; }
.entry figure { margin: 2em 0; }
.entry figcaption { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); margin-top: 10px; }
.entry blockquote { border-left: 2px solid var(--accent); padding-left: 1.2em; color: var(--text); font-family: var(--f-serif); font-style: italic; font-size: 1.6em; line-height: 1.3; }
.entry .wp-block-button__link { display: inline-flex; padding: 14px 24px; border-radius: 999px; background: var(--accent); color: #0b0b0a; text-decoration: none; font-weight: 500; }
.entry .alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.entry-list { list-style: none !important; padding: 0 !important; }
.entry-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
