/**
 * The following styles get applied both on the front of your site and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */

.wp-block-renault-image-text {
	padding: 2px;
	max-width: 980px;
	padding: 0 20px;
	margin: 0 auto;
}

body .entry-content,
body .wp-block-post-content,
body .is-layout-constrained {
    /* Réinitialisez les styles générés automatiquement à vos propres valeurs ou supprimez-les complètement */
    margin: 0;
    padding: 0;
    /* Ajoutez d'autres propriétés CSS selon vos besoins */
}

.container {
	max-width: 980px;
	padding: 0 20px;
	margin: 0 auto;
}

.image-text {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    margin: 50px 0px;
}

@media screen and (min-width: 768px) {
    .image-text {
        flex-direction: row;
        column-gap: 135px;
    }
}

.image-text--left .image-text_image {
    order: 0;
}

.image-text--left .image-text_text {
    order: 1;
}

.image-text--right .image-text_image {
    order: 1;
}

.image-text--right .image-text_text {
    order: 0;
}

.image-text_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
}

@media screen and (min-width: 768px) {
    .image-text_text {
        width: 50%;
    }
}

.image-text_text_container {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.image-text_text_title {
	font-family: "Renault group bold";
    font-size: 30px;
    font-weight: 700;
}

.image-text_text_content {
	font-family: "Renault group light";
    font-size: 15px;
    text-align: justify;
    text-justify: inter-word;
}

.image-text_text_buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.image-text_text_buttons > a {
	text-decoration: none;
    text-align: center;
	padding: 5px 30px;
    font-family: "Renault group light";
}

@media screen and (min-width: 768px) {
    .image-text_text_buttons {
        flex-direction: row;
        margin-top: 0;
    }
}

.image-text_image {
    display: block;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .image-text_image {
        padding-top: 10px;
        width: 50%;
    }
}
