/* ============================================================
   JL'O DESIGN — BLOG
   CSS COMPLET
   ============================================================ */


/* ============================================================
   1. VARIABLES
   ============================================================ */

:root {
    --jlo-gold: #c79a3b;
    --jlo-gold-dark: #a97820;
    --jlo-gold-light: #ead7a7;

    --jlo-black: #171512;
    --jlo-text: #292621;
    --jlo-muted: #77716a;

    --jlo-bg: #faf8f3;
    --jlo-white: #ffffff;

    --jlo-border: #e8dfd0;

    --jlo-radius: 18px;

    --jlo-shadow:
        0 12px 35px rgba(50, 38, 20, 0.08);

    --jlo-container: 1280px;
}


/* ============================================================
   2. RESET BLOG
   ============================================================ */

.blog-hero *,
.blog-main-section * {
    box-sizing: border-box;
}

.blog-hero a,
.blog-main-section a {
    text-decoration: none;
}

.blog-main-section img {
    max-width: 100%;
}


/* ============================================================
   3. CONTAINER
   ============================================================ */

.blog-hero .container,
.blog-main-section .container {
    width: min(100% - 40px, var(--jlo-container));
    margin: 0 auto;
}


/* ============================================================
   4. HERO PRINCIPAL
   ============================================================ */

.blog-hero {
    position: relative;

    min-height: 570px;

    overflow: hidden;

    background: var(--jlo-bg);

    display: flex;
    align-items: center;
}


/* ============================================================
   5. IMAGE D'ACCUEIL DU BLOG
   ============================================================ */

.blog-hero-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 54%;
    height: 100%;

    overflow: hidden;

    z-index: 1;
}

.blog-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.01);

    transition: transform 1s ease;
}

.blog-hero:hover .blog-hero-image img {
    transform: scale(1.04);
}


/* Fondu entre le texte et l'image */

.blog-hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            var(--jlo-bg) 0%,
            rgba(250, 248, 243, 0.96) 8%,
            rgba(250, 248, 243, 0.72) 22%,
            rgba(250, 248, 243, 0.20) 52%,
            rgba(250, 248, 243, 0) 78%
        );

    pointer-events: none;
}


/* ============================================================
   6. CONTENU HERO
   ============================================================ */

.blog-hero .container {
    position: relative;

    z-index: 5;
}


.blog-hero-content {
    width: 56%;

    padding: 85px 0 95px;
}


/* ============================================================
   7. SOUS-TITRE HERO
   ============================================================ */

