@charset "UTF-8";

/*
.grid (grid)
.columns (flex)

-- mode --
.grid
.grid.list
.grid.archive

-- style --
.grid.events	== thumbnails / calendar / dates (grid / list)
.grid.posts		== thumbnails (grid only)
.grid.portraits == (list only)
*/

.results-title h3 {
	font-size: 1em;
}

/**************************/
/**************************/
/********** VARS **********/
/**************************/
/**************************/

/*
--item-width
--grid-gap
*/

@media (min-width: 0px) {
	.grid {
		--item-width: calc(100% - var(--gutter-gap) * 2); /* cf. .content */
		--grid-gap: 1em;
		--events-list-items-count : 7; /* number of columns in calendar */
	}
}
@media (min-width: 480px) {
	.grid {
		--item-width: 20rem;
		--grid-gap: 1em;
	}
}
@media (min-width: 760px) {
	.grid {
		--item-width: 16rem;
		--grid-gap: 2em;
	}
}
@media (min-width: 1000px) {
	.grid {
		--item-width: 18rem;
	}
}
@media (min-width: 1600px) {
	.grid {
		--item-width: 20rem;
	}
}

/*************************/
/********** WIP **********/
/*************************/

.article .short .grid .items,
.grid.vertical .items {
	-ms-grid-columns: 1fr;
	grid-template-columns: 1fr;
}

/************************************/
/************************************/
/********** GRID / DEFAULT **********/
/************************************/
/************************************/

.grid {
	position: relative;
	font-size: var(--body-font-size);
}
.grid .items {
	position: relative;
	display: -ms-grid;
	display: grid;
}
.grid .item {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0;
	width: 100%;
	background: var(--bright-color);
}
.grid .item-content {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 100%;
	margin: 0;
}

/********** ALT == ACTIONS **********/

.grid .item.alt {
	background: var(--light-color);
}

/********** ANIMATIONS **********/

.grid-container.is-loading:before,
.grid.is-loading:before {
	position: fixed;
	z-index: 100;
	top: 50%;
	left: 50%;
	-webkit-transform: translate3d(-50%, -50%, 0);
	   -moz-transform: translate3d(-50%, -50%, 0);
	        transform: translate3d(-50%, -50%, 0);
}
.grid-container.is-loading .results-title,
.grid-container.is-loading .item,
.grid.is-loading .item {
	opacity: 0;
}

/********** STATUS **********/

.grid .item.off {
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	width: 0;
	opacity: 0;
	-ms-grid-column: 1;
	grid-column: 1 / 1;
	pointer-events: none;
}
/* IOS HACK ==> no filter !!! */
/*
.grid .items.unavailable .item .item-content,
.grid .item.unavailable .item-content {
	-webkit-filter: grayscale(1);
	        filter: grayscale(1);
	color: var(--grey-color);
}
*/
.grid .items.unavailable .item .item-content,
.grid .item.unavailable .item-content {
	color: var(--grey-color);
}
.grid .items.unavailable .item .item-content .infos .event-link > *,
.grid .item.unavailable .item-content .infos .event-link > * {
	color: var(--grey-color) !important;
}
/* END IOS HACK */
.grid .items.unavailable .item .event-cart,
.grid .item.unavailable .event-cart {
	opacity: 0.25;
	pointer-events: none;
	border-bottom: none !important;
	text-decoration: none !important;
}
.grid .items.unavailable .item .event-cart:after,
.grid .item.unavailable .event-cart:after {
	opacity: 0;
}
.grid:not(.empty):not(.search) .grid-message {
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	width: 0;
	opacity: 0;
	-ms-grid-column: 1;
	grid-column: 1 / 1;
	pointer-events: none;
}
.grid-message {
	font-size: var(--body-font-size);
}

/**********************************/
/**********************************/
/********** GRID CONTENT **********/
/**********************************/
/**********************************/

/********** GRID INFOS **********/

