/* ==========================================================
   ALQ Vertical Badges Widget — v1.0.0
   ========================================================== */

/* Wrapper: flex row, altura definida via Elementor */
.alq-vb-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 280px;          /* fallback — sobrescrito pelo controle */
    overflow: hidden;
    font-family: inherit;
}

/* ── COLUNA ESQUERDA ───────────────────────────────────── */
.alq-vb-left {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    background: linear-gradient(
        135deg,
        var(--alq-grad-start, #1a6b35) 0%,
        var(--alq-grad-end,   #2d9e52) 100%
    );
}

.alq-vb-titulo {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
}

.alq-vb-subtitulo {
    margin: 0;
    color: #d4edaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── COLUNA DIREITA ────────────────────────────────────── */
.alq-vb-right {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
}

/* Badge individual */
.alq-vb-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;            /* fallback — sobrescrito pelo controle */
    height: 100%;           /* preenche a altura do wrapper */
    overflow: hidden;
}

/* Texto rotacionado */
.alq-vb-badge-texto {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);   /* leitura de baixo para cima */
    font-size: 42px;             /* fallback — sobrescrito pelo controle */
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1;
}

/* ── RESPONSIVO ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .alq-vb-wrapper {
        flex-direction: column;
        height: auto !important;
    }

    .alq-vb-left {
        padding: 32px 24px;
    }

    /* badges lado a lado, 33% cada */
    .alq-vb-right {
        flex-direction: row;
        width: 100%;
    }

    .alq-vb-badge {
        width: 33.333% !important;
        height: 56px !important;
        padding: 0 8px;
        justify-content: center;
    }

    .alq-vb-badge-texto {
        writing-mode: horizontal-tb !important;
        transform: none !important;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
        /* font-size herdado do controle responsivo do Elementor */
    }
}