.blog-hero-subtitle {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 20px;

    color: var(--jlo-gold);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.blog-hero-subtitle::before {
    content: "";

    width: 48px;
    height: 1px;

    background: var(--jlo-gold);
}


/* ============================================================
   8. TITRE HERO
   ============================================================ */

.blog-hero-title {
    margin: 0;

    color: var(--jlo-black);

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

    font-size: clamp(48px, 5vw, 78px);

    font-weight: 500;

    line-height: 1;

    letter-spacing: -2px;
}

.blog-hero-title .gold {
    display: block;

    color: var(--jlo-gold);

    font-style: italic;
}


/* ============================================================
   9. LIGNE DÉCORATIVE
   ============================================================ */

.blog-hero-divider {
    display: flex;

    align-items: center;

    width: 330px;

    margin: 30px 0 25px;
}

.blog-hero-divider::before,
.blog-hero-divider::after {
    content: "";

    height: 1px;

    background: var(--jlo-gold);
}

.blog-hero-divider::before {
    width: 140px;
}

.blog-hero-divider::after {
    width: 140px;
}

.blog-hero-divider .diamond {
    width: 12px;
    height: 12px;

    margin: 0 15px;

    border: 2px solid var(--jlo-gold);

    transform: rotate(45deg);
}


/* ============================================================
   10. DESCRIPTION HERO
   ============================================================ */

.blog-hero-description {
    max-width: 580px;

    margin: 0 0 30px;

    color: #625d56;

    font-size: 16px;

    line-height: 1.8;
}


/* ============================================================
   11. RECHERCHE
   ============================================================ */

.blog-search-form {
    position: relative;

    display: flex;
    align-items: center;

    width: min(100%, 500px);

    height: 58px;

    overflow: hidden;

    background: var(--jlo-white);

    border: 1px solid var(--jlo-border);

    border-radius: 30px;

    box-shadow:
        0 8px 25px rgba(70, 50, 20, 0.08);
}

.blog-search-input {
    width: 100%;
    height: 100%;

    padding:
        0
        70px
        0
        25px;

    border: none;

    outline: none;

    background: transparent;

    color: var(--jlo-text);

    font-size: 14px;
}

.blog-search-input::placeholder {
    color: #aaa39b;
}

.blog-search-submit {
    position: absolute;

    top: 6px;
    right: 6px;

    width: 46px;
    height: 46px;

    display: flex;

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

    border: none;

    border-radius: 50%;

    background: var(--jlo-gold);

    color: white;

    cursor: pointer;

    transition: all 0.3s ease;
}

.blog-search-submit:hover {
    background: var(--jlo-gold-dark);

    transform: scale(1.06);
}


/* ============================================================
   12. SECTION PRINCIPALE
   ============================================================ */

.blog-main-section {
    padding: 55px 0 90px;

    background: var(--jlo-bg);
}


/* ============================================================
   13. FILTRES
   ============================================================ */

.blog-filters {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 30px;

    overflow-x: auto;

    padding-bottom: 5px;

    scrollbar-width: none;
}

.blog-filters::-webkit-scrollbar {
    display: none;
}


.blog-filter-btn {
    flex: 0 0 auto;

    min-height: 47px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 0 17px;

    border: 1px solid var(--jlo-border);

    border-radius: 25px;

    background: white;

    color: #5f5951;

    font-size: 13px;

    font-weight: 600;

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

.blog-filter-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(60, 40, 15, 0.08);
}

.blog-filter-btn.active {
    background: var(--jlo-gold) !important;

    border-color: var(--jlo-gold) !important;

    color: white !important;

    box-shadow:
        0 7px 20px rgba(199, 154, 59, 0.22);
}


.filter-count {
    min-width: 24px;
    height: 24px;

    display: inline-flex;

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

    padding: 0 5px;

    border-radius: 50%;

    background: rgba(199, 154, 59, 0.12);

    font-size: 11px;
}

.blog-filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.22);
}


/* ============================================================
   14. BARRE INFORMATION
   ============================================================ */

.blog-info-bar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;

    padding: 17px 22px;

    background: white;

    border-left: 4px solid var(--jlo-gold);

    border-radius: 10px;

    box-shadow:
        0 5px 20px rgba(60, 40, 15, 0.04);
}

.blog-info-bar-left {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color: #686159;

    font-size: 13px;
}

.blog-info-bar-left > i {
    color: var(--jlo-gold);
}

.blog-info-bar-left strong {
    color: var(--jlo-text);
}

.blog-info-count {
    color: #989087;

    margin-left: 4px;
}

.blog-info-clear {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--jlo-gold);

    font-size: 12px;

    font-weight: 700;
}

.blog-info-clear:hover {
    color: var(--jlo-gold-dark);
}


/* ============================================================
   15. LAYOUT
   ============================================================ */

.blog-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        310px;

    gap: 35px;

    align-items: start;
}

.blog-articles-col {
    min-width: 0;
}


/* ============================================================
   16. ARTICLE À LA UNE
   ============================================================ */

.featured-article {
    overflow: hidden;

    margin-bottom: 45px;

    background: white;

    border-radius: 22px;

    box-shadow: var(--jlo-shadow);
}


/* ============================================================
   17. IMAGE ARTICLE À LA UNE
   ============================================================ */

.featured-article-image-link {
    display: block;
}

.featured-article-image {
    position: relative;

    height: 450px;

    overflow: hidden;

    background: #ddd;

    isolation: isolate;
}


