.article { max-width: 760px; margin: 40px auto 40px; padding: 0 16px; font-size: 17px; line-height: 1.65; }
.article h1 { font-size: 32px; margin: 4px 0 16px; }
.article-meta { color: #667; font-size: 14px; margin: 0; }
.article-resume { font-size: 19px; font-style: italic; color: #334; border-left: 4px solid #50599C; padding-left: 12px; }
.article-body blockquote { font-size: inherit; }
.article-img { max-width: 100%; height: auto; display: block; margin: 24px auto; border-radius: 6px; }
.article-pdf, .article-embed { width: 100%; height: 500px; border: 1px solid #ccd; margin: 16px 0; }

/* Posts et pages partagés : [post]…[/post] */
.embed { margin: 28px 0; max-width: 620px; font-size: 15px; line-height: 1.45; }
.embed-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dcdce4; border-radius: 12px; color: #1d2230 !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.embed-card:hover { border-color: #50599C; box-shadow: 0 8px 24px -14px rgba(29, 34, 48, .5); }
.embed-img { position: relative; display: block; aspect-ratio: 1.91 / 1; background: #eee; overflow: hidden; }
.embed-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; }
.embed-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.embed-site { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #5d6475; }
.embed-site i { margin-right: 3px; }
.embed-title { font-size: 17px; line-height: 1.3; }
.embed-desc { color: #444a5a; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.embed-url { font-size: 12px; color: #8a90a0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.embed-x .embed-desc { font-size: 16px; color: #1d2230; -webkit-line-clamp: 8; }
.embed-x .embed-site { color: #1d9bf0; }
.embed-facebook .embed-site { color: #1877f2; }
.embed-youtube .embed-site { color: #e62117; }
.embed-mastodon .embed-site { color: #6364ff; }
.embed-bluesky .embed-site { color: #0085ff; }
.embed-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; display: grid; place-items: center; background: rgba(0, 0, 0, .7); color: #fff; border-radius: 12px; font-size: 20px; transition: background .15s; }
.embed-card:hover .embed-play { background: #e62117; }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.embed-load { padding: 7px 14px; font-size: 14px; font-weight: 600; color: #fff; background: #50599C; border: 0; border-radius: 999px; cursor: pointer; }
.embed-load:hover { background: #3f4785; }
.embed-note { font-size: 12px; color: #8a90a0; }
.embed.is-loaded .embed-actions { display: none; }
.embed-video.is-loaded .embed-card, .embed-youtube.is-loaded .embed-card, .embed-vimeo.is-loaded .embed-card, .embed-peertube.is-loaded .embed-card { display: none; }
.embed-live { margin-top: 10px; }
.embed-frame iframe { width: 100%; min-height: 420px; border: 0; border-radius: 12px; }
.embed-ratio { position: relative; aspect-ratio: 16 / 9; }
.embed-ratio iframe { position: absolute; inset: 0; height: 100%; min-height: 0; }
.embed-x-frame iframe { max-width: 550px; min-height: 300px; border-radius: 12px; }
.embed.is-loaded.embed-x .embed-card, .embed.is-loaded.embed-mastodon .embed-card, .embed.is-loaded.embed-bluesky .embed-card, .embed.is-loaded.embed-facebook .embed-card { display: none; }
