/* FlexBanner Pro Depoimentos - Frontend Core CSS */

.jpwpp_dep-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    font-family: inherit;
    padding: 20px 0;
}

.jpwpp_dep-wrapper {
    position: relative;
    min-height: 200px;
    /* Previne CLS agressivo, será ajustado no JS */
}

.jpwpp_dep-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    transform: translateY(10px);
}

.jpwpp_dep-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

.jpwpp_dep-content {
    text-align: center;
    padding: 0 15px;
    max-width: 800px;
    margin: 0 auto;
}

.jpwpp_dep-titulo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.jpwpp_dep-texto {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.jpwpp_dep-autor-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.jpwpp_dep-avatar,
.jpwpp_dep-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jpwpp_dep-avatar-placeholder {
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.jpwpp_dep-meta {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.jpwpp_dep-nome {
    font-weight: 700;
    font-size: 1.1rem;
}

.jpwpp_dep-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Dots Navegacao */
.jpwpp_dep-controls {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.jpwpp_dep-dots {
    display: flex;
    gap: 8px;
}

.jpwpp_dep-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.jpwpp_dep-dot.active {
    background: #333;
    transform: scale(1.3);
}

/* CTA Footer */
.jpwpp_dep-cta {
    text-align: center;
    margin-top: 30px;
}

.jpwpp_dep-btn-all {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid currentColor;
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.jpwpp_dep-btn-all:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* ═══════════════════════════════════════════════════
   TEMPLATES VISUAIS  (tema= no shortcode)
   ─────────────────────────────────────────────────── */

/* ── Tema: CLÁSSICO (padrão) ───────────────── */
/* Nenhuma regra adicional, herda o base acima */

/* ── Tema: BALÃO (speech bubble) ───────────── */
.jpwpp_tema-balao .jpwpp_dep-content {
    position: relative;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
}

.jpwpp_tema-balao .jpwpp_dep-content::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #f7f7f7;
}

.jpwpp_tema-balao .jpwpp_dep-autor-box {
    justify-content: center;
    margin-top: 28px;
}

.jpwpp_tema-balao .jpwpp_dep-texto {
    font-size: 1.15rem;
    font-style: italic;
}

/* ── Tema: MINIMAL (apenas texto, centralizado) ── */
.jpwpp_tema-minimal {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.jpwpp_tema-minimal .jpwpp_dep-content {
    padding: 0;
}

.jpwpp_tema-minimal .jpwpp_dep-texto {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: .9;
}

.jpwpp_tema-minimal .jpwpp_dep-titulo {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .6;
    margin-bottom: .5rem;
}

.jpwpp_tema-minimal .jpwpp_dep-autor-box {
    flex-direction: column;
    gap: 4px;
}

.jpwpp_tema-minimal .jpwpp_dep-meta strong {
    font-size: 1rem;
}

.jpwpp_tema-minimal .jpwpp_dep-meta {
    text-align: center;
}