/*
Theme Name: ACI France
Author: Bayard-Service
Author URI: https://www.bayard-service.com
Description: A child theme for bsw-aster.
Text Domain: aster
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.0
Version: 1.0.0
Template: bsw-aster
*/

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

/* ----------------------------
	== HEADER
---------------------------- */
.site-header .btn-header a,
.bs-headerhome .btn-header a {
	font-family: aci;
}
.btn-header .is-style-aster-simple-button a {
	font-size: 2rem !important;
	opacity: 0.8;
}
.site-header {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
@media only screen and (min-width: 991px) {
	.home .site-header {
		position: fixed;
		top: -300px;
		left: 0;
		right: 0;
		z-index: 20;
		transition: all .5s;
	}
}

@media only screen and (max-width: 991px) {
	.site-header > div {
		padding: 10px var(--wp--preset--spacing--window);
	}
	.page-template-default .site-header,
	.single .site-header {
        position: sticky;
        top: 0!important;
        z-index: 999;
    }
	.btn-sticky {
        position: fixed;
        bottom: 0;
		padding: 15px 10px!important;
        width: 49.5%;
        border-radius: 5px!important;
        padding: 15px 0;
		border: none!important;
        z-index: 1000;
		background: var(--wp--preset--color--accent)!important;
        font-size: 1.2rem !important;
		font-weight: 700;
		color: var(--wp--preset--color--white)!important;
    }
	.btn-sticky a {
        font-size: var(--wp--preset--font-size--small);
    }
	.btn-sticky .wp-block-button.is-style-outline a:hover,
	.btn-sticky .wp-block-button.is-style-outline a:focus {
        background: var(--wp--preset--color--primary)!important;
		color: var(--wp--preset--color--white)!important;
    }
    .bs-btnright {
        right: 0;
    }
    .bs-btnleft {
        left: 0;
    }
}

/*
    LOGO
*/
.bs-brand p {
	max-width: 230px;
}
@media only screen and (max-width: 991px) {
	.site-header .wp-block-site-logo {
		max-width: 50px;
	}
}

/*
    SEARCH
*/
.wp-block-search {}

.wp-block-search__button {
	padding: 10px 20px !important;
}

@media only screen and (max-width: 991px) {
	.wp-block-search__inside-wrapper {
		flex-wrap: wrap;
		gap: 10px;
		justify-content: center;
	}
}

/*
	MAIN NAVIGATION
*/
.main-nav {}

/*
    BLOCK POPIN
*/
.block-popins {}

.block-popins::before {
	content: "";
	color: var(--wp--preset--color--white);
	font-family: aci;
}
.block-popins .pop-nav,
.block-popins .pop-nav button {
    display: none;
}
.block-popins .pop-nav.actif {
	display: block !important;
}
.block-popins .pop-nav > ul {
    gap: 10px;
}
.block-popins .pop-nav li {
    flex-direction: column;
    text-align: center;
}
.block-popins .pop-nav > ul > li::before {
    content: "";
    display: block;
    margin: 20px auto;
    width: 100px;
    height: 1px;
    background: var(--wp--preset--color--white);
}
.block-popins .pop-nav > ul > li > a {
    font-weight: 700 !important;
	font-family: var(--wp--preset--font-family--title) !important;
}
.block-popins .pop-nav ul {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex-direction: column !important;
    justify-content: center;
    row-gap: 0 !important;
    column-gap: 10px !important;
    height: auto !important;
    width: auto !important;
    background: none !important;
    border: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.block-popins .pop-nav li li a {
    padding: 0 !important;
    color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--current);
}
.block-popins .wp-block-navigation .has-child .wp-block-navigation__submenu-container > li > ul {
    display: none !important;
}

@media only screen and (min-width: 1024px) {
	.block-popins {
		left: 50%;
	}
}

/* ----------------------------
	== FOOTER
---------------------------- */
.site-footer,
.site-footer .wp-block-site-logo {
	margin: 0;
}
.site-footer > div {
	padding-top: 0;
}
@media only screen and (max-width: 991px) {
	.site-footer {
		padding-bottom: 50px;
	}
	div.cta-bas-mobile {
		gap: 5px;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		display: flex !important;
		align-items: stretch;
		z-index: 100;
		padding-bottom: 0;
		justify-content: space-around;
	}
	.cta-bas-mobile a {
		border-radius: 10px;
	}
}
@media only screen and (max-width: 600px) {
	.cta-bas-mobile a {
		font-size: 3vw;
		padding: 10px;
	}
}


/* NL */
.site-footer .bs-nl {
	margin-bottom: var(--wp--preset--spacing--window);
	padding-top: var(--wp--preset--spacing--window);
}
.site-footer .bs-nl > p:first-child {
	font-size: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 1.481), 2.5rem);
}
.site-footer .bs-nl .acym_module_form {
	position: relative;
	margin: 0 auto;
	width: 80%;
}
.site-footer .bs-nl .acym_module_form .acym__user__edit__email {
	max-width: 100%;
}
.site-footer .bs-nl .acym_module_form > table {
	margin: 0;
  	width: 100%;
}
.site-footer .bs-nl .acym_module_form .acysubbuttons {
	position: absolute;
	display: table;
	right: 10px;
	height: 50px;
	border: none;
	border-radius: 0px 5px 5px 0px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--wp--preset--color--secondary);
}
.site-footer .bs-nl .acym_module_form input.btn {
	color: var(--wp--preset--color--secondary);
	font-family: aci;
  	background: none;
	box-shadow: none;
	border: none;
}

