/* Blog Page Styles - Mood Thérapie */


/* Blog Introduction Section */
.blog-intro-container {
    position: relative;
    background-color: #BBD0FF;
    padding-bottom: 80px;
}

.blog-intro-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.vertical-line {
    width: 2px;
    height: 100px;
    background-color: #4361EE;
    flex-shrink: 0;
}

.intro-text {
    text-align: center;
}

.intro-text h2 {
    font-family: 'Imbue-SemiBold';
    font-size: 35px;
    color: #4361EE;
    margin: 0 0 20px;
    text-transform: none;
}

.intro-text p {
    font-family: 'Poppins-Regular';
    font-size: 16px;
    color: #202020;
    line-height: 1.8;
    margin: 0;
    max-width: 700px;
}

/* Blog Articles Section */
.blog-articles-section {
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

/* Article Card */
.article-card {
    background-color: #FAFAFA;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.15);
}

.article-image {
    width: 100%;
    height: 10px;
    overflow: hidden;
    background-color: #BBD0FF;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.article-date {
    font-family: 'Poppins-Regular';
    font-size: 13px;
    color: #666666;
}

.article-category {
    font-family: 'Poppins-Medium';
    font-size: 12px;
    color: #4361EE;
    text-transform: uppercase;
    background-color: rgba(67, 97, 238, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.article-title {
    font-family: 'Imbue-SemiBold';
    font-size: 24px;
    color: #202020;
    margin: 0 0 15px;
    line-height: 1.3;
}

.article-excerpt {
    font-family: 'Poppins-Regular';
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin: 0 0 20px;
    flex-grow: 1;
}

.article-link {
    font-family: 'Poppins-Medium';
    font-size: 14px;
    color: #4361EE;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.article-link:hover {
    color: #2a4bb8;
}

/* No Articles Message */
.no-articles {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-articles p {
    font-family: 'Poppins-Regular';
    font-size: 18px;
    color: #555555;
    margin: 0;
}

/* CTA Section */
.blog-cta-section {
    background-color: #BBD0FF;
    padding: 100px 20px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Imbue-SemiBold';
    font-size: 40px;
    color: #4361EE;
    margin: 0 0 20px;
}

.cta-content p {
    font-family: 'Poppins-Regular';
    font-size: 18px;
    color: #202020;
    line-height: 1.7;
    margin: 0 0 40px;
}

.blog-button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.buttonWrapper {
    display: inline-block;
}

.customButton {
    font-family: 'Poppins-Medium';
    font-size: 14px;
    color: #4361EE;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px 35px;
    border: 2px solid #4361EE;
    border-radius: 5px;
    background-color: transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.customButton:hover {
    background-color: #4361EE;
    color: #FFFFFF;
}

.customButton.secondary {
    color: #202020;
    border-color: #202020;
}

.customButton.secondary:hover {
    background-color: #202020;
    color: #FFFFFF;
}

/* Responsive Design */

@media (max-width: 1050px) {
    .articles-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }

    .intro-text h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 750px) {
    .blog-intro-content {
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
    }

    .vertical-line {
        height: 60px;
        width: 2px;
    }

    .intro-text h2 {
        font-size: 24px;
    }

    .intro-text p {
        font-size: 15px;
    }

    .blog-articles-section {
        padding: 50px 20px;
    }

    .articles-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-image {
        height: 200px;
    }

    .article-content {
        padding: 25px;
    }

    .article-title {
        font-size: 20px;
    }

    .blog-cta-section {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 26px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .blog-button-container {
        flex-direction: column;
        align-items: center;
    }

    .customButton {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 450px) {
    .blog-intro-content {
        padding: 30px 15px;
    }

    .intro-text h2 {
        font-size: 20px;
    }

    .intro-text p {
        font-size: 14px;
    }

    .blog-articles-section {
        padding: 40px 15px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 18px;
    }

    .article-excerpt {
        font-size: 14px;
    }

    .blog-cta-section {
        padding: 50px 15px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .customButton {
        font-size: 12px;
        padding: 12px 25px;
    }
}
