:root {
    --gris: #707070;
    --noir: #1B3D59;
    --turquoise: #388069;
    --orange: #C94C13;
    --radius: 0.703125rem;
}

body {
    background-color: #074b98;
    font-size: clamp(1.06rem, 0.31vw + 0.979rem, 1.25rem);
    font-family: 'proxima nova', sans-serif;
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-wrap: pretty;
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
}
@media (min-width: 48rem) {
    body {
        animation: fadeInAnimation .5s;
    }   
}


.items {
	display: flex;
	flex-wrap: wrap;
	gap: 1.875rem 1.25rem;
}
@media (min-width: 26.9375rem) {
    .items {
    	gap: 4.375rem 1.5rem;
    }   
}
.item {
    background-color: white;
    text-decoration: none;
    color: black;
	position: relative;
    flex-basis: 100%;
    max-width: none;
    
    display: flex;
	flex-direction: column;
}

@media (min-width: 48rem) {
    .item {
    	flex-basis: calc(33.333333% - 1rem);
    }   
}


.item-img {
	overflow: hidden;
	position: relative;
	margin-bottom: 0.9375rem;
}
@media (min-width: 93.75rem) {
    .item-img {
    	width: 20rem;
    	height: 11.25rem;
    }
}
.item-img img {
	transition: transform .3s ease 0.15s;
	height: auto;
	width: 100%;
	display: block;
	max-width: 100%;
}
.item:hover .item-img img,
.item:focus .item-img img {
    transition: transform .2s ease 0.1s;
	transform: scale(1.05);
}

.spacer {
    padding: 0 .875rem .875rem;
    position: relative;
    flex-grow: 1;
}

.item-titre {
    margin-bottom: 3rem;
}
.item-titre h3 {
    color: var(--turquoise);
    font-family: 'proxima nova condensed', sans-serif;
   	font-size: clamp(1.25rem, 1.031vw + 0.973rem, 1.875rem);
   	font-weight: 400;
   	margin-top: 0;
   	margin-bottom: 0.5rem;
   	text-wrap-style: unset;
   	line-height: 1.1;
}
@media (min-width: 26.9375rem) { /* 431px */
    .item-titre h3 {
        text-wrap-style: balance;
    }   
}

.item-soustitre {
    font-size: clamp(0.938rem, 0.103vw + 0.91rem, 1rem);
    margin-top: clamp(-0.187rem, -0.309vw + 0.083rem, 0rem);
	line-height: 1.1;
	text-wrap: balance;
}

.item-lieu {
    color: var(--noir);
	font-size: clamp(14px, 2vw, 16px);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 0.3125rem;
	text-wrap: balance;
}
.item-info {
    font-size: clamp(0.875rem, 0.103vw + 0.847rem, 0.938rem);
    line-height: 1.2em;
    overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.items:not(.affichage-liste) .item-info {
    border-top: 1px solid var(--gris);
    padding-top: 0.7rem;
    position: absolute;
	bottom: .875rem;
	width: calc(100% - 1.75rem);
	margin-bottom: 0;
}
@media (max-width: 34.3125rem) {
    .item-info-heuredebut,
    .item-info-heurefin {
        display: none;
    }
}
.item .item-date {
	font-weight: 600;
}


/* Bouton */

.bouton-tous {
    margin-top: 1.75rem;
    text-align: center;
    margin-bottom: 0;
}
.bouton-tous .btn {
    background-color: #108848;
	border: 0;
	border-radius: 3px;
	color: white;
	cursor: pointer;
	display: inline-block;
	font: 700 1rem 'proxima-nova', sans-serif;
	margin: 1px 0;
	padding: 13px 42px;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
	-webkit-appearance: none;
}
.bouton-tous .btn:hover, 
.bouton-tous .btn:focus {
	background-color: #007236;
}
.bouton-tous .btn:active {
	background-color: #007236;
	color: rgba(255, 255, 255, 0.5);
}
