/* Vogue au Vent — styles du modèle single */
:root {

        --vav-navy: #103d56;

        --vav-orange: #f59a16;

        --vav-text: #54595f;

        --vav-paper: #f8f8f5;

        --vav-content-width: 1120px;

    }



    /* Le header et le footer Astra restent inchangés.

       Seul le conteneur central est libéré de la largeur et du flex Astra. */

    body.single-post #content.site-content > .ast-container {

        display: block !important;

        width: 100% !important;

        max-width: none !important;

        margin: 0 !important;

        padding: 0 !important;

    }



    body.single-post #primary {

        display: block !important;

        float: none !important;

        width: 100% !important;

        max-width: none !important;

        margin: 0 !important;

        padding: 0 !important;

    }



    body.single-post .ast-container #primary {

        width: 100% !important;

    }



    body.single-post .ast-article-single {

        margin: 0 !important;

        padding: 0 !important;

    }



    body.single-post .ast-article-single > .entry-header,

    body.single-post .ast-single-post-featured-section,

    body.single-post .ast-article-single > .ast-featured-post,

    body.single-post .ast-article-single .post-thumb,

    body.single-post .ast-article-single .ast-blog-featured-section,

    body.single-post .ast-article-single .ast-featured-image {

        display: none !important;

    }



    .vav-single-post {

        position: relative;

        left: auto;

        width: 100%;

        max-width: 100%;

        margin: 0;

        overflow: clip;

        color: var(--vav-text);

    }



    .vav-single-post,

    .vav-single-post * {

        box-sizing: border-box;

    }



    .vav-single-hero,

    .vav-single-bottom {

        position: relative;

        isolation: isolate;

        display: flex;

        align-items: center;

        width: 100%;

        min-height: clamp(360px, 43vw, 570px);

        padding: 76px 40px;

        color: #fff;

        background-color: var(--vav-navy);

        background-position: center;

        background-size: cover;

        overflow: hidden;

    }



    .vav-single-hero::before,

    .vav-single-bottom::before {

        content: "";

        position: absolute;

        z-index: -1;

        inset: 0;

        pointer-events: none;

    }



    .vav-single-hero::before {

        background: linear-gradient(90deg, rgba(3,42,61,.78) 0%, rgba(3,42,61,.48) 48%, rgba(3,42,61,.06) 100%);

    }



    .vav-single-hero-inner {

        position: relative;

        z-index: 1;

        width: min(100%, 700px);

    }



    .vav-single-hero h1 {

        max-width: 720px;

        margin: 0 0 18px;

        color: #fff;

        font-family: "Georgia", Sans-serif;

        font-size: 54px;

        font-weight: 600;

        line-height: 1.1em;



    }



    .vav-single-hero .vav-single-button {

        margin-top: 26px;

    }



    .vav-single-excerpt {

        max-width: 620px;

        margin: 0;

        color: rgba(255,255,255,.96);

        font-family: inherit;

        font-size: 18px;

        font-weight: 400;

        line-height: 1.55;

    }



    .vav-single-wave {

        position: absolute;

        z-index: 2;

        left: 0;

        bottom: -1px;

        display: block;

        width: 100%;

        height: auto;

        pointer-events: none;

    }



    /* Le contenu est rendu directement par WordPress/Elementor, sans wrapper contraignant. */

    .vav-single-content {

        display: block;

        width: 100%;

        max-width: none;

        margin: 0;

        padding: 0;

        background: var(--vav-paper);

    }



    .vav-single-content > .elementor,

    .vav-single-content > .elementor-section,

    .vav-single-content > .e-con {

        width: 100%;

        max-width: 100%;

    }



    .vav-single-bottom {

        min-height: clamp(300px, 34vw, 430px);

        padding-top: 88px;

        background-position: center 58%;

    }



    .vav-single-bottom::before {

        background: linear-gradient(90deg, rgba(3,42,61,.94) 0%, rgba(3,42,61,.74) 38%, rgba(3,42,61,.08) 85%);

    }



    .vav-single-bottom .vav-single-wave-top {

        top: -1px;

        bottom: auto;

        transform: rotate(180deg);

    }



    .vav-single-bottom-inner {

        position: relative;

        z-index: 1;

        width: min(100%, 600px);

    }



    .vav-single-bottom h2 {

        margin: 0 0 14px;

        color: #fff;

        font-family: Georgia, "Times New Roman", serif;

        font-size: clamp(34px, 4.4vw, 52px);

        line-height: 1.05;

    }



    .vav-single-bottom p {

        max-width: 520px;

        margin: 0 0 24px;

        color: rgba(255,255,255,.96);

        font: 400 17px/1.55 Arial, sans-serif;

    }



    .vav-single-button {

        display: inline-flex;

        align-items: center;

        justify-content: center;

        gap: 16px;

        min-height: 48px;

        padding: 12px 24px;

        border-radius: 999px;

        background: var(--vav-orange);

        color: #fff !important;

        font: 700 15px/1.2 Arial, sans-serif;

        text-decoration: none !important;

        transition: transform .2s ease, background .2s ease;

    }



    .vav-single-button:hover {

        background: #e88908;

    }



    @media (min-width: 768px) and (max-width: 1024px) {

        .vav-single-hero h1 {

            font-size: 54px;

        }

    }



    @media (max-width: 767px) {

        .vav-single-hero {

            min-height: 430px;

            padding: 62px 20px 82px;

            background-position: 58% center;

        }



        .vav-single-hero h1 {

            font-size: 36px;

        }



        .vav-single-excerpt {

            max-width: 95%;

            font-size: 18px;

        }



        .vav-single-bottom {

            min-height: 360px;

            padding: 78px 24px 58px;

            background-position: 62% center;

        }



        .vav-single-bottom::before {

            background: linear-gradient(90deg, rgba(3,42,61,.90), rgba(3,42,61,.42));

        }

    }



    @media (prefers-reduced-motion: reduce) {

        .vav-single-button {

            transition: none;

        }

    }

