.side-menu .dynamic-content {background-color: var(--primary-1);}
html[data-theme="default"] .dynamic-content .area{background:#ffffff;}
html[data-theme="default"] .side-menu .dynamic-content .area{background:transparent;}
.dynamic-content .area{justify-content: center;}
.main-menu .macro-menu .menu-content .macro-cards .macro-card {
    width: 100px;
    height: 100px;
    justify-content: center;
}
.side-menu .submenu-container{flex: 1 1 100%;display:none;}
.side-menu .submenu-container .sub-menu{display:none;list-style:none;}
.side-menu .submenu-container .sub-menu a{display:inline-block;padding:5px 0;}
.side-menu .submenu-container .sub-menu img{width:16px;height:16px;margin-right:5px;vertical-align:middle;background: #fff;border-radius: 50%;}
.py-40-desktop {
    padding-bottom: 10px !important;
}
.justify-content-flex-start-tablet {
    align-items: center;
}
@media screen and (max-width: 768px) {
    .justify-content-flex-start-tablet{justify-content: center!important;}
    .justify-content-flex-start-tablet #header-logo{flex: 1 1 100%;display:block;text-align: center;}
    .social-media{flex-wrap: wrap;}
    .social-media .new-tab{margin-top: 15px;}
}
.carousel-placeholder {
    display: block;
    text-align: center;
}

.dynamic-content .area .swiper-wrapper{
    max-height:250px;
}
.dynamic-content .area .swiper-tiles .swiper-slide .tile{
    width: auto !important;
    min-width: 120px !important;
    height: 250px !important;
    text-align: center !important;
}
.dynamic-content .area .swiper-tiles .swiper-slide .tile .tile-image{
    height: 220px;
    width: auto;
    transform: scale(0.7);
}
.dynamic-content .area .swiper-tiles .swiper-slide .tile .tile-title{
    padding: 6px 0px;
    font-size:18px;
    margin-top: -10px;
}

.dynamic-content .category-post.area .swiper-tiles .swiper-slide{
    max-width: 300px;
}

html[data-theme=dark] .dynamic-content .area .swiper-tiles .swiper-slide .tile{background: #F4F4F5;}

@media(max-width: 1023.5px) {
    .dynamic-content .area .swiper-tiles .swiper-slide .tile{
        height: 200px!important;
    }
    .dynamic-content .area .swiper-tiles .swiper-slide .tile .tile-image {
        height: 170px!important;
    }
    .dynamic-content .category-post.area .swiper-tiles .swiper-slide{
        max-width: 250px;
    }
}


@media(max-width: 767.5px) {
    .dynamic-content .area .swiper-tiles .swiper-slide .tile{
        height: 150px!important;
    }
    .dynamic-content .area .swiper-tiles .swiper-slide .tile .tile-image {
        height: 120px!important;
    }
    .dynamic-content .category-post.area .swiper-tiles .swiper-slide{
        max-width: 200px;
    }
}

#header-logo img{
    max-height:50px;
}
#header-logo-mobile img{
    max-height:35px;
}

.homepage-content{
    padding: 20px 20px 0 20px;
    width: calc(100% - 40px);
    background:var(--primary-mode-12);
}

.hotPosts{
    display:flex;
    justify-content: space-between;
    gap:8px;
    padding: 20px;
    width: calc(100% - 40px);
}
.hotPosts .hot-item{
    flex:1 1 calc(25% - 8px);
    display:flex;
    flex-direction: column;
    gap:8px;
}
.hotPosts .hot-item .hot-item-img{
    width: 100%;
    max-height: 250px;
}
.hotPosts .hot-item img{
    width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 8px;
}
.hotPosts .hot-item .hot-item-title{
    max-height:40px;
    overflow: hidden;
    color:var(--primary-mode-1);
}

@media screen and (max-width:680px){
    .hotPosts{
        flex-wrap: wrap;
    }
    .hotPosts .hot-item{
        flex:1 1 calc(50% - 8px);
    }
}

@media screen and (max-width:500px){
    .hotPosts {
        flex-direction: column;
    }
}

.carousel-placeholder {
    height: auto;
}
.carousel-placeholder img{
    width: 100%;
}