/**
 * CPS CTA Banner Styles
 */

/* Remove Fusion Builder column margins */
.fusion_builder_column:has(.cps-cta-banner) {
    --awb-margin-bottom-large: 0px !important;
    --awb-margin-top-large: 0px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.fusion-column-wrapper:has(.cps-cta-banner) {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.cps-cta-banner {
    width: 100vw;
    margin: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 48px 0;
}

.cps-cta-banner-container {
    max-width: var(--awb-content-max-width, 1280px);
    margin: 0 auto;
    padding: 0 var(--awb-content-padding-left, 30px) 0 var(--awb-content-padding-right, 30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Content (Left) */
.cps-cta-banner-content {
    flex: 1;
}

.cps-cta-banner-heading {
    font-family: refrigerator-deluxe, Impact, Charcoal, sans-serif !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
}

.cps-cta-banner-subheading {
    font-family: DIN, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

/* Buttons (Right) */
.cps-cta-banner-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cps-cta-banner-button {
    font-family: DIN, sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cps-cta-banner-button i {
    font-size: 16px;
}

/* Primary Button (White) */
.cps-cta-banner-button-primary {
    border: 2px solid transparent;
}

.cps-cta-banner-button-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Secondary Button (Outlined) */
.cps-cta-banner-button-secondary {
    border: 2px solid;
}

.cps-cta-banner-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 1024px) {
    .cps-cta-banner {
        padding: 40px 0;
    }

    .cps-cta-banner-container {
        gap: 32px;
    }

    .cps-cta-banner-heading {
        font-size: 30px !important;
    }

    .cps-cta-banner-subheading {
        font-size: 16px;
    }

    .cps-cta-banner-button {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cps-cta-banner {
        padding: 32px 0;
    }

    .cps-cta-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cps-cta-banner-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cps-cta-banner-button {
        width: 100%;
        justify-content: center;
    }

    .cps-cta-banner-heading {
        font-size: 28px !important;
    }

    .cps-cta-banner-subheading {
        font-size: 16px;
    }
}
