#news{width:100%;max-width:1100px;display:flex;flex-direction:column;}
#news>div.prenews{width:100%;max-width:1100px;margin-bottom:20px;}
#news>div.prenews>div#newslinks{display:grid;grid-template-columns: repeat(1,1fr);grid-gap:20px;margin:auto;}
#news>div.prenews>div#newslinks>div{display:flex;flex-direction:row;margin-top: 20px;}
#news>a{margin:auto}
.newlink{max-width:300px;text-decoration:none;color:#000;background-color:#f6f6f6;height:fit-content;border-radius:5px;}
.newlink>img{border-top-left-radius:5px;border-top-right-radius:5px;height:170px;object-fit:cover;width:100%}
.newlink>div{padding:10px;box-sizing:border-box}
@media (max-width:500px) {
    #news>div.newslinks{flex-direction:column;max-width:300px;}
    #news>div.prenews>div#newslinks>div{display:flex;flex-direction:column;margin-top: 0;}
    .newlink{width: 100%;max-width:inherit;margin-right:0;margin-left:0;}
    .blocklink2{margin: 0;} }
@media (min-width:500px) and (max-width:768px){
    #news>div.prenews>div#newslinks{max-width: 624px;grid-template-columns: repeat(2,1fr);}
    .newlink{width: 100%;} }
@media (max-width:1024px) and (min-width:768px) {
    #news>div.prenews>div#newslinks{max-width: 624px;grid-template-columns: repeat(2,1fr);} }
@media (min-width:1024px) {
    #news>div.prenews>div#newslinks{max-width:948px;grid-template-columns: repeat(3,1fr);} }
