.js-tile-gallery .js-tile-gallery-block {
    position: relative;
    touch-action: pan-y;
}

.js-tile-gallery .e-tile-gallery__items {
    display: none !important;
}

.intim-card-gallery__arrow {
    display: none;
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 34px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: #222;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 7px rgba(0, 0, 0, .22);
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    pointer-events: auto;
}

.intim-card-gallery__arrow--previous {
    left: 6px;
}

.intim-card-gallery__arrow--next {
    right: 6px;
}

.intim-card-gallery__dots {
    position: absolute;
    left: 50%;
    bottom: 5px;
    z-index: 19;
    display: flex;
    max-width: calc(100% - 20px);
    gap: 4px;
    transform: translateX(-50%);
    pointer-events: none;
}

.intim-card-gallery__dot {
    display: block;
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .85);
}

.intim-card-gallery__dot._active {
    background: #e8565f;
}

@media (hover: hover) and (pointer: fine) {
    .intim-card-gallery__arrow {
        display: flex;
        opacity: 0;
        transition: opacity .18s ease;
    }

    .js-tile-gallery:hover .intim-card-gallery__arrow,
    .intim-card-gallery__arrow:focus {
        opacity: 1;
    }
}
