.titre {
    margin-bottom: 5%;
    font-size: clamp(1rem, 2.5vw, 2rem);
    white-space: normal;  /* autorise retour à la ligne */
    margin-left: auto;    /* centre horizontalement */
    margin-right: auto;
    width: 100%;
}


/* Citation */

.citation-container {
    position: relative;
    margin-bottom: 5rem;
    text-align: center;
    }

    .citation-container img {
    width: 100%;
    height: auto; /* garde le ratio de l'image */
    display: block;
    object-fit: cover;
    }

    .text-over-image {
    position: absolute;
    top: 10%;
    font-size: clamp(0.8rem, 3vw, 2rem);
    font-weight: 500;
    max-width: 50%;
    pointer-events: none; /* pour que le texte ne gêne pas les clics */
}

/* PAGE BLOG  */

.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-post {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-header {
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-header:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 30px;
}

.post-header.active .toggle-icon {
    transform: rotate(45deg);
}

.reading-time {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.post-content {
    overflow: hidden;
    transition: all 0.4s ease;
    max-height: 0;
}

.post-content.active {
    max-height: 5000px;
}

.content-inner {
    padding: 30px;
    background: white;
    line-height: 1.8;
    color: #333;
}

.content-inner h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #667eea;
    font-size: 1.3rem;
}

.content-inner p {
    margin-bottom: 15px;
}

.content-inner ul {
    margin: 15px 0;
    padding-left: 30px;
}

.content-inner li {
    margin-bottom: 8px;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* FIN PAGE BLOG  */
