/* =========================================================
   CAZADOR DE BONOS - EDITORIAL UI v1.0.1
   Scoped to body.cdb-editorial-ui
   ========================================================= */

.cdb-editorial-ui {
    --cdb-green: #10B981;
    --cdb-green-dark: #047857;
    --cdb-green-deep: #065F46;
    --cdb-green-soft: #ECFDF5;
    --cdb-green-light: #D1FAE5;
    --cdb-green-border: #A7F3D0;
    --cdb-gold: #F59E0B;
    --cdb-gold-dark: #B45309;
    --cdb-gold-soft: #FFFBEB;
    --cdb-gold-border: #FDE68A;
    --cdb-heading: #0F172A;
    --cdb-text: #334155;
    --cdb-muted: #64748B;
    --cdb-surface: #FFFFFF;
    --cdb-soft: #F8FAFC;
    --cdb-border: #E2E8F0;
    --cdb-radius: 14px;
    --cdb-radius-lg: 16px;
    --cdb-shadow-soft: 0 8px 28px rgba(15, 23, 42, .06);
}

/* =========================================================
   EDITORIAL CONTENT
   ========================================================= */

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) {
    color: var(--cdb-text);
    font-size: 18px;
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) p:not(.fw):not(.fw *) {
    margin: 0 0 1.35em !important;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) h2:not(.fw):not(.fw *) {
    margin: 2.12em 0 .72em !important;
    color: var(--cdb-heading);
    font-size: clamp(27px, 2.1vw, 32px);
    line-height: 1.22;
    letter-spacing: -.025em;
    font-weight: 760;
    text-wrap: wrap;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) h3:not(.fw):not(.fw *) {
    margin: 1.72em 0 .64em !important;
    color: #182235;
    font-size: clamp(21px, 1.7vw, 24px);
    line-height: 1.3;
    letter-spacing: -.018em;
    font-weight: 720;
    text-wrap: wrap;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) h4:not(.fw):not(.fw *) {
    margin: 1.5em 0 .55em !important;
    color: #182235;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) strong:not(.fw):not(.fw *),
.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) b:not(.fw):not(.fw *) {
    color: var(--cdb-heading);
    font-weight: 700;
}

/* Dark green is used for body links to preserve contrast on white. */
.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) a:not(.fw):not(.fw *):not(.elementor-button):not(.wp-block-button__link):not(.rank-math-breadcrumb a) {
    color: var(--cdb-green-dark);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(4, 120, 87, .28);
    text-underline-offset: 3px;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) a:not(.fw):not(.fw *):not(.elementor-button):not(.wp-block-button__link):not(.rank-math-breadcrumb a):hover {
    color: var(--cdb-green-deep);
    text-decoration-color: currentColor;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) a:not(.fw):not(.fw *):focus-visible {
    outline: 3px solid rgba(16, 185, 129, .22);
    outline-offset: 3px;
    border-radius: 3px;
}

/* =========================================================
   ACF INTRO FIELDS
   primer_texto_arriba + introduccion
   ========================================================= */

.cdb-editorial-ui .cdb-entry-intro-widget,
.cdb-editorial-ui .cdb-entry-intro-widget .elementor-widget-container,
.cdb-editorial-ui .cdb-entry-intro-widget .elementor-text-editor,
.cdb-editorial-ui .cdb-entry-intro-widget p,
.cdb-editorial-ui .cdb-entry-intro-widget li {
    color: var(--cdb-text) !important;
    font-size: 18px !important;
    line-height: 1.78 !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.cdb-editorial-ui .cdb-entry-intro-widget p {
    margin: 0 0 1.35em !important;
}

.cdb-editorial-ui .cdb-entry-intro-widget p:last-child {
    margin-bottom: 0 !important;
}

.cdb-editorial-ui .cdb-entry-intro-widget strong,
.cdb-editorial-ui .cdb-entry-intro-widget b {
    color: var(--cdb-heading) !important;
    font-weight: 700;
}

.cdb-editorial-ui .cdb-entry-intro-widget a:not(.elementor-button) {
    color: var(--cdb-green-dark) !important;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(4, 120, 87, .28);
    text-underline-offset: 3px;
}

.cdb-editorial-ui .cdb-entry-intro-widget a:not(.elementor-button):hover {
    color: var(--cdb-green-deep) !important;
    text-decoration-color: currentColor;
}

.cdb-editorial-ui .cdb-entry-intro-widget :is(ul, ol) {
    margin: .25em 0 1.45em !important;
    padding-left: 1.35em !important;
}

.cdb-editorial-ui .cdb-entry-intro-widget li {
    margin-bottom: .58em !important;
    padding-left: .15em;
}

.cdb-editorial-ui .cdb-entry-intro-widget li::marker {
    color: var(--cdb-green);
    font-weight: 700;
}

/* =========================================================
   LISTS
   ========================================================= */

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) :is(ul, ol):not(.fw):not(.fw *) {
    margin: .25em 0 1.45em !important;
    padding-left: 1.35em !important;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) li:not(.fw):not(.fw *) {
    margin-bottom: .58em !important;
    padding-left: .15em;
    line-height: 1.72;
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) li:not(.fw):not(.fw *)::marker {
    color: var(--cdb-green);
    font-weight: 700;
}