.grid .infos {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	text-align: center;
	margin: auto;
	width: 100%;
	padding: 1em;
}
.grid .infos > * {
	margin: 0;
}
.grid .item .excerpt {
	overflow: hidden;
	-o-text-overflow: ellipsis;
	   text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4; /* number of lines to show */
	line-clamp: 4;
	-webkit-box-orient: vertical;
}

/********** COLORS **********/

body.alt .grid .thumbnail a:before {
	background: var(--secondary-color);
}

/**************************/
/**************************/
/********** LIST **********/
/**************************/
/**************************/

/* only for events in fine >> turn into .grid.events ?? */

.grid.list .items {
	-ms-grid-columns: 1fr !important;
	grid-template-columns: 1fr !important;
	gap: -webkit-calc(var(--grid-gap) / 2);
	gap: -moz-calc(var(--grid-gap) / 2);
	gap: calc(var(--grid-gap) / 2);
}
.grid.list .item {
	background: none;
}
.grid.list .item-content {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	   -moz-box-orient: horizontal;
	   -moz-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
}
.grid.list .infos {
	text-align: left;
	padding: 0;
}
.grid.list .infos > * {
	margin: 0;
}

/********************************/
/********************************/
/********** COLUMNIZER **********/
/********************************/
/********************************/

/* in grid.list.portraits for orchestra */

.grid.columnizer {
	-webkit-column-count: auto;
	   -moz-column-count: auto;
	        column-count: auto;
	-webkit-column-width: var(--item-width);
	   -moz-column-width: var(--item-width);
	        column-width: var(--item-width);
}
.grid.columnizer .items {
	gap: 0;
}
.grid.columnizer .item {
	-webkit-column-break-inside: avoid;
	   -moz-column-break-inside: avoid;
	        break-inside: avoid-column;
}
.grid.columnizer .items .item:not(:last-child) {
	padding-bottom: -webkit-calc(var(--grid-gap) / 2);
	padding-bottom: -moz-calc(var(--grid-gap) / 2);
	padding-bottom: calc(var(--grid-gap) / 2);
}

/****************************/
/****************************/
/********** EVENTS **********/
/****************************/
/****************************/

/*
grid == thumbnails
list == calendar
search == search results
*/

/*****************************/
/********** DEFAULT **********/
/*****************************/

.grid.events .infos {
	height: 100%;
	padding: 1.5em 1.5em 2.5em 1.5em;
}
.grid.events .event-dates {
	white-space: nowrap;
	font-size: 1.25em;
	/*color: var(--primary-color);*/
	color: var(--theme-color);
}
.grid.events .event-description {
	font-size: 1.25em;
}
.grid.events .event-type {
	font-size: 0.75em;
	line-height: 1em;
	text-transform: uppercase;
	/*color: var(--primary-color);*/
	color: var(--theme-color);
}
.grid.events .buttons {
	margin: auto 0 0 0;
	padding: 2em 0 0 0;
}

/*******************************/
/********** GRID MODE **********/
/*******************************/

.grid.events:not(.list) .infos > * + * {
	margin-top: auto;
}
.grid.events:not(.list) .event-type + .event-dates,
.grid.events:not(.list) .event-title + .event-description {
	margin-top: 0.25em;
}
.grid.events:not(.list) .event-type {
	-webkit-box-ordinal-group: 0;
	-webkit-order: -1;
	   -moz-box-ordinal-group: 0;
	    -ms-flex-order: -1;
	        order: -1;
	margin: 0;
}
.grid.events:not(.list) .buttons {
	font-size: 0.75em;
}

/*******************************/
/********** LIST MODE **********/
/*******************************/