/* BANNER */
.site-footer .wp-block-cover {
	margin: 0 calc(-1*var(--wp--preset--spacing--window));
}
@media only screen and (max-width: 991px) {
	.site-footer .wp-block-cover {
		min-height: 330px !important;
	}
}

/* PARTNERS */
.site-footer .bs-partners li {
	display: flex;
	justify-content: center;
	align-self: stretch;
}
.site-footer .bs-partners li figure {
	display: flex;
	justify-content: center;
	max-height: 150px;
}
.site-footer .bs-partners li figure a {
	align-content: center;
}
.site-footer .bs-partners li figure img {
	object-fit: contain;
	max-height: 150px;
}
@media only screen and (max-width: 991px) {
	.site-footer .bs-partners {
		margin: 0 calc(-2*var(--wp--preset--spacing--window)) !important;
	}
}

/* COORDONNÉES */
.site-footer .bs-coords {
	padding: var(--wp--preset--spacing--window);
}
.site-footer .bs-coords .bs-brand {
	gap: 5px;
}

/* NAV FOOTER */
.site-footer .bs-navfooter {
	margin: 0 calc(-1*var(--wp--preset--spacing--window));
	padding: var(--wp--preset--spacing--window);
}
.site-footer .bs-navfooter ul {
    position: relative !important;
    row-gap: 5px !important;
    height: auto !important;
    width: auto !important;
    background: none !important;
    border: none !important;
    visibility: visible !important;
    opacity: 1 !important;
	align-items: baseline;
}
.site-footer .bs-navfooter ul li > a {
    font-weight: 700 !important;
}
.site-footer .bs-navfooter .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
	padding-top: 10px;
}
.site-footer .bs-navfooter .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	font-weight: 400 !important;
}
.site-footer .bs-navfooter .wp-block-navigation .wp-block-navigation-item {
	flex-direction: column;
	align-items: baseline !important;
}
.site-footer .bs-navfooter .wp-block-navigation .wp-block-navigation-item a {
	padding: 0 !important;
}
.site-footer .bs-navfooter .wp-block-navigation .wp-block-navigation__submenu-icon,
.site-footer .bs-navfooter .wp-block-navigation .has-child .wp-block-navigation__submenu-container > li > ul  {
	display: none !important;
}

/* LIENS ANNEXES */
.site-footer .wp-block-group:last-child .links-footer a {
	opacity: 0.5;
}

@media only screen and (max-width: 991px) {
	.site-footer .wp-block-group:last-child {
		flex-wrap: wrap;
	}
	.site-footer .bs-navfooter {
		padding: calc(2*var(--wp--preset--spacing--window));
	}
	.site-footer .bs-navfooter ul:first-child {
		flex-direction: column !important;
		row-gap: var(--wp--preset--spacing--text) !important;
	}
}

