/* ============================================================
   Prospen Reviews v2.1.9 — Public Styles
   Developed by ProspenTech | www.prospentech.co.za
   ============================================================ */

/* ── STYLE 1: Left-header bubble slider ─────────────────── */

.prs-style1 {
    display: flex;
    align-items: stretch;
    background: #ECECEC;
    padding: 15px 10px;
    font-family: inherit;
    color: #535153;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.prs-header {
    flex: 0 0 250px;
    max-width: 250px;
    padding-right: 20px;
    background-color: inherit;
    border-right: 1px solid rgba(0,0,0,0.1);
    box-shadow: 15px 0 20px -10px rgba(0,0,0,0.1);
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 99;
    flex-shrink: 0;
}

.prs-header h3 {
    font-size: 2.5rem;
    margin: 0;
    color: #000000;
    line-height: 1.1;
    font-weight: 500;
}

.prs-subtitle {
    font-size: 1rem;
    margin-top: 8px;
    color: #535153;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 0;
}

.prs-arrows {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

.prs-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    background: transparent;
    color: #D58037;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.prs-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.prs-arrow:hover,
.prs-arrow:focus-visible {
    background: #D58037;
    color: #ffffff;
    transform: scale(1.08);
}

.prs-arrow:active {
    transform: scale(0.96);
}

.prs-slider-outer {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.prs-track.prs-track-style1 {
    display: flex;
    align-items: stretch;
    will-change: transform;
    /* width + animation set inline via PHP */
}

.prs-track-style1:hover {
    animation-play-state: paused !important;
}

.prs-track-style1 .prs-card-wrapper {
    flex-shrink: 0;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* width set inline via PHP */
}

/* ── Style 1 bubble card ─────────────────────────── */

.prs-bubble {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    min-height: 150px;
    flex: 1;
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    box-sizing: border-box;
}

.prs-bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 25px;
    border-width: 12px 12px 0 0;
    border-style: solid;
    border-color: #FFFFFF transparent transparent transparent;
    pointer-events: none;
}

.prs-bubble-inner {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.prs-text {
    font-size: 0.95rem;
    color: #535153;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    overflow: hidden;
}

/* "View more" inside Style 1 bubble */
.prs-bubble .prs-read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    color: #D58037;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    margin-top: 6px;
    padding: 0;
    text-decoration: underline;
    font-family: inherit;
    transition: color 0.15s ease;
    align-self: flex-start;
    flex-shrink: 0;
}

.prs-bubble .prs-read-more-btn:hover {
    color: #b45309;
}

.prs-author {
    padding-left: 25px;
    padding-top: 4px;
    flex-shrink: 0;
}

.prs-author-name {
    display: block;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* Style 1: company and course on separate lines */
.prs-author-course {
    display: block;
    font-size: 0.8rem;
    color: #D58037;
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
}

.prs-author-coursename {
    font-weight: 400;
    opacity: 0.85;
}

.prs-style1 .prs-stars {
    display: block;
    color: #D58037;
    font-size: 0.85rem;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* ── STYLE 1 Responsive ─────────────────────────────── */

@media (max-width: 900px) {
    .prs-track-style1 .prs-card-wrapper {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .prs-style1 {
        flex-direction: column;
    }

    .prs-header {
        flex: 0 0 auto;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        text-align: center;
        box-shadow: none;
    }

    .prs-arrows {
        justify-content: center;
    }

    .prs-view-all-wrap {
        justify-content: center;
    }

    .prs-author {
        padding-left: 0;
        text-align: center;
    }

    .prs-bubble::after {
        display: none;
    }
}

/* ── STYLE 2: Card slider ─────────────────────────────── */

.prs-style2-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 14px 12px;
    box-sizing: border-box;
    position: relative;
}

.prs-style2-container {
    display: flex;
    gap: 1.5rem;
}

.prs-review-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
    min-width: 0;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prs-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Style 2: company name — separate colour from course title */
.prs-company-name {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #D58037;     /* default; overridden by Elementor control */
    font-weight: 700;
    margin-bottom: 0.3rem;
}

/* Style 2: course title — separate colour from company name */
.prs-course-title {
    font-size: 1.05rem;
    color: #1f2937;     /* default; overridden by Elementor control */
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.prs-style2-wrapper .prs-stars {
    color: #D58037;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.prs-testimonial {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.55;
    font-style: italic;
    margin: 0;
}

.prs-reviewer-title {
    display: block;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.75rem;
    font-style: italic;
}

.prs-read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    color: #D58037;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    margin-top: 0.4rem;
    padding: 0;
    text-decoration: underline;
    font-family: inherit;
    transition: color 0.15s ease;
}

.prs-read-more-btn:hover {
    color: #b45309;
}

/* ── STYLE 2 Responsive ─────────────────────────────── */

@media (max-width: 900px) {
    .prs-review-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 600px) {
    .prs-review-card {
        flex: 0 0 100%;
    }
}

/* ── Shared ─────────────────────────────────────────── */

.prs-empty {
    color: #9ca3af;
    font-style: italic;
    padding: 1.5rem;
    text-align: center;
}

.prs-view-all-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.75rem;
}

.prs-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #D58037;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.prs-view-all-btn:hover {
    background-color: #b45309;
    color: #ffffff;
    transform: translateY(-1px);
}

