/*
Theme Name: resolaine
Author: lutra.fr
Description: Thème FSE pour le site Résolaine.
*/

/* COLORS
--------------------------------------------------------*/

.fill-dark {
	fill: var(--wp--preset--color--dark);
}

.fill-light {
	fill: var(--wp--preset--color--light);
}

.fill-white {
	fill: #efefef;
}

.fill-vert-museum {
	fill: var(--wp--preset--color--vert-museum)
}

/* TYPOGRAPHY
--------------------------------------------------------*/
body {
	font-family: "mundial-narrow-variable", sans-serif;
	font-variation-settings: "wght" 400;
}

strong, b {
	font-variation-settings: "wght" 800;
}

figcaption {
	font-size: 0.875rem;
}

h1,h2{
	font-family: "thermal-variable", sans-serif;
	font-variation-settings: "opsz" 900, "wght" 900;
}

.thermal-font {
	font-family: "thermal-variable", sans-serif;
	font-variation-settings: "opsz" 900, "wght" 900;
}

.line-height-1 {
	line-height: 1;
}


/* ELEMENTS
--------------------------------------------------------*/

html {
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

time {
	background-color: var(--wp--preset--color--jaune);
	padding: .25rem .5rem;
	margin-bottom: .25rem;
	display: inline-block;
	font-size: var(--wp--preset--font-size--normal);
}

textarea {
	background-color: transparent;
	border: 1px solid var(--wp--preset--color--dark);
	width: 100%;
	margin-top: 1rem;
	padding: .5rem;
	box-sizing: border-box;
}

input {
	font-size: var(--wp--preset--font-size--medium);
	font-family: var(--wp--preset--font-family--afacad);
	background-color: transparent;
	border: none;
	border-bottom: 1px solid var(--wp--preset--color--dark);
	margin-top: .25rem;
	padding: .5rem 0;
	width: 100%;
}

input:focus-visible,
textarea:focus-visible {
	outline: none;
}

input::placeholder {
	color: var(--wp--preset--color--dark);
}

input:focus-visible::placeholder {
	opacity: .3;
}

textarea::placeholder {
	font-size: 1rem;
}

input[type="submit"] {
	display: block;
	width: auto;
	margin-top: 1rem;
	padding: 1rem;
	font-size: 1rem;
	background-color: var(--wp--preset--color--dark);
	color: var(--wp--preset--color--jaune);
	border: 1px solid var(--wp--preset--color--dark);
	cursor: pointer;
	transition: all .3s ease-in-out;
}

input[type="submit"]:hover {
	background-color: transparent;
	color: var(--wp--preset--color--dark);
}

main.wp-block-group {
	min-height: calc(100vh - 490px);
}


/* UTILITIES
--------------------------------------------------------*/
.d-flex {
	display: flex;
}

.gap-4 {
	gap: 1.5rem !important;
}

.position-relative {
	position: relative !important;
}

.ratio-1x1,
figure.ratio-1x1 > img {
	aspect-ratio: 1;
}

.object-fit-cover {
	height: 100%;
	width: 100%;
}

.object-fit-cover img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.m-0 {
	margin: 0 !important;
}

.mt-0,
.my-0 {
	margin-top: 0 !important;
}

.mr-0,
.mx-0 {
	margin-right: 0 !important;
}

.mb-0,
.my-0 {
	margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
	margin-left: 0 !important;
}

.m-1 {
	margin: 0.25rem !important;
}

.mt-1,
.my-1 {
	margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
	margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
	margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
	margin-left: 0.25rem !important;
}

.m-2 {
	margin: 0.5rem !important;
}

.mt-2,
.my-2 {
	margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
	margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
	margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
	margin-left: 0.5rem !important;
}

.m-3 {
	margin: 1rem !important;
}

.mt-3,
.my-3 {
	margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
	margin-right: 1rem !important;
}

.mb-3,
.my-3 {
	margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
	margin-left: 1rem !important;
}

.m-4 {
	margin: 1.5rem !important;
}

.mt-4,
.my-4 {
	margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
	margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
	margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
	margin-left: 1.5rem !important;
}

.m-5 {
	margin: 3rem !important;
}

.mt-5,
.my-5 {
	margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
	margin-right: 3rem !important;
}

.mb-5,
.my-5 {
	margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
	margin-left: 3rem !important;
}

.m-auto {
	margin: auto !important;
}

.mt-auto,
.my-auto {
	margin-top: auto !important;
}

.mr-auto,
.mx-auto {
	margin-right: auto !important;
}

.mb-auto,
.my-auto {
	margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
	margin-left: auto !important;
}

.border-top {
	border-top: 1px solid !important;
}

.stretched-link::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}


/* MARGINS & PADDINGS
--------------------------------------------------------*/

main, footer {
	margin-block-start: 0;
}

@media screen and (min-width: 1200px) {
	.px-xl-2 {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}


/* LAYOUT
--------------------------------------------------------*/



/* GRID COLUMNS USING FLEX-BASIS
--------------------------------------------------------*/
[class^="col-"] {
	flex: 0 0 auto;
	max-width: 100%;
}

.col-1 {
	flex-basis: 8.333333%;
	max-width: 8.333333%;
}

.col-2 {
	flex-basis: 16.666667%;
	max-width: 16.666667%;
}

.col-3 {
	flex-basis: 25%;
	max-width: 25%;
}

.col-4 {
	flex-basis: 33.333333%;
	max-width: 33.333333%;
}

.col-5 {
	flex-basis: 41.666667%;
	max-width: 41.666667%;
}

.col-6 {
	flex-basis: 50%;
	max-width: 50%;
}

.col-7 {
	flex-basis: 58.333333%;
	max-width: 58.333333%;
}

.col-8 {
	flex-basis: 66.666667%;
	max-width: 66.666667%;
}

.col-9 {
	flex-basis: 75%;
	max-width: 75%;
}

.col-10 {
	flex-basis: 83.333333%;
	max-width: 83.333333%;
}

.col-11 {
	flex-basis: 91.666667%;
	max-width: 91.666667%;
}

.col-12 {
	flex-basis: 100%;
	max-width: 100%;
}

/* BUTTONS LINKS & PILLS 
--------------------------------------------------------*/
a {
	text-decoration: underline;
}



/* HEADER 
--------------------------------------------------------*/

.wp-block-site-logo.is-default-size.header-logo img {
	width: 11rem;
}

/* MAIN
--------------------------------------------------------*/




/* FOOTER 
--------------------------------------------------------*/
.footer-logo {
width: 4rem;
}
