.category-swiper,
.blog-swiper,
.testimonial-swiper,
.gallery-swiper {
    width: 100%;
    overflow: hidden;
    padding: 8px 2px 22px;
}

.category-swiper .swiper-wrapper,
.blog-swiper .swiper-wrapper,
.testimonial-swiper .swiper-wrapper,
.gallery-swiper .swiper-wrapper {
    align-items: stretch;
}

.category-swiper .swiper-slide,
.blog-swiper .swiper-slide,
.testimonial-swiper .swiper-slide,
.gallery-swiper .swiper-slide {
    height: auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.category-swiper .category-card,
.blog-swiper .blog-card,
.testimonial-swiper .testimonial-card {
    width: 100%;
}

.category-swiper .category-card,
.blog-swiper .blog-card {
    display: flex;
    flex-direction: column;
}

.category-swiper .category-card-body,
.blog-swiper .blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
}

.category-swiper .category-card-body > p,
.blog-swiper .blog-card-body > p {
    min-height: 0;
    margin-bottom: 16px;
}

.category-swiper .card-actions,
.blog-swiper .card-actions {
    margin-top: auto;
}

.category-swiper .category-card h3,
.blog-swiper .blog-card h3 {
    min-height: 42px;
    font-size: 15px !important;
    line-height: 1.45;
}

.category-swiper .category-card-body > p,
.blog-swiper .blog-card-body > p {
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.7;
}

.testimonial-swiper .testimonial-card > p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}

.swiper-slide .card-kicker {
    font-size: 10px !important;
    font-weight: 800 !important;
}

.swiper-slide .card-actions .text-link,
.swiper-slide .card-actions .whatsapp-link {
    font-size: 11px !important;
    font-weight: 800 !important;
}

.swiper-slide .whatsapp-link {
    display: inline-flex;
    width: 40px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid #19a85a;
    border-radius: 4px;
    background: #19a85a;
    color: #fff;
    white-space: nowrap;
}

.whatsapp-icon {
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.whatsapp-float .whatsapp-icon {
    width: 29px;
    height: 29px;
}

.contact-method-icon .whatsapp-icon {
    width: 22px;
    height: 22px;
}

.swiper-slide .whatsapp-link:hover {
    border-color: #128344;
    background: #128344;
    color: #fff;
}

.testimonial-swiper .testimonial-person strong {
    font-size: 12px !important;
}

.testimonial-swiper .testimonial-person small {
    font-size: 11px !important;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 360px;
    margin: 0;
    overflow: hidden;
    border-radius: 5px;
    background: #e5ece3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-fixed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 16px;
}

.gallery-fixed-grid .gallery-item,
.gallery-fixed-grid .gallery-item-1,
.gallery-fixed-grid .gallery-item-4,
.gallery-fixed-grid .gallery-item-6 {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 250px;
}

.home-gallery-section {
    background: #f7f8f3;
}

.gallery-carousel-heading {
    margin-bottom: 16px;
}

.gallery-pagination,
.testimonial-pagination {
    position: static !important;
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 760px) {
    .gallery-fixed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-fixed-grid .gallery-item,
    .gallery-fixed-grid .gallery-item-1,
    .gallery-fixed-grid .gallery-item-4,
    .gallery-fixed-grid .gallery-item-6 {
        height: 220px;
    }

    .category-swiper .category-card h3,
    .blog-swiper .blog-card h3 {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .gallery-fixed-grid .gallery-item,
    .gallery-fixed-grid .gallery-item-1,
    .gallery-fixed-grid .gallery-item-4,
    .gallery-fixed-grid .gallery-item-6 {
        height: 185px;
    }
}
