﻿

.navbar-custom {
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100%), var(--primary-bg) !important;
}

.blog-detail-section {
    position: relative;
    background: var(--primary-bg);
    color: #ffffff;
    overflow: hidden;
    padding-top: 50px;
}

.blog-detail-image img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
    position: relative;
}

.blog-detail-header {
    padding: 50px 20px 50px;
    text-align: center;
}

.blog-detail-title {
    margin: 0;
    color: #fff;
    font-size: 36pt;
    font-weight: 700;
    text-transform: uppercase;
    padding-top: 40px;
}

.blog-detail-date {
    margin-top: 10px;
    color: rgba(255,255,255,.8);
    font-size: 15pt;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-detail-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 30px 40px;
    font-family: Arial, sans-serif;
    font-size: 20pt;
}

.blog-content-section {
    background: #fff;
    padding: 40px 0;
}

.blog-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.blog-left {
    width: 680px;
    max-width: 100%;
}

.blog-h2 {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 30pt;
    color: var(--primary-bg);
    margin-bottom: 30px;
    line-height: 1.2;
}

.blog-main-image {
    width: 100%;
    max-width: 680px;
    height: 430px;
    object-fit: cover;
    margin-bottom: 25px;
    display: block;
}

.blog-image-caption {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 14pt;
    text-transform: uppercase;
    color: var(--primary-bg);
    margin-bottom: 30px;
    letter-spacing: .5px;
}

.article-text {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 14pt;
    line-height: 1.8;
    color: var(--primary-bg);
    margin-bottom: 30px;
}

    .article-text p {
        margin-bottom: 25px;
    }

    .article-text h3 {
        font-family: Arial, sans-serif;
        font-weight: 600;
        font-size: 20pt;
        line-height: 1.3;
        color: var(--primary-bg);
        margin-top: 35px;
        margin-bottom: 18px;
    }

    .article-text strong {
        font-weight: 700;
    }

    .article-text a {
        color: var(--primary-bg);
        word-break: break-word;
    }

.video-blog {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 430px;
    overflow: hidden;
    margin-bottom: 30px;
}

    .video-blog img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.second-title {
    margin-top: 60px;
}

/* SIDEBAR */

.blog-sidebar {
    width: 400px;
    max-width: 100%;
    flex-shrink: 0;
}

.trending-title {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 20pt;
    color: var(--primary-bg);
    text-transform: uppercase;
    margin-bottom: 35px;
    position: relative;
}

    .trending-title::after {
        content: "";
        display: block;
        width: 50%;
        height: 2px;
        background: var(--primary-bg);
        margin-top: 10px;
    }

.trending-post {
    width: 100%;
}

    .trending-post img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        display: block;
        margin-bottom: 20px;
    }

    .trending-post h4 {
        font-family: Arial, sans-serif;
        font-weight: 400;
        font-size: 20pt;
        line-height: 1.25;
        color: var(--primary-bg);
        text-transform: uppercase;
        margin-bottom: 30px;
    }

/* LIST */

.article-list {
    margin: 30px 20px;
}

    .article-list ol {
        margin: 0;
        padding-left: 28px;
    }

    .article-list li {
        font-family: Arial, sans-serif;
        font-size: 14pt;
        font-weight: 400;
        line-height: 1.8;
        color: var(--primary-bg);
        margin-bottom: 8px;
    }

/* AUTHOR */

.article-author {
    margin-top: 40px;
    font-family: Arial, sans-serif;
    font-size: 14pt;
    font-weight: 400;
    color: var(--primary-bg);
    line-height: 1.6;
}

    .article-author h4 {
        font-size: inherit;
        font-weight: 400;
        margin-bottom: 10px;
    }


/* =========================================================
   DESKTOP
   Max-width:1200px 
   ========================================================= */

@media (max-width: 1200px) {
    .partners-section {
        background: var(--primary-bg);
    }
    .blog-layout {
        gap: 40px;
    }

    .blog-left {
        width: calc(100% - 340px);
    }

    .blog-sidebar {
        width: 340px;
    }

    .trending-post img {
        height: 200px;
    }

    .blog-h2 {
        font-size: 27pt;
    }
    .blog-detail-title {
        font-size: 26pt;
    }
    .blog-detail-content {
        font-size: 16pt;
    }
}


