/* Widget « Carte » (remplace le Card de Happy Addons, image au-dessus). */

/* Règles communes des widgets d'origine : césure des mots trop longs, paragraphes vides masqués. */
.elementor-widget-so_carte_widget > .elementor-widget-container { word-wrap: break-word; overflow-wrap: break-word; }
.elementor-widget-so_carte_widget p:empty { display: none; }

.elementor-widget-so_carte_widget > .elementor-widget-container {
	border-radius: 5px;
	background-color: #fff;
	box-shadow: 0 3px 40px rgba(36, 36, 36, .1);
}
.elementor-widget-so_carte_widget .elementor-widget-container { text-align: left; }

.so-carte__image { display: inline-block; position: relative; width: 100%; max-width: 100%; height: 250px; }
.so-carte__image img {
	width: 100%;
	height: 100%;
	border-radius: 5px 5px 0 0;
	vertical-align: bottom;
	object-fit: cover;
}

.so-carte__corps { width: 100%; max-width: initial; padding: 25px; }
.so-carte__titre { margin-top: 0; margin-bottom: 10px; color: #151515; font-size: 22px; font-weight: 700; }
.so-carte__texte { margin-bottom: 25px; color: #616161; font-size: 16px; line-height: 1.7; }
.so-carte__texte > p { margin-top: 0; margin-bottom: 0; }

.so-carte__bouton {
	display: inline-block;
	max-width: 100%;
	font-size: 14px;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	transition: all .3s;
}
/* Même poids que la règle d'origine, pour passer devant la couleur des liens du site. */
.so-carte__corps .so-carte__bouton { padding: 15px 25px; border-radius: 5px; background-color: #562dd4; color: #fff; }
.so-carte__corps .so-carte__bouton:focus,
.so-carte__corps .so-carte__bouton:hover { background-color: #e2498a; }
