.box_content .div_content{
width: 1420px;
}
.boxNews{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 40px 40px;
}

.boxNews>a{
display: block;
position: relative;
height: 100%;
padding-bottom: 45px;
box-sizing: border-box;
transition: all 0.5s ease-out 0s;
border-radius: 0 0 6px 6px;
background-color: #F7F9FA;
}
.boxNews>a:hover {
background-color: #FFFFFF;
box-shadow: 0 0 31px 0 rgba(0,0,0,0.16);
}

.boxNews>a:after{
content: "";
display: block;
width: 85%;
height: 10px;
border-radius: 0 0 6px 6px;
background-color: var(--g1-color);
left: 0;
right: 0;
bottom: -10px;
margin: auto;
position: absolute;
transition: all 0.5s ease-out 0s;
}
.boxNews>a:hover:after{
width: 100%;
}

.boxNews>a .imgP {
display: block;
position: relative;
margin-bottom: 30px;
overflow: hidden;
border-radius: 6px 6px 0 0;
}


.boxNews>a .imgP img {
max-width: 100%;
height: auto;
transition: all 0.5s ease-out 0s;
}
.boxNews>a .zajawkaTytul {
display: block;
box-sizing: border-box;
transition: all 0.5s ease-out 0s;
padding: 0 30px 0 40px;
}
.boxNews>a .zajawkaTytul .tytulNews {
display: block;
font-size: 24px;
font-weight: 700;
line-height: 1.2;
color: var(--g1-color);
margin: 0 0 15px 0;
position: relative;
transition: all 0.5s ease-out 0s;
}


.boxNews>a  .zajawkaNews {
font-size: 16px;
font-weight: normal;
font-style: normal;
font-stretch: normal;
line-height: 1.6;
letter-spacing: normal;
color: #505050;
}


@media screen and (max-width:1500px){
.boxNews>a  .zajawkaTytul .tytulNews {font-size: 20px;line-height: 1.1em;padding-bottom: 10px;margin-bottom: 15px;}
.boxNews>a  .zajawkaNews {font-size: 16px;}
.boxNews>a  .newsDiv .zajawkaTytul .tytulNews::after {height: 2px;}
.boxNews>a  .newsDiv .moreSp {font-size: 16px;background-size: 25px auto;}
}

@media screen and (max-width:1200px){
.boxNews{grid-gap: 20px 20px;}
}

@media screen and (max-width:1000px){
.boxNews{grid-template-columns: 1fr 1fr;}
}
@media screen and (max-width:620px){
.boxNews{grid-template-columns: 1fr;}
}