/* Navigation précédent/suivant et articles similaires */
.vav-single-related {
    width: 100%;
    padding: clamp(48px, 6vw, 82px) 24px;
    background: var(--vav-paper);
}

.vav-single-related-inner {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.vav-single-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(16, 61, 86, .16);
}

.vav-single-nav-item {
    min-width: 0;
}

.vav-single-nav-next {
    text-align: right;
}

.vav-single-nav-label {
    display: block;
    margin-bottom: 9px;
    color: #7a858b;
    font: 700 12px/1.3 Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vav-single-nav-item a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--vav-navy);
    font: 700 16px/1.4 Arial, sans-serif;
    text-decoration: none;
}

.vav-single-nav-item a:hover {
    color: #e88908;
}

.vav-single-related-heading {
    margin: 48px 0 24px;
}

.vav-single-related-heading > span {
    color: #7a858b;
    font: 700 12px/1.3 Arial, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.vav-single-related-heading h2 {
    margin: 8px 0 0;
    color: var(--vav-navy);
    font: 600 clamp(28px, 3vw, 38px)/1.15 Georgia, "Times New Roman", serif;
}

.vav-single-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.vav-related-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(16, 61, 86, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.vav-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(16, 61, 86, .14);
}

.vav-related-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.vav-related-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eef0;
}

.vav-related-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.vav-related-card:hover .vav-related-card-image img {
    transform: scale(1.04);
}

.vav-related-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--vav-navy);
    font: 600 18px Georgia, serif;
}

.vav-related-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 132px;
    padding: 18px;
}

.vav-related-card-body h3 {
    margin: 0 0 18px;
    color: var(--vav-navy);
    font: 700 17px/1.35 Arial, sans-serif;
}

.vav-related-card-more {
    margin-top: auto;
    color: #d98208;
    font: 700 13px/1.3 Arial, sans-serif;
}

@media (max-width: 900px) {
    .vav-single-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .vav-single-related {
        padding-right: 18px;
        padding-left: 18px;
    }

    .vav-single-post-navigation {
        gap: 14px;
    }

    .vav-single-nav-item a {
        font-size: 14px;
    }

    .vav-single-related-grid {
        gap: 14px;
    }

    .vav-related-card-body {
        min-height: 120px;
        padding: 13px;
    }

    .vav-related-card-body h3 {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vav-related-card,
    .vav-related-card-image img {
        transition: none;
    }
}




/* Conteneur de contenu du HERO : largeur maîtrisée, sans bordure */
.vav-single-hero .vav-single-hero-inner {
    width: min(100%, var(--content-width, 1140px));
    max-width: var(--content-width, 1140px);
    margin-inline: auto;
}

.vav-single-hero .vav-single-hero-inner h1 {
    max-width: 100%;
}


/* V25 — Conteneur inférieur Single : même largeur et centrage que le Hero */
.vav-single-bottom .vav-single-bottom-inner {
    width: min(100%, var(--content-width, 1140px));
    max-width: var(--content-width, 1140px);
    margin-inline: auto;
}
