/**
Theme Name: nuances-terroirs-krisken
Author: krisken
Author URI: https://krisken.fr
Description: Thème entièrement personnalisé conçu pour Nuances Terroirs.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nuances-terroirs-krisken
Template: astra
*/

/* LES POLICES */
@font-face{
  font-family: "santana";
  src:	url("./fonts/santana.woff") format("woff"),
				url("./fonts/santana.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
}
@font-face{
  font-family: "santana-bold";
  src:	url("./fonts/santana-bold.woff") format("woff"),
				url("./fonts/santana-bold.woff2") format("woff2");
	font-weight: bold;
}

/* GENERIQUES */
body{
	
}

h2, .entry-content :where(h2),
h3, .entry-content :where(h3),
.wp-block-button{
	font-family: "santana";
	font-weight: 300;
}
h1 strong, h2 strong, h3 strong{
	font-weight: bold;
}

.noir{color: #2c2e30;}
.jaune{color: #fbc100;}

/* HEADER */
#masthead{
	border-top: 10px solid #fbc100;
}
.main-navigation ul li a.menu-link{
	font-family: "santana";
}
.main-navigation ul li:hover a.menu-link{
	font-weight: bold;
}
.main-navigation ul li.contact a{
	background-color: #fbc100;
	border-radius: 26px;
}
.main-navigation ul li.contact:hover a{
	background-color: #2c2e30;
	color: #fff !important;
	font-weight: normal;
}

/* BOUTONS */
.wp-block-button.cta{
	box-shadow: 0 0 20px 0 #693c194D;
	border-radius: 60px;
}
.wp-block-button.cta a.wp-block-button__link{
	display: flex;
	align-items: center;
	padding: 10px 10px 10px 1em;
	border-radius: 60px;
}
.wp-block-button.cta a.wp-block-button__link strong{
	padding: 0 3px;
}
.wp-block-button.cta a.wp-block-button__link:after{
	content: '';
	display: inline-block;
	background: url(./img/cta-after.svg) no-repeat center/60px;
	width: 60px;
	height: 60px;
	margin-left: 1em;
}

/* ACCUEIL*/
.slider-boutiques .swiper-content{
	border-radius: 0 60px 60px 0;
}
.slider-boutiques .swiper-content .uagb-heading-text a{
	text-decoration: none;
}

#rejoindre-nuances-terroirs{
	padding-top: 40px;
	background-position: bottom left !important;
}
#rejoindre-nuances-terroirs:before{
	content: '';
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	background: url(./img/hach.svg) repeat center /6px;
	z-index: 1;
	width: 100%;
	height: 20px;
}
#rejoindre-nuances-terroirs p{line-height: 1.2;}
#rejoindre-nuances-terroirs p a{color: #fff;}

.slider-boutiques .swiper-button-prev,
.slider-boutiques .swiper-button-next{display: none;}

#notre-demarche-qualite{
	background: #693C1933 url(./img/hach10.svg) repeat center/6px;
}
#notre-demarche-qualite .uagb-container-inner-blocks-wrap{
	background: #fff url(./img/bg-demarche-qualite.webp);
	padding: 0 60px;
	box-shadow: 0 0 8px 0 #693c194D;
}
#notre-demarche-qualite .uagb-container-inner-blocks-wrap:before,
#notre-demarche-qualite .uagb-container-inner-blocks-wrap:after{
	content: '';
	background: #FFF url(./img/before-after-demarche-qualite.svg) no-repeat left +10px bottom +10px/22px;
	display: block;
	width: 20px;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}
#notre-demarche-qualite .uagb-container-inner-blocks-wrap:after{
	left: auto;
	right: 0;
	transform: rotate(180deg);
	background-position: left +10px bottom +80px;
}


/* SIDEBAR */
section.services,
section.articles-events{
	background: url(./img/bg-sidebar.webp) repeat-y center top/100%;
}
section#services:before,
section.articles-events:after{
	content: '';
	background: url(./img/before-sidebar.webp) no-repeat center top/cover;
	display: block;
	width: 100vw;
	height: 80px;
	position: absolute;
	z-index: 1;
	top: -80px;
	left: 0;
}
section.articles-events:after{
	top: auto;
	bottom: -80px;
	transform: rotate(180deg);
}
section.articles-events > div{
	margin-bottom: -120px;
	position: relative;
	z-index: 9;
}
	.location-tireuse .wp-block-cover,
	.events .wep-card{
		border-bottom: 2px solid #2c2e30;
	}
	.events .wep-card-footer{margin: 0 auto;}
	.events .wep-btn{
		font-family: "santana";
		font-weight: normal;
		border-radius: 32px;
		border: 1px solid transparent;
	}
	.events .wep-btn:hover{
		border-color: #2c2e30;
		color: #fff;
	}

aside#shops{
	background: url(./img/bg-shops.webp) repeat-y center top/cover;
}
aside#shops #all-shops .links-shops{gap: 10px;}
aside#shops #all-shops .links-shops a{
	display: inline-block;
	border-radius: 30px;
	border: 2px solid #2c2e30;
	background: #fff;
	padding: 2px 8px;
	font-weight: bold;
	font-style: italic;
	font-size: 14px;
}


/* FORM */
.contacter-nuances-terroirs{
	max-width: 760px;
	margin: 0 auto;
}
.contacter-nuances-terroirs h2{
	color: #fff;
}

form{
	display: flex;
	align-items: start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4%;
}
form fieldset{
	flex-basis: 48%;
	border: 0;
	padding: 0;
}
input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
	background: rgba(255,255,255,.16);
	border-radius: 0;
	border: 0;
	color: #fff;
}
form div.submit{flex-basis: 100%;}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{color:#fff;}
input::-moz-placeholder,
textarea::-moz-placeholder{color:#fff;}
input:-ms-input-placeholder,
texarea:-ms-input-placeholder{color:#fff;}
input:-moz-placeholder,
texarea:-moz-placeholder{color:#fff;}
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder{opacity: 0;}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder{opacity: 0;}
input:focus:-ms-input-placeholder,
texarea:focus:-ms-input-placeholder{opacity: 0;}
input:focus:-moz-placeholder,
texarea:focus:-moz-placeholder{opacity: 0;}