@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* ==================================================
   ARTICLE — GLOBAL
================================================== */

.single-news-page,
.single-news-page *{
    box-sizing:border-box;
}

.single-news-page{
    background:#ffffff;
}

.single-news-page .le-container{
    width:min(1480px,92%);
    margin:0 auto;
}

/* ==================================================
   PROGRESSION DE LECTURE
================================================== */

.article-progress{
    position:fixed;
    top:0;
    left:0;
    z-index:9999999;
    width:100%;
    height:4px;
    background:rgba(255,255,255,.08);
    pointer-events:none;
}

.article-progress-bar{
    display:block;
    width:0;
    height:100%;
    background:#2563eb;
    box-shadow:0 0 16px rgba(37,99,235,.65);
}

/* ==================================================
   HERO
================================================== */

.single-news-hero{
    position:relative;
    overflow:hidden;
    padding:72px 0 160px;
    background:#000d20;
}

.single-news-hero-background{
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle at 14% 12%,
            rgba(37,99,235,.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 75%,
            rgba(37,99,235,.12),
            transparent 34%
        );
}

.single-news-hero .le-container{
    position:relative;
    z-index:2;
    margin-top: 50px;
}

.single-news-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:62px;
    color:rgba(255,255,255,.48);
    font-size:12px;
    font-weight:700;
}

.single-news-breadcrumb a{
    color:rgba(255,255,255,.68);
    text-decoration:none;
    transition:color .3s ease;
}

.single-news-breadcrumb a:hover{
    color:#ffffff;
}

.single-news-breadcrumb svg{
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.single-news-breadcrumb span{
    max-width:280px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.single-news-hero-content{
    max-width:1050px;
    margin:0 auto;
    text-align:center;
}

.single-news-category{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:31px;
    padding:0 14px;
    margin-bottom:24px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    background:rgba(37,99,235,.18);
    color:#94bdff;
    text-decoration:none;
    font-size:10.5px;
    font-weight:900;
    letter-spacing:.65px;
    text-transform:uppercase;
}

.single-news-hero h1{
    margin:0;
    color:#ffffff;
    font-size:clamp(43px,5vw,72px);
    font-weight:950;
    line-height:1.05;
    letter-spacing:-2.7px;
}

.single-news-excerpt{
    max-width:850px;
    margin:27px auto 0;
    color:rgba(255,255,255,.70);
    font-size:18px;
    font-weight:500;
    line-height:1.75;
}

.single-news-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin-top:33px;
}

.single-news-meta span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:rgba(255,255,255,.59);
    font-size:12px;
    font-weight:750;
}

.single-news-meta svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* ==================================================
   IMAGE PRINCIPALE
================================================== */

.single-news-featured-wrap{
    position:relative;
    z-index:3;
    margin-top:-105px;
}

.single-news-featured{
    height:clamp(420px,48vw,690px);
    margin:0;
    overflow:hidden;
    border-radius:30px;
    background:#e8eef7;
    box-shadow:0 35px 90px rgba(0,13,32,.22);
}

.single-news-featured img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ==================================================
   LAYOUT DE L’ARTICLE
================================================== */

.single-news-main{
    padding:95px 0 80px;
}

.single-news-layout{
    display:grid;
    grid-template-columns:245px minmax(0,820px);
    justify-content:center;
    align-items:start;
    gap:65px;
}

.single-news-sidebar{
    position:sticky;
    top:125px;
    display:flex;
    flex-direction:column;
    gap:24px;
}

.single-news-toc,
.single-news-share{
    padding:23px;
    border:1px solid rgba(0,13,32,.08);
    border-radius:18px;
    background:#ffffff;
    box-shadow:0 15px 40px rgba(0,13,32,.045);
}

.single-news-toc-title,
.single-news-share > strong{
    display:block;
    margin-bottom:16px;
    color:#000d20;
    font-size:13px;
    font-weight:950;
}

