/*
Theme Name:   Divi Child
Description:  Thème enfant de Divi 5.
Author:       FORSANE
Template:     Divi
Version:      1.0.3
Text Domain:  divi-child
*/

/* Polices hébergées dans le thème enfant */
@font-face {
	font-family: "Cinzel";
	src: url("fonts/cinzel-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Raleway";
	src: url("fonts/raleway-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Raleway";
	src: url("fonts/raleway-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Hero aléatoire : photos en pleine largeur */
.hero-photo,
.hero-photo .et_pb_image_wrap,
.hero-photo img {
	display: block;
	width: 100%;
}

.hero-photo img {
	height: clamp(350px, 50vw, 650px);
	object-fit: cover;
	object-position: center;
}