/* ----------------------------
	== MAIN
---------------------------- */
.home main {
	margin: 0;
}
body:not(.home):not(.page-template-subnav-page):not(.archive):not(.blog):not(.error404):not(.search):not(.single) main {
  padding: 0 calc(var(--wp--preset--spacing--window)*2) var(--wp--preset--spacing--window) !important;
}
body.blog main,
body.archive main,
body.search main,
body.error404 main {
	margin: 0;
	padding: var(--wp--preset--spacing--text) calc(var(--wp--preset--spacing--window)*2) var(--wp--preset--spacing--window) !important;
}
@media only screen and (min-width: 991px) {
	.single main {
		padding: 0 calc(var(--wp--preset--spacing--window)*2) var(--wp--preset--spacing--window) !important;
	}
}
@media only screen and (max-width: 991px) {
	.single main {
		padding: 0 calc(var(--wp--preset--spacing--window)*2) calc(var(--wp--preset--spacing--window)*3) !important;
	}
}

/*
	BREADCRUMBS
*/
.wp-block-wpseopress-breadcrumbs {
	text-align: left;
}
.wp-block-wpseopress-breadcrumbs .breadcrumb-item.active {
	font-weight: 700;
}

@media only screen and (max-width: 991px) {
	.wp-block-wpseopress-breadcrumbs .breadcrumb-item a {
		font-weight: 700;
	}
}

/*
    TITLE
*/
body:not(.home):not(.blog):not(.archive):not(.search):not(.error404) .wp-block-post-title,
body.blog h1,
body.archive h1,
body.search h1,
body.error404 h1 {
	margin-block-start: var(--wp--preset--spacing--current);
}

@media only screen and (max-width: 991px) {
	.bs-titlesingle {
		flex-wrap: wrap;
	}
}

/*
    CONTENT
*/

/* *****************************
----------------------------
	= COMPONENTS
----------------------------
***************************** */
body:not(.home) figure {
	overflow: hidden;
	border-radius: 20px;
}
/* ----------------------------
	== BUTTONS
---------------------------- */
.wp-block-buttons:not(.btn-header) .is-style-aster-simple-button .wp-block-button__link {
	display: flex;
	gap: 5px;
}
.wp-block-buttons:not(.btn-header) .is-style-aster-simple-button .wp-block-button__link::before {
	content: "";
	font-family: aci;
}
/* ----------------------------
	== FLÈCHES SLIDER
---------------------------- */
.splide__arrows {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}
.splide__arrow {
	background: none;
	bottom: -4em;
	top: initial;
}
.splide__arrow svg {
	display: none;
}
.splide__arrow--prev::after {
  	content: "\e901";
}
.splide__arrow--next::after {
	content: "\e904";
}
.splide__arrow--prev::after, .splide__arrow--next::after {
  font-weight: initial;
  font-family: aci;
  color: var(--wp--preset--color--primary);
}

@media only screen and (min-width: 991px) {
	.splide__arrow--prev::after, .splide__arrow--next::after {
		font-size: 2.5rem;
	}
	.splide__arrow--prev {
		left: 4em;
	}
	.splide__arrow--next {
		right: 4em;
	}
}
@media only screen and (max-width: 991px) {
	.splide__arrow--prev::after, .splide__arrow--next::after {
		font-size: 1.5rem;
	}
}

/* ----------------------------
	== BLOCKQUOTE
---------------------------- */
blockquote {
	display: flex;
	flex-direction: column-reverse;
} 
blockquote cite {
	padding-bottom: 10px;
	font-style: normal;
	font-weight: 700;
	color: var(--wp--preset--color--secondary);
} 
blockquote p {
	border-left: 1px solid var(--wp--preset--color--secondary);
	padding-left: var(--wp--preset--spacing--text);
} 
.wp-block-quote::before {
	content: '';
	font-size: 3rem;
	font-family: aci;
	color: var(--wp--preset--color--primary);
}

/* ----------------------------
	== IMAGES IMAGIFY
---------------------------- */
figure picture > * {
	height: 100% !important;
}
figure picture img {
	height: 100% !important;
	object-fit: cover;
}

/* *****************************
----------------------------
	= PATERNS - TEMPLATES PART
----------------------------
***************************** */

