/*---------------------------------------*/
/*----- last-news.css -------------------*/
/*---------------------------------------*/



/* ---------------------------------------------- */
/* ---------------------------------------------- */
/* --------------- MEDIAQUERIES ----------------- */
/* ---------------------------------------------- */
/* ---------------------------------------------- */

.last-news-section{max-width:1600px;padding-bottom:100px;}
.last-news-section h2{font-size:44px;padding:60px 0px;}

.home-news-card{
	width:30%;
	margin:0 auto;
	border:1px solid #FFFFFF;
	text-decoration:none!important;
	display:flex;
	flex-direction: column;
	align-items: center;
}

.home-news-card:hover{border:1px solid #EF5E04;background:#fdf5ef;}

.home-img-news{
	display:block;
	width:100%;
	margin-bottom:20px;
	height:340px;
	position:relative;
	overflow:hidden;
}

.home-img-news img{
	object-fit: cover;
    width: 100%;
    height: 100%;
}

.home-cat-news{
	display: flex;
	position: absolute;
	width: fit-content;
	height:30px;
	background-color:#EF5E04;
	color:#FFF;
	text-transform:uppercase;
	font-size:14px;
	padding:5px 15px;
	line-height:25px;
	top:0;
	left: 0;
    right: 0;
	margin: 0 auto;
}

.home-news-card > h2{
	width:90%;
	font-family : "OpenSans-Bold";
	text-transform:uppercase;
	font-size:18px;
	font-weight:bold;
	margin:auto;
	height:100px;
	display:flex;
	justify-content: center;
	align-items:center;
}

.date-news-single{
	display:flex;
	justify-content: center;
	align-items: center;
	height:40px;
	font-size:12px;
	color: #434E64;
}

.lire-news{	
	width:fit-content;
	border-radius:20px;
	text-align:center;
	background-color:#EF5E04;
	color:#FFF;
	font-size:10px;
	letter-spacing:1.5px;
	text-transform:uppercase;
	padding:10px 20px;
	margin-top: 30px;
  	margin-bottom: 30px;
	visibility: hidden;
}

.home-news-card:hover > .lire-news{visibility: visible;}

@media screen and (min-width:1170px) and (max-width:1400px){   /*-----------------------------------------------------------------*/


}



@media screen and (min-width:1024px) and (max-width:1200px){   /*-----------------------------------------------------------------*/

}




@media screen and (min-width:1024px) and (max-width:1169px){   /*-----------------------------------------------------------------*/
   
    .home-img-news {height:180px;}
	.home-img-news img{max-width: 280px;} 
	.home-cat-news {width:80%;text-align:center;}
	.home-news-card h2{font-size:13px;min-height:130px;padding:0px;padding-bottom:20px;}	
}




@media screen and (min-width:961px) and (max-width:1440px){   /*-----------------------------------------------------------------*/
    .last-news-section {max-width:96%;}
	.home-img-news{height:280px;}

}





@media screen and (min-width:769px) and (max-width:960px){   /*-----------------------------------------------------------------*/
    
}




@media screen and (min-width:769px) and (max-width:1023px){   /*-----------------------------------------------------------------*/
   
    		
	.last-news-section {max-width:96%;}
	.home-img-news{height:200px;}
	
	.last-news-section h2{font-size:34px;padding:40px 0px;}
	.home-news-card h2{min-height:100px;font-size:15px;}

	.home-news-card .lire-news{visibility: visible;}
}  




@media screen and (min-width:601px) and (max-width:768px){   /*-----------------------------------------------------------------*/
   	
    .last-news-section {max-width:96%;}
	.home-img-news{height:200px;}

	.last-news-section h2{font-size:1.75em;padding:40px 0px;}
	.home-news-card{width:28%;}
	.home-news-card h2{min-height:160px;font-size:0.9em;}
	.home-cat-news{font-size:12px;}

	.home-news-card .lire-news{visibility: visible;}
}   




@media screen and (min-width:481px) and (max-width:600px){   /*-----------------------------------------------------------------*/

    .last-news-section {max-width:96%;}
	
	.last-news-section .row{width:70%;margin:0 auto;display:flex;flex-direction:column;}

	.home-news-card{width:100%;margin-bottom:60px;}

	.last-news-section h2{font-size:1.75em;padding:40px 0px;}
	.home-news-card h2{min-height:100px;font-size:0.8em;}
	.home-img-news{height:250px;}
	.home-img-news img {}
	.home-cat-news{width:fit-content;text-align:center;}

	.home-news-card .lire-news{visibility: visible;}
}   



@media screen and (max-width:480px){   /*-----------------------------------------------------------------*/

    .last-news-section {max-width:96%;}
	
	.last-news-section .row{width:70%;margin:0 auto;display:flex;flex-direction:column;}

	.home-news-card{width:100%;margin-bottom:60px;}

	.last-news-section h2{font-size:1.75em;padding:40px 0px;}
	.home-news-card h2{min-height:100px;font-size:0.8em;}
	.home-img-news{height:250px;}
	.home-img-news img {}
	.home-cat-news{width:fit-content;text-align:center;}

	.home-news-card .lire-news{visibility: visible;}
} 