/* Article (spec 5.11) */
@layer pages {
.a-post { padding-bottom: var(--w-section-y); }

/* Head: breadcrumb, category, H1, meta row + share, all in the 720 px text column */
.a-head { padding-bottom: 28px; }
.a-head .w-crumbs { margin-top: 20px; }
.a-cat { margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.a-cat a { display: inline-flex; align-items: center; min-height: 32px; color: var(--w-teal-ink); text-decoration: none; }
.a-cat a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (pointer: coarse) { .a-cat a { min-height: 44px; } }
.a-title { margin-top: 6px; max-width: 24ch; }
.a-head .w-back + .a-title { margin-top: 8px; }
.a-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.a-meta__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--w-forest); flex-shrink: 0; overflow: hidden; }
.a-meta__avatar img { width: 32px; height: 32px; }
.a-meta__text { display: grid; gap: 2px; min-width: 0; }
.a-meta__author { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--w-ink); }
.a-meta__list { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--w-muted); }
.a-meta__list li { display: inline-flex; align-items: center; gap: 5px; }
.a-meta__list li + li::before { content: ""; width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: var(--w-faint); }
.a-meta__list .w-icon { width: 15px; height: 15px; color: var(--w-faint); }
.a-meta__share { margin-left: auto; flex-shrink: 0; }

/* Cover 16:9, radius 28, 1120 max */
.a-cover { margin-block: 4px clamp(28px, 1.2rem + 2.4vw, 48px); }
.a-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--w-r-card); background: var(--w-placeholder-bg); }
@media (min-width: 768px) { .a-cover img { border-radius: var(--w-r-panel); } }

/* Body: trusted admin HTML (base64 images kept, sized by the page helper) */
.a-body { content-visibility: auto; contain-intrinsic-size: auto 1px auto 3000px; overflow-wrap: break-word; }
.a-body .lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.6; font-weight: 500; color: var(--w-ink); }
.a-body img { display: block; max-width: 100%; height: auto; }
.a-body > p:has(> img), .a-body > figure { margin-block: 28px; }
.a-body > img { margin-block: 28px; }
.a-body > p:has(> img) + p:has(> img) { margin-top: 12px; }
.a-body blockquote { margin-block: 32px; }
@media (max-width: 599px) { .a-body blockquote { padding-left: 20px; font-size: 1.25rem; } }
.a-body h2 + p:has(> img), .a-body h3 + p:has(> img) { margin-top: 16px; }
.a-body iframe, .a-body video, .a-body table { max-width: 100%; }
.a-body pre { overflow-x: auto; }

/* Trip conversion widget */
.a-trip { margin-top: 48px; padding: 16px; background: var(--w-sand); border-radius: var(--w-r-panel); }
.a-trip .w-eyebrow { margin: 4px 4px 14px; }
@media (min-width: 600px) { .a-trip { padding: 24px; } .a-trip .w-eyebrow { margin: 0 0 16px; } }

/* Share row */
.a-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 48px; padding-top: 28px; border-top: var(--w-border); }
.a-share__title { font-size: 17px; font-weight: 800; line-height: 1.3; }
.a-share__sub { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--w-muted); }
.a-share__actions { display: flex; align-items: center; gap: 10px; }

/* À lire aussi + CTA */
.a-more__grid { display: grid; gap: var(--w-grid-gap); }
@media (min-width: 768px) { .a-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.a-cta:not(:first-child) { margin-top: clamp(32px, 1.5rem + 2vw, 56px); }
}
