.pool-types {
    padding: 32px 0;
    position: relative;
}

.pool-types .single-pool {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
    padding: 16px;
}

.pool-types .single-pool .pool-thumb {
    line-height: 0.8;
    overflow: hidden;
}

.pool-types .single-pool .pool-thumb img {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .3s ease;
}

.pool-types .single-pool:hover .pool-thumb img {
    transform: scale(1.1) rotateZ(4deg);
}

.pool-types .pool-text {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pool-types .pool-text p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.pool-types .btn-wrapper {
    display: flex;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.pool-types .btn-wrapper a {
    background-color: #3FA8BF;
    border: 1px solid #3FA8BF;
    color: #fff;
    padding: 14px 16px;
    width: 100%;
    text-align: center;
    transition: color .3s ease, background .3s ease;
    border-radius: 12px;
    text-transform: uppercase;
}

.pool-types .btn-wrapper a:hover {
    background-color: #fff;
    color: #3FA8BF;
}

.pool-types .swiper-button-prev {
    left: -50px;
}

.pool-types .swiper-button-next {
    right: -50px;
}

@media (max-width:768px) {

    .pool-types .swiper {
        max-width: 85%;
    }

    .pool-types .swiper-button-prev {
        left: 0;
    }

    .pool-types .swiper-button-next {
        right: 0;
    }
}