/* ── Single post : retire le padding-top du wrapper pour que le hero parte sous le menu flottant ── */
.single .site-content-wrap {
    padding-top: 0;
}

/* ── Hero ── */
.single-post__hero {
    position: relative;
}

.single-post__hero-media {
    width: 100%;
    height: 80vh;
    min-height: 480px;
    overflow: hidden;
    background: #111;
}

.single-post__hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.single-post__hero-media--no-image {
    background: linear-gradient(130deg, #7e0f0e 0%, #b81210 45%, #dea800 100%);
}

/* ── Carte titre (chevauchement bas du hero) ── */
.single-post__hero-card {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 1060px);
    margin-inline: auto;
    margin-top: -110px;
    background: #fff;
    padding: 36px 62px 44px;
    text-align: center;
}

/* ── Méta : catégorie | date ── */
.single-post__hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.single-post__category {
    color: var(--secondary-color);
}

.single-post__sep {
    color: var(--secondary-color);
    font-weight: 300;
}

.single-post__date {
    color: var(--secondary-color);
}

/* ── Titre ── */
.single-post__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.7vw, 3rem);
    line-height: 1.12;
    color: #1a1a1a;
    font-weight: 700;
}

/* ── Corps de l'article ── */
.single-post__body {
    padding-bottom: 80px;
    width: min(100% - 40px, 1060px);
    margin: 0 auto;
    padding: 0 62px;
}
/* ── Styles Gutenberg de base ── */
.single-post__content p {
    margin: 0 0 1.5em;
    font-size: 16px;
    line-height: 1.75;
    color: #2e2e2e;
}

.single-post__content h2 {
    margin: 0.5em 0 0.6em;
    font-size: 18px;
    line-height: 1.2;
    color: #1a1a1a;
}

.single-post__content h3 {
    margin: 1.6em 0 0.5em;
    font-size: 16px;
    line-height: 1.25;
    color: #1a1a1a;
}

.single-post__content ul,
.single-post__content ol {
    margin: 0 0 1.5em 1.4em;
    padding: 0;
    line-height: 1.75;
    font-size: 1.05rem;
    color: #2e2e2e;
}

.single-post__content li + li {
    margin-top: 0.4em;
}

.single-post__content blockquote {
    margin: 2em 0;
    padding: 20px 28px;
    border-left: 4px solid var(--primary-color);
    background: #f8f8f8;
    font-style: italic;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
}

.single-post__content blockquote p {
    margin: 0;
}

.single-post__content figure {
    margin: 2em 0;
}

.single-post__content figure img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post__content figcaption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

.single-post__content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-post__content a:hover {
    opacity: 0.8;
}

.single-post__content strong {
    font-weight: 700;
    color: #1a1a1a;
}

.single-post__content hr {
    margin: 2.5em 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .single-post__hero-media {
        height: 56vh;
        min-height: 320px;
    }

    .single-post__hero-card {
        width: min(100% - 24px, 860px);
        margin-top: -60px;
        padding: 24px 22px 32px;
    }

    .single-post__title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .single-post__body {
        padding-top: 36px;
        padding-bottom: 52px;
    }
}