/* Image floue derrière */

.featured-article-image::before {
    content: "";

    position: absolute;

    inset: -25px;

    background-image: var(--bg-img);

    background-position: center;

    background-size: cover;

    filter: blur(20px);

    transform: scale(1.12);

    opacity: 0.6;

    z-index: -2;
}


/* Image principale */

.featured-article-image img {
    position: relative;

    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}

.featured-article:hover
.featured-article-image img {
    transform: scale(1.04);
}


/* ============================================================
   18. OVERLAY IMAGE
   ============================================================ */

.featured-article-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to top,
            rgba(20, 16, 10, 0.72),
            rgba(20, 16, 10, 0.05) 65%
        );

    pointer-events: none;
}


/* ============================================================
   19. BADGE À LA UNE
   ============================================================ */

.featured-badge {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 5;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 15px;

    border-radius: 25px;

    background: var(--jlo-gold);

    color: white;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);
}


/* ============================================================
   20. BADGE CATÉGORIE FEATURED
   ============================================================ */

.featured-article-cat-badge {
    position: absolute;

    right: 20px;
    bottom: 20px;

    z-index: 5;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 14px;

    border-radius: 20px;

    color: white;

    font-size: 11px;

    font-weight: 700;
}


/* ============================================================
   21. CONTENU FEATURED
   ============================================================ */

.featured-article-content {
    padding: 28px 32px 32px;
}

.featured-article-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 15px;

    color: #8d867e;

    font-size: 11px;
}

.featured-article-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}

.featured-article-meta i {
    color: var(--jlo-gold);
}


.featured-article-title {
    margin: 0 0 12px;

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

    font-size: clamp(28px, 3vw, 40px);

    line-height: 1.15;

    font-weight: 500;
}

.featured-article-title a {
    color: var(--jlo-black);

    transition: color 0.25s ease;
}

.featured-article-title a:hover {
    color: var(--jlo-gold);
}


.featured-article-subtitle {
    margin: 0 0 12px;

    color: var(--jlo-gold);

    font-size: 15px;

    font-weight: 600;
}


.featured-article-excerpt {
    max-width: 850px;

    margin: 0 0 20px;

    color: #77716b;

    font-size: 14px;

    line-height: 1.75;
}


/* ============================================================
   22. TAGS
   ============================================================ */

.featured-article-tags,
.article-card-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;
}

.blog-tag,
.blog-tag-mini {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: 20px;

    background: #f7f1e5;

    color: #92702d;

    font-size: 10px;

    font-weight: 600;

    transition: all 0.25s ease;
}

.blog-tag:hover,
.blog-tag-mini:hover {
    background: var(--jlo-gold);

    color: white;
}


/* ============================================================
   23. BOUTON LIRE
   ============================================================ */

.btn-read-more {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 21px;

    border-radius: 25px;

    background: var(--jlo-gold);

    color: white;

    font-size: 12px;

    font-weight: 700;

    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: var(--jlo-gold-dark);

    transform: translateX(3px);
}


/* ============================================================
   24. TITRE DE SECTION
   ============================================================ */

.blog-section-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}

.blog-section-title {
    margin: 0;

    color: var(--jlo-black);

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

    font-size: 30px;

    font-weight: 500;
}

.blog-section-title::after {
    content: "";

    display: block;

    width: 45px;
    height: 2px;

    margin-top: 10px;

    background: var(--jlo-gold);
}

.blog-section-count {
    color: var(--jlo-muted);

    font-size: 12px;
}


/* ============================================================
   25. GRILLE DES ARTICLES
   ============================================================ */

.articles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* ============================================================
   26. CARTE ARTICLE
   ============================================================ */

