/* Conteneur principal */
.info-container-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Espace entre les blocs */
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
}

.info-header{
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 90%;
    margin: 5%;
    padding: 16px;
    background-color: #222;

}

/* Animation des blocs */
.info-block-custom {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.info-block-custom.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Style des blocs */
.info-block-custom {
    display: flex;
    flex-direction: row; /* Disposition horizontale par défaut */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    margin: 16px;
}

/* Image */
.info-block-custom-image {
    width: 40%; /* L'image occupe 40% de l'espace horizontal */
    height: auto;
    object-fit: cover;
}

/* Contenu */
.info-block-custom-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

/* Contenu des blocs */
.info-block-custom-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%; /* Texte occupe 60% de l'espace horizontal */
    color: #333; /* Texte sombre par défaut */
}

/* Style des balises HTML intégrées */
.info-block-custom-content p {
    margin: 0 0 10px;
    line-height: 1.6;
    color: #555; /* Texte plus doux pour les paragraphes */
}

.info-block-custom-content em {
    font-style: italic;
    color: #666; /* Couleur différente pour les italiques */
}

.info-block-custom-content strong {
    font-weight: bold;
    color: #222; /* Texte plus sombre pour les mots en gras */
}

.info-block-custom-content a {
    color: #1976d2; /* Couleur du lien */
    text-decoration: none;
    font-weight: bold;
}

.info-block-custom-content a:hover {
    text-decoration: underline;
}


/* Adaptation mobile */
@media (max-width: 768px) {
    .info-block-custom {
        flex-direction: column; /* Passer en disposition verticale */
    }

    .info-block-custom-image {
        width: 100%; /* L'image occupe toute la largeur */
    }

    .info-block-custom-content {
        width: 100%; /* Le contenu occupe toute la largeur */
    }
}
