/*
 * 10 Content patterns.
 * Load order: content-style.css -> css/10-content-patterns.css -> css/15-woocommerce.css -> css/20-page-patterns.css -> css/20-support-pages.css -> style.css -> css/pages/50-page-*.css.
 * Purpose: reusable DentiMax content components shared across multiple Kadence pages.
 * Related files: content-style.css holds tokens/base utilities; css/15-woocommerce.css holds WooCommerce/plugin base styles; css/20-page-patterns.css and css/20-support-pages.css hold page-family overrides; css/pages/50-page-*.css holds single-page overrides.
 */

.dmax-media .kb-img,
.editor-styles-wrapper .dmax-media .kb-img {
    display: block;
    max-width: 100%;
    height: auto;
}

.dmax-media-large .kb-img,
.editor-styles-wrapper .dmax-media-large .kb-img {
    width: min(112%, 760px);
    max-width: none;
}

.dmax-media-bleed-left .kb-img,
.editor-styles-wrapper .dmax-media-bleed-left .kb-img {
    margin-left: clamp(-64px, -4vw, -24px);
}

.dmax-media-bleed-right .kb-img,
.editor-styles-wrapper .dmax-media-bleed-right .kb-img {
    margin-right: clamp(-64px, -4vw, -24px);
}

/* ── Eyebrow label (shared across hero/section headings) ── */
.dmax-eyebrow {
    margin-bottom: 14px;
    color: var(--dmax-sky);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    .dmax-eyebrow {
        font-size: 1.125rem;
    }
}

@media (max-width: 767px) {
    .dmax-eyebrow {
        font-size: 0.875rem;
    }
}