/* =========================================================
   TABLET
   Max-width:992px 
   ========================================================= */

@media (max-width: 991px) {

    .blog-content-section {
        padding: 35px 0;
    }

    .blog-layout {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .blog-left {
        width: 100%;
        max-width: 100%;
    }

    .blog-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .blog-h2 {
        font-size: 26pt;
        margin-bottom: 25px;
    }

    .blog-main-image {
        max-width: 100%;
        height: 400px;
    }

    .video-blog {
        max-width: 100%;
        height: 400px;
    }

    .article-text {
        font-size: 13.5pt;
        line-height: 1.75;
    }

        .article-text h3 {
            font-size: 19pt;
        }

    .trending-title {
        font-size: 19pt;
    }

    .trending-post {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 25px;
    }

        .trending-post img {
            width: 220px;
            height: 140px;
            flex-shrink: 0;
            margin-bottom: 0;
        }

        .trending-post h4 {
            font-size: 17pt;
            margin: 0;
        }
}


/* =========================================================
   MOBILE
   Max-width:767px
   ========================================================= */

@media (max-width: 767px) {

    .blog-content-section {
        padding: 25px 0;
    }

    .blog-layout {
        gap: 40px;
    }

    .blog-h2 {
        font-size: 23pt;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .blog-main-image {
        width: 100%;
        height: auto;
        min-height: 220px;
        max-height: 350px;
        object-fit: cover;
        margin-bottom: 20px;
    }

    .blog-image-caption {
        font-size: 11pt;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .article-text {
        font-size: 12.5pt;
        line-height: 1.7;
        margin-bottom: 20px;
    }

        .article-text p {
            margin-bottom: 20px;
        }

        .article-text h3 {
            font-size: 17pt;
            line-height: 1.3;
            margin-top: 30px;
            margin-bottom: 15px;
        }

    .video-blog {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        margin-bottom: 25px;
    }

    .second-title {
        margin-top: 40px;
    }

    /* Sidebar */

    .blog-sidebar {
        width: 100%;
    }

    .trending-title {
        font-size: 17pt;
        margin-bottom: 25px;
    }

        .trending-title::after {
            width: 100%;
            max-width: 180px;
        }

    .trending-post {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 30px;
    }

        .trending-post img {
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            margin-bottom: 12px;
        }

        .trending-post h4 {
            font-size: 15pt;
            line-height: 1.3;
            margin-bottom: 0;
        }

    /* List */

    .article-list {
        margin: 25px 10px;
    }

        .article-list ol {
            padding-left: 25px;
        }

        .article-list li {
            font-size: 12.5pt;
            line-height: 1.7;
        }

    /* Author */

    .article-author {
        margin-top: 30px;
        font-size: 12pt;
        line-height: 1.5;
    }

        .article-author h4 {
            font-size: 12pt;
        }
}

@media (max-width: 480px) {

    .blog-content-section {
        padding: 20px 0;
    }

    .blog-h2 {
        font-size: 20pt;
        line-height: 1.25;
    }

    .article-text {
        font-size: 11.5pt;
        line-height: 1.65;
    }

        .article-text h3 {
            font-size: 16pt;
        }

    .blog-main-image {
        min-height: 180px;
        max-height: 260px;
    }

    .trending-title {
        font-size: 16pt;
    }

    .trending-post h4 {
        font-size: 14pt;
    }

    .article-author {
        font-size: 11pt;
    }

        .article-author h4 {
            font-size: 11pt;
        }
}


/* =========================================================
   TRÈS PETIT MOBILE
   360px et moins
   ========================================================= */

@media (max-width: 360px) {

    .blog-h2 {
        font-size: 18pt;
    }

    .article-text {
        font-size: 11pt;
    }

        .article-text h3 {
            font-size: 15pt;
        }

    .trending-post h4 {
        font-size: 13pt;
    }
}

