.coqpit-reviews {
    width: 100%;
    font-family: 'Manrope', sans-serif;
}

/* Swiper core layout (no dependency on the swiper stylesheet being loaded) */
.coqpit-reviews__slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.coqpit-reviews__slider .swiper-wrapper {
    display: flex;
    box-sizing: content-box;
    width: 100%;
    height: 100%;
    transition-property: transform;
}

.coqpit-reviews__slide {
    flex-shrink: 0;
    height: auto;
    box-sizing: border-box;
}

/* Before Swiper initialises: show cards in a row, no layout jump */
.coqpit-reviews__slider:not(.swiper-initialized) .coqpit-reviews__slide {
    width: 33.333%;
}

.coqpit-reviews__card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    gap: 24px;
    padding: 30px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.coqpit-reviews__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coqpit-reviews__avatar {
    flex: 0 0 auto;
    display: block;
    width: 37px;
    height: 37px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #fff;
}

.coqpit-reviews__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coqpit-reviews__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #fff;
}

.coqpit-reviews__text {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.8);
}

/* Stars stay pinned to the bottom so cards of unequal text length line up */
.coqpit-reviews__stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.coqpit-reviews__star {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: #fff;
}

.coqpit-reviews__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.coqpit-reviews__arrows {
    display: flex;
    gap: 12px;
}

.coqpit-reviews__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0 solid transparent;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.coqpit-reviews__arrow svg {
    display: block;
    width: 16px;
    height: 16px;
}

.coqpit-reviews__arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.coqpit-reviews__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coqpit-reviews__dots .swiper-pagination-bullet {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    opacity: 1;
    transition: background-color 0.3s ease;
}

.coqpit-reviews__dots .swiper-pagination-bullet-active {
    background-color: #fff;
}

.coqpit-reviews__empty {
    margin: 0;
    padding: 20px;
    text-align: center;
    opacity: 0.7;
}