.editor-styles-wrapper h1.dmax-eyebrow,
.editor-styles-wrapper h2.dmax-eyebrow,
.editor-styles-wrapper h3.dmax-eyebrow {
    margin-bottom: 14px;
    color: var(--dmax-sky);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ── OS / pricing card components ─────────────────────────── */
/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-pricing-cards {
    align-items: stretch;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-pricing-card .kt-inside-inner-col {
    height: 100%;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-card,
.editor-styles-wrapper .dmax-os-card {
    background: #f4f4f2;
    color: var(--dmax-ink);
    padding: 40px 30px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    transition: all .2s ease-in-out;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-card:hover {
    transform: scale(1.066);
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-pricing-card-club .dmax-os-card,
.editor-styles-wrapper .dmax-os-pricing-card-club .dmax-os-card {
    border-color: var(--dmax-blue);
    padding-top: 60px;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-pricing-card-club .dmax-os-card::before,
.editor-styles-wrapper .dmax-os-pricing-card-club .dmax-os-card::before {
    content: "Most Popular";
    position: absolute;
    left: -2px;
    right: -2px;
    top: 0;
    height: 3.25em;
    font-size: .875em;
    font-weight: 700;
    color: #fff;
    background: #272a63;
    display: grid;
    place-content: center;
    border-radius: 6px 6px 0 0;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-card h3,
.editor-styles-wrapper .dmax-os-card h3 {
    color: var(--dmax-ink);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-card h4,
.editor-styles-wrapper .dmax-os-card h4 {
    color: var(--dmax-ink);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-card-cta,
.editor-styles-wrapper .dmax-os-card-cta {
    margin-bottom: 25px;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-card-cta .button,
.dmax-os-card-cta .wp-block-button__link,
.editor-styles-wrapper .dmax-os-card-cta .button,
.editor-styles-wrapper .dmax-os-card-cta .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* used: open-sensor #7620, pm-support #18619, dental-software #47 */
.dmax-os-card-divider,
.editor-styles-wrapper .dmax-os-card-divider {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 15px 0;
}

.dmax-os-pricing-section {
    padding: clamp(60px, 5vw, 100px) 0;
}

.dmax-os-checklist,
.editor-styles-wrapper .dmax-os-checklist {
    list-style: none;
    padding-left: 0;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.dmax-os-checklist li,
.editor-styles-wrapper .dmax-os-checklist li {
    color: var(--dmax-ink);
    padding: 6px 0 6px 28px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.dmax-os-checklist li::before,
.editor-styles-wrapper .dmax-os-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--dmax-sky);
    font-weight: 700;
}

.dmax-icon-box,
.editor-styles-wrapper .dmax-icon-box {
    text-align: center;
    padding: 9px 12px;
    transition: transform .2s ease-in-out;
}

.dmax-icon-box:hover {
    transform: scale(1.04);
}

.dmax-icon-box i,
.editor-styles-wrapper .dmax-icon-box i {
    display: block;
    margin: 0 auto 12px;
    color: var(--dmax-sky);
    font-size: clamp(64px, 14vh, 84px);
    line-height: 1;
}

.dmax-icon-box svg,
.editor-styles-wrapper .dmax-icon-box svg {
    display: block;
    margin-bottom: 16px;
    margin-inline: auto;
    width: clamp(64px, 7vh, 92px);
    height: auto;
}

.dmax-icon-box h4,
.editor-styles-wrapper .dmax-icon-box h4 {
    display: block;
    margin: 0 0 8px;
    color: var(--dmax-ink);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
}

.dmax-icon-box p,
.editor-styles-wrapper .dmax-icon-box p {
    display: block;
    margin: 0;
    color: var(--dmax-ink);
    /* font-size: 0.9375rem; */
    font-size: 0.85rem;
    line-height: 1.35;
}

.dmax-icon-box .dmax-icon-box-btn {
    display: inline-block;
    background: var(--global-palette1, #08263c);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: 16px;
}

.dmax-icon-box .dmax-icon-box-btn:hover {
    background: var(--dmax-sky);
    color: var(--dmax-ink);
}

.dmax-faq .kt-accordion-panel-inner,
.editor-styles-wrapper .dmax-faq .kt-accordion-panel-inner {
    font-size: 1.0625rem;
    line-height: 1.65;
}

.dmax-faq-light .kt-blocks-accordion-title,
.dmax-faq-light .kt-blocks-accordion-header,
.dmax-faq-light .kt-blocks-accordion-header:visited,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-title,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header:visited {
    color: var(--global-palette1, var(--dmax-blue));
}

.dmax-faq-light .kt-blocks-accordion-header,
.dmax-faq-light .kt-blocks-accordion-header:hover,
.dmax-faq-light .kt-blocks-accordion-header:focus,
.dmax-faq-light .kt-blocks-accordion-header.kt-accordion-panel-active,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header:hover,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header:focus,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header.kt-accordion-panel-active {
    background-color: transparent !important;
    border-bottom: 1px solid var(--global-palette7, #e5e5e5);
    padding: 22px 0;
    font-weight: 700;
}

.dmax-faq-light .kt-blocks-accordion-header:hover,
.dmax-faq-light .kt-blocks-accordion-header:focus,
.dmax-faq-light .kt-blocks-accordion-header.kt-accordion-panel-active,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header:hover,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header:focus,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-header.kt-accordion-panel-active {
    color: var(--global-palette2, var(--dmax-blue));
}

.dmax-faq-light .kt-blocks-accordion-title-wrap,
.editor-styles-wrapper .dmax-faq-light .kt-blocks-accordion-title-wrap {
    flex: 1 1 auto;
    /* justify-content: center; */
    padding-right: 16px;
}

.dmax-faq-light .kt-accordion-inner-wrap,
.editor-styles-wrapper .dmax-faq-light .kt-accordion-inner-wrap {
    row-gap: 0;
}

.dmax-faq-light .kt-accordion-panel-inner,
.editor-styles-wrapper .dmax-faq-light .kt-accordion-panel-inner {
    color: var(--global-palette5, #0b1f33);
    border: 0;
    border-left: 2px solid var(--global-palette1, var(--dmax-blue));
    border-bottom: 1px solid var(--global-palette7, #e5e5e5);
}

.dmax-faq-light .kt-accordion-panel-inner a,
.editor-styles-wrapper .dmax-faq-light .kt-accordion-panel-inner a {
    color: var(--global-palette1, var(--dmax-blue));
}

.dmax-faq-dark .kt-blocks-accordion-title,
.dmax-faq-dark .kt-blocks-accordion-header,
.dmax-faq-dark .kt-blocks-accordion-header:visited,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-title,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header:visited {
    color: var(--dmax-sky);
}

.dmax-faq-dark .kt-blocks-accordion-header:hover,
.dmax-faq-dark .kt-blocks-accordion-header:focus,
.dmax-faq-dark .kt-blocks-accordion-header.kt-accordion-panel-active,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header:hover,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header:focus,
.editor-styles-wrapper .dmax-faq-dark .kt-blocks-accordion-header.kt-accordion-panel-active {
    background-color: transparent !important;
}

.dmax-faq-dark .kt-accordion-panel-inner,
.editor-styles-wrapper .dmax-faq-dark .kt-accordion-panel-inner {
    color: #fff;
    border: 0;
    border-left: 2px solid var(--dmax-sky);
}

.dmax-faq-dark .kt-accordion-panel-inner a,
.editor-styles-wrapper .dmax-faq-dark .kt-accordion-panel-inner a {
    color: var(--dmax-sky);
}

/* Restore/Ensure icon visibility */
/* .kt-blocks-accordion-icon-trigger,
.editor-styles-wrapper .kt-blocks-accordion-icon-trigger {
    display: flex !important;
    opacity: 1 !important;
} */

.dmax-reviews,
.dmax-reviews-section,
.editor-styles-wrapper .dmax-reviews,
.editor-styles-wrapper .dmax-reviews-section {
    text-align: center;
}



@media (max-width: 767px) {
    .dmax-os-pricing-section {
        padding: 40px 0;
    }

    /* used: open-sensor #7620, pm-support #18619, dental-software #47 */
    .dmax-os-card,
    .editor-styles-wrapper .dmax-os-card {
        padding: 30px 20px;
        margin: 0 calc(-1 * var(--global-content-edge-padding, 15px));
    }

    /* used: open-sensor #7620, pm-support #18619, dental-software #47 */
    .dmax-os-pricing-card-club .dmax-os-card,
    .editor-styles-wrapper .dmax-os-pricing-card-club .dmax-os-card {
        padding-top: 50px;
    }

    /* used: open-sensor #7620, pm-support #18619, dental-software #47 */
    .dmax-os-card:hover {
        transform: scale(1.04);
    }

    .dmax-icon-box i,
    .editor-styles-wrapper .dmax-icon-box i {
        font-size: 3.5rem;
        margin: 0 auto 18px;
    }

    .dmax-icon-box svg,
    .editor-styles-wrapper .dmax-icon-box svg {
        width: 56px;
        margin-bottom: 18px;
    }

    .dmax-row .kt-row-column-wrap,
    .editor-styles-wrapper .dmax-row .kt-row-column-wrap {
        width: min(100% - 28px, 640px);
    }

    .dmax-row .kt-row-column-wrap.kt-has-2-columns,
    .editor-styles-wrapper .dmax-row .kb-grid-columns-2 {
        /* grid-template-columns: minmax(0, 1fr) !important; */
    }

    .dmax-media-large .kb-img,
    .editor-styles-wrapper .dmax-media-large .kb-img {
        width: 100%;
        max-width: 100%;
    }

    .dmax-media-bleed-left .kb-img,
    .dmax-media-bleed-right .kb-img,
    .editor-styles-wrapper .dmax-media-bleed-left .kb-img,
    .editor-styles-wrapper .dmax-media-bleed-right .kb-img {
        margin-inline: 0;
    }
}

.dmax-row {
    /* --global-kb-row-default-top: 0; */
    /* --global-kb-row-default-bottom: 0; */
}
.dmax-row.dmax-section-light+.dmax-row.dmax-section-light {
    --global-kb-row-default-top: 0;
}


.dmax-row > .kt-row-column-wrap {
    padding-left: var(--global-content-edge-padding, 1.5rem);
    padding-right: var(--global-content-edge-padding, 1.5rem);
}

/* ── Kadence Blocks gallery — prevent edge cropping ──────── */
.kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img,
.kb-gallery-ul.kb-gallery-type-mosaic .kadence-blocks-gallery-item .kb-gallery-image-contain img {
    object-fit: contain !important;
}

/* ── Sticky header separation — prevents blending with same-color sections ── */
/* Bottom shadow (subtle elevation) */
div.site-main-header-wrap.site-header-row-container.site-header-focus-item.site-header-row-layout-standard.kadence-sticky-header.item-is-fixed.item-is-stuck,
div.site-header-upper-inner-wrap.kadence-sticky-header.item-is-fixed.item-is-stuck,
div.site-header-inner-wrap.kadence-sticky-header.item-is-fixed.item-is-stuck,
div.site-top-header-wrap.site-header-row-container.site-header-focus-item.site-header-row-layout-standard.kadence-sticky-header.item-is-fixed.item-is-stuck,
div.site-bottom-header-wrap.site-header-row-container.site-header-focus-item.site-header-row-layout-standard.kadence-sticky-header.item-is-fixed.item-is-stuck {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* ── Directory nav grid (shared: training video library, partners, etc.) ── */
/* used: partners #5415 S1, training-video-library #19124 */
.dmax-directory-hero,
.editor-styles-wrapper .dmax-directory-hero {
    background:
        linear-gradient(135deg, rgba(60, 188, 230, 0.12), rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    padding-bottom: calc(.5 * clamp(45px, 4vw, 75px));
}

.dmax-directory-hero+.dmax-section-light {
    padding-top: calc(.5 * clamp(45px, 4vw, 75px));
}

/* used: partners #5415 S1 */
.single-content .dmax-directory-eyebrow,
.editor-styles-wrapper p.dmax-directory-eyebrow {
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0 0 12px;
    margin-bottom: .5em;
    text-transform: uppercase;
    color: var(--global-palette3);
}

/* .single-content h1+*,
.single-content h2+*, */
.single-content p.dmax-directory-eyebrow+*,
.single-content span.dmax-directory-eyebrow+*,
.editor-styles-wrapper p.dmax-directory-eyebrow+* {
    margin-top: 0;
}

/* used: partners #5415 S1, #17300 /x-ray-sensor-comparison/ */
.dmax-directory-title,
.editor-styles-wrapper .dmax-directory-title {
    max-width: 840px;
    margin: 0 0 18px;
}

/* used: partners #5415 S1, #17300 /x-ray-sensor-comparison/ */
.dmax-directory-lede,
.editor-styles-wrapper .dmax-directory-lede {
    max-width: 820px;
    margin: 0;
    color: #334a5f;
}

.dmax-directory-hero .dmax-directory-lede {
    font-size: clamp(1.03rem, 1.25vw, 1.15rem);
    line-height: 1.65;
}

/* used: partners #5415 S1 */
.dmax-directory-section,
.editor-styles-wrapper .dmax-directory-section {
    background: #f7fbfd;
}

/* used: partners #5415 S1 */
.dmax-directory-grid,
.editor-styles-wrapper .dmax-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    /* margin-top: var(--global-kb-spacing-xl); */
    margin-top: var(--global-kb-spacing-sm);
}

/* used: partners #5415 S1 */
.dmax-directory-card,
.editor-styles-wrapper .dmax-directory-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 14px;
    align-items: center;
    /* min-height: 118px; */
    /* min-height: 108px; */
    min-height: 98px;
    padding: 20px 8px 20px 22px;
    border: 1px solid rgba(21, 84, 146, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--dmax-ink);
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(8, 38, 60, 0.07);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

/* used: partners #5415 S1 */
.dmax-directory-card:hover,
.dmax-directory-card:focus,
.editor-styles-wrapper .dmax-directory-card:hover,
.editor-styles-wrapper .dmax-directory-card:focus {
    transform: translateY(-2px);
    border-color: rgba(60, 188, 230, 0.65);
    box-shadow: 0 18px 42px rgba(8, 38, 60, 0.12);
    color: var(--dmax-ink);
}

/* used: partners #5415 S1 — 3-color rotation per card (resets per grid) */
.dmax-directory-grid > .dmax-directory-card:nth-child(3n+1) {
    --group-color: var(--dmax-blue, #155492);
}
.dmax-directory-grid > .dmax-directory-card:nth-child(3n+2) {
    --group-color: var(--dmax-sky, #3cbce6);
}
.dmax-directory-grid > .dmax-directory-card:nth-child(3n+3) {
    --group-color: var(--dmax-ink, #0b1f33);
}

/* used: partners #5415 S1 */
.dmax-directory-card-index,
.editor-styles-wrapper .dmax-directory-card-index {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--group-color, var(--dmax-blue)) 14%, transparent);
    color: var(--group-color, var(--dmax-blue));
    font-size: 1.05rem;
    line-height: 1;
    transition: background 160ms ease, color 160ms ease;
}

/* duotone icon coloring (uses FA5 Pro .fad custom properties) */
.dmax-directory-card-index .fad,
.editor-styles-wrapper .dmax-directory-card-index .fad {
    --fa-primary-color: var(--group-color, var(--dmax-blue));
    --fa-secondary-color: color-mix(in srgb, var(--group-color, var(--dmax-blue)) 35%, #fff);
    --fa-secondary-opacity: 1;
}

/* hover/focus: fill circle, flip icon to white */
.dmax-directory-card:hover .dmax-directory-card-index,
.dmax-directory-card:focus .dmax-directory-card-index,
.editor-styles-wrapper .dmax-directory-card:hover .dmax-directory-card-index,
.editor-styles-wrapper .dmax-directory-card:focus .dmax-directory-card-index {
    background: var(--group-color, var(--dmax-blue));
    color: #fff;
}
.dmax-directory-card:hover .dmax-directory-card-index .fad,
.dmax-directory-card:focus .dmax-directory-card-index .fad,
.editor-styles-wrapper .dmax-directory-card:hover .dmax-directory-card-index .fad,
.editor-styles-wrapper .dmax-directory-card:focus .dmax-directory-card-index .fad {
    --fa-primary-color: #fff;
    --fa-secondary-color: #fff;
}

/* used: partners #5415 S1 */
.dmax-directory-card-title,
.editor-styles-wrapper .dmax-directory-card-title {
    display: block;
    color: var(--dmax-ink);
    font-weight: 800;
    line-height: 1.25;
}

/* used: partners #5415 S1 */
.dmax-directory-card-desc,
.editor-styles-wrapper .dmax-directory-card-desc {
    display: block;
    color: #51697c;
    font-size: 0.92rem;
    line-height: 1.45;
}

.content-wrap .dmax-directory-card:hover,
.content-wrap .dmax-directory-card:focus,
.dmax-directory-card:hover,
.dmax-directory-card:focus,
.editor-styles-wrapper .dmax-directory-card:hover,
.editor-styles-wrapper .dmax-directory-card:focus {
    text-decoration: none;
}

/* used: partners #5415 S1 */
@media (max-width: 900px) {

    .dmax-directory-grid,
    .editor-styles-wrapper .dmax-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* used: partners #5415 S1 */
@media (max-width: 640px) {

    .dmax-directory-grid,
    .editor-styles-wrapper .dmax-directory-grid {
        grid-template-columns: 1fr;
    }

    /* used: partners #5415 S1 */
    .dmax-directory-card,
    .editor-styles-wrapper .dmax-directory-card {
        min-height: 0;
        padding: 18px;
    }
}

/* Restored to css/pages/50-page-xray-sensors-guide.css — enqueued on page ID 16316 only */


/* ── Call-To-Action (CTA) Custom Class Overrides ── */
.dmax-section-dark.dmax-cta p,
.dmax-section-dark .dmax-cta p,
.editor-styles-wrapper .dmax-section-dark.dmax-cta p,
.editor-styles-wrapper .dmax-section-dark .dmax-cta p {
    color: #e1e1e1 !important;
}

/* ── Premium Learn More Card Grid Overrides ── */
.dmax-learn-card,
.editor-styles-wrapper .dmax-learn-card {
    box-shadow: 0 8px 24px rgba(8, 38, 60, 0.04) !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.dmax-learn-card:hover,
.editor-styles-wrapper .dmax-learn-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(60, 188, 230, 0.6) !important;
    /* Brand Cyan highlight border on hover */
    box-shadow: 0 16px 36px rgba(8, 38, 60, 0.1) !important;
}

.dmax-learn-card .kt-adv-heading {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.dmax-learn-card p,
.editor-styles-wrapper .dmax-learn-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: var(--global-palette5, #596579) !important;
    margin-bottom: 0 !important;
}

.dmax-learn-card a,
.editor-styles-wrapper .dmax-learn-card a {
    color: var(--global-palette1, #155492) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.dmax-learn-card a:hover,
.editor-styles-wrapper .dmax-learn-card a:hover {
    color: var(--global-palette3, #3cbce6) !important;
}

/* Zero out padding and columns gap for Learn More Section to tighten layout */
.dmax-learn-more-section,
.editor-styles-wrapper .dmax-learn-more-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dmax-learn-more-section .kt-row-column-wrap,
.editor-styles-wrapper .dmax-learn-more-section .kt-row-column-wrap {
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Increase bottom margin of testimonials section title to separate from slider */
.kt-adv-headingxg-testimonials-title,
.xg-testimonials-title,
.editor-styles-wrapper .kt-adv-headingxg-testimonials-title,
.editor-styles-wrapper .xg-testimonials-title {
    margin-bottom: 45px !important;
}

/* ── Footnote Disclaimers Reusable Component ────────────────── */
.dmax-disclaimer-card,
.editor-styles-wrapper .dmax-disclaimer-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin: 1em 0 2rem;
    padding: 1.5rem;
    background: #f4f7fb;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(11, 31, 51, 0.04);
}

.dmax-disclaimer-card::before,
.editor-styles-wrapper .dmax-disclaimer-card::before {
    content: "";
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23155492'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 4px;
}

/* CSS Grid container to arrange disclaimers in exactly 1 columns on desktop */
.dmax-disclaimer-text,
.editor-styles-wrapper .dmax-disclaimer-text {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.dmax-disclaimer-text p,
.single-content .dmax-disclaimer-text p,
.editor-styles-wrapper .dmax-disclaimer-text p {
    margin-bottom: 0 !important;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--global-palette5, #4a5568);
}

@media (max-width: 767px) {

    .dmax-disclaimer-card,
    .editor-styles-wrapper .dmax-disclaimer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .dmax-disclaimer-card::before,
    .editor-styles-wrapper .dmax-disclaimer-card::before {
        margin-top: 0;
    }

    .dmax-disclaimer-text,
    .editor-styles-wrapper .dmax-disclaimer-text {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dmax-disclaimer-text p,
    .editor-styles-wrapper .dmax-disclaimer-text p {
        border-bottom: 1px solid rgba(11, 31, 51, 0.08);
        padding-bottom: 12px;
    }

    .dmax-disclaimer-text p:last-child,
    .editor-styles-wrapper .dmax-disclaimer-text p:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}
