.banner-content-row{position: absolute; bottom: 80px; left: 0; width: 100%;}
.banner-content-row .banner-content{position: relative; z-index: 1;}
.banner-content-row .banner-content .admissions-open-text{padding: 8px 10px; background-color: #ffffff; border-radius: 5px; font-size: 14px; color: #1a1a1a;}
.banner-form-row{position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%);}
.banner-form-row .banner-form{padding: 30px 30px; background-color: #ffffff; border-radius: 10px;}
.community-section .community_sec:nth-child(odd) {
    background-color: #FFF8EF;
}

.community_sec {
    padding: 30px 0;
}

.community-section .community_sec:nth-child(even) .row {
    flex-direction: row-reverse;
}
.community-text {
    padding: 20px 0;
    position: relative;
    height: 100%;
}
.btn-bottom {
    position: absolute;
    bottom: 30px;
}
.news_card .card-img, .news_card .card-img-overlay {
    border-radius: 12px;
}

.new_card {
    border-radius: 12px;
}
.new_card img {
    height: 130px;
    width: 100%;
    border-radius: 12px 0 0 12px;
}
.new_card .card-title {
    font-family: var(--bs-secondary-font-family);
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-content ul{margin: 0; padding: 0;}
.recent-content ul li{list-style: none; margin: 0 0 8px; padding: 0 0 0 15px; position: relative;}
.recent-content ul li:before{content: ''; width: 6px; height: 6px; background-color: #EB6502; border-radius: 50%; position: absolute; top: 10px; left: 0;}



@media (max-width:1040px) and (min-width:992px) {    
}

@media (max-width: 991px) {
    .community-section .community_sec:nth-child(even) .row {
        flex-direction: column-reverse;
    }

    .community-section .community_sec .row {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .community-section .community-block {
        text-align: center;
    }
    .btn-bottom {
        position: static;
    }
    .community-text {
        padding: 0;
    }
    .community-img img {
        width: 500px !important;
    }
    .community-block>div>div {
        margin: auto;
    }
     .news_card .card-img {
        height: 400px !important;
        object-fit: cover;
    }
    .new_card img {
        max-height: 160px;
    }    
    .banner-content-row{bottom: 40px;}
    .banner-form-row{position: static; transform: inherit;}
    .banner-form-row .banner-form{padding: 40px 0 0;}
}
@media (max-width:575px) {
    .new_card .card-title {
        font-size: 14px;
    }
    .banner-content-row{bottom: 20px;}
}