/* Thrive Themes Compatibility Styles */
.thrive-builder-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Remove theme restrictions that might conflict with Thrive */
.thrive-builder-content .thrv_wrapper {
    max-width: none !important;
}

/* Ensure Thrive elements display properly */
.thrv_wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Fix for Thrive content editor */
.tve-editor-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure theme colors are available to Thrive */
:root {
    --tcb-color-0: #afe841; /* lime-green-primary */
    --tcb-color-1: #87da06; /* lime-green-secondary */
    --tcb-color-2: #88d8ef; /* cyan-primary */
    --tcb-color-3: #5ce1e6; /* cyan-secondary */
    --tcb-color-4: #ff1493; /* hot-pink */
    --tcb-color-5: #0d1424; /* dark-navy */
}

/* Ensure Thrive sections have proper spacing */
.thrv_page_section .tve-page-section-in {
    padding: 40px 0;
}

/* Fix for Thrive content width */
.tve-page-section-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure Thrive typography matches theme */
.thrv_text_element h1 {
    font-family: var(--heading-font, 'Poppins', sans-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy, #0d1424);
}

.thrv_text_element h2 {
    font-family: var(--heading-font, 'Poppins', sans-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy, #0d1424);
}

.thrv_text_element h3 {
    font-family: var(--heading-font, 'Poppins', sans-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy, #0d1424);
}

.thrv_text_element p {
    font-family: var(--body-font, 'Open Sans', sans-serif);
    line-height: 1.6;
    color: var(--dark-gray, #333333);
}

/* Fix for Thrive buttons to match theme */
.thrv-button {
    font-family: var(--body-font, 'Open Sans', sans-serif) !important;
    font-weight: 600 !important;
}

/* Ensure Thrive content area has proper spacing */
.entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Fix for Thrive columns */
.tcb-flex-col {
    padding: 0 !important;
}

/* Ensure Thrive content doesn't overflow */
.thrv_wrapper.thrv_contentbox_shortcode {
    margin: 0 !important;
}

/* Fix for Thrive content boxes */
.thrv_contentbox_shortcode .tve-content-box-background {
    border-radius: 10px;
}

/* Ensure Thrive images match theme styling */
.thrv_image img {
    border-radius: 10px;
}

/* Fix for Thrive icons */
.thrv_icon {
    margin: 0 !important;
}

/* Ensure Thrive sections have proper spacing on mobile */
@media (max-width: 768px) {
    .thrv_page_section .tve-page-section-in {
        padding: 30px 0;
    }
}

@media (max-width: 576px) {
    .thrv_page_section .tve-page-section-in {
        padding: 20px 0;
    }
}