.article-card {
    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: white;

    border:
        1px solid
        rgba(230, 220, 205, 0.8);

    border-radius: var(--jlo-radius);

    box-shadow:
        0 8px 25px rgba(50, 35, 15, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.article-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(50, 35, 15, 0.12);
}


/* ============================================================
   27. IMAGE CARTE
   ============================================================ */

.article-card-image-link {
    display: block;
}

.article-card-image {
    position: relative;

    height: 230px;

    overflow: hidden;

    background: #eee;

    isolation: isolate;
}


/* Fond flou */

.article-card-image::before {
    content: "";

    position: absolute;

    inset: -20px;

    background-image: var(--bg-img);

    background-position: center;

    background-size: cover;

    filter: blur(18px);

    transform: scale(1.1);

    opacity: 0.55;

    z-index: -2;
}


/* Image */

.article-card-img {
    position: relative;

    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.article-card:hover
.article-card-img {
    transform: scale(1.07);
}


/* ============================================================
   28. BADGE CATÉGORIE CARTE
   ============================================================ */

.article-card-category-tag {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 6;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 11px;

    border-radius: 20px;

    color: white;

    font-size: 10px;

    font-weight: 700;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.12);
}


/* ============================================================
   29. OVERLAY CARTE
   ============================================================ */

.article-card-overlay {
    position: absolute;

    inset: 0;

    z-index: 4;

    display: flex;

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

    background:
        rgba(25, 20, 12, 0.45);

    opacity: 0;

    transition: opacity 0.3s ease;
}

.article-card:hover
.article-card-overlay {
    opacity: 1;
}

.article-card-read-label {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 17px;

    border-radius: 25px;

    background: white;

    color: var(--jlo-text);

    font-size: 11px;

    font-weight: 700;

    transform: translateY(10px);

    transition:
        transform 0.3s ease;
}

.article-card:hover
.article-card-read-label {
    transform: translateY(0);
}


/* ============================================================
   30. TEMPS DE LECTURE
   ============================================================ */

.article-card-reading-time {
    position: absolute;

    right: 14px;
    bottom: 14px;

    z-index: 7;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 6px 9px;

    border-radius: 15px;

    background:
        rgba(20, 18, 15, 0.72);

    color: white;

    font-size: 9px;
}


/* ============================================================
   31. CONTENU CARTE
   ============================================================ */

.article-card-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 20px;
}


/* ============================================================
   32. META CARTE
   ============================================================ */

.article-card-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 12px;

    color: #928b82;

    font-size: 9px;
}

.article-card-meta span {
    display: inline-flex;

    align-items: center;

    gap: 5px;
}

.article-card-meta i {
    color: var(--jlo-gold);
}


/* ============================================================
   33. TITRE CARTE
   ============================================================ */

.article-card-title {
    margin: 0 0 10px;

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

    font-size: 19px;

    line-height: 1.3;
}

.article-card-title a {
    color: var(--jlo-black);

    transition:
        color 0.25s ease;
}

.article-card-title a:hover {
    color: var(--jlo-gold);
}


/* ============================================================
   34. EXCERPT
   ============================================================ */

.article-card-excerpt {
    display: -webkit-box;

    margin: 0 0 15px;

    overflow: hidden;

    color: #77716a;

    font-size: 12px;

    line-height: 1.65;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* ============================================================
   35. TAGS MINI
   ============================================================ */

.article-card-tags {
    margin-bottom: 18px;
}

.blog-tag-mini {
    padding: 5px 8px;

    font-size: 9px;
}


/* ============================================================
   36. FOOTER CARTE
   ============================================================ */

.article-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: auto;

    padding-top: 15px;

    border-top:
        1px solid #eee8dd;
}


/* ============================================================
   37. AUTEUR
   ============================================================ */

.article-card-author {
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}

.article-card-author-avatar {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;

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

    border-radius: 50%;

    background: var(--jlo-gold);

    color: white;

    font-family: Georgia, serif;

    font-size: 14px;

    font-weight: 700;
}

.article-card-author-info {
    display: flex;

    flex-direction: column;

    gap: 2px;

    min-width: 0;
}

