/* Blog MailJump (/blog/) */

.blog {
    padding-top: 120px;
    padding-bottom: 80px;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-header h1 {
    font-weight: bold;
}

.blog-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Catégories */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.blog-categories a {
    border: 1px solid #151515;
    border-radius: 20px;
    color: #151515;
    padding: 0.3rem 0.9rem;
    font-size: 0.9rem;
}

.blog-categories a:hover,
.blog-categories a.active {
    background-color: #151515;
    color: #fff;
    text-decoration: none;
}

/* Cartes */
.blog-card {
    background-color: #151515;
    border-radius: 25px;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.blog-card-image {
    align-items: center;
    background-color: #2a2a2a;
    display: flex;
    height: 200px;
    justify-content: center;
    overflow: hidden;
}

.blog-card-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blog-card-image img.blog-card-logo {
    height: auto;
    object-fit: contain;
    width: 60%;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card .blog-meta {
    color: #adb5bd;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.blog-card-title a,
.blog-card-more {
    color: #87d9fd;
}

.blog-card-excerpt {
    flex: 1;
    font-size: 0.95rem;
}

.blog-card-more {
    font-weight: bold;
}

/* Pagination */
.blog-pagination {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.blog-pagination a {
    background-color: #151515;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
}

.blog-pagination a:hover {
    color: #87d9fd;
    text-decoration: none;
}

/* Article */
.blog-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blog-breadcrumb a {
    color: #007cff;
}

.blog-article {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
    margin: 0 auto;
    max-width: 860px;
    padding: 2.5rem;
}

.blog-article h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.blog-article .blog-meta a {
    color: #007cff;
}

.blog-origin {
    background-color: #edf5fe;
    border-left: 4px solid #87d9fd;
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
    margin: 1.5rem 0 2rem;
    padding: 0.75rem 1rem;
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
}

.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 1.5rem 0 0.75rem;
}

.blog-content a {
    color: #007cff;
    text-decoration: underline;
}

.blog-content img {
    border-radius: 8px;
    height: auto;
    max-width: 100%;
}

.blog-content .aligncenter {
    display: block;
    margin: 1rem auto;
}

.blog-content .alignleft {
    float: left;
    margin: 0.3rem 1.5rem 1rem 0;
}

.blog-content .alignright {
    float: right;
    margin: 0.3rem 0 1rem 1.5rem;
}

.blog-content .wp-caption {
    max-width: 100%;
}

.blog-content .wp-caption-text,
.blog-content figcaption {
    color: #6c757d;
    font-size: 0.85rem;
    text-align: center;
}

.blog-content::after {
    clear: both;
    content: "";
    display: table;
}

.blog-content table {
    margin-bottom: 1rem;
    max-width: 100%;
}

.blog-content td {
    border: 1px solid #dee2e6;
    padding: 0.4rem 0.6rem;
}

.blog-content blockquote,
.blog-quote {
    background-color: #f7f9fc;
    border-left: 4px solid #007cff;
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
}

.blog-note {
    background-color: #fefedf;
    border-radius: 12px;
    display: block;
    margin: 1rem 0;
    padding: 0.9rem 1.2rem;
}

.blog-box {
    border: 2px solid #f38736;
    border-radius: 10px;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
}

.blog-box-title {
    color: #f38736;
    font-weight: bold;
}

.blog-heading {
    display: block;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.blog-frame {
    display: block;
    text-align: center;
}

.blog-dropcap {
    color: #007cff;
    float: left;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    margin-right: 0.5rem;
}

.blog-video {
    margin: 1.5rem 0;
    padding-top: 56.25%;
    position: relative;
}

.blog-video iframe {
    border: 0;
    border-radius: 10px;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Appel à l'action et articles liés */
.blog-cta {
    background-color: #151515;
    border-radius: 25px;
    color: #fff;
    margin: 3rem auto;
    max-width: 860px;
    padding: 2rem 2.5rem;
    text-align: center;
}

.blog-cta-title {
    color: #87d9fd;
    font-size: 1.4rem;
    font-weight: bold;
}

.blog-cta .btn {
    background-color: #fff;
    border-radius: 8px;
    color: #151515;
    font-weight: bold;
    padding: 0.6rem 1.5rem;
}

.blog-related h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-article {
        padding: 1.5rem;
    }

    .blog-content .alignleft,
    .blog-content .alignright {
        float: none;
        margin: 1rem auto;
        display: block;
    }
}
