.news-container{
    display: flex;
    flex-direction: column;
    background-color: #005700;
    padding: 80px 40px 20px;
  }
  .news-container h1{
    color: #ffffff;
    text-align: center;
    /* margin-top: 10%; */
    font-size: 40px;
    text-align: left;
  }

.container-ts {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-top: 180px;
    /* position: inherit; */
}
.top-story {
    margin-bottom: 5rem;
}
.top-story img {
    width: 50%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
    padding: 10px;
    float: left;
}
.top-story h2 {
    color: #333;
}
.top-story p {
    color: #000000;
}
.top-story .details {
    font-size: 0.9rem;
    color: #505050;
    margin-top: 0.5rem;
    /* padding: 150px; */
}
.article-content {
    text-align: justify;
}

.trending-stories {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.trending-stories h2 {
    text-align: left;
    margin-left: 15px;
}

@media (max-width: 1024px) {
    .container-ts,
    .trending-stories {
        width: 95%;
        margin-top: 20px;
    }
    .news-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .news-container {
        display: flex;
        padding: 30px 15px;
        margin-top: 300px;
    }
    .top-story img {
        width: 100%;
        float: none;
        padding: 5px;
    }
    .news-container h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .news-container {
        padding: 20px 10px;
        margin-top: 280px;
    }
    
    .official p.readmore {
        padding-top: 10px;
        text-align: right;
    }
    .container-ts,
    .trending-stories {
        padding: 0.5rem;
        margin-top: 20px;
    }
    .news-container h1 {
        font-size: 1.5rem;
    }
    .slide img {
        padding: 0;
    }
    
    .top-story .details {
        font-size: 0.8rem;
    }

    .official {
        padding: 10px;
    }
    
    .official p {
        font-size: 0.8rem;
    }
}