.single-news-toc-links{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.single-news-toc-links a{
    position:relative;
    padding:9px 0 9px 15px;
    color:#64748b;
    text-decoration:none;
    font-size:12px;
    font-weight:650;
    line-height:1.45;
    transition:color .3s ease;
}

.single-news-toc-links a::before{
    content:"";
    position:absolute;
    top:15px;
    left:0;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#cbd5e1;
    transition:background .3s ease;
}

.single-news-toc-links a:hover,
.single-news-toc-links a.is-active{
    color:#2563eb;
}

.single-news-toc-links a:hover::before,
.single-news-toc-links a.is-active::before{
    background:#2563eb;
}

.single-news-toc.is-empty{
    display:none;
}

/* ==================================================
   PARTAGE ARTICLE
================================================== */

.single-news-share-links{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

/* Tous les boutons :
   LinkedIn / Facebook / WhatsApp / Instagram / Copier */

.single-news-share-links a,
.single-news-share-links button{
    width:42px;
    height:42px;
    flex:0 0 42px;

    padding:0;
    margin:0;

    border:1px solid rgba(0,13,32,.08);
    border-radius:12px;

    background:#f7f9fd;
    color:#334155;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-family:inherit;
    font-size:14px;
    font-weight:950;

    appearance:none;
    -webkit-appearance:none;

    cursor:pointer;

    box-shadow:none;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}


/* HOVER */

.single-news-share-links a:hover,
.single-news-share-links button:hover{
    transform:translateY(-3px);

    border-color:#2563eb;

    background:#2563eb;
    color:#ffffff;

    box-shadow:0 8px 20px rgba(37,99,235,.18);
}


/* ICÔNES */

.single-news-share-links svg{
    display:block;

    width:18px;
    height:18px;

    flex:0 0 18px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;

    pointer-events:none;
}


/* MESSAGE APRÈS COPIE */

.single-news-copy-message{
    display:block;

    min-height:16px;
    margin-top:9px;

    color:#2563eb;

    font-size:10.5px;
    font-weight:800;
    line-height:1.4;
}


/* ÉTAT "LIEN COPIÉ" */

.single-news-copy.is-copied{
    border-color:#2563eb;
    background:#2563eb;
    color:#ffffff;
}


/* ACCESSIBILITÉ CLAVIER */

.single-news-share-links a:focus-visible,
.single-news-share-links button:focus-visible{
    outline:none;

    border-color:#2563eb;

    box-shadow:
        0 0 0 4px rgba(37,99,235,.12);
}

.single-news-copy-message{
    display:block;
    min-height:16px;
    margin-top:9px;
    color:#2563eb;
    font-size:10.5px;
    font-weight:800;
}

.single-news-copy.is-copied{
    border-color:#2563eb;
    background:#2563eb;
    color:#ffffff;
}

/* ==================================================
   CONTENU ÉDITORIAL
================================================== */

.single-news-content{
    min-width:0;
    color:#334155;
    font-size:17px;
    font-weight:500;
    line-height:1.9;
}

.single-news-content > *:first-child{
    margin-top:0;
}

.single-news-content p{
    margin:0 0 28px;
}

/* ==================================================
   PARAGRAPHE MIS EN AVANT / INTRO ARTICLE
================================================== */

.single-news-content .article-lead{
    margin:0 0 42px;

    color:#000000;

    font-family:"Anton", sans-serif !important;
    font-size:27px;
    font-weight:400;
    line-height:1.55;
    letter-spacing:0;
}

/* Chez LaveriExpert en bleu */
.single-news-content .article-lead .article-lead-blue{
    color:#2563eb !important;
}

/* Les strong ne doivent pas changer de police */
.single-news-content .article-lead strong{
    font-family:inherit;
    font-weight:inherit;
}

/* MOBILE */

@media(max-width:650px){

    .single-news-content .article-lead{
        margin-bottom:32px;
        font-size:22px;
        line-height:1.5;
    }

}

.single-news-content h2{
    scroll-margin-top:125px;
    margin:64px 0 22px;
    color:#000d20;
    font-size:34px;
    font-weight:950;
    line-height:1.2;
    letter-spacing:-1px;
}

.single-news-content h3{
    scroll-margin-top:125px;
    margin:45px 0 17px;
    color:#000d20;
    font-size:25px;
    font-weight:950;
    line-height:1.3;
    letter-spacing:-.5px;
}

.single-news-content h4{
    margin:35px 0 14px;
    color:#000d20;
    font-size:20px;
    font-weight:900;
}

.single-news-content strong{
    color:#000d20;
    font-weight:900;
}

.single-news-content a{
    color:#2563eb;
    font-weight:750;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}

.single-news-content ul,
.single-news-content ol{
    margin:0 0 30px;
    padding-left:25px;
}

.single-news-content li{
    margin-bottom:11px;
    padding-left:5px;
}

.single-news-content li::marker{
    color:#2563eb;
    font-weight:900;
}

.single-news-content blockquote{
    position:relative;
    margin:42px 0;
    padding:30px 34px;
    border:0;
    border-left:4px solid #2563eb;
    border-radius:0 18px 18px 0;
    background:#eef4ff;
    color:#183153;
    font-size:18px;
    font-weight:650;
    line-height:1.75;
}

.single-news-content blockquote p:last-child{
    margin-bottom:0;
}

.single-news-content img{
    max-width:100%;
    height:auto;
    border-radius:18px;
}

.single-news-content figure{
    margin:42px 0;
}

.single-news-content figcaption{
    margin-top:10px;
    color:#94a3b8;
    font-size:12px;
    line-height:1.5;
    text-align:center;
}

.single-news-content .wp-block-image{
    margin:42px 0;
}

/* ==================================================
   TABLEAUX ARTICLE
================================================== */

.single-news-content .wp-block-table{
    margin:40px 0;
    overflow-x:auto;

    border:1px solid #c7d8ff;
    border-radius:16px;

    background:#ffffff;
}

/* TABLEAU */

.single-news-content table{
    width:100%;
    margin:0;

    border-collapse:collapse;

    font-size:14px;
    line-height:1.55;

    background:#ffffff;
}

/* TOUTES LES CELLULES */

.single-news-content th,
.single-news-content td{
    padding:16px 18px;

    border:1px solid #c7d8ff;

    text-align:left;
    vertical-align:middle;
}

/* PREMIÈRE LIGNE */

.single-news-content thead th{
    background:#2563eb;
    color:#ffffff;

    font-weight:900;

    border-color:#4f7ff0;
}

/* Si Gutenberg ne génère pas de THEAD */

.single-news-content table > tbody > tr:first-child th{
    background:#2563eb;
    color:#ffffff;

    font-weight:900;

    border-color:#4f7ff0;
}

/* CELLULES */

.single-news-content td{
    color:#334155;
    background:#ffffff;
}

/* UNE LIGNE SUR DEUX */

.single-news-content tbody tr:nth-child(even) td{
    background:#f4f7ff;
}

/* HOVER LÉGER */

.single-news-content tbody tr{
    transition:background .2s ease;
}

.single-news-content tbody tr:hover td{
    background:#eef4ff;
}

/* ==================================================
   TAGS ET NAVIGATION
================================================== */

.single-news-footer{
    padding:0 0 85px;
}

.single-news-tags{
    max-width:1130px;
    margin:0 auto 34px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
}

.single-news-tags strong{
    margin-right:4px;
    color:#000d20;
    font-size:13px;
    font-weight:950;
}

/*.single-news-tags a{
    min-height:34px;
    padding:0 13px;
    border:1px solid rgba(37,99,235,.10);
    border-radius:999px;
    background:#eef4ff;
    color:#2563eb;
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    font-size:11px;
    font-weight:850;
}
*/

.single-news-tags .single-news-tag{
    min-height:34px;
    padding:0 13px;

    border:1px solid rgba(37,99,235,.10);
    border-radius:999px;

    background:#eef4ff;
    color:#2563eb;

    display:inline-flex;
    align-items:center;

    font-size:11px;
    font-weight:850;

    cursor:default;
    user-select:none;
}

.single-news-navigation{
    max-width:1130px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.single-news-navigation-item{
    min-height:130px;
    padding:27px;
    border:1px solid rgba(0,13,32,.08);
    border-radius:19px;
    background:#ffffff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-decoration:none;
    box-shadow:0 15px 40px rgba(0,13,32,.04);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.single-news-navigation-item:hover{
    transform:translateY(-5px);
    border-color:rgba(37,99,235,.22);
    box-shadow:0 25px 55px rgba(0,13,32,.08);
}

.single-news-navigation-item span{
    margin-bottom:9px;
    color:#2563eb;
    font-size:10px;
    font-weight:900;
    letter-spacing:.55px;
    text-transform:uppercase;
}

.single-news-navigation-item strong{
    color:#000d20;
    font-size:16px;
    font-weight:950;
    line-height:1.4;
}

.single-news-navigation-next{
    text-align:right;
}

/* ==================================================
   ARTICLES SIMILAIRES
================================================== */

.single-news-related{
    padding:90px 0 100px;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37,99,235,.05),
            transparent 28%
        ),
        #f7f9fd;
}

.single-news-related-header{
    margin-bottom:43px;
    text-align:center;
}

.single-news-related-header > span{
    display:inline-flex;
    min-height:30px;
    padding:0 13px;
    margin-bottom:17px;
    border:1px solid rgba(37,99,235,.12);
    border-radius:999px;
    background:#eef4ff;
    color:#2563eb;
    align-items:center;
    font-size:10.5px;
    font-weight:900;
    letter-spacing:.65px;
}

.single-news-related-header h2{
    margin:0;
    color:#000d20;
    font-size:clamp(36px,3.5vw,49px);
    font-weight:950;
    line-height:1.1;
    letter-spacing:-1.5px;
}

.single-news-related-header h2 strong{
    color:#2563eb;
}

.single-news-related-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:27px;
}

.single-news-related-card{
    overflow:hidden;
    border:1px solid rgba(0,13,32,.07);
    border-radius:22px;
    background:#ffffff;
    box-shadow:0 18px 45px rgba(0,13,32,.05);
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.single-news-related-card:hover{
    transform:translateY(-8px);
    box-shadow:0 30px 70px rgba(0,13,32,.10);
}

.single-news-related-card > a{
    height:100%;
    display:flex;
    flex-direction:column;
    color:inherit;
    text-decoration:none;
}

.single-news-related-image{
    position:relative;
    height:235px;
    overflow:hidden;
    background:#e8eef7;
}

.single-news-related-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .7s ease;
}

.single-news-related-card:hover img{
    transform:scale(1.08);
}

.single-news-related-image > span{
    position:absolute;
    left:15px;
    bottom:15px;
    min-height:28px;
    padding:0 12px;
    border-radius:999px;
    background:rgba(0,13,32,.75);
    color:#ffffff;
    display:flex;
    align-items:center;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    font-size:9.5px;
    font-weight:900;
    letter-spacing:.4px;
    text-transform:uppercase;
}

.single-news-related-content{
    flex:1;
    padding:23px 24px 25px;
    display:flex;
    flex-direction:column;
}

.single-news-related-content small{
    color:#94a3b8;
    font-size:11px;
    font-weight:750;
}

.single-news-related-content h3{
    margin:12px 0 22px;
    color:#000d20;
    font-size:19px;
    font-weight:950;
    line-height:1.35;
}

.single-news-related-content > strong{
    margin-top:auto;
    color:#2563eb;
    font-size:12.5px;
    font-weight:900;
}

.single-news-related-content > strong span{
    margin-left:5px;
    transition:margin-left .3s ease;
}

.single-news-related-card:hover
.single-news-related-content > strong span{
    margin-left:10px;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:1100px){

    .single-news-layout{
        grid-template-columns:210px minmax(0,760px);
        gap:42px;
    }

    .single-news-related-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .single-news-related-card:last-child{
        display:none;
    }

}

@media(max-width:850px){

    .single-news-hero{
        padding-bottom:125px;
    }

    .single-news-breadcrumb{
        margin-bottom:45px;
    }

    .single-news-featured-wrap{
        margin-top:-80px;
    }

    .single-news-featured{
        border-radius:23px;
    }

    .single-news-main{
        padding-top:70px;
    }

    .single-news-layout{
        grid-template-columns:1fr;
        gap:35px;
    }

    .single-news-sidebar{
        position:static;
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        gap:15px;
    }

    .single-news-share{
        min-width:190px;
    }

}

@media(max-width:650px){

    .single-news-page .le-container{
        width:calc(100% - 28px);
    }

    .single-news-hero{
        padding:50px 0 100px;
    }

    .single-news-breadcrumb{
        margin-bottom:37px;
    }

    .single-news-breadcrumb span,
    .single-news-breadcrumb svg:last-of-type{
        display:none;
    }

    .single-news-hero h1{
        font-size:37px;
        letter-spacing:-1.4px;
    }

    .single-news-excerpt{
        font-size:15px;
        line-height:1.65;
    }

    .single-news-meta{
        gap:13px 18px;
    }

    .single-news-featured-wrap{
        margin-top:-60px;
    }

    .single-news-featured{
        height:310px;
        border-radius:19px;
    }

    .single-news-main{
        padding:57px 0 60px;
    }

    .single-news-sidebar{
        display:block;
    }

    .single-news-share{
        margin-top:15px;
    }

    .single-news-content{
        font-size:15.5px;
        line-height:1.8;
    }

    .single-news-content h2{
        margin-top:50px;
        font-size:28px;
    }

    .single-news-content h3{
        margin-top:38px;
        font-size:22px;
    }

    .single-news-content blockquote{
        margin:32px 0;
        padding:24px;
        font-size:16px;
    }

    .single-news-navigation{
        grid-template-columns:1fr;
    }

    .single-news-navigation-next{
        text-align:left;
    }

    .single-news-related{
        padding:70px 0 80px;
    }

    .single-news-related-grid{
        grid-template-columns:1fr;
    }

    .single-news-related-card:last-child{
        display:block;
    }

}

@media(max-width:390px){

    .single-news-page .le-container{
        width:calc(100% - 20px);
    }

    .single-news-hero h1{
        font-size:33px;
    }

    .single-news-featured{
        height:270px;
    }

    .single-news-meta span:last-child{
        display:none;
    }

    .single-news-toc,
    .single-news-share{
        padding:20px;
    }

    .single-news-related-image{
        height:210px;
    }

}

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

    .single-news-page *,
    .single-news-page *::before,
    .single-news-page *::after{
        animation:none !important;
        transition:none !important;
        scroll-behavior:auto !important;
    }

}

/* ==================================================
   BOUTONS DANS LES ARTICLES
================================================== */

.single-news-content .wp-block-button__link{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 24px;

    border:none;
    border-radius:12px;

    background:#2563eb !important;
    color:#ffffff !important;

    text-decoration:none !important;

    font-size:13px;
    font-weight:900;

    transition:
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.single-news-content .wp-block-button__link:hover{
    background:#1d4ed8 !important;
    color:#ffffff !important;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(37,99,235,.22);
}