/* ----------------------------
	== POST LIST GRID
---------------------------- */
body:not(.home) .wp-block-query li {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--white);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
body:not(.home) .wp-block-query li .wp-block-post-title {
	margin-block-start: 0 !important;
}
body:not(.home) .wp-block-query li .wp-block-post-title a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
body:not(.home) .wp-block-query li figure {
	padding: 0;
  	border-radius: 0 !important;
}
body:not(.home) .wp-block-query li > * {
	padding: 8px var(--wp--preset--spacing--text);
}
.wp-block-query li figure a img {
  transition: all .5s;
}
.wp-block-query li:hover figure a img {
	transform: scale(1.05);
}
.wp-block-query li .wp-block-group {
	margin: 0;
	padding: var(--wp--preset--spacing--text) !important;
}
.wp-block-query li .wp-block-group::after {
	content: "";
	font-family: aci;
	position: absolute;
	color: var(--wp--preset--color--primary);
	bottom: var(--wp--preset--spacing--text);
	right: var(--wp--preset--spacing--text);
	font-size: 3rem;
	line-height: normal;
}
.wp-block-query .taxonomy-category a {
	pointer-events: none;
}
body:not(.home) .is-style-aster-grille .event-tag,
body:not(.home) .is-style-aster-grille .bsw-event-date {
	display: block;
	padding: 0 var(--wp--preset--spacing--text) !important;
}
body:not(.home) .is-style-aster-grille .bsw-event-date {
	font-weight: 700;
}
body:not(.home) .is-style-aster-grille .event-tag a {
	color: var(--wp--preset--color--secondary);
	font-weight: 700;
}
.is-style-aster-grille .footer-card {
	margin-top: auto;
	padding: var(--wp--preset--spacing--text);
} 
.is-style-aster-grille .footer-card .wp-block-post-excerpt__more-link {
	font-family: aci;
	color: var(--wp--preset--color--primary);
	font-size: 3rem;
	line-height: normal;
}

/* ----------------------------
	== WITH SIDEBAR
---------------------------- */
.page-template-subnav-page main {
	padding: 0 var(--wp--preset--spacing--window) var(--wp--preset--spacing--window) !important;
}
.page-template-subnav-page .wp-block-columns > .wp-block-column:last-child > div {
	position: sticky;
	top: 300px;
}

/* ----------------------------
	== PAGES SOEURS
---------------------------- */
.wp-block-bsw-siblings-posts li.current,
.wp-block-bsw-siblings-posts li.current a {
	color: var(--wp--preset--color--secondary);
	font-weight: 700;
}

/* ----------------------------
	== PAGES FILLES
---------------------------- */
.wp-block-bsw-child-post li {
	background: var(--wp--preset--color--neutral);
}

/* ----------------------------
	== NEXT PREV
---------------------------- */
.next-prev {}

.next-prev.toosmall {
	justify-content: space-between;
	max-width: var(--wp--style--global--wide-size);
	gap: 10px;
	width: 100%;
}
.next-prev .post-navigation-link__title {
  color: var(--wp--preset--color--secondary);
}
.next-prev .post-navigation-link-previous a::before,
.next-prev .post-navigation-link-next a::before  {
	content: "";
	font-family: aci;
	color: var(--wp--preset--color--secondary)
}
.next-prev .post-navigation-link-previous a::before {
	rotate: 180deg;
}

/* ----------------------------
	== À lire aussi
---------------------------- */
.bs-lireaussi {
	padding: calc(var(--wp--preset--spacing--current)*0.8)!important;
	gap: 10px;
	border-radius: 20px;
}
.bs-lireaussi a {
	display: flex;
	gap: 5px;
	box-shadow: none !important;
}
.bs-lireaussi a::before {
	content: "";
	font-family: aci;
}

