.blog-page,
.article-page{
    min-height:70vh;
    color:#172033;
    background:#f4f6f8;
    font-family:Arial,sans-serif;
}

.blog-page *,
.article-page *{
    box-sizing:border-box;
}

.blog-shell,
.article-shell{
    width:min(1160px, calc(100% - 40px));
    margin:0 auto;
}

.blog-hero{
    min-height:300px;
    display:flex;
    align-items:flex-end;
    padding:64px 0;
    color:#fff;
    background:
        linear-gradient(90deg, rgba(10,18,31,.92), rgba(10,18,31,.58)),
        url('/images/banniere.jpg') center 55%/cover no-repeat;
}

.blog-hero span{
    display:block;
    margin-bottom:10px;
    color:#f5c542;
    font-size:14px;
    font-weight:800;
    text-transform:uppercase;
}

.blog-hero h1{
    margin:0;
    max-width:760px;
    color:#fff;
    font-size:52px;
    line-height:1.05;
    font-weight:900;
}

.blog-hero p{
    max-width:650px;
    margin:16px 0 0;
    color:#e2e8f0;
    font-size:18px;
    line-height:1.5;
}

.blog-content{
    padding:36px 0 72px;
}

.blog-filters{
    display:grid;
    grid-template-columns:minmax(260px,1fr) 230px auto;
    gap:10px;
    padding:16px;
    margin:0 0 26px;
    background:#fff;
    border:1px solid #dfe5eb;
    border-radius:8px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.blog-filters input,
.blog-filters select,
.blog-filters button{
    width:100%;
    min-height:46px;
    margin:0;
    border:1px solid #cbd5e1;
    border-radius:6px;
    padding:10px 12px;
    font-size:15px;
}

.blog-filters button{
    width:auto;
    color:#fff;
    background:#0d6efd;
    border-color:#0d6efd;
    font-weight:800;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    align-items:stretch;
}

.blog-card{
    min-width:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    margin:0;
    background:#fff;
    border:1px solid #dfe5eb;
    border-radius:8px;
    box-shadow:0 10px 26px rgba(15,23,42,.07);
}

.blog-card__image{
    width:100%;
    height:220px;
    display:block;
    overflow:hidden;
    background:#dfe5eb;
}

.blog-card__image img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    display:block;
    object-fit:cover;
}

.blog-card__body{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:20px;
}

.blog-meta{
    display:flex;
    align-items:center;
    gap:10px;
    color:#64748b;
    font-size:13px;
}

.blog-meta span{
    padding:5px 9px;
    color:#075985;
    background:#e0f2fe;
    border-radius:999px;
    font-weight:800;
}

.blog-card h2{
    margin:15px 0 10px;
    color:#172033;
    font-size:22px;
    line-height:1.25;
    font-weight:850;
}

.blog-card h2 a{
    color:inherit;
    text-decoration:none;
}

.blog-card p{
    flex:1;
    margin:0 0 18px;
    color:#64748b;
    font-size:15px;
    line-height:1.6;
}

.blog-read{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#0d6efd;
    text-decoration:none;
    font-weight:800;
}

.blog-empty{
    padding:44px 24px;
    text-align:center;
    background:#fff;
    border:1px solid #dfe5eb;
    border-radius:8px;
}

.article-shell{
    padding:40px 0 70px;
}

.article-back{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-bottom:28px;
    color:#0d6efd;
    text-decoration:none;
    font-weight:800;
}

.article-shell > header{
    max-width:850px;
    margin-bottom:28px;
}

.article-shell h1{
    margin:18px 0 14px;
    color:#172033;
    font-size:50px;
    line-height:1.08;
    font-weight:900;
}

.article-shell > header > p{
    margin:0;
    color:#64748b;
    font-size:20px;
    line-height:1.55;
}

.article-cover{
    width:100% !important;
    height:clamp(360px,52vw,590px) !important;
    max-width:none !important;
    display:block;
    object-fit:cover;
    border-radius:8px;
    box-shadow:0 16px 38px rgba(15,23,42,.12);
}

.article-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:44px;
    align-items:start;
    margin-top:36px;
}

.article-body{
    color:#253247;
    font-size:18px;
    line-height:1.85;
}

.article-layout aside{
    position:sticky;
    top:22px;
    padding:22px;
    background:#fff;
    border:1px solid #dfe5eb;
    border-radius:8px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.article-layout aside strong{
    font-size:20px;
}

.article-layout aside p{
    margin:10px 0 16px;
    color:#64748b;
    line-height:1.5;
}

.article-layout aside a{
    display:block;
    margin-top:8px;
    padding:10px;
    color:#075985;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    border-radius:6px;
    text-decoration:none;
    font-weight:800;
}

.article-related{
    padding:50px 0 72px;
    background:#fff;
    border-top:1px solid #e2e8f0;
}

.article-related h2{
    margin:0 0 22px;
    font-size:30px;
}

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

    .article-layout{
        grid-template-columns:1fr;
    }

    .article-layout aside{
        position:static;
    }
}

@media(max-width:680px){
    .blog-shell,
    .article-shell{
        width:min(100% - 24px,1160px);
    }

    .blog-hero{
        min-height:240px;
        padding:42px 0;
    }

    .blog-hero h1,
    .article-shell h1{
        font-size:34px;
    }

    .blog-filters,
    .blog-grid{
        grid-template-columns:1fr;
    }

    .blog-filters button{
        width:100%;
    }

    .blog-card__image{
        height:210px;
    }

    .article-shell > header > p,
    .article-body{
        font-size:16px;
    }

    .article-cover{
        height:300px !important;
    }
}