/* =========================================================
   BLOCKQUOTES AND CALLOUTS
   ========================================================= */

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) blockquote:not(.fw):not(.fw *) {
    margin: 30px 0 !important;
    padding: 20px 24px !important;
    color: var(--cdb-text);
    background: linear-gradient(135deg, #FFFFFF 0%, var(--cdb-green-soft) 65%, var(--cdb-gold-soft) 100%);
    border: 1px solid var(--cdb-green-light) !important;
    border-left: 4px solid var(--cdb-green) !important;
    border-radius: var(--cdb-radius);
    box-shadow: 0 8px 25px rgba(15, 23, 42, .055);
}

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) blockquote:not(.fw):not(.fw *) > :last-child {
    margin-bottom: 0 !important;
}

.cdb-editorial-ui .cdb-callout:not(.fw):not(.fw *),
.cdb-editorial-ui .mce-indent:not(.fw):not(.fw *),
.cdb-editorial-ui p[style*="padding-left"]:not(.fw):not(.fw *) {
    position: relative;
    margin: 28px 0 !important;
    padding: 20px 24px !important;
    color: var(--cdb-text) !important;
    background: linear-gradient(135deg, var(--cdb-green-soft) 0%, #FFFFFF 72%, var(--cdb-gold-soft) 100%) !important;
    border: 1px solid var(--cdb-green-light) !important;
    border-left: 4px solid var(--cdb-green) !important;
    border-radius: var(--cdb-radius);
    box-shadow: 0 7px 24px rgba(15, 23, 42, .055);
}

.cdb-editorial-ui .mce-indent:not(.fw):not(.fw *) p,
.cdb-editorial-ui p.mce-indent:not(.fw):not(.fw *),
.cdb-editorial-ui .cdb-callout:not(.fw):not(.fw *) > :last-child {
    margin-bottom: 0 !important;
}

.cdb-editorial-ui .mce-indent:not(.fw):not(.fw *) strong,
.cdb-editorial-ui p[style*="padding-left"]:not(.fw):not(.fw *) strong,
.cdb-editorial-ui .cdb-callout:not(.fw):not(.fw *) strong {
    color: var(--cdb-heading) !important;
}

/* =========================================================
   SEPARATORS
   ========================================================= */

.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) :is(
    hr,
    .wp-block-separator,
    .elementor-divider-separator,
    .separator,
    .hr
):not(.fw):not(.fw *) {
    margin: 40px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    min-height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(16, 185, 129, 0),
        rgba(16, 185, 129, .32) 32%,
        rgba(16, 185, 129, .26) 58%,
        rgba(245, 158, 11, .28) 76%,
        rgba(245, 158, 11, 0)
    ) !important;
    box-shadow: none !important;
    border-radius: 999px !important;
    opacity: 1 !important;
}

/* =========================================================
   TABLES
   ========================================================= */

.cdb-editorial-ui .table-container,
.cdb-editorial-ui .cdb-table-container {
    width: 100%;
    margin: 1rem 0 2rem;
}