.article-card-author-name {
    overflow: hidden;

    color: var(--jlo-text);

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.article-card-author-role {
    color: #aaa29a;

    font-size: 8px;
}


/* ============================================================
   38. LIEN LIRE
   ============================================================ */

.article-card-link {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    flex-shrink: 0;

    color: var(--jlo-gold);

    font-size: 10px;

    font-weight: 700;

    transition:
        gap 0.25s ease;
}

.article-card-link:hover {
    gap: 10px;
}


/* ============================================================
   39. PAGINATION
   ============================================================ */

.blog-pagination {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 45px;
}

.blog-page-numbers {
    display: flex;

    align-items: center;

    gap: 7px;
}

.blog-page-link {
    min-width: 42px;
    height: 42px;

    display: inline-flex;

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

    gap: 7px;

    padding: 0 12px;

    border:
        1px solid
        var(--jlo-border);

    border-radius: 9px;

    background: white;

    color: #645e55;

    font-size: 11px;

    font-weight: 600;

    transition: all 0.25s ease;
}

.blog-page-link:hover,
.blog-page-link.active {
    background: var(--jlo-gold);

    border-color: var(--jlo-gold);

    color: white;
}

.blog-page-link.disabled {
    opacity: 0.4;

    cursor: not-allowed;
}


/* ============================================================
   40. AUCUN ARTICLE
   ============================================================ */

.blog-no-results {
    padding: 80px 30px;

    text-align: center;

    background: white;

    border:
        1px solid
        var(--jlo-border);

    border-radius: 20px;

    box-shadow: var(--jlo-shadow);
}

.blog-no-results-icon {
    width: 75px;
    height: 75px;

    display: flex;

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

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #f6efdf;

    color: var(--jlo-gold);

    font-size: 28px;
}

.blog-no-results h3 {
    margin: 0 0 10px;

    color: var(--jlo-black);

    font-family:
        Georgia,
        serif;

    font-size: 25px;
}

.blog-no-results p {
    max-width: 500px;

    margin: 0 auto 25px;

    color: var(--jlo-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* ============================================================
   41. BOUTON OR
   ============================================================ */

.btn-jlo-gold {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 13px 22px;

    border-radius: 25px;

    background: var(--jlo-gold);

    color: white;

    font-size: 12px;

    font-weight: 700;

    transition: all 0.3s ease;
}

.btn-jlo-gold:hover {
    background: var(--jlo-gold-dark);

    transform: translateY(-2px);
}


/* ============================================================
   42. PLACEHOLDER IMAGE
   ============================================================ */

.featured-article-image-placeholder,
.article-card-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

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

    gap: 12px;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #eee6d6,
            #f8f5ee
        );

    color: var(--jlo-gold);

    text-align: center;
}

.featured-article-image-placeholder i,
.article-card-image-placeholder i {
    font-size: 35px;
}

.article-card-image-placeholder {
    font-size: 11px;
}


/* ============================================================
   43. SIDEBAR
   ============================================================ */

/*
   Ton template charge :

   {% include 'blog/partials/sidebar.html' %}

   Ces styles permettent au sidebar d'avoir
   le même aspect visuel que le reste du blog.
*/

.blog-layout aside,
.blog-layout .blog-sidebar,
.blog-sidebar {
    min-width: 0;
}

.blog-sidebar > *,
.blog-layout aside > * {
    margin-bottom: 22px;
}


/* ============================================================
   44. WIDGET SIDEBAR
   ============================================================ */

.blog-sidebar-widget,
.sidebar-widget {
    padding: 22px;

    background: white;

    border:
        1px solid
        var(--jlo-border);

    border-radius: 16px;

    box-shadow:
        0 7px 22px rgba(50, 35, 15, 0.05);
}

.blog-sidebar-widget h3,
.sidebar-widget h3 {
    margin: 0 0 17px;

    color: var(--jlo-black);

    font-family:
        Georgia,
        serif;

    font-size: 20px;
}


/* ============================================================
   45. RESPONSIVE TABLETTE
   ============================================================ */

@media (max-width: 1100px) {

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

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

    .blog-hero-content {
        width: 62%;
    }

    .blog-hero-image {
        width: 58%;
    }
}


/* ============================================================
   46. RESPONSIVE TABLETTE PETITE
   ============================================================ */

@media (max-width: 900px) {

    .blog-hero-content {
        width: 65%;
    }

    .blog-hero-image {
        width: 65%;
    }

    .blog-hero-image::after {
        background:
            linear-gradient(
                90deg,
                var(--jlo-bg) 0%,
                rgba(250, 248, 243, 0.92) 15%,
                rgba(250, 248, 243, 0.35) 50%,
                transparent 80%
            );
    }
}


/* ============================================================
   47. MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .blog-hero {
        min-height: 650px;

        align-items: center;
    }


    /* Image derrière le texte */

    .blog-hero-image {
        width: 100%;
        height: 100%;

        opacity: 0.30;
    }

    .blog-hero-image img {
        object-position: center;
    }

    .blog-hero-image::after {
        background:
            linear-gradient(
                180deg,
                rgba(250, 248, 243, 0.40) 0%,
                rgba(250, 248, 243, 0.80) 55%,
                var(--jlo-bg) 100%
            );
    }


    .blog-hero-content {
        width: 100%;

        padding: 80px 0 100px;
    }


    .blog-hero-title {
        font-size: 50px;

        letter-spacing: -1.5px;
    }


    .blog-hero-description {
        max-width: 550px;

        font-size: 14px;
    }


    .blog-main-section {
        padding-top: 35px;
    }


    .blog-layout {
        display: block;
    }


    .articles-grid {
        grid-template-columns: 1fr;
    }


    .featured-article-image {
        height: 340px;
    }


    .featured-article-content {
        padding: 23px;
    }


    .featured-article-title {
        font-size: 28px;
    }


    .blog-section-title {
        font-size: 27px;
    }


    .blog-layout aside {
        margin-top: 40px;
    }
}


