.news-ctn{
    margin: 32px auto 64px auto;
    width: 90%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.news{
    padding: 16px 32px;
    
}
.news-title{
    width: 100%;
    text-align: center;
    padding: 16px 5%;
    background-color: #324B64;
    color: white;
    box-sizing: border-box;
    line-height: 1em;
}
.news-link{
    display: block;
    margin-top: 16px;
}
.news-img{
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    margin: 16px auto 0px auto;
    box-sizing: border-box;
}
.news-text{
    margin: 16px auto;
    text-align: left;
    max-width: 880px;
}
.all-news-ctn{
    margin-top: 32px;
    background-color: #324b64;
    color: white;
}
#all-news{
    margin: 32px auto 0px auto;
    width: 90%;
    text-align: left;
    padding: 32px 0px;
}
.news-item{
    min-height: 150px;
    display: flex;
    flex-direction: column;
    background-color: white;
    color: black;
    margin-top: 24px;
    max-height: 350px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 5px 15px;
}
.news-item-current{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news-item:hover{
    box-shadow: rgb(255, 255, 255) 0px 0px 15px;
    cursor: pointer;
}
.news-item img{
    display: block;
    height: 100px;
    object-fit: cover;
}
.news-item-text{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px;
    overflow: hidden;
    flex: 1;
}
.news-item-text > p {
    overflow: hidden;
}
.news-item-text > a {
    width: fit-content;
}

@media (min-width: 580px){
    .news-ctn, #all-news{
        width: 80%
    }
    .news-item{
        flex-direction: row;
        max-height: 300px;
    }
    .news-item img{
        min-height: 150px;
        width: 150px;
        height: auto;
    }
}

@media (min-width: 1200px){
    .news-ctn, #all-news{
        width: 60%
    }
}