.cdb-editorial-ui .table-toolbar,
.cdb-editorial-ui .cdb-table-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cdb-editorial-ui .table-copy-btn,
.cdb-editorial-ui .cdb-table-copy-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--cdb-green-dark);
    border: 1px solid var(--cdb-green-border);
    padding: 7px 13px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .055);
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cdb-editorial-ui .table-copy-btn:hover,
.cdb-editorial-ui .cdb-table-copy-btn:hover {
    background: var(--cdb-green-soft);
    border-color: #6EE7B7;
    color: var(--cdb-green-deep);
    box-shadow: 0 5px 14px rgba(16, 185, 129, .10);
}

.cdb-editorial-ui .table-copy-btn:active,
.cdb-editorial-ui .cdb-table-copy-btn:active {
    transform: translateY(1px);
}

.cdb-editorial-ui .table-copy-btn:focus-visible,
.cdb-editorial-ui .cdb-table-copy-btn:focus-visible {
    outline: 3px solid rgba(16, 185, 129, .22);
    outline-offset: 2px;
}

.cdb-editorial-ui :is(
    .table-wrapper,
    .cdb-table-scroll,
    figure.wp-block-table
):not(.fw *) {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--cdb-surface);
    border: 1px solid var(--cdb-border);
    border-radius: var(--cdb-radius-lg);
    box-shadow: var(--cdb-shadow-soft);
    scrollbar-width: thin;
    scrollbar-color: #A7F3D0 transparent;
}

.cdb-editorial-ui :is(
    .table-wrapper,
    .cdb-table-scroll,
    figure.wp-block-table
):not(.fw *)::-webkit-scrollbar {
    height: 9px;
}

.cdb-editorial-ui :is(
    .table-wrapper,
    .cdb-table-scroll,
    figure.wp-block-table
):not(.fw *)::-webkit-scrollbar-track {
    background: transparent;
}

.cdb-editorial-ui :is(
    .table-wrapper,
    .cdb-table-scroll,
    figure.wp-block-table
):not(.fw *)::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #A7F3D0, #FDE68A);
    border: 2px solid #FFFFFF;
    border-radius: 999px;
}

.cdb-editorial-ui :is(
    .table-wrapper,
    .cdb-table-scroll,
    figure.wp-block-table
):not(.fw *)::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #6EE7B7, #FCD34D);
}

.cdb-editorial-ui :is(
    .table-wrapper,
    .cdb-table-scroll,
    figure.wp-block-table
):not(.fw *) table {
    width: 100% !important;
    min-width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto;
    color: var(--cdb-text);
    background: var(--cdb-surface) !important;
    font-size: 15px;
    line-height: 1.55;
}

/* Wider only when the number of columns actually needs it. */
.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *):has(tr > :nth-child(6)) table {
    min-width: 980px !important;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *):has(tr > :nth-child(3)):not(:has(tr > :nth-child(6))) table {
    min-width: 720px !important;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) thead th,
.cdb-editorial-ui figure.wp-block-table:not(.fw *) tbody > tr:first-child > th {
    background: linear-gradient(180deg, #ECFDF5 0%, #F8FFFC 100%) !important;
    color: var(--cdb-heading) !important;
    font-weight: 700 !important;
    padding: 15px 18px !important;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    line-height: 1.4;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 2px solid var(--cdb-green-border) !important;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) td {
    padding: 15px 18px !important;
    vertical-align: top;
    color: var(--cdb-text) !important;
    line-height: 1.58;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--cdb-border) !important;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) tbody td:first-child {
    color: var(--cdb-heading) !important;
    font-weight: 700;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) tbody tr:nth-child(odd) > td {
    background: #FFFFFF !important;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) tbody tr:nth-child(even) > td {
    background: #FBFDFC !important;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) tbody tr:hover > td {
    background: #F0FDF4 !important;
}

.cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) tbody tr:last-child > td {
    border-bottom: 0 !important;
}

/* Fallback for bare tables outside a Gutenberg figure or custom wrapper. */
.cdb-editorial-ui :where(
    .elementor-widget-theme-post-content,
    .entry-content,
    .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container
) > table:not(.fw):not(.fw *) {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    margin: 1.25rem 0 1.8rem !important;
    border: 1px solid var(--cdb-border) !important;
    border-radius: var(--cdb-radius-lg);
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #FFFFFF !important;
    box-shadow: var(--cdb-shadow-soft);
}


