/* RIVALAN 27/11/2026 - Blog Autocopiant (theme default) */
.blog-wrap {
    padding-top: 15px;
    padding-bottom: 30px;
    color: #2b3445;
}

.blog-hero {
    background: linear-gradient(135deg, #eef5fa 0%, #f8fbfd 60%, #ffffff 100%);
    border: 1px solid #e1eaf1;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 18px;
}

.blog-hero h1 {
    margin: 0 0 8px;
    font-size: 30px;
    color: #172033;
}

.blog-hero-text,
.blog-hero-text p {
    margin: 0;
    color: #5b6b7f;
    font-size: 15px;
    line-height: 1.6;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-filter {
    background: #fff;
    border: 1px solid #dbe6ee;
    border-radius: 999px;
    color: #35506a;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    text-decoration: none;
}

.blog-filter span {
    background: #eef5fa;
    border-radius: 999px;
    color: #1f90bb;
    font-size: 12px;
    margin-left: 4px;
    padding: 1px 7px;
}

.blog-filter:hover,
.blog-filter.active {
    background: #229ac8;
    border-color: #229ac8;
    color: #fff;
    text-decoration: none;
}

.blog-filter.active span,
.blog-filter:hover span {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
}

.blog-grid > div {
    margin-bottom: 24px;
}

.blog-card {
    background: #fff;
    border: 1px solid #e3ebf2;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(23, 32, 51, .05);
    display: block;
    height: 100%;
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease;
}

.blog-card:hover {
    box-shadow: 0 14px 30px rgba(23, 32, 51, .10);
    transform: translateY(-2px);
}

.blog-card-image {
    background: #f2f6f9;
    display: block;
    overflow: hidden;
    position: relative;
}

.blog-card-image:before {
    content: "";
    display: block;
    padding-top: 61%;
}

.blog-card-image img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.blog-card-body {
    padding: 16px 18px 18px;
}

.blog-card-cat {
    background: #eaf6fb;
    border-radius: 4px;
    color: #1f90bb;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    margin-bottom: 10px;
    padding: 3px 8px;
    text-transform: uppercase;
}

.blog-card-cat:hover {
    background: #d8eef8;
    text-decoration: none;
}

.blog-card-body h2 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.blog-card-body h2 a {
    color: #172033;
}

.blog-card-body h2 a:hover {
    color: #1f90bb;
    text-decoration: none;
}

.blog-card-body p {
    color: #5b6b7f;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-card-meta {
    align-items: center;
    border-top: 1px solid #eef2f6;
    color: #7b8798;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    padding-top: 12px;
}

.blog-card-more {
    color: #229ac8;
    font-weight: 700;
}

.blog-empty {
    background: #f8fafc;
    border: 1px dashed #c9d6e2;
    border-radius: 8px;
    color: #5b6b7f;
    padding: 40px 20px;
    text-align: center;
}

.blog-empty i {
    color: #229ac8;
    font-size: 34px;
    margin-bottom: 10px;
}

.blog-recent {
    border-top: 1px solid #e7eef4;
    margin-top: 10px;
    padding-top: 20px;
}

.blog-recent h2 {
    font-size: 20px;
    margin: 0 0 12px;
}

.blog-recent ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-recent li {
    border-bottom: 1px solid #f0f4f7;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
}

.blog-recent li a {
    color: #2b3445;
    font-weight: 600;
}

.blog-recent li span {
    color: #8b97a6;
    font-size: 12px;
    white-space: nowrap;
}

/* ---------------------------------------------------------- Article */
.blog-article {
    background: #fff;
    border: 1px solid #e3ebf2;
    border-radius: 8px;
    padding: 26px 30px 30px;
}

.blog-article-head h1 {
    color: #172033;
    font-size: 32px;
    line-height: 1.25;
    margin: 10px 0 12px;
}

.blog-article-meta {
    color: #7b8798;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 16px;
}

.blog-article-cover {
    margin: 22px 0;
}

.blog-article-cover img {
    border-radius: 8px;
    display: block;
    height: auto;
    max-width: 100%;
}

.blog-article-content {
    color: #2f3a4a;
    font-size: 16px;
    line-height: 1.75;
    margin-top: 18px;
}

.blog-article-content h2 {
    border-bottom: 2px solid #eaf3f8;
    color: #172033;
    font-size: 23px;
    margin: 34px 0 14px;
    padding-bottom: 8px;
}

.blog-article-content h3 {
    color: #1f3b57;
    font-size: 19px;
    margin: 26px 0 10px;
}

.blog-article-content p {
    margin-bottom: 16px;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.blog-article-content li {
    margin-bottom: 8px;
}

.blog-article-content figure {
    margin: 24px 0;
}

.blog-article-content figure img {
    border-radius: 6px;
    height: auto;
    max-width: 100%;
}

.blog-article-content figcaption {
    color: #8b97a6;
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
}

.blog-article-content table {
    background: #fff;
    margin-bottom: 20px;
}

.blog-article-content table th {
    background: #f4f8fb;
}

.blog-article-content a {
    color: #1f90bb;
    text-decoration: underline;
}

.blog-tags {
    border-top: 1px solid #eef2f6;
    color: #5b6b7f;
    font-size: 13px;
    margin-top: 26px;
    padding-top: 16px;
}

.blog-tag {
    background: #f2f6f9;
    border-radius: 4px;
    color: #4a5a6d;
    display: inline-block;
    margin: 4px 4px 0 0;
    padding: 3px 9px;
}

.blog-share {
    align-items: center;
    border-top: 1px solid #eef2f6;
    color: #5b6b7f;
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
}

.blog-share a {
    align-items: center;
    background: #1f90bb;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.blog-share a:hover {
    background: #172f45;
    color: #fff;
}

.blog-products,
.blog-related {
    margin-top: 34px;
}

.blog-products h2,
.blog-related h2 {
    color: #172033;
    font-size: 22px;
    margin: 0 0 18px;
}

.blog-card-small {
    display: block;
}

.blog-card-small img {
    display: block;
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.blog-card-small-body {
    display: block;
    padding: 12px 14px;
}

.blog-card-small-body strong {
    color: #172033;
    display: block;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.blog-card-small-body span {
    color: #8b97a6;
    font-size: 12px;
}

.blog-related .col-sm-4 {
    margin-bottom: 20px;
}

.blog-pager {
    border-top: 1px solid #e7eef4;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 20px;
}

.blog-pager a {
    background: #f7fafc;
    border: 1px solid #e3ebf2;
    border-radius: 8px;
    color: #2b3445;
    display: flex;
    flex: 1;
    font-size: 12px;
    gap: 12px;
    padding: 12px 14px;
    text-decoration: none;
}

.blog-pager a:hover {
    border-color: #bfe3f3;
    text-decoration: none;
}

.blog-pager a strong {
    color: #172033;
    display: block;
    font-size: 14px;
    margin-top: 2px;
}

.blog-pager-next {
    text-align: right;
}

.blog-back {
    margin-top: 18px;
}

@media (max-width: 767px) {
    .blog-article {
        padding: 18px;
    }

    .blog-article-head h1 {
        font-size: 25px;
    }

    .blog-hero h1 {
        font-size: 24px;
    }

    .blog-pager {
        flex-direction: column;
    }
}


/* ------------------------------------------------- Module (accueil / produit) */
.blog-module {
    margin: 26px 0 10px;
}

.blog-module-head {
    align-items: baseline;
    border-bottom: 1px solid #e7eef4;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
}

.blog-module-head h2 {
    color: #172033;
    font-size: 22px;
    margin: 0;
}

.blog-module-all {
    color: #229ac8;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.blog-card-body h3 {
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.blog-card-body h3 a {
    color: #172033;
}

.blog-card-body h3 a:hover {
    color: #1f90bb;
    text-decoration: none;
}

