.news-page-content {
    margin: 1rem 2rem;
}
.news-page-content a {
    text-decoration: none;
    color: black !important;
}
.page-item.active .page-link {
    color: white !important;
}
.news-page-content .heading1 {
    margin-top: 3rem;
}
/*Main Card */
.news-page-content .main-card {
    margin: 1.5rem 0rem;
}
.news-page-content .main-card .col2 {
    box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.11),
        0 6px 20px 0 rgba(0, 0, 0, 0.096);
    height: 20.7rem;
}
.jumbotron {
    position: relative !important;
    padding: 2.5rem 0rem;
}
.news-page-content .main-card .col1 {
    padding: 0rem !important;
}

.news-page-content .main-card .col1 img {
    /* object-fit: cover;
    object-position: top; */
    object-position: center;
    width: 100%;
    height: 20.7rem;
    cursor: pointer;
}
.news-page-content .card1 {
    padding: 1.8rem 0rem 0rem 1.3rem;
    background-color: rgba(255, 255, 255, 0.664);
    cursor: pointer;
}
.news-page-content .card1 .heading {
    font-size: 1.1rem;
}
.news-page-content .card1 .card-text {
    font-size: 0.813rem;
    color: #6c6c6c;
}
.news-page-content .card1 .category {
    font-weight: bold;
    font-size: 0.813rem;
    text-transform: uppercase;
}
/*Main Card end */
/*Section2 + Section3 +Section4*/
.news-page-content .section2,
.news-page-content .section3,
.news-page-content .section4 {
    margin-top: 4rem;
}
.news-page-content .section3 .heading1,
.news-page-content .section4 .heading1 {
    margin-bottom: 1rem;
}
.news-page-content .section2 .card,
.news-page-content .section3 .card,
.news-page-content .section4 .card {
    border: none;
    box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.11),
        0 6px 20px 0 rgba(0, 0, 0, 0.096);
    cursor: pointer;
    margin-bottom: 2rem;
}
.news-page-content .section2 .card .card-title,
.news-page-content .section3 .card .card-title,
.news-page-content .section4 .card .card-title {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 3rem;
}
.news-page-content .section3 .card .card-subtitle,
.news-page-content .section4 .card .card-subtitle {
    font-weight: bold;
    font-size: 0.813rem;
    position: absolute;
    bottom: 2%;
}
.news-page-content .section2 .card .card-subtitle {
    font-weight: bold;
    font-size: 0.813rem;
    position: absolute;
    bottom: 4%;
}
.news-page-content .section2 .text-card .card-body,
.news-page-content .section3 .card-body,
.news-page-content .section4 .card-body {
    height: 11rem;
}

.news-page-content .section2 .text-card .card-body .card-text,
.news-page-content .section3 .card-body .card-text,
.news-page-content .section4 .card-body .card-text {
    font-size: 0.813rem;
    color: #6c6c6c;
}
.news-page-content .section4 .heading1 {
    text-align: center;
    margin-bottom: 3rem;
}
.news-page-content .card .card-img-top {
    width: 100%;
    /* width:349.75px; */
    height: 10rem;
    object-fit: cover;
    object-position: center;
}
.news-page-content .main-card .col2 .card1 .card-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 8 !important ;
    -webkit-box-orient: vertical !important;
    height: 10.8rem !important;
}
.news-page-content .card .card-body .card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-page-content .main-card .col2 .card1 .category {
    margin-top: 0.5rem;
}

/*Section2 +Section3 +Section4 end*/

@media screen and (min-width: 320px) and (max-width: 480px) {
    .news-page-content .card .card-subtitle {
        font-weight: bold;
        font-size: 0.89rem;
        position: absolute;
        bottom: 7%;
    }
    .news-page-content .section2 .card .card-title,
    .news-page-content .section3 .card .card-title,
    .news-page-content .section4 .card .card-title {
        font-size: 1.1rem;
    }
    .news-page-content .main-card .col2 .card1 .card-text {
        height: 9.8rem !important;
    }

    .news-page-content .main-card .col1 img {
            height: auto !important;
            object-position: contain;
        }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
    .news-page-content .section2 .card .card-title,
    .news-page-content .section3 .card .card-title,
    .news-page-content .section4 .card .card-title {
        font-size: 1.1rem;
        height: 3rem;
    }
}
.pagination {
    margin-right: 1rem;
}
.previous,
.next {
    border: none !important;
    outline: none !important;
    background-color: white !important;
    color: #137ddf !important;
    font-size: 1rem !important;
}

.disable-next,
.disable-previous {
    border: none !important;
    outline: none !important;
    background-color: white !important;
    color: gray !important;
    cursor: auto;
    font-size: 1rem !important;
}
