/* Custom responsive styles for KawaiiX theme */

/* Make swiper-slide card-media images responsive with proper object-fit and centering */
.swiper-slide .card-media {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide .card-media img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    object-position: center;
}

/* Specific style for style-3 cards */
.tf-card-box.style-3 .card-media {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 360px;
}

.tf-card-box.style-3 .card-media img {
    width: 100%;
    object-fit: cover;
    object-position: center;
            min-height: 360px;

}

.tf-category .card-media img {
    width: 100%;
}
 

.tf-card-box.style-1 .name {
    height: 48px;
    overflow: hidden;
}

.tf-card-box.style-3 {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0px 5px 30px 0px #0A0A0A;
    width: 456px;
    height: 360px;
}

.flat-pages-title-home3 {
    padding-top: 83px;
    padding-bottom: 80px;
    position: relative;
}

.tf-card-box.style-1 .card-media img {
    height: 100%;
        width: 100%;
}

.tf-blog-detail .inner-content .related-post .next img {
    margin-right: 0;
    margin-left: 0;}