div.blog{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	gap:0 2%; /*Vertical gap on flexbox bugged in firefox */
	width: 100%;
	
}
.blog > h2{
	flex-basis: 100%;
	text-align: center;
	font-weight: bold;
	color:var(--color2);
	margin-bottom: 12vh;
}

.blog_top{
    max-width: 1600px;
    margin: 0 auto;
    padding: 5vw 5vw 0vw 5vw;
    padding: var(--pad);
    padding-bottom: 0;
}

.blog .first{
    flex-basis: 50%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8%;
    width: 50%;
	position: relative;
}

div.blog_entete{
	display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: space-between;
	    width: 48%;
}
.blog .first .content{
    border-radius: 25px;
	width: 100%;
}


.articles .sidebar li.current-cat a{
    color: var(--color1);	
}

.blog_entete .article img{
    width: 100%;
    height: 12vw;
    object-fit: cover;
  
}

.splide__slide{
	border-radius: 25px;
}

.blog_entete .article a{
    border-radius: 25px;
}

.blog_entete > div:first-child{
	display: none;
}

.content .content_info{
    position: absolute;
    top: 25px;
    left: 25px;
}

.content img {
    filter: brightness(0.7);

    height: 100%;
    object-fit: cover;
	border-radius: 25px;
}

.content .content_info *{
	color: white;
}

.blog .first > a{
	flex-basis: 46%;
	min-width:350px;
	flex-grow: 1;
	margin-bottom: 8vh;
}
.blog .first .content h3{

}

.blog_entete .cat_post a{
    color: var(--color2);
	font-weight: bold;
}

p.cat_post a {
    color: black;
    font-weight: 500;
}

.titre_lien{
	margin-top: 0;
}

p.cat_post {
	margin-bottom: 0;
}

.blog .article h3 a{
	color:inherit;
}

.article p a{
	color: black;
}
/*
.blog .first .content h3 a{
	color:var(--color2);
}
.blog .first .content h3 a:hover{
	text-decoration: underline;
}
*/

.intro_plus_article h4{
	font-weight: bold;
}

.intro_plus_article p{
    display: flex;
    align-items: center;
    gap: 15px;
}

span.date{
	text-transform: uppercase;
	display: block;
	position: relative;
	font-weight: bold;
}
.post-more{
	text-transform: uppercase;
	color:var(--color2);
	font-weight:bold;
}
hr{
	width: 100%;
	flex-basis:100%;
	border:0;
	border-top:1px solid var(--color2);
	margin-bottom: 6vh;
}
.blog > h4{
	flex-basis: 100%;
	margin-bottom: 6vh;
    color: var(--color2);
}
.blog > h4 a{
	text-transform: uppercase;
	float: right;
	color:var(--color2);
}
.blog .article{
    margin-bottom: 4vh;
    width: 48%;
}


/*
.modele_archive .blog .article{
	flex-basis: 30%;
	margin-bottom: 4vh;
}
*/
.blog .article > a{
	margin-bottom: 2vh;
	display: block;
}
.blog .article > a:hover{
	text-decoration: underline;
}
.blog .article h5 a{
	color:var(--color2);
}
.blog .article h5{
	margin-top: 4vh;
}
.pagination{
	flex-basis: 100%;
}
nav.pagination{
    width: 100%;
    text-align: center;
    margin-top: 3vw;
}

.page-numbers.current{
	color: var(--vert);
}

.page-numbers:active{
	color: var(--vert);
}

.page-numbers{
	color: black;
}