/* =========================================================
   ELEMENTOR SECTION / CONTAINER TABLES
   Catches editorial tables placed directly in a Text Editor
   widget inside Elementor sections/containers, not only the
   Theme Post Content widget.
   ========================================================= */

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    margin: 1.25rem 0 1.8rem !important;
    border: 1px solid var(--cdb-border) !important;
    border-radius: var(--cdb-radius-lg);
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #FFFFFF !important;
    box-shadow: var(--cdb-shadow-soft);
    color: var(--cdb-text);
    font-size: 15px;
    line-height: 1.55;
    scrollbar-width: thin;
    scrollbar-color: #A7F3D0 transparent;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *):has(tr > :nth-child(6)) {
    min-width: 980px !important;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *):has(tr > :nth-child(3)):not(:has(tr > :nth-child(6))) {
    min-width: 720px !important;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) th {
    background: linear-gradient(180deg, #ECFDF5 0%, #F8FFFC 100%) !important;
    color: var(--cdb-heading) !important;
    font-weight: 700 !important;
    padding: 15px 18px !important;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    line-height: 1.4;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 2px solid var(--cdb-green-border) !important;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) td {
    padding: 15px 18px !important;
    vertical-align: top;
    color: var(--cdb-text) !important;
    line-height: 1.58;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--cdb-border) !important;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) tbody td:first-child {
    color: var(--cdb-heading) !important;
    font-weight: 700;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) tbody tr:nth-child(odd) > td {
    background: #FFFFFF !important;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) tbody tr:nth-child(even) > td {
    background: #FBFDFC !important;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) tbody tr:hover > td {
    background: #F0FDF4 !important;
}

.cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) tbody tr:last-child > td {
    border-bottom: 0 !important;
}

/* =========================================================
   RANK MATH BREADCRUMBS
   ========================================================= */

.cdb-editorial-ui .rank-math-breadcrumb-wrapper {
    margin-bottom: 0 !important;
    padding: 8px 13px !important;
    background: var(--cdb-soft) !important;
    border: 1px solid var(--cdb-border) !important;
    border-radius: 12px !important;
}

