.div_content{

}
.boxNews{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 60px 60px;
}

.boxNews>a{
display: block;
position: relative;
box-sizing: border-box;
transition: all 0.5s ease-out 0s;
border-radius: 20px;
overflow: hidden;
display: flex;
flex-direction: column;
background: url(../images/bg_pr.png) 50% 100% repeat;
box-shadow: 0 3px 15px rgba(37,146,189,0.2);
}
.boxNews>a:hover {
background-color: #FFFFFF;
box-shadow: 0px 0px 31px 0px rgba(0,0,0,0.16);
}

.boxNews>a .imgP {
display: block;
position: relative;
overflow: hidden;
margin: 0;
}


.boxNews>a .imgP img {
max-width: 100%;
height: auto;
transition: all 0.5s ease-out 0s;
}
.boxNews>a:hover .imgP img {
transform: scale(1.1);
}

.boxNews>a .zajawkaTytul {
display: block;
box-sizing: border-box;
transition: all 0.5s ease-out 0s;
padding: 0 0 0 30px;
margin-top: -20px;
flex: 1;
}
.boxNews>a .zajawkaTytul .zajawka{
background-color: #FFFFFF;
position: relative;
z-index: 1;
height: 100%;
border-radius: 15px 15px 0 0;
padding: 30px 30px 70px 30px;
box-sizing: border-box;
}
.boxNews>a .zajawkaTytul .tytulNews {
display: block;
position: relative;
color: var(--g4-color);
font-weight: 700;
font-size: 18px;
padding: 0 0 20px 0;
margin: 0 0 20px 0;
line-height: 1.3em;
}
.boxNews>a .zajawkaTytul .tytulNews::after {
content: "";
display: block;
width: 75px;
height: 5px;
position: absolute;
left: 0;
bottom: 0;
margin: auto;
background-color: var(--g1-color);
border-radius: 68px;
}


.boxNews>a  .zajawkaNews {
font-size: 18px;
font-weight: 400;
font-style: normal;
font-stretch: normal;
line-height: 1.3;
letter-spacing: normal;
color: var(--g4-color);
}

.boxNews>a .buton1 {
position: absolute;
right: 30px;
bottom: 35px;
color: var(--g1-color);
font-size: 18px;
font-weight: 700;
transition: all 0.5s ease-out 0s;
}
.boxNews>a .buton1:after {
content: "\2192";
margin-left: 7px;
font-size: 20px;
}
.boxNews>a .buton1:hover {
color: var(--g4-color);
}

@media screen and (max-width:1320px){
.boxNews{grid-gap: 25px 25px;}
}
@media screen and (max-width:1080px){
.boxNews{grid-template-columns: 1fr 1fr}
.boxNews > a{max-width: 455px;margin: 0 auto}
}
@media screen and (max-width:630px){
.boxNews{grid-template-columns: 1fr}
}
