/*
Theme Name: Fawcar
Description: Child theme di Hello Elementor per il sito Fawcar.
Author: Fawcar
Template: hello-elementor
Version: 1.0.0
Text Domain: fawcar
*/

@font-face {
	font-display: swap;
	font-family: "Source Han Sans";
	font-style: normal;
	font-weight: 400;
	src: url("assets/fonts/source-han-sans/source-han-sans-regular.woff2") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Source Han Sans";
	font-style: normal;
	font-weight: 500;
	src: url("assets/fonts/source-han-sans/source-han-sans-medium.woff2") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Source Han Sans";
	font-style: normal;
	font-weight: 700;
	src: url("assets/fonts/source-han-sans/source-han-sans-bold.woff2") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Source Han Sans";
	font-style: normal;
	font-weight: 900;
	src: url("assets/fonts/source-han-sans/source-han-sans-heavy.woff2") format("woff2");
}

:root {
	--fawcar-font-family: "Source Han Sans", Arial, sans-serif;
}

/* Mantiene il layout a filo viewport anche con il reset di Hello disattivato. */
body {
	margin: 0;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--fawcar-font-family);
}

body.fawcar-has-site-footer {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.admin-bar.fawcar-has-site-footer {
	min-height: calc(100vh - 32px);
}

body.fawcar-has-site-footer > main {
	flex: 1 0 auto;
}

body.fawcar-has-site-footer > footer.elementor-location-footer {
	flex: 0 0 auto;
	margin-top: auto;
}

@media (max-width: 782px) {
	body.admin-bar.fawcar-has-site-footer {
		min-height: calc(100vh - 46px);
	}
}

/*
 * Layout, responsive design, colors and form styling are managed directly in
 * Elementor (homepage ID 2, contact template ID 16 and footer template ID 31).
 */
