@media screen and (max-width: 991px) {
    .core-post-event-items,
    .core-archive-post-event-list .core-post-event-items,
    .core-archive-post-by-category-list .core-post-event-items,
    .core-stc-archive .stc-post-items,
    .core-search-post-items .core-search-result-grid{
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media screen and (max-width: 767px) {
    .mb-d-none{
        display: none !important;
    }
    .mb-d-block{
        display: block !important;
    }
    .mb-d-inline-block {
        display: inline-block !important;
    }
    .mb-d-flex
    {
        display: flex !important;
    }
    .core-post-parent-item, .core-pp-group-dates,
    .core-archive-parents .core-post-parent-date,
    .core-archive-parents .core-post-parent-time{
        display: block;
    }
    .core-pp-group-dates{
        position: relative;
        padding-left: 20px;
    }
    .core-archive-parents .core-post-parent-date,
    .core-archive-parents .core-post-parent-time{
        width: 100%;
    }
    .core-archive-parents .core-post-parent-time{
        padding-left: 0;
    }
    .core-archive-parents .core-pp-month-text, .core-archive-parents .core-pp-day-text{
        font-size: initial;
        font-weight: normal;
    }
    .core-archive-parents .core-post-parent-date:before{
        left: 10px;
        top: -15px;
        right: inherit;
    }
    .core-archive-parents .core-post-parent-date{
        position: initial;
    }
    .core-archive-parents .core-pp-day-of-week-text, .core-archive-parents .core-pp-year-text{
        display: inline-block;
    }
    .core-archive-parents .core-pp-info{
        display: block;
        padding: 0;
        margin-top: 20px;
    }
    .core-archive-parents .core-pp-image img{
        max-width: 100%;
    }
    .core-archive-parents .core-pp-title{
        margin-left: 0;
        margin-top: 10px;
    }
    .core-archive-parents .core-post-parent-item{
        padding: 15px;
        box-shadow: 0 2px 4px 1px #ccc;
        margin-bottom: 30px;
    }
    .core-archive-parents-related .core-parents-list,
    .core-archive-products .core-products-list{
        grid-template-columns: repeat(1, 1fr);
    }
    .core-archive-parents.core-archive-parents-vertical .core-parents-list{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .core-archive-parents .core-pp-day-of-week-text:after,
    .core-archive-parents .core-pp-day-text:after{
        content: ','
    }
    .cores-posts-portfolio.cores-posts-portfolio-theme-6{
        display: block;
    }
    .cores-posts-portfolio-theme-6 .cores-post-portfolio-item:not(:last-child){
        margin-bottom: 10px;
    }
    .swiper-wrapper-dd-slide .slide-link{
        height: auto;
    }
    .core-widget-product-info .elementor-field-group-field-product-qty{
        display: block;
    }
    .core-widget-product-info .core-product-stock{
        margin-top: 10px;
        padding-left: 85px;
    }
    .product-icons ul li{
        display: block !important;
    }
    .product-icons li .product-icon-item .core-product-icon-img{
        margin-right: 1rem !important;
    }
    .product-icons li .product-icon-item{
        justify-content: center !important;
    }
    .core-product-icon-list .core-product-icon-title{
        font-size: 1em;
    }
    .core-owl-gallery-images .item-thumb{
        height: 100%;
    }
    .core-owl-gallery-images.owl-carousel .owl-stage-outer{
        max-height: 100%;
    }
    .core-owl-gallery-images .item-thumb.review-active{
        border-color: transparent;
    }
    .core-owl-gallery-images .owl-dots{
        text-align: center;
    }
    .core-owl-gallery-images .owl-dots .owl-dot span{
        width: 8px;
        height: 8px;
        background: #888 !important;
        border-radius: 50%;
        opacity: 0.2;
        display: block;
    }
    .core-owl-gallery-images .owl-dots .owl-dot.active span {
        opacity: 1;
    }
    .core-owl-gallery-images .owl-dot {
        margin: 0 2px !important;
    }
    .core-gl-views {
        display: none;
    }
    .core-owl-gallery-images{
        padding-bottom: 20px;
    }
    .core-owl-gallery-images.owl-carousel:after{
        content: "";
        position: absolute;
        left: -100%;
        right: -100%;
        bottom: 0;
        height: 1px;
        background: #ccc;
        z-index: 1;
    }
    .core-post-event-items,
    .core-archive-post-event-list .core-post-event-items,
    .core-archive-post-by-category-list .core-post-event-items,
    .core-stc-archive .stc-post-items,
    .core-search-post-items .core-search-result-grid{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .core-post-cate-archive .core-post-hot-label{
        margin-top: 10px;
    }
    .core-post-group-title .core-post-archive-title{
        margin-bottom: 10px;
    }
    .post-detail-cover-title{
        font-size: 1.5em;
    }
    .core-form-search-study-center .core-input-search,
    .core-form-search-study-center .stc-provinces,
    .core-form-search-study-center .stc-districts{
        margin-bottom: 15px;
        width: 100%;
    }
    .stc-post-item.stc-post-item-image-right .stc-post-item-1{
        order: 1;
    }
    .stc-post-item.stc-post-item-image-right .stc-post-item-2{
        order: 2;
    }

    .left-sidebar-mobile .elementor-nav-menu > li:not(:first-child),
    .left-sidebar-mobile .elementor-nav-menu ul.sub-menu,
    #tdpg-accordion > ul > li:not(:first-child),
    #tdpg-accordion > ul > li:first-child > ul{
        display: none !important;
        height: 0px;
        transition: 0.5s;
    }
    .left-sidebar-mobile .elementor-nav-menu.active > li:not(:first-child),
    #tdpg-accordion > ul.active > li:not(:first-child),
    #tdpg-accordion > ul.active > li:first-child > ul,
    .left-sidebar-mobile .elementor-nav-menu.active ul.sub-menu{
        display: block !important;;
        height: auto;
    }
    .left-sidebar-mobile .elementor-nav-menu.active ul.sub-menu{
        margin-left: 0 !important;
    }
    .left-sidebar-mobile ul.elementor-nav-menu > li:first-child,
    #tdpg-accordion > ul > li:first-child{
        margin-bottom: 0 !important;
        padding: 5px 0;
        padding-right: 20px;
    }
    .left-sidebar-mobile ul.elementor-nav-menu > li:first-child{
        padding-right:0;
    }
    #tdpg-accordion > ul > li:first-child{
        position: relative;
    }
    .left-sidebar-mobile ul.elementor-nav-menu > li:first-child:after,
    #tdpg-accordion > ul > li:first-child:after
    {
        content: "\f078";
        font-family: 'Font Awesome 5 Pro';
        font-weight: 900;
        position: absolute;
        right: 5px;
        top: 10px;
    }
    .left-sidebar-mobile .elementor-nav-menu,
    #tdpg-accordion > ul{
        border: 1px solid #ccc;
    }
    .left-sidebar-mobile ul.elementor-nav-menu > li,
    .left-sidebar-mobile ul.elementor-nav-menu > li > a,
    #tdpg-accordion > ul > li > a
    {
        border-left: none !important;
    }
    .left-sidebar-mobile .elementor-nav-menu--main > ul > li > a.elementor-item-active,
    #tdpg-accordion li.tdpg-post-item.active {
        background-color: transparent !important;
    }
    .cores-posts-portfolio-theme-6 .cores-post-portfolio-img img,
    .core-post-items .core-post-item-image,
    .core-post-items .core-post-item-image img{
        aspect-ratio: auto;
    }
    .stc-post-item-image-top .stc-post-item-thumbnail img{
        width: 100%;
    }
    .core-post-group-title .core-post-archive-title{
        font-size: 18px;
    }
    .core-post-items .item-first .core-post-item-title{
        font-size: 16px;
    }
    .core-events-tabs .core-post-event-type-title button,
    .core-post-cate-archive .core-post-hot-label .core-post-hot-label-content .core-post-hot,
    .core-post-item-excerpt{
        font-size: 14px;
    }
}
