/*
 * 11 bottom CTA component stylesheet.
 * Loads along with 10-content-patterns.css.
 * Reusable DentiMax CTA components shared across multiple Kadence pages.
 */

:root {
    --dmax-separator-gold: #9c854d;
}

.dmax-bottom-cta,
.editor-styles-wrapper .dmax-bottom-cta {
    background-color: #20305e;
    padding-top: clamp(60px, 6vw, 80px);
    padding-bottom: clamp(60px, 6vw, 80px);
}

/* Dark variant overlay */
.dmax-bottom-cta.dmax-section-dark,
.editor-styles-wrapper .dmax-bottom-cta.dmax-section-dark {
    background:
        radial-gradient(circle at 12% 0%, rgba(60, 188, 230, 0.18), transparent 32%),
        #132b5f;
}

.dmax-bottom-cta h2,
.editor-styles-wrapper .dmax-bottom-cta h2,
.single-content .dmax-bottom-cta h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    color: #ffffff;
    max-width: 685px;
    margin: .75em 0 .25em 0;
    line-height: 1.2;
}

.dmax-bottom-cta p,
.dmax-section-dark .dmax-bottom-cta p,
.editor-styles-wrapper .dmax-bottom-cta p,
.editor-styles-wrapper .dmax-bottom-cta .kt-button.kb-btn-global-inherit {
    font-size: clamp(15px, 1.5vw, 17px);
    color: rgba(255, 255, 255, 0.88);
    max-width: 665px;
    margin: 0;
    line-height: 1.65;
}

/* Optional CTA Eyebrow (used in Video Library / Support variant) */
.dmax-cta-eyebrow,
.editor-styles-wrapper .dmax-cta-eyebrow {
    margin-bottom: 8px;
    color: var(--global-palette3, #3cbce6);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Optional CTA Link/Subtext below the button */
.dmax-cta-link,
.dmax-bottom-cta p.dmax-cta-link,
.editor-styles-wrapper .dmax-cta-link {
    font-size: 0.93rem;
    margin-top: 12px;
}

.dmax-cta-link a,
.editor-styles-wrapper .dmax-cta-link a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    text-decoration: none;
}

.dmax-cta-link a:hover,
.dmax-cta-link a:focus,
.editor-styles-wrapper .dmax-cta-link a:hover,
.editor-styles-wrapper .dmax-cta-link a:focus {
    color: #ffffff;
}

/* Two-column layout: divider and centering */
@media (min-width: 768px) {
    .dmax-bottom-cta-left {
        border-right: 1px dotted var(--dmax-separator-gold);
        padding-right: 8%;
    }
    .dmax-bottom-cta-right {
        display: flex;
        justify-content: center;
        padding-left: 5%;
        align-items: flex-end;
    }
}

@media (max-width: 767px) {
    .dmax-bottom-cta-left {
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .dmax-bottom-cta-right {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .dmax-bottom-cta,
    .editor-styles-wrapper .dmax-bottom-cta {
        text-align: center;
    }
}

/* White background / DentiMax Blue text button */
.dmax-bottom-cta .dmax-cta-button-wrap .kb-button,
.editor-styles-wrapper .dmax-bottom-cta .dmax-cta-button-wrap .kt-button {
    background-color: #ffffff;
    color: #105493;
    border: 2px solid #ffffff;
    font-weight: 700;
    padding: 12px 28px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.dmax-bottom-cta .dmax-cta-button-wrap .kb-button:hover,
.dmax-bottom-cta .dmax-cta-button-wrap .kb-button:focus,
.editor-styles-wrapper .dmax-bottom-cta .dmax-cta-button-wrap .kt-button:hover,
.editor-styles-wrapper .dmax-bottom-cta .dmax-cta-button-wrap .kt-button:focus {
    background-color: #eef7fb;
    color: #105493;
    border-color: #eef7fb;
}