/* *****************************
----------------------------
	= HOME PAGE
----------------------------
***************************** */
.home .entry-content {
	margin: 0 calc(-1*var(--wp--preset--spacing--window));
}
.home .bs-imghome img {
	height: 100%;
	object-fit: cover;
}
.home .bs-imghome {
    position: relative;
    z-index: -1;
}
.home .bs-imghome::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(to bottom, rgba(56, 69, 8, 0.73), rgba(11, 14, 2, 0));
	pointer-events: none;
	z-index: 1;
}
.home .bs-imghome::after {
	content: "";
	position: absolute;
	bottom: var(--wp--preset--spacing--current);
	width: 30px;
	height: 31px;
	border-radius: 100px;
	font-family: aci;
	background: var(--wp--preset--color--white);
	z-index: 1;
	left: 50%;
	transform: translate(-50%) rotate(90deg);
	font-size: 2rem;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

@media only screen and (min-width: 991px) {
	.home .bs-imghome {
		height: 80vh;
		max-height: 80vh;
	}
}
@media only screen and (max-width: 991px) {
	.home .bs-imghome {
		height: 60vh;
		max-height: 75vh;
	}
}
/* ----------------------------
	== Entête HP
---------------------------- */
.bs-headerhome {
	position: absolute;
	left: var(--wp--preset--spacing--window);
	right: var(--wp--preset--spacing--window);
	top: var(--wp--preset--spacing--current);
}

@media only screen and (min-width: 991px) {
	.bs-headerhome > div:first-child,
	.bs-headerhome > div:last-child {
		/*flex: 1;*/
		flex: 2;
		/*ajout*/
		gap: 15px;
	}
	.bs-headerhome > div:nth-child(2) {
		flex: 2;
	}
	.bs-headerhome > div:last-child {
		justify-content: flex-end;
	}
	.bs-headerhome .bs-brand {
		padding: var(--wp--preset--spacing--text) !important;
		width: fit-content;
		border-radius: 20px;
	} 
	/*ajout*/
	div.btn-header .btn-membre a,
	div.btn-header .btn-boutique a {
		font-family: var(--wp--preset--font-family--title);
	}
	/*ajout*/
	main > div:nth-child(1) > div:nth-child(2) {
		flex:1.5;
	}
}
@media only screen and (max-width: 991px) {
	.bs-headerhome {
		margin: 0;
		justify-content: center;
	}
	.bs-headerhome p {
		font-size: 1.2rem;
	}
}

/* ----------------------------
	== ACI c'est quoi
---------------------------- */
.bs-intro {
	margin: 0 calc(-1*var(--wp--preset--spacing--window));
	padding: var(--wp--preset--spacing--window) !important;
}
.bs-intro > div {
	gap: var(--wp--preset--spacing--text);
}
.bs-intro .bs-quickaccess > div {
	position: relative;
	align-self: stretch;
	text-align: center;
	gap: 10px;
	display: flex;
	flex-direction: column;
	line-height: normal;
	transition: 0.3s ease;
}
.bs-intro .bs-quickaccess > div::before {
	font-size: 5rem;
}
.bs-intro .bs-quickaccess > div:hover {
	scale: 1.02;
	transition: 0.3s ease;
	transform: translate(2px, 2px);
	filter: brightness(0.92);
}
.bs-intro .bs-quickaccess > div a::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
.bs-intro .bs-quickaccess > div p:last-child {
	font-size: 3rem;
	margin-top: auto;
}
.bs-intro .bs-chiffres > div > div {
	justify-content: space-around;
}
.bs-intro .nombre {
	gap: 8px;
}

@media only screen and (max-width: 991px) {
	.bs-intro {
		padding: calc(2*var(--wp--preset--spacing--window)) var(--wp--preset--spacing--window) !important;
	}
	.bs-intro .bs-quickaccess,
	.bs-intro .bs-chiffres {
		flex-wrap: wrap;
	}
	.bs-intro .bs-quickaccess > div {
		width: 100%;
	}
	.bs-intro .wp-block-group:not(.bs-quickaccess):not(.bs-chiffres):not(.nombre) {
		padding: var(--wp--preset--spacing--window);
		border-radius: 10px;
	}
	.bs-intro .bs-chiffres {
		margin: 0 calc(-2*var(--wp--preset--spacing--window)) !important;
		width: 100%;
		border-radius: 10px;
	}
	.bs-intro .bs-chiffres > div {
		width: 100%;
	}
	.bs-intro .nombre p {
		font-size: 1.3rem;
	}
	.bs-intro .nombre::before {
		font-size: 2rem;
	}
}
@media only screen and (min-width: 991px) {
	.bs-intro .wp-block-group:not(.bs-quickaccess):not(.bs-chiffres):not(.nombre) {
		padding: var(--wp--preset--spacing--text);
		border-radius: 10px;
		align-self: stretch;
	}
	.bs-intro .bs-quickaccess .wp-block-group,
	.bs-intro .bs-chiffres > div {
		flex: 1;
	}
	.bs-intro .bs-chiffres {
		width: 100%;
	}
	.bs-intro .nombre p {
		font-size: 2rem;
	}
	.bs-intro .nombre::before {
		font-size: 3rem;
	}
}

/* ----------------------------
	== Actualités
---------------------------- */
.bs-news {

}
.home .bs-news {
	margin: 0 calc(-1*var(--wp--preset--spacing--window));
}
.bs-news .bsw-carousel-post > div {
	padding: var(--wp--preset--spacing--text) 0;
}
.bs-news .bsw-carousel-post li > div {
	display: flex;
	flex-direction: column;
	flex: 1;
}
.bs-news .bsw-carousel-post li {
	position: relative;
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}
.bs-news .bsw-carousel-post .wp-block-post-title {
	margin-block-start: 0 !important;
}
.bs-news .bsw-carousel-post .wp-block-post-title a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
}
.bs-news .bsw-carousel-post li figure {
	margin: 0;
}
.bs-news .info-card .taxonomy-category {
	max-width: 80%;
}
.bs-news .wp-block-buttons {
	width: 80%;
}
@media only screen and (min-width: 991px) {
	.home .bs-news {
		margin: 0 calc(-1*var(--wp--preset--spacing--window));
	}
	.bs-news {
		padding: var(--wp--preset--spacing--window) 0 !important;
	}
}
@media only screen and (max-width: 991px) {
	.bs-news {
		padding: calc(2*var(--wp--preset--spacing--window)) 0 !important;
	}
}

