/* ==========================================================================
   Vendors Listing — CTA Section Styles
   Full-width section with bg image, overlay, centered text, CTA button
   Matches: class-cta-section-widget.php render()
   ========================================================================== */

/* CSS Variables */
.vl-wrapper .vl-cta-section {
    --vl-primary: #6C5CE7;
    --vl-primary-dark: #5A4BD1;
    --vl-radius-sm: 8px;
    --vl-radius-md: 12px;
    --vl-transition: all 0.3s ease;
}

/* ---------------------------------------------------------------------
   1. CTA Section Container
   --------------------------------------------------------------------- */
.vl-wrapper .vl-cta-section {
    position: relative !important;
    width: 100% !important;
    min-height: 450px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ---------------------------------------------------------------------
   2. Overlay
   --------------------------------------------------------------------- */
.vl-wrapper .vl-cta-section__overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    background-color: rgba(15, 15, 40, 0.75) !important;
}

/* ---------------------------------------------------------------------
   3. Content
   --------------------------------------------------------------------- */
.vl-wrapper .vl-cta-section__content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 80px 24px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* ---------------------------------------------------------------------
   4. Heading
   --------------------------------------------------------------------- */
.vl-wrapper .vl-cta-section__heading {
    font-size: 40px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 16px 0 !important;
}

/* ---------------------------------------------------------------------
   5. Subheading
   --------------------------------------------------------------------- */
.vl-wrapper .vl-cta-section__subheading {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6 !important;
    margin: 0 0 32px 0 !important;
    max-width: 550px !important;
}

/* ---------------------------------------------------------------------
   6. CTA Button
   --------------------------------------------------------------------- */
.vl-wrapper .vl-cta-section__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 18px 48px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: var(--vl-radius-sm, 8px) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: var(--vl-transition) !important;
    min-width: 220px !important;
    text-align: center !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.vl-wrapper .vl-cta-section__btn:hover {
    background: var(--vl-primary, #6C5CE7) !important;
    color: #ffffff !important;
    border-color: var(--vl-primary, #6C5CE7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.vl-wrapper .vl-cta-section__btn:active {
    transform: translateY(0) !important;
}

/* ---------------------------------------------------------------------
   7. Secondary Text
   --------------------------------------------------------------------- */
.vl-wrapper .vl-cta-section__secondary-text {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.5 !important;
    margin: 16px 0 0 0 !important;
}

/* ---------------------------------------------------------------------
   8. Responsive — Tablet (1024px)
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .vl-wrapper .vl-cta-section__content {
        padding: 72px 24px !important;
    }

    .vl-wrapper .vl-cta-section__heading {
        font-size: 32px !important;
    }

    .vl-wrapper .vl-cta-section__subheading {
        font-size: 16px !important;
    }

    .vl-wrapper .vl-cta-section {
        min-height: 380px !important;
    }
}

/* ---------------------------------------------------------------------
   9. Responsive — Mobile (768px)
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
    .vl-wrapper .vl-cta-section__content {
        padding: 56px 16px !important;
    }

    .vl-wrapper .vl-cta-section__heading {
        font-size: 26px !important;
        margin-bottom: 12px !important;
    }

    .vl-wrapper .vl-cta-section__subheading {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }

    .vl-wrapper .vl-cta-section__btn {
        width: 100% !important;
        max-width: 320px !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
        min-width: unset !important;
    }

    .vl-wrapper .vl-cta-section {
        min-height: 320px !important;
    }

    .vl-wrapper .vl-cta-section__secondary-text {
        font-size: 13px !important;
    }
}