@media screen and (max-width:1079px){
/*
	.blog .article{
		flex-basis: 30.6666%;
	}
*/
}
@media screen and (max-width:970px){
/*
	.blog .first .content{
		min-width:100%;
	}
	.blog .first > a{
		min-width:100%;
	}
*/
}
@media screen and (max-width:740px){
/*
	.blog .first .content{
		order:2;
	}
	.blog .first > a{
		order:1;
	}
	.blog .article{
		flex-basis: 48%;
	}
*/
}
main .page-header .header_bg{
	height:40vh;
}
main .page-header .header_bg img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
.modele_archive .page-header-text {
	width: 75%;
}
.modele_archive .page-header-text h1 {
    word-break:normal;
}
.modele_archive .desc{
	padding:6vh 10%;
}
.modele_archive .desc h1{
	max-width:70vw; 
	color:var(--color2);
	margin-bottom: 0;
} 
.articles{
	padding:var(--pad);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
    flex-wrap: wrap;	
}
.articles .sidebar{
	width: 100%;
    padding-bottom: 5vw;	
}
.articles .sidebar ul{
	list-style: none;
    display: flex;
    justify-content: center;
    gap: 5vw;
    background-color: var(--color2);
    border-radius: 50px;
    margin-bottom: 3vw;
	padding: 0;
}

.articles .sidebar li a::after {

    content: "|";
    /* padding-left: 2.5vw; */
    position: relative;
    left: 4vw;
	color: white!important;

}

.articles .sidebar li:last-child a::after{
	content: " ";
}

.articles .sidebar li a{
    color: white;
    padding: 15px 25px;
    background-color: var(--color2);
    display: block;
/*    transition: background-color 0.4s ease-in-out;*/
    text-transform: uppercase;
	transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
	transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
    letter-spacing: 1px;
    font-weight: bold;	
	position: relative;
	
}
.articles .sidebar li a:hover{
/*	background-color: var(--color2);*/
    color: var(--color1);
}
.articles form{
	margin-bottom: 8px;
	position: relative;
}
.articles input[type="submit"]{
	width: 26px;
	height: 26px;
	position: absolute;
	left: 10px;
	top: 10px;
	background-image: url(../img/loupe.png);
	background-size: contain;
	background-position: center center;
	background-color: transparent;
	border:none;
	text-indent: -1000px;
}
.articles input#s{
	background-color: var(--color2);
	padding: 15px 10px 15px 50px;
	border:none;
	width: 100%;
}
.articles input#s::placeholder{
}
/*
@media screen and (max-width:1750px){
	.articles .blog .article {
		flex-basis: 30%;
	}
}
@media screen and (max-width:1250px){
	.articles .blog .article {
		flex-basis: 48%;
	}
}
*/


.splide__slide img {
    vertical-align: bottom;
    height: 32vw;
    object-fit: cover;
    margin: 0vw;

    filter: brightness(0.7);	
}

.intro_plus_article a{
	color: var(--color2);
    font-weight: bold;
}

.plus_article {
padding-top: 5vw;
    background-color: #F9F8F9;
	overflow: hidden;
    padding-bottom: 5vw;	
}

div.slider{
    position: relative;
    left: 8vw;	
}

.splide__slide{
	position: relative;
}

.boite_info_article *{
	color: white;
}
.boite_info_article p.cat_post a{
	color: white;
}

.boite_info_article{
    position: absolute;
    bottom: 0;	
    left: 40px;	
}

.intro_plus_article{
    display: flex;
    padding: 0 8vw 25px 8vw;
    justify-content: space-between;	
}

.zoom-image {
  overflow: hidden; /* Hides the parts that zoom out of bounds */
}

.zoom-image img {
  transition: transform 0.3s ease; /* Smooth transition */
  display: block;
  width: 100%;
}

.zoom-image img:hover {
  transform: scale(1.2); /* Zoom to 120% */
}

@media screen and (max-width:960px){
/*
	.articles .sidebar, .articles .blog{
		flex-basis: 100%;
		margin: 6vh 10vw 6vh 10vw;
		padding: 0;
	}
	.articles{
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
*/
}

@media screen and (max-width:860px){
	div.blog_entete {
		width: 100%;
        padding-top: 5vw;		
	}
	
	.blog .first {
		flex-basis: 5100%;
		width: 100%;
	}	
	
	.blog_entete .article img {
		height: 30vw;
	}
	
	.articles .sidebar li a {
		color: white;
		padding: 15px 6px;

		font-size: calc(8px + 0.5vw);
	}	
}