/* ============================================================
   48. PETIT MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .blog-hero .container,
    .blog-main-section .container {
        width: min(
            100% - 24px,
            var(--jlo-container)
        );
    }


    .blog-hero {
        min-height: 620px;
    }


    .blog-hero-content {
        padding: 70px 0 90px;
    }


    .blog-hero-subtitle {
        font-size: 11px;

        letter-spacing: 3px;
    }


    .blog-hero-title {
        font-size: 42px;

        line-height: 1.02;
    }


    .blog-hero-description {
        font-size: 13px;

        line-height: 1.7;
    }


    .blog-hero-divider {
        width: 260px;
    }


    .blog-hero-divider::before,
    .blog-hero-divider::after {
        width: 110px;
    }


    .blog-search-form {
        height: 54px;
    }


    .blog-search-submit {
        width: 44px;
        height: 44px;
    }


    .blog-filter-btn {
        min-height: 43px;

        padding: 0 13px;

        font-size: 11px;
    }


    .blog-info-bar {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .featured-article-image {
        height: 270px;
    }


    .featured-article-content {
        padding: 20px;
    }


    .featured-article-title {
        font-size: 26px;
    }


    .featured-article-meta {
        flex-direction: column;

        gap: 7px;
    }


    .article-card-image {
        height: 240px;
    }


    .article-card-content {
        padding: 18px;
    }


    .blog-pagination {
        gap: 4px;
    }


    .blog-page-prev span,
    .blog-page-next span {
        display: none;
    }


    .blog-page-link {
        min-width: 38px;
        height: 38px;

        padding: 0 8px;
    }
}


/* ============================================================
   49. TRÈS PETIT ÉCRAN
   ============================================================ */

@media (max-width: 360px) {

    .blog-hero-title {
        font-size: 37px;
    }

    .blog-hero-divider {
        width: 220px;
    }

    .blog-hero-divider::before,
    .blog-hero-divider::after {
        width: 90px;
    }

    .featured-article-image {
        height: 240px;
    }

    .article-card-image {
        height: 210px;
    }
}


/* ============================================================
   FIN CSS JL'O DESIGN BLOG
   ============================================================ */