/**
 * Etinion CTA Banner — etcb-banner.css
 * Widget: Etinion CTA Banner
 * Prefix: etcb-
 */

/* ══════════════════════════════════════════════════════
   1. BANNER CONTAINER
   ══════════════════════════════════════════════════════ */

.etcb-banner {
    position: relative;
    display: flex;
    padding: 48px 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

/* ── Style: Centered ── */
.etcb-style-centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Style: Left ── */
.etcb-style-left {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* ── Style: Split ── */
.etcb-style-split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.etcb-style-split .etcb-content {
    flex: 1 1 auto;
    min-width: 0;
}

.etcb-style-split .etcb-actions {
    flex: 0 0 auto;
}

/* ══════════════════════════════════════════════════════
   2. CONTENT
   ══════════════════════════════════════════════════════ */

.etcb-content {
    max-width: 640px;
}

.etcb-style-centered .etcb-content {
    max-width: none;
}

.etcb-heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    color: inherit;
}

.etcb-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 24px;
    color: inherit;
}

/* ══════════════════════════════════════════════════════
   3. BUTTONS
   ══════════════════════════════════════════════════════ */

.etcb-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.etcb-style-centered .etcb-buttons {
    justify-content: center;
}

.etcb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Primary */
.etcb-btn-primary {
    background: #fff;
    color: #1d4ed8;
}

.etcb-btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Secondary */
.etcb-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.etcb-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   4. RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .etcb-style-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .etcb-banner {
        padding: 32px 24px;
    }

    .etcb-heading {
        font-size: 22px;
    }

    .etcb-description {
        font-size: 14px;
    }

    .etcb-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .etcb-buttons {
        flex-direction: column;
        width: 100%;
    }

    .etcb-btn {
        width: 100%;
        justify-content: center;
    }
}
