/* Compléments propres à WordPress : contenu des articles écrits dans l'éditeur,
   pagination des actualités, page 404, barre d'administration. */

/* ---------- Article : ce que l'éditeur produit ---------- */
.article__wrap--solo { grid-template-columns: 1fr; }
.article__wrap--solo .article__body { max-width: 72ch; margin-inline: auto; }
.article__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article__cover { position: sticky; }
.article__body > p:first-child { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.55; color: var(--cream); font-weight: 300; }
.article__body h2 { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500; }
.article__body ul, .article__body ol { color: var(--cream-70); padding-left: 1.2em; margin: 0 0 1em; line-height: 1.75; }
.article__body li { margin-bottom: 0.35em; }
.article__body a:not(.btn) { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.article__body img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.article__body figure { margin: 2em 0; }
.article__body figcaption { font-size: 0.82rem; color: var(--cream-52); margin-top: 0.6em; }
.article__body blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 1px solid rgba(198, 161, 91, 0.55); font-size: 1.15rem; color: var(--cream); }
.article__body .article__facts { padding-left: 0; }
.article__body .wp-block-image img { display: block; }

/* ---------- Pagination des actualités ---------- */
.news .pagination { margin-top: clamp(36px, 5vw, 64px); }
.news .nav-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.news .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--cream); font-size: 0.85rem;
}
.news .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--wine-950); }
.news .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.news__empty { color: var(--cream-70); }

/* ---------- 404 ---------- */
.notfound { text-align: center; min-height: 80vh; }
.notfound__code { font-family: var(--serif); font-size: clamp(5rem, 22vw, 13rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 231, 199, 0.28); }
.notfound .h-display { margin: 0.2em auto 0.5em; max-width: 18ch; }
.notfound__text { color: var(--cream-70); max-width: 44ch; margin: 0 auto 2.2em; }
.notfound__text a { color: var(--cream); }

/* ---------- Barre d'administration (quand on est connecté) ---------- */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* ---------- Bons cadeaux : boutique Zenchef dans une carte arrondie ---------- */
.voucher { padding-top: clamp(24px, 4vh, 48px); }
.voucher__intro { max-width: 62ch; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.voucher__lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--cream); font-weight: 300; margin: 0 0 0.8em; }
.voucher__note { color: var(--cream-70); margin: 0; }
.voucher__shop {
  max-width: 1080px; margin: 0 auto; overflow: hidden; background: #fff;
  border-radius: clamp(18px, 2.4vw, 30px);
  box-shadow: 0 40px 100px rgba(20, 6, 8, 0.5), 0 4px 14px rgba(20, 6, 8, 0.25);
}
.voucher__shop iframe { display: block; width: 100%; height: 820px; border: 0; }
@media (max-width: 720px) { .voucher__shop iframe { height: 1180px; } }
.voucher__alt { text-align: center; color: var(--cream-70); margin: clamp(20px, 3vw, 32px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 10px; }
