.content-main2{
    display: flex;
    flex-direction: column;
    padding: 4% 4%;
    padding-bottom: 15%;
}

.news-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 6%;
}

.news-card{
    display: flex;
    width: 80%;
    height: 200px;
    margin: 15px 0;
}

.news-date{
    display: flex;
    width: 120px;
    height: 40px;
    background-color: #fdc800;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
    font-size: .9rem;
    font-weight: 600;
    color: white;
}

.news-img{
    display: flex;
    width: 40%;
    height: 100%;
}

.news-img i{
    font-size: 54px;
}

.news-img img{
    display: flex;
    width: 100%;
    cursor: pointer;
    height: 100%;
    border-radius: 5px;
}

.news-details{
    display: flex;
    flex-direction: column;
    padding: 0px 10px;
    width: 60%;
    border-top: 1px solid #7c650f;
    margin-left: 10px;
    gap: 10px;
    height: 100%;
}

.news-details a{
    display: flex;
    width: 80%;
    text-decoration: none;
    color: #7c650f;
    font-size: 1.8rem;
}

.news-details p{
    display: flex;
    width: 100%;
    height: 100%;
}


@media only screen and (max-width: 420px){
    .content-main2{
        display: flex;
        flex-direction: column;
        padding: 4% 4%;
        min-height: 800px;
        overflow-y: scroll;
        padding-bottom: 15%;
    }
    
    .news-container{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 8%;
    }
    
    .news-card{
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 200px;
    }
    
    .news-date{
        display: flex;
        width: 120px;
        height: 40px;
        background-color: #fdc800;
        justify-content: center;
        align-items: center;
        padding: 5px;
        font-size: .6rem;
        font-weight: 600;
        color: white;
    }
    
    .news-img{
        display: flex;
        width: 90%;
    }
    
    .news-img img{
        display: flex;
        width: 100%;
        cursor: pointer;
        height: 120px;
        border-radius: 5px;
    }
    
    .news-details{
        display: flex;
        flex-direction: column;
        padding: 0px 10px;
        width: 80%;
        border-top: 1px solid #7c650f;
        margin-left: 10px;
        gap: 1px;
        height: 100%;
    }
    
    .news-details a{
        display: flex;
        width: 90%;
        text-decoration: none;
        color: #7c650f;
        font-size: .8rem;
    }
    
    .news-details p{
        display: flex;
        width: 100%;
        height: 100%;
        font-size: .6rem;
    }
}