/*
Theme Name: Divi Child
Template: Divi
Description: CG Seguros customizations kept out of the Divi parent theme.
Version: 1.0.0
*/

.et-social-linkedin a.icon:before {
	content: "\e09d";
}

/* Divi 4 widened slider content to 100%; keep the Divi 3 layout. */
.et_pb_fullwidth_section .et_pb_slider .et_pb_container {
	width: 80%;
	max-width: 1080px;
}

/* Divi 3 applied the testimonial body font to author and meta too. */
.et_pb_testimonial .et_pb_testimonial_author {
	font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
	font-style: italic;
	font-size: 18px;
	line-height: 1.8em;
	margin-top: 16px;
}

.et_pb_testimonial .et_pb_testimonial_meta,
.et_pb_testimonial .et_pb_testimonial_meta span {
	font-style: italic;
	font-size: 18px;
	line-height: 1.8em;
}

/* Divi 3 made video embeds in posts fluid (FitVids); Divi 4 no longer does it here. */
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtube-nocookie.com"],
.entry-content iframe[src*="vimeo.com"] {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Divi 3.4.1 style.css had been edited to 95% (Divi default is 80%). */
html .container {
	width: 95%;
}

/* Divi 3 kept the 30px gap under the last column on tablet/phone. */
@media (max-width: 980px) {
	html .et_pb_row .et_pb_column.et-last-child,
	html .et_pb_row .et_pb_column:last-child {
		margin-bottom: 30px;
	}

	html .et_pb_row.et-last-child .et_pb_column.et-last-child,
	html .et_pb_row:last-child .et_pb_column:last-child {
		margin-bottom: 0;
	}
}