.cdb-editorial-ui .rank-math-breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cdb-muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.cdb-editorial-ui .rank-math-breadcrumb p {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.cdb-editorial-ui .rank-math-breadcrumb a {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cdb-green-dark) !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.cdb-editorial-ui .rank-math-breadcrumb a:hover {
    color: var(--cdb-green-deep) !important;
}

.cdb-editorial-ui .rank-math-breadcrumb .separator {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 3px !important;
    padding: 0 !important;
    color: #94A3B8 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.cdb-editorial-ui .rank-math-breadcrumb .last {
    color: var(--cdb-heading) !important;
    font-weight: 600 !important;
}

/* =========================================================
   PROTECT SITE COMPONENTS
   ========================================================= */

.cdb-editorial-ui .elementor .fw {
    line-height: 1.5 !important;
    margin: 1.75rem auto !important;
}

.cdb-editorial-ui .elementor .fw,
.cdb-editorial-ui .elementor .fw * {
    box-sizing: border-box !important;
}

.cdb-editorial-ui .elementor .fw p,
.cdb-editorial-ui .elementor .fw ul,
.cdb-editorial-ui .elementor .fw ol,
.cdb-editorial-ui .elementor .fw li,
.cdb-editorial-ui .elementor .fw h1,
.cdb-editorial-ui .elementor .fw h2,
.cdb-editorial-ui .elementor .fw h3,
.cdb-editorial-ui .elementor .fw h4,
.cdb-editorial-ui .elementor .fw h5,
.cdb-editorial-ui .elementor .fw h6 {
    line-height: inherit !important;
}

.cdb-editorial-ui .elementor .fw p {
    margin-top: 0 !important;
}

.cdb-editorial-ui .elementor .fw .fw-cv-title {
    margin: 0 0 6px !important;
    line-height: 1.3 !important;
}

.cdb-editorial-ui .elementor .fw .fw-cv-desc {
    margin: 0 0 14px !important;
}

.cdb-editorial-ui .elementor .fw .fw-cv-benefits {
    margin: 0 0 16px !important;
    padding: 0 !important;
    list-style: none !important;
}

.cdb-editorial-ui .elementor .fw .fw-cv-benefits li {
    margin: 0 !important;
}

.cdb-editorial-ui .elementor .fw .fw-cv-benefits li::marker {
    color: inherit !important;
}

.cdb-editorial-ui .elementor .fw .fw-cv-foot {
    margin: 10px 0 0 !important;
}

.cdb-editorial-ui .elementor .fw a,
.cdb-editorial-ui .elementor .fw a:hover,
.cdb-editorial-ui .elementor .fw a:focus,
.cdb-editorial-ui .elementor .fw a:focus-visible {
    text-decoration: none !important;
    outline: none !important;
}

.cdb-editorial-ui .elementor .fw .fw-cv-cta,
.cdb-editorial-ui .elementor .fw .fw-cv-cta:focus,
.cdb-editorial-ui .elementor .fw .fw-cv-cta:focus-visible {
    outline: none !important;
    box-shadow: 0 7px 18px -4px rgba(16, 185, 129, .30) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .cdb-editorial-ui :where(
        .elementor-widget-theme-post-content,
        .entry-content
    ),
    .cdb-editorial-ui .cdb-entry-intro-widget,
    .cdb-editorial-ui .cdb-entry-intro-widget .elementor-widget-container,
    .cdb-editorial-ui .cdb-entry-intro-widget .elementor-text-editor,
    .cdb-editorial-ui .cdb-entry-intro-widget p,
    .cdb-editorial-ui .cdb-entry-intro-widget li {
        font-size: 17px !important;
        line-height: 1.74 !important;
    }

    .cdb-editorial-ui :where(
        .elementor-widget-theme-post-content,
        .entry-content
    ) h2:not(.fw):not(.fw *) {
        margin-top: 1.9em !important;
        font-size: 25px;
        line-height: 1.24;
    }

    .cdb-editorial-ui :where(
        .elementor-widget-theme-post-content,
        .entry-content
    ) h3:not(.fw):not(.fw *) {
        margin-top: 1.55em !important;
        font-size: 20px;
        line-height: 1.32;
    }

    .cdb-editorial-ui .cdb-callout:not(.fw):not(.fw *),
    .cdb-editorial-ui .mce-indent:not(.fw):not(.fw *),
    .cdb-editorial-ui p[style*="padding-left"]:not(.fw):not(.fw *),
    .cdb-editorial-ui :where(
        .elementor-widget-theme-post-content,
        .entry-content
    ) blockquote:not(.fw):not(.fw *) {
        padding: 18px !important;
        border-radius: 12px;
    }

    .cdb-editorial-ui :is(
        .table-wrapper,
        .cdb-table-scroll,
        figure.wp-block-table
    ):not(.fw *) {
        border-radius: 13px;
    }

    .cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) thead th,
    .cdb-editorial-ui figure.wp-block-table:not(.fw *) tbody > tr:first-child > th,
    .cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *) td {
        padding: 13px 14px !important;
    }

    .cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *):has(tr > :nth-child(6)) table {
        min-width: 880px !important;
    }

    .cdb-editorial-ui :is(.table-wrapper, .cdb-table-scroll, figure.wp-block-table):not(.fw *):has(tr > :nth-child(3)):not(:has(tr > :nth-child(6))) table {
        min-width: 650px !important;
    }


    .cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) {
        border-radius: 13px;
    }

    .cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) th,
    .cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *) td {
        padding: 13px 14px !important;
    }

    .cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *):has(tr > :nth-child(6)) {
        min-width: 880px !important;
    }

    .cdb-editorial-ui .elementor-location-single .elementor-widget-text-editor > .elementor-widget-container > table:not(.fw):not(.fw *):has(tr > :nth-child(3)):not(:has(tr > :nth-child(6))) {
        min-width: 650px !important;
    }

    .cdb-editorial-ui .rank-math-breadcrumb {
        font-size: 13px !important;
    }

    .cdb-editorial-ui .rank-math-breadcrumb p {
        gap: 4px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cdb-editorial-ui *,
    .cdb-editorial-ui *::before,
    .cdb-editorial-ui *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
