/* :root :where(.is-layout-flow) > * {
	margin-block-start: 0 !important;
} */

body {
	font-size: var(--wp--preset--font-size--normal);
	line-height: 1.5;
}

.entry-content {
	padding-bottom: 0;
}

h1, h2, h3, h4, h5, h6, p {
	margin-bottom: 1em;
}


/* === Block styles === */

.is-style-sahel_cooperation-flat-button .wp-block-button__link,
.is-style-sahel_cooperation-flat-button .wp-block-button__link:active,
.is-style-sahel_cooperation-flat-button .wp-block-button__link:focus,
.is-style-sahel_cooperation-flat-button .wp-block-button__link:hover,
.is-style-sahel_cooperation-flat-button .wp-block-button__link:visited {
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
}

.is-style-sahel_cooperation-box-shadow {
	box-shadow: var(--wp--preset--shadow--natural);
}

.is-style-sahel_cooperation-list-underline li {
	border-bottom: 1px solid;
}

.is-style-sahel_cooperation-list-underline ul {
	border-top: 1px solid;
}

.is-style-sahel_cooperation-list-underline ul li {
	border: none;
}

details.is-style-sahel_cooperation-plus > summary {
	list-style-type: "+ ";
}

details[open].is-style-sahel_cooperation-plus > summary {
	list-style-type: "- ";
}

details.is-style-sahel_cooperation-plus > summary::marker {
	font-family: var(--wp--preset--font-family--monospace);
	font-size: 1em;
	font-weight: 700;
}


/* === WooCommerce === */

.wc-block-grid .wc-block-grid__product-onsale,
.wc-block-grid__product-image .wc-block-grid__product-onsale,
.woocommerce span.onsale {
	background-color: var(--wp--preset--color--primary);
	border: none;
	border-radius: 100%;
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	height: 3.7rem;
	line-height: 3.236;
	text-align: center;
	text-transform: capitalize;
	width: 3.7rem;
}

.woocommerce div.product .stock {
	color: var(--wp--preset--color--primary);
}


/* === Buttons === */

input[type="submit"],
button[type="submit"],
.wp-block-button__link {
	display: inline-block;
	padding: .65em 1.5em;
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base) !important;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	border: 3px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--vert-fonce);
	border-color: var(--wp--preset--color--primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px color-mix(in srgb, var(--wp--preset--color--secondary) 30%, transparent);
}

input[type="submit"]:active,
button[type="submit"]:active,
.wp-block-button__link:active {
	transform: translateY(0);
	box-shadow: none;
}


/* === Form fields === */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
	width: 100%;
	padding: .65em 1em;
	border: 1px solid var(--wp--preset--color--secondary);
	border-radius: 6px;
	background-color: #fff;
	color: var(--wp--preset--color--vert-fonce);
	font-family: inherit;
	font-size: inherit;
	transition: border-color .2s ease, box-shadow .2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 25%, transparent);
}

textarea {
	resize: vertical;
	min-height: 8em;
}


/* === Footer links hover === */

.site-footer a {
	text-decoration: none;
	background-image: linear-gradient(var(--wp--preset--color--secondary), var(--wp--preset--color--secondary));
	background-size: 0% 1px;
	background-position: left bottom;
	background-repeat: no-repeat;
	transition: background-size .3s ease;
	color: var(--wp--preset--color--secondary);
}

.site-footer a:hover {
	background-size: 100% 1px;
}


/* === Hero full-bleed image === */

.sc-hero.alignfull {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.sc-hero .wp-block-columns {
	gap: 40px !important;
}



/* === Home page pattern === */

.sc-hero-eyebrow {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	margin-bottom: .25rem;
}

.sc-obj-item {
	padding-left: 3.5rem;
	position: relative;
	margin-bottom: 1.5rem;
}

.sc-obj-item::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 2.5rem;
	height: 2rem;
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--jaune);
	border-radius: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
}

.sc-obj-title {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom: .25rem !important;
}

.sc-guide-list {
	list-style: none !important;
	padding-left: 0 !important;
}

.sc-guide-list li {
	padding-left: 1.5rem;
	position: relative;
	margin-bottom: .5rem;
}

.sc-guide-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: .55rem;
	height: .55rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--emeraude);
}

.sc-map p,
.sc-map h2,
.sc-map h3,
.sc-map h4,
.sc-map strong {
	color: var(--wp--preset--color--base);
}

.sc-card-vert {
	background-color: var(--wp--preset--color--vert-clair);
	border-radius: 4px;
}

.sc-card-vert h4::before {
	content: "↗";
	width: 3.5rem;
	height: 2.5rem;
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--jaune);
	border-radius: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 2rem;
	margin-bottom: 0.5em;
	padding-bottom: 0.1em;
}

@media (max-width: 980px) {
	.wp-container-core-group-is-layout-021d41c2 {
		flex-wrap: wrap!important;
	}
}


/* === News cards === */

.sc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-bottom: .75rem;
}

.sc-tags a {
	display: inline-block;
	padding: .2em .65em;
	background-color: var(--wp--preset--color--vert-clair);
	color: var(--wp--preset--color--secondary) !important;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	border-radius: 3px;
	text-decoration: none;
	background-image: none !important;
	transition: background-color .2s ease, color .2s ease;
}

.sc-tags a:hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--vert-clair)!important;
}

.sc-news-card {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--secondary) 15%, transparent);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
}

.sc-news-card:hover {
	box-shadow: 0 6px 20px color-mix(in srgb, var(--wp--preset--color--secondary) 15%, transparent);
	transform: translateY(-3px);
}

.sc-news-card .wp-block-post-featured-image img {
	width: 100%;
	display: block;
}

.sc-news-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.sc-news-card-body .wp-block-post-title {
	flex: 1;
	font-size: 28px!important;
	margin-top: 0;
}

  
.sc-news-card-body .wp-block-post-title a {
	text-decoration: none;
	color: inherit;
	background-image: none !important;
}

.sc-news-card-body .wp-block-post-date {
	font-size: var(--wp--preset--font-size--extra-small);
	color: color-mix(in srgb, var(--wp--preset--color--secondary) 60%, transparent);
}

.sc-arrow {
	font-size: 1.25rem;
	color: var(--wp--preset--color--secondary);
	margin: 0 !important;
	padding-right: 0.75rem;
	transition: transform .2s ease;
}

.sc-news-card:hover .sc-arrow {
	transform: translateX(4px);
}

.sc-news-featured {
	gap: 2.5rem;
	transition: box-shadow .2s ease, transform .2s ease;
}

.sc-news-featured:hover {
	box-shadow: 0 6px 20px color-mix(in srgb, var(--wp--preset--color--secondary) 15%, transparent);
	transform: translateY(-3px);
}

.sc-news-featured .sc-arrow {
	font-size: 2rem;
}

.sc-news-featured:hover .sc-arrow {
	transform: translateX(4px);
}

.sc-news-featured .wp-block-post-featured-image {
	flex: 0 0 42%;
}

.sc-news-featured .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sc-news-featured .wp-block-post-title a {
	text-decoration: none;
	color: inherit;
	background-image: none !important;
}

.sc-news-featured .wp-block-post-date {
	font-size: var(--wp--preset--font-size--extra-small);
	color: color-mix(in srgb, var(--wp--preset--color--secondary) 60%, transparent);
}

/* WPML Bugfix */
.wpml-language-switcher-block.wpml_language_switcher__after_menu{
	width: auto!important;
}