/* CSS Document */

body {
	background-color:var(--vertFonce);
	color:var(--vertClair);
}
.canBandeau {
	background-color:var(--vertFonce);
	border-bottom:1px solid var(--vertClair);
}
.canBandeau .canLogo {
	visibility:hidden;
}

.blogBoutons {
	margin:40px auto 80px auto;
	padding:0 20px;
	text-align:justify;
	text-transform:uppercase;
}
.blogBoutons div {
	display:inline-block;
	padding:0 20px;
	text-align:center;
	vertical-align:top;
}
.blogBoutons .sitBouton {
	border-color:var(--vertClair);
}
.blogBoutons .sitBouton:hover, .sitBouton.sel {
	background-color:var(--vertClair);
	color:var(--vertFonce);
}

.blogIntro {
	font-family:inter;
	font-size:20px;
	font-weight:400;
	line-height:22px;
	margin:80px auto 40px auto;
	max-width:800px;
	text-align:center;
}

.blogPosts {
	margin:0 auto 80px auto;
	padding:0 40px;
}
.blogPosts .post {
	display:inline-block;
	margin-left:40px;
	margin-bottom:40px;
	vertical-align:top;
	width:calc(calc(100% - 80px) / 3);
}
.blogPosts .post:nth-child(3n+1) {
	margin-left:0;
}
.blogPosts .image {
	border-radius:20px;
	margin-bottom:30px;
	overflow:hidden;
	position:relative;
	padding-top:50%;
}
.blogPosts .image img {
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	objectif-fit:cover;
}
.blogPosts .titre {
	font-family:inter;
	font-size:25px;
	font-weight:500;
	line-height:30px;
	margin-bottom:10px;
}
.blogPosts .court {
	border-top:var(--vertClair) 1px solid;
	font-family:inter;
	font-size:18px;
	font-weight:400;
	line-height:22px;
	padding:20px 0;
}


@media only screen and (max-width:860px) {
	.blogIntro {
		padding:0 20px;
	}
	
	.blogBoutons {
		padding:0 20px;
	}
	
	.blogPost {
		padding:0 20px;
	}
	
	.blogPosts .post {
		margin-left:20px;
		width:calc(calc(100% - 20px) / 2);
	}
	.blogPosts .post:nth-child(3n+1) {
		margin-left:20px;
	}
	.blogPosts .post:nth-child(2n+1) {
		margin-left:0;
	}
}

@media only screen and (max-width:500px) {
	.blogPosts .post {
		margin-left:0 !important;
		width:100%;
	}
}

