.gridnews 
{
  	display: grid;
  	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  	grid-gap: 10px; 
}
.gridnewssquare 
{
	padding: 10px;
  	position: relative;
  	border:#ccc solid 1px;
	background-color:#fff;


}

.gridnews a
{
	text-decoration:none;
}


.gridnewssquare:hover 
{
  	transition: transform 0.3s ease; 
  	transform: scale(1.05); 
  	box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
	cursor:pointer;
}
.gridnewssquare img
{
 	height:100%;
 	width:100%;
	//max-width:100%;
	object-fit: cover;


}

.imghe2
{
	height:200px;
   	background-position: top center; /* Положение фона */
    	background-repeat: no-repeat;
	background-size: contain;
	
}

.gridnewssquare div 
{
text-align: center; 
	margin: 20px;


}
.imgsold
{
filter: blur(5px);
}
._newsname 
{
	font-size:24px;
	color:#20325a;

}

div ._newsname2
{
	margin:20px;
	text-align:left;
	max-height:100px;
	height:100px;		
}
