/* Quoria Testimonials Slider — frontend */

.qtc-testi {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.qtc-testi__swiper {
    width: 100%;
    height: 100%;
}

.qtc-testi__slide {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.qtc-testi__text {
    margin: 0 auto;
    width: 100%;
}

.qtc-testi__text p:last-child {
    margin-bottom: 0;
}

.qtc-testi__author {
    display: inline-block;
}

/* Arrows */
.qtc-testi__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: inherit;
    line-height: 0;
    transition: color 200ms ease, transform 200ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qtc-testi__arrow:focus {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.qtc-testi__arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.qtc-testi__arrow svg {
    display: block;
    width: 28px;
    height: 28px;
}

.qtc-testi__arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Pagination — Swiper sets `bottom: 10px` by default; we override via control */
.qtc-testi__pagination {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
    pointer-events: none;
}

.qtc-testi__pagination .swiper-pagination-bullet {
    pointer-events: auto;
    opacity: 1;
    margin: 0 6px;
    transition: background 200ms ease, transform 200ms ease;
}

.qtc-testi__pagination .swiper-pagination-bullet-active {
    transform: scale(1.15);
}

/* Empty / preview states */
.qtc-testi--empty,
.qtc-testi--preview {
    border: 1px dashed #d4cdb8;
    background: #f6f1e7;
    color: #5A5A5A;
}

/* Mobile niceties */
@media (max-width: 600px) {
    .qtc-testi__arrow {
        padding: 4px;
    }
    .qtc-testi__arrow svg {
        width: 22px;
        height: 22px;
    }
}