/* ----------------------------
	== Événements
---------------------------- */
.bs-events {
	margin: 0 calc(-1*var(--wp--preset--spacing--window));
	padding: var(--wp--preset--spacing--window) !important;
}
.bs-events h2 {
	margin-bottom: var(--wp--preset--spacing--text) !important;
	padding: 0 !important;
}
.bs-events li {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	background: none;
	border-radius: 0;
}
.bs-events .event-tag {
	margin-top: auto;
	margin-bottom: 16px;
	padding: 0;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--medium);
}
.bs-events .bsw-event-date {
	margin: 0;
  	margin-top: auto;
	padding: 18px 0;
	font-weight: 700;
	border-top: 1px solid var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--medium);
} 

/* SLIDER */
.bs-events li .slider_post_title {
	margin-bottom: var(--wp--preset--spacing--text) !important;
	font-family: var(--wp--preset--font-family--title);
}
.bs-events li .slider_categories {
	padding: 0;
}
.bs-events li .slider_categories li {
	margin: 0;
}
.bs-events li .slider_categories li a {
	font-weight: 700;
}
.bs-events li p {
	margin-bottom: var(--wp--preset--spacing--text) !important;
	border-top: 1px solid var(--wp--preset--color--white);
}
@media only screen and (max-width: 991px) {
	.bs-events {
		padding: calc(2*var(--wp--preset--spacing--window)) 0 !important;
	}
	.bs-events li {
		margin-left: var(--wp--preset--spacing--text);
	}
}

/* ----------------------------
	== Témoignages
---------------------------- */
.bs-testimony {
	margin: 0 calc(-1*var(--wp--preset--spacing--window));
	padding: var(--wp--preset--spacing--window) 0 !important;
}
.bs-testimony blockquote::after {
	content: '';
	top: 0;
	left: calc(-1*var(--wp--preset--spacing--text));
	font-size: 3rem;
	font-family: aci;
	color: var(--wp--preset--color--primary);
}
.bs-testimony blockquote::before {
	display: none;
}
.bs-testimony blockquote p {
	margin-top: 0;
}

@media only screen and (min-width: 991px) {
	.bs-testimony blockquote::after {
		position: absolute;
	}
}
@media only screen and (max-width: 991px) {
	.bs-testimony {
		padding: calc(2*var(--wp--preset--spacing--window)) 0 !important;
	}
	.bs-testimony li {
		margin-left: var(--wp--preset--spacing--text);
	}
	.bs-testimony .auteur {
		font-size: 1.2em;
	}
	.bs-testimony blockquote::after {
		line-height: normal;
	}
	blockquote {
		margin: 0 !important;
	}
}