.grid.list.events .items {
	gap: 0;
}
.grid.list.events .item:before {
	content: '';
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	border-top: solid 0.0625rem;
	pointer-events: none;
}
.grid.list.events .item:last-child:after {
	content: '';
	position: absolute;
	z-index: 10;
	bottom: 0;
	left: 0;
	width: 100%;
	border-bottom: solid 0.0625rem;
	pointer-events: none;
}
.grid.list.events .infos {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	   -moz-box-orient: horizontal;
	   -moz-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	padding: 0.5em !important;
}
.grid.list.events .infos > * {
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	   -moz-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
	flex-grow: 0;
}
.grid.list.events .infos .event-link {
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	   -moz-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
}
.grid.list.events .infos .event-link > * {
	margin: 0;
}
.grid.list.events .infos .buttons {
	-webkit-flex-basis: 0;
	    -ms-flex-preferred-size: 0;
	        flex-basis: 0;
}
.grid.list.events .event-dates,
.grid.list.events .event-title {
	font-size: 1em;
}
.grid.list.events .event-hour {
	white-space:nowrap;
}
.grid.list.events .event-type {
	font-size: inherit;
	color: inherit;
	margin: 0;
}
.grid.list.events .event-description {
	font-size: 1em;
}
.grid.list.events .buttons {
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
	   -moz-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	margin: 0;
	padding: 0;
	margin-left: auto;
	-webkit-flex-wrap: nowrap;
	    -ms-flex-wrap: nowrap;
	        flex-wrap: nowrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	   -moz-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

/***************************/
/********** ORDER **********/
/***************************/

/** in list mode **/

.grid.list.events .event-dates {
	-webkit-box-ordinal-group: 0;
	-webkit-order: -1;
	   -moz-box-ordinal-group: 0;
	    -ms-flex-order: -1;
	        order: -1;
}
.grid.list.events .event-location {
	-webkit-box-ordinal-group: 3;
	-webkit-order: 2;
	   -moz-box-ordinal-group: 3;
	    -ms-flex-order: 2;
	        order: 2;
}
.grid.list.events .event-title {
	-webkit-box-ordinal-group: 4;
	-webkit-order: 3;
	   -moz-box-ordinal-group: 4;
	    -ms-flex-order: 3;
	        order: 3;
}
.grid.list.events .event-type {
	-webkit-box-ordinal-group: 5;
	-webkit-order: 4;
	   -moz-box-ordinal-group: 5;
	    -ms-flex-order: 4;
	        order: 4;
}
/** wip **/
.grid.list.events .event-accessibility {
	-webkit-box-ordinal-group: 7;
	-webkit-order: 6;
	   -moz-box-ordinal-group: 7;
	    -ms-flex-order: 6;
	        order: 6;
}
.grid.list.events .event-tarif {
	-webkit-box-ordinal-group: 8;
	-webkit-order: 7;
	   -moz-box-ordinal-group: 8;
	    -ms-flex-order: 7;
	        order: 7;
}
/** end wip **/
.grid.list.events .buttons {
	-webkit-box-ordinal-group: 9;
	-webkit-order: 8;
	   -moz-box-ordinal-group: 9;
	    -ms-flex-order: 8;
	        order: 8;
}

/* only in search */

.grid.list.events .event-description {
	-webkit-box-ordinal-group: 6;
	-webkit-order: 5;
	   -moz-box-ordinal-group: 6;
	    -ms-flex-order: 5;
	        order: 5;
}

/***************************/
/********** SIZES **********/
/***************************/

/** in list mode **/
/*
line break under 3rd element
12em = dates + hour + 2 spaces
*/

.grid.list.events .item .event-link {
	-webkit-box-flex: 9;
	-webkit-flex-grow: 9;
	   -moz-box-flex: 9;
	    -ms-flex-positive: 9;
	        flex-grow: 9;
}
.grid.list.events .item .buttons {
	-webkit-flex-basis: 0;
	    -ms-flex-preferred-size: 0;
	        flex-basis: 0;
	white-space: nowrap;
}

/********** @MEDIA **********/

@media (max-width: 760px) {
	.grid.list.events .item .event-dates {
		-webkit-flex-basis: 7em;
		    -ms-flex-preferred-size: 7em;
		        flex-basis: 7em;
	}
	.grid.list.events .item .event-hour {
		-webkit-flex-basis: -webkit-calc(100% - 10em);
		    -ms-flex-preferred-size: calc(100% - 10em);
		        flex-basis: -moz-calc(100% - 10em);
		        flex-basis: calc(100% - 10em);
	}
}
@media (min-width: 760px) {
	.grid.list.events .item .event-link {
		padding-left: 12em;
	}
	.grid.list.events .item .event-dates {
		-webkit-flex-basis: 7em;
		    -ms-flex-preferred-size: 7em;
		        flex-basis: 7em;
		margin-left: -12em;
	}
	.grid.list.events .item .event-hour {
		-webkit-flex-basis: 3.25em;
		    -ms-flex-preferred-size: 3.25em;
		        flex-basis: 3.25em;
	}
}

/** in search mode **/

.grid.list.events .event-description {
	-webkit-flex-basis: 100%;
	    -ms-flex-preferred-size: 100%;
	        flex-basis: 100%;
}

/****************************/
/********** SEARCH **********/
/****************************/

.grid.list.events.search .item .event-link {
	gap:.5em;
	padding: 0;
}
.grid.list.events.search .item .event-type {
	font-size:.875em;
}

/***************************/
/********** LINKS **********/
/***************************/

.grid.events .event-link {
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -moz-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	border: 0;
}
.grid.list.events .event-link {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	   -moz-box-orient: horizontal;
	   -moz-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
}
.grid.list.events .buttons a:after,
.grid.events a.event-link:after {
	display: none;
}
.grid.events a.event-link:hover .event-title,
.grid.list.events .buttons a:hover {
	/*color: var(--primary-color);*/
	color: var(--theme-color);
}

/*****************************/
/********** SPACING **********/
/*****************************/

.grid.events .event-link {
	margin: 0 !important;
}
.grid.list.events .infos,
.grid.list.events .event-link {
	gap: 0.25em 1em;
}
.grid.events:not(.list) * + .event-title {
	margin-top: 1em;
}
.grid.events:not(.list) .event-dates {
	margin-top: 0.25em;
}

/*******************************************/
/********** COLORS (ACTIONS ONLY) **********/
/*******************************************/

/** in grid mode **/

.grid.events:not(.list) .item.alt .event-dates,
.grid.events:not(.list) .item.alt .event-type,
.grid.events:not(.list) .item.alt .event-link:hover .event-title,
.grid.events:not(.list) .item.alt .buttons a:hover {
	color: var(--dark-color);
}
.grid.events:not(.list) .item.is-colored-1,
.grid.events:not(.list) .item.is-colored-1 .thumbnail a:before {
	background: var(--action-color);
}
.grid.events:not(.list) .item.is-colored-2,
.grid.events:not(.list) .item.is-colored-2 .thumbnail a:before {
	background: var(--action-color-2);
}
.grid.events:not(.list) .item.is-colored-3,
.grid.events:not(.list) .item.is-colored-3 .thumbnail a:before {
	background: var(--action-color-3);
}

/** in list mode **/

.grid.list.events .item.alt .event-dates,
.grid.list.events .item.alt .event-type,
.grid.list.events .item.alt .infos .event-location {
	color: var(--dark-color);
}
.grid.list.events .item.alt .event-link:hover .event-dates,
.grid.list.events .item.alt .event-link:hover .event-type,
.grid.list.events .item.alt .event-link:hover .event-title,
.grid.list.events .item.alt .event-link:hover .event-hour,
.grid.list.events .item.alt .event-link:hover .event-location,
.grid.list.events .item.alt .buttons a:hover {
	color: var(--primary-color);
}
.grid.list.events .item.territoire .event-dates,
.grid.list.events .item.territoire .event-type,
.grid.list.events .item.territoire .infos .event-location,
.grid.list.events .item.territoire .event-link:hover .event-title,
.grid.list.events .item.territoire .event-link:hover .event-hour,
.grid.list.events .item.territoire .buttons a:hover {
	color: var(--tertiary-color);
}

/********************************/
/********** EVENT LINK **********/
/********************************/

.grid.list.events .event-link {
	padding-left: 0 !important;
	display: -ms-grid;
	display: grid;
}
.grid.list.events .item .event-dates {
	margin-left:0;
}

/********** CALENDAR ONLY **********/

.grid:not(.search).list.events .event-link > * {
	overflow: hidden;
	-o-text-overflow: ellipsis;
	   text-overflow: ellipsis;
	white-space: nowrap;
}

/********** RESPONSIVE DISPLAY **********/

/**
calendar	== default
dates		== not calendar (in single or custom)
**/

@media (max-width: 460px) {
	/*.grid.list.events .event-location {
		display:none;
	}
	.grid.list.events.dates .event-location {
		display:block;
	}*/
}
@media (max-width: 640px) {
	/*.grid.list.events .event-accessibility,*/
	.grid.list.events .event-tarif,
	.grid.list.events .event-type,
	.grid.list.events .event-dates .date-month,
	.grid.list.events.dates .event-location .location-full {
		display:none;
	}
}
@media (min-width: 1200px) {
	.grid.list.events:not(.dates) .event-location .location-short {
		display:none;
	}
}
@media (max-width: 1200px) {
	.grid.list.events .event-location .location-full,
	.grid.list.events.dates .event-type,
	.grid.list.events.dates .event-title {
		display:none;
	}
}

/********** @MEDIA **********/

@media (min-width: 0px) {
	.grid.list.events {
		font-size:-webkit-calc(var(--body-font-size) * .5);
		font-size:-moz-calc(var(--body-font-size) * .5);
		font-size:calc(var(--body-font-size) * .5);
	}
	/* calendar only */
	.grid:not(.search).list.events .event-link {
		grid-template-columns: repeat(var(--events-list-items-count), auto);
	}
	.grid:not(.search).list.events .event-link > * {
		padding:.75em 0;
	}
	.grid:not(.search).list.events .event-link > .event-dates {
		width:3.75em;
	}
	.grid:not(.search).list.events .event-link > .event-hour {
		width:3.25em;
	}
}
@media (min-width: 460px) {
	.grid.list.events {
		font-size:-webkit-calc(var(--body-font-size) * .75);
		font-size:-moz-calc(var(--body-font-size) * .75);
		font-size:calc(var(--body-font-size) * .75);
	}
}
@media (min-width: 640px) {
	.grid:not(.search).list.events .event-link > .event-dates {
		width:4em;
	}
	/* calendar only */
	.grid:not(.search).list.events .event-link > .event-dates {
		width:7em;
	}
}
@media (min-width: 760px) {
	/* calendar only */
	.grid:not(.search).list.events .event-link > * {
		padding:.25em 0;
	}
}
@media (min-width: 1000px) {
	.grid.list.events {
		font-size:var(--body-font-size);
	}
}
@media (min-width: 1200px) {
	/* calendar only */
	.grid:not(.search).list.events .event-link {
		grid-template-columns: repeat(7, auto);
	}
}

/*****************************/
/*****************************/
/********** GALLERY **********/
/*****************************/
/*****************************/
/* item > image */

.grid.gallery .image {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0;
	width: 100%;
}
.grid.gallery img {
	height:100%;
	width:100%;
	-o-object-fit: contain;
	   object-fit: contain;
}
.grid.gallery.logos .image {
	aspect-ratio:1/1;
}

/***************************/
/***************************/
/********** POSTS **********/
/***************************/
/***************************/

/********** DEFAULT **********/

.grid.posts .item-content {
	gap: 1em;
	padding: 1em;
}
.grid.posts .thumbnail {
	-webkit-box-ordinal-group: 0;
	-webkit-order: -1;
	   -moz-box-ordinal-group: 0;
	    -ms-flex-order: -1;
	        order: -1;
	aspect-ratio: 16/9;
}
.grid.posts .infos {
	text-align: center;
	gap: 1rem;
	padding: 0;
	padding-bottom: 1em;
	margin-top: 2em; /* for post icon */
}
.grid.posts .title {
	/*font-size: 2rem;*/
	font-size:1.5em;
}
.grid.posts .excerpt {
	text-align: left;
}

/********** POST-ICON **********/

.post-icon {
	font-size: 3em;
	padding: 0.125em;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	        border-radius: 50%;
	fill: var(--bright-color);
	stroke: var(--bright-color);
}
.thumbnail .post-icon:before,
.post-icon:before {
	content: '';
	position: absolute;
	z-index:-1;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: var(--secondary-color);
	mix-blend-mode: normal;
	opacity:1;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	        border-radius: 50%;
}
.thumbnail a:hover .post-icon:before,
a.post-icon:hover:before {
	-webkit-transform: scale(1.2);
	   -moz-transform: scale(1.2);
	    -ms-transform: scale(1.2);
	     -o-transform: scale(1.2);
	        transform: scale(1.2);
}
.post-icon svg {
	height: 1em;
	width: 1em;
	stroke-linejoin: round;
}
.post-icon svg *:not(.svg-icon-outline) {
	stroke: none;
}
.post-icon .svg-icon-outline {
	fill: none;
	stroke: inherit;
	stroke-width: -webkit-calc(var(--logo-line-height) / 4);
	stroke-width: -moz-calc(var(--logo-line-height) / 4);
	stroke-width: calc(var(--logo-line-height) / 4);
}
.thumbnail .post-icon {
	position: absolute;
	z-index: 10;
	left: 50%;
	bottom: 0;
	-webkit-transform: translate3d(-50%, 50%, 0);
	   -moz-transform: translate3d(-50%, 50%, 0);
	        transform: translate3d(-50%, 50%, 0);
}

/********** ARCHIVE **********/

.grid.posts.archive .items {
	grid-auto-flow: dense;
	overflow: hidden;
}
.grid.posts.archive .item.large .thumbnail {
	-webkit-box-ordinal-group: 0;
	-webkit-order: -1;
	   -moz-box-ordinal-group: 0;
	    -ms-flex-order: -1;
	        order: -1;
}

/********** COLORS **********/

/*
no color == white
is-colored-1 == purple
is-colored-2 == yellow
is-colored-3 == pink
*/

.grid.posts .item {
	color: var(--secondary-color);
}
.grid.posts .item .thumbnail a:before {
	background: var(--secondary-color);
}
.grid.posts.archive .item.is-colored-1 {
	color: var(--bright-color);
	background: var(--post-color);
}
.grid.posts.archive .item.is-colored-1 .thumbnail a:before {
	background: var(--post-color);
}
.grid.posts.archive .item.is-colored-2 {
	color: var(--dark-color);
	background: var(--post-color-2);
}
.grid.posts.archive .item.is-colored-2 .thumbnail a:before {
	background: var(--post-color-2);
}
.grid.posts.archive .item.is-colored-3 {
	color: var(--dark-color);
	background: var(--post-color-3);
}
.grid.posts.archive .item.is-colored-3 .thumbnail a:before {
	background: var(--post-color-3);
}

/** post icon **/

.grid.posts.archive .item.is-colored-1 .post-icon:before,
.grid.posts.archive .item.is-colored-2 .post-icon:before,
.grid.posts.archive .item.is-colored-3 .post-icon:before {
	background: var(--bright-color);
}
.grid.posts.archive .item.is-colored-1 .post-icon {
	fill: var(--post-color);
	stroke: var(--post-color);
}
.grid.posts.archive .item.is-colored-2 .post-icon {
	fill: var(--dark-color);
	stroke: var(--dark-color);
}
.grid.posts.archive .item.is-colored-3 .post-icon {
	fill: var(--post-color-3);
	stroke: var(--post-color-3);
}

/********** @MEDIA **********/

@media (min-width: 760px) {
	.grid.posts .item {
		aspect-ratio: 4/5;
	}
	.grid.posts.archive .item.large,
	.grid.posts.archive .item.wide {
		-ms-grid-column-span: 2;
		grid-column: span 2;
		aspect-ratio: auto;
	}
}
@media (min-width: 1000px) {
	.grid.posts.archive .item {
		-ms-grid-column-span: 1;
		grid-column: span 1;
	}
	.grid.posts.archive .item.large,
	.grid.posts.archive .item.wide {
		-ms-grid-column-span: 2;
		grid-column: span 2;
	}
}
@media (min-width: 1200px) {
	.grid.posts.archive .item {
		-ms-grid-column-span: 1;
		grid-column: span 1;
	}
	.grid.posts.archive .item.large,
	.grid.posts.archive .item.wide {
		-ms-grid-column-span: 2;
		grid-column: span 2;
	}
	.grid.posts.archive .item.large {
		-ms-grid-row-span: 2;
		grid-row: span 2;
	}
	.grid.posts .item {
		aspect-ratio: 2/3;
	}
	.grid.posts .item.wide {
		aspect-ratio: 4/3;
	}
	.grid.posts .item.large {
		aspect-ratio: 4/6;
	}
	.grid.posts .item .thumbnail {
		aspect-ratio: 4/3;
	}
	.grid.posts .item.wide .thumbnail {
		aspect-ratio: 5/2;
	}
	.grid.posts .item.large .thumbnail {
		aspect-ratio: 4/5;
	}
}

/***************************/
/***************************/
/********** SIZES **********/
/***************************/
/***************************/

.grid .items {
	grid-template-columns: repeat(auto-fill, minmax(var(--item-width), 1fr));
	gap: var(--grid-gap);
}
.grid.logos .items {
	grid-template-columns: repeat(auto-fill,minmax(-webkit-calc(var(--item-width) / 2), 1fr));
	grid-template-columns: repeat(auto-fill,minmax(-moz-calc(var(--item-width) / 2), 1fr));
	grid-template-columns: repeat(auto-fill,minmax(calc(var(--item-width) / 2), 1fr));
}

/*************************************/
/*************************************/
/********** GRID SWIPERABLE **********/
/*************************************/
/*************************************/
/* limit to 1 row = cf. front events */

.grid.swiperable .item {
	-webkit-flex-basis: var(--item-width);
	    -ms-flex-preferred-size: var(--item-width);
	        flex-basis: var(--item-width);
	-ms-grid-row: 1;
	grid-row: 1;
	min-width: var(--item-width);
}
.grid.posts.swiperable .item {
	aspect-ratio: auto;
}

/*****************************/
/*****************************/
/********** RESULTS **********/
/*****************************/
/*****************************/
/* for calendar */

.results {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	gap: 2em;
}
.results-item {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	gap: 0.5em;
	margin: 0;
}
.results-title {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: baseline;
	-webkit-align-items: baseline;
	   -moz-box-align: baseline;
	    -ms-flex-align: baseline;
	        align-items: baseline;
}
.results-title > * {
	margin: 0;
}
.results-title h2 {
	font-size: 1em;
}

.results.has-gutter > * {
	padding-top: 1em;
}
.results.has-gutter > *:not(:first-child) {
	border-top: solid var(--logo-line-height);
}

/*****************************/
/*****************************/
/********** COLUMNS **********/
/*****************************/
/*****************************/

/*
> ONE RESPONSIVE LINE
.columns ==  a | b | c | d (x4 max / vertical centered) [default]
.columns.vertical-centered == vertical centered
.columns.centered
.columns.has-gutter
.columns > .has-gutter
*/

/*****************************/
/********** DEFAULT **********/
/*****************************/
/*
css <=> wp
.columns <=> wp-block-columns
*/

.columns {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-box-align: start;
	-webkit-align-items: flex-start;
	   -moz-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	width: 100%;
	max-width: none; /* for back WP */
	gap: var(--gutter-gap);
}
.columns > * {
	margin: 0;
	list-style-type: none;
}
.columns.fit {
	gap: 0;
}
.columns.large {
	gap: -webkit-calc(var(--gutter-gap) * 2);
	gap: -moz-calc(var(--gutter-gap) * 2);
	gap: calc(var(--gutter-gap) * 2);
}
.columns.reversed {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-webkit-flex-direction: row-reverse;
	   -moz-box-orient: horizontal;
	   -moz-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
}

/***************************/
/********** SIZES **********/
/***************************/

.columns > .min {
	-webkit-box-flex: 0;
	-webkit-flex-grow: 0;
	   -moz-box-flex: 0;
	    -ms-flex-positive: 0;
	        flex-grow: 0;
}
.columns > .short {
	-webkit-box-flex: 0.5;
	-webkit-flex-grow: 0.5;
	   -moz-box-flex: 0.5;
	    -ms-flex-positive: 0.5;
	        flex-grow: 0.5;
}
.columns > .large {
	-webkit-box-flex: 2;
	-webkit-flex-grow: 2;
	   -moz-box-flex: 2;
	    -ms-flex-positive: 2;
	        flex-grow: 2;
}

/******************************/
/********** CENTERED **********/
/******************************/

.columns.centered {
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	   -moz-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.columns.centered > * {
	text-align: center;
}
.columns.centered ul,
.columns.centered ol {
	text-align: left;
}
.columns.vertical-centered {
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.columns.vertical-centered > * {
	margin-top: auto;
	margin-bottom: auto;
}

/**************************/
/********** FULL **********/
/**************************/
/* for ? */

.columns.full > * {
	width: 100%;
	height: 100%;
}

/******************************************/
/********** HAS BACKGROUND COLOR **********/
/******************************************/

.columns[class*='-background-color'] {
	padding:var(--gutter-gap);
}

/****************************/
/********** @MEDIA **********/
/****************************/

@media (min-width: 0px) {
	.columns > * {
		-webkit-box-flex: 1;
		-webkit-flex-grow: 1;
		   -moz-box-flex: 1;
		    -ms-flex-positive: 1;
		        flex-grow: 1;
		width: 100%;
	}
	/* gutter */
	.columns.has-gutter > *:not(:last-child) {
		border-bottom: solid var(--logo-line-height);
		padding-bottom: var(--gutter-gap);
		margin-bottom: 0;
	}
}
@media (min-width: 760px) {
	.columns > * {
		-webkit-box-flex: 1;
		-webkit-flex-grow: 1;
		   -moz-box-flex: 1;
		    -ms-flex-positive: 1;
		        flex-grow: 1;
		-webkit-flex-basis: 0 !important;
		    -ms-flex-preferred-size: 0 !important;
		        flex-basis: 0 !important;
		min-width: 15rem;
	}
	/* gutter */
	.columns.has-gutter > *:not(:last-child) {
		border-bottom: 0;
		border-right: solid var(--logo-line-height);
		padding-bottom: 0;
		padding-right: var(--gutter-gap);
		margin-right: 0;
		margin-bottom: var(--gutter-gap);
	}
	.columns > *.has-gutter {
		border-left: solid var(--logo-line-height);
		padding-left: var(--gutter-gap);
	}
	
	/* team */
	/** WIP **/
	.columns.team {
		gap:0;
		margin-left:calc((var(--gutter-gap) / 2) * -1) !important;
		margin-right:calc((var(--gutter-gap) / 2) * -1) !important;
	}
	.columns.team > * {
		max-width:calc(100% / 3);
		padding-left: calc(var(--gutter-gap) / 2);
		padding-right: calc(var(--gutter-gap) / 2);
	}
}

/***************************/
/********** LIMIT **********/
/***************************/

@media (min-width: 760px) {
	.columns[data-columns='2'] > * {
		-webkit-flex-basis: 50%;
		    -ms-flex-preferred-size: 50%;
		        flex-basis: 50%;
		max-width: -webkit-calc(50% - var(--gutter-gap));
		max-width: -moz-calc(50% - var(--gutter-gap));
		max-width: calc(50% - var(--gutter-gap));
	}
}

/** working as columns **/

.columns.is-limited-large,
.columns.is-limited-larger {
	margin-left: auto;
	margin-right: auto;
}

/* in autour des spectacles */

.is-limited-large {
	max-width: -webkit-calc(var(--content-maxwidth) * 2 / 3);
	max-width: -moz-calc(var(--content-maxwidth) * 2 / 3);
	max-width: calc(var(--content-maxwidth) * 2 / 3);
}
/* in mon opéra */

.is-limited-larger {
	max-width: -webkit-calc(var(--content-maxwidth) * 3 / 4);
	max-width: -moz-calc(var(--content-maxwidth) * 3 / 4);
	max-width: calc(var(--content-maxwidth) * 3 / 4);
}