/**
 * Sivuston yleiset fontit, otsikot ja Elementor-muuttujat.
 *
 * Säännöt vastaavat Elementorin sivustosarjan 18 (Oletussarja) asetuksia ja
 * niiden valitsinten painoarvoa, joten ulkoasu säilyy, vaikka sarja tai
 * Elementor poistetaan käytöstä. --e-global-* -muuttujat pidetään, kunnes
 * Elementor-sisältö on poistettu.
 */

@font-face {
	font-family: 'Fugue';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('../fonts/fugue_regular.woff') format('woff');
}

@font-face {
	font-family: 'Monumentextended';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('../fonts/MonumentExtended-Regular.woff') format('woff');
}

@font-face {
	font-family: 'Monumentextended';
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('../fonts/MonumentExtended-Bold.woff') format('woff');
}

@font-face {
	font-family: 'September spirit';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('../fonts/September-Spirit-Alt.ttf') format('truetype');
}

:root {
	--e-global-color-primary: var(--wp--preset--color--dark-grey, #333333);
	--e-global-color-secondary: var(--wp--preset--color--ensisijainen-tumma-2, #646665);
	--e-global-color-text: var(--wp--preset--color--dark-grey, #333333);
	--e-global-color-accent: var(--wp--preset--color--korostus, #B39B8F);
	--e-global-color-81ef1f0: var(--wp--preset--color--ensisijainen-vaalea-2, #FAF2EB);
	--e-global-color-fa01033: var(--wp--preset--color--button-bg, #C2C9C2);
	--e-global-color-ec31f05: var(--wp--preset--color--ensisijainen, #E5D1C3);
	--e-global-color-001729a: var(--wp--preset--color--button-text, #7E7777);
	--e-global-color-fe7ea47: var(--wp--preset--color--beige-2, #DFD1C8);
	--e-global-color-579893e: var(--wp--preset--color--kirkas-beige, #F2DCCE);
	--e-global-color-5c5ba03: var(--wp--preset--color--tausta-beige, #F0E7E1);
	--e-global-typography-primary-font-family: "Roboto";
	--e-global-typography-primary-font-weight: 600;
	--e-global-typography-secondary-font-family: "Roboto Slab";
	--e-global-typography-secondary-font-weight: 400;
	--e-global-typography-text-font-family: "Roboto";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-31d9e3b-font-family: "September spirit";
	--e-global-typography-31d9e3b-font-size: 3.2rem;
	--e-global-typography-31d9e3b-font-weight: normal;
}

:root :where(body) {
	font-family: var(--wp--preset--font-family--toissijainen, 'Fugue', sans-serif);
}

:root a {
	font-family: var(--wp--preset--font-family--toissijainen, 'Fugue', sans-serif);
}

:root h1,
:root h5 {
	font-family: var(--wp--preset--font-family--ensisijainen, 'Monumentextended', sans-serif);
}

:root h2,
:root h3,
:root h4 {
	font-family: var(--wp--preset--font-family--ensisijainen, 'Monumentextended', sans-serif);
	font-weight: 400;
}

.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1680px;
}

.e-con {
	--container-max-width: 1680px;
}

.elementor-widget:not(:last-child) {
	margin-block-end: 20px;
}

.elementor-element {
	--widgets-spacing: 20px 20px;
	--widgets-spacing-row: 20px;
	--widgets-spacing-column: 20px;
}

@media (max-width: 1024px) {
	.elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 1024px;
	}

	.e-con {
		--container-max-width: 1024px;
	}
}

@media (max-width: 768px) {
	.elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 767px;
	}

	.e-con {
		--container-max-width: 767px;
	}
}
