/* ===================================
   VCC Reviews – Frontend Slider
   Colors are injected as CSS variables
   from Slider Settings > Colors
=================================== */

/* Visibility helpers */
@media (min-width: 1024px) {
    .vcc-hide-desktop { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .vcc-hide-tablet { display: none !important; }
}
@media (max-width: 767px) {
    .vcc-hide-mobile { display: none !important; }
}

/* CSS variable defaults (overridden by inline style from settings) */
.vcc-reviews-wrapper {
    --vcc-card-bg:       #231f20;
    --vcc-text:          #ffffff;
    --vcc-client:        #ee1d27;
    --vcc-firm:          #ffffff;
    --vcc-location:      #999999;
    --vcc-loan-text:     #ffffff;
    --vcc-loan-bg:       #393839;
    --vcc-star:          #f59e0b;
    --vcc-arrow:         #ee1d27;
    --vcc-dot:           #ee1d27;
    position: relative;
    width: 100%;
    padding: 10px 0 60px;
}

/* Swiper overrides */
.vcc-reviews-swiper {
    padding-bottom: 48px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* ── Review Card ── */
.vcc-review-card {
    background: var(--vcc-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.vcc-review-card:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
}

/* Card header: logo + stars */
.vcc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.vcc-review-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.vcc-review-logo svg,
.vcc-custom-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Stars */
.vcc-star-row {
    display: flex;
    gap: 2px;
    align-items: center;
}
.vcc-star {
    font-size: 18px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
}
.vcc-star.filled {
    color: var(--vcc-star);
}

/* Review text */
.vcc-card-body {
    flex: 1;
}
.vcc-review-text {
    color: var(--vcc-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    padding: 0;
    border: none;
    font-style: italic;
    position: relative;
}
.vcc-review-text::before {
    content: '\201C';
    font-size: 48px;
    color: rgba(255, 255, 255, 0.1);
    line-height: 0;
    position: absolute;
    top: 12px;
    left: -4px;
    font-family: Georgia, serif;
    pointer-events: none;
}
.vcc-review-text p {
    margin: 0;
    padding-left: 22px;
}
.vcc-review-text p + p {
    margin-top: 8px;
}

/* Card footer */
.vcc-card-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
}
.vcc-client-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--vcc-client);
    display: block;
}
.vcc-firm-name {
    font-size: 13px;
    color: var(--vcc-firm);
    display: block;
}
.vcc-location {
    font-size: 12px;
    color: var(--vcc-location);
    display: flex;
    align-items: center;
    gap: 3px;
}
.vcc-loan-text {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--vcc-loan-text);
    background: var(--vcc-loan-bg);
    padding: 3px 12px;
    border-radius: 10px;
    margin-top: 4px;
    align-self: flex-start;
}

/* ── Swiper navigation theme ── */
.vcc-reviews-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: background 0.2s, transform 0.2s;
}
.vcc-reviews-swiper .swiper-pagination-bullet-active {
    background: var(--vcc-dot);
    transform: scale(1.3);
}
.vcc-reviews-swiper .swiper-button-prev,
.vcc-reviews-swiper .swiper-button-next {
    color: var(--vcc-arrow);
    background: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    top: 45%;
}
.vcc-reviews-swiper .swiper-button-prev::after,
.vcc-reviews-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 800;
}
.vcc-reviews-swiper .swiper-button-disabled {
    opacity: 0.35;
}

/* No reviews message */
.vcc-no-reviews {
    color: #9ca3af;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

@media (max-width: 600px) {
    .vcc-review-card   { padding: 20px 18px 18px; }
    .vcc-review-text   { font-size: 14px; }
}
