.ab-home-banners {
    display: grid;
    gap: 16px;
    margin: 8px 8px 4px;
}

.ab-home-banners--wide {
    grid-template-columns: 1fr;
}

.ab-home-banners--square {
    grid-template-columns: 1fr 1fr;
}

.ab-home-banners__item {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f3f3;
}

.ab-home-banners__item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 640px) {
    .ab-home-banners--square {
        grid-template-columns: 1fr;
    }
}

.rk-banners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 10px 12px 8px;
}

.rk-banner {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: #f3f3f3;
    min-height: 168px;
}

.rk-banner img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rk-banner:hover img {
    transform: scale(1.05);
}

.rk-banner__caption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ani-main-color, #c4455a);
    box-shadow: 0 8px 18px rgba(44, 20, 28, 0.12);
    pointer-events: none;
}

.rk-banner__caption span {
    font-family: bakhFanum, bakh, tahoma, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .rk-banners {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-inline: 12px;
    }



    .rk-banner__caption span {
        font-size: 16px;
    }
}

.ab-home-slider {
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.ab-home-slider.is-dragging {
    cursor: grabbing;
}

.ab-home-slider img {
    -webkit-user-drag: none;
    user-select: none;
}

.ab-home-slider .carousel-control-prev,
.ab-home-slider .carousel-control-next,
.ab-home-slider .carousel-indicators li {
    cursor: pointer;
}

