:root {
    --bdm-black: #0d0d0f;
    --bdm-panel: #171719;
    --bdm-panel-soft: #202024;
    --bdm-yellow: #f4d928;
    --bdm-yellow-deep: #d8bd0f;
    --bdm-white: #f7f7f5;
    --bdm-muted: #b8b8b2;
    --bdm-ink: #171717;
    --bdm-line: rgba(255, 255, 255, 0.12);
    --bdm-radius: 16px;
    --bdm-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

body.bdm-visual-refresh {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.bdm-visual-refresh a[href="tel:18004585697"] {
    display: none !important;
}

body.bdm-visual-refresh .bdm-contrast-light,
body.bdm-visual-refresh .bdm-contrast-light * {
    color: var(--bdm-white) !important;
}

body.bdm-visual-refresh .bdm-contrast-dark,
body.bdm-visual-refresh .bdm-contrast-dark * {
    color: var(--bdm-ink) !important;
}

/* Legacy quiz and email funnel */
body.bdm-funnel-refresh,
body.bdm-funnel-refresh .page_wrap,
body.bdm-funnel-refresh .page_content_wrap {
    background: var(--bdm-black) !important;
}

body.bdm-funnel-refresh .page_content_wrap {
    padding-top: clamp(42px, 5vw, 76px);
    padding-bottom: clamp(56px, 7vw, 96px);
}

body.bdm-funnel-refresh .content_wrap,
body.bdm-funnel-refresh .content,
body.bdm-funnel-refresh article.post_item_single,
body.bdm-funnel-refresh .post_content {
    width: 100% !important;
    max-width: none !important;
}

body.bdm-funnel-refresh #tve_editor {
    box-sizing: border-box;
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto !important;
    color: #e5e5e2;
}

body.bdm-funnel-refresh #tve_editor p,
body.bdm-funnel-refresh #tve_editor li {
    line-height: 1.55 !important;
}

body.bdm-funnel-refresh #tve_editor a:not(.tcb-button-link) {
    color: var(--bdm-yellow);
    text-underline-offset: 3px;
}

body.bdm-funnel-refresh #tve_editor > .thrv_text_element {
    max-width: 920px;
    margin-inline: auto !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-0 {
    margin-bottom: 20px !important;
    letter-spacing: -0.02em;
}

body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-0 > p {
    margin: 0 !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-0 > p:first-child,
body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-0 > p:first-child strong,
body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-0 > p:first-child span {
    font-size: clamp(28px, 4vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-0 > p:not(:first-child),
body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-0 > p:not(:first-child) * {
    margin-top: 20px !important;
    color: var(--bdm-muted) !important;
    font-size: clamp(18px, 2vw, 22px) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-1 {
    margin-bottom: 28px !important;
    color: var(--bdm-muted) !important;
    font-size: clamp(18px, 2.2vw, 25px) !important;
    line-height: 1.38 !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-funnel-intro-2 {
    margin-bottom: 28px !important;
}

body.page-id-1502 #tve_editor .bdm-funnel-intro-0,
body.page-id-2680 #tve_editor .bdm-funnel-intro-0 {
    max-width: 780px;
}

body.page-id-1502 #tve_editor .bdm-funnel-intro-0 > p:first-child,
body.page-id-1502 #tve_editor .bdm-funnel-intro-0 > p:first-child *,
body.page-id-2680 #tve_editor .bdm-funnel-intro-0 > p:first-child,
body.page-id-2680 #tve_editor .bdm-funnel-intro-0 > p:first-child * {
    color: var(--bdm-white) !important;
    font-size: clamp(23px, 3vw, 34px) !important;
    font-weight: 500 !important;
    line-height: 1.28 !important;
}

body.page-id-1502 #tve_editor .bdm-funnel-intro-0 > p:nth-child(2),
body.page-id-1502 #tve_editor .bdm-funnel-intro-0 > p:nth-child(2) *,
body.page-id-2680 #tve_editor .bdm-funnel-intro-0 > p:nth-child(2),
body.page-id-2680 #tve_editor .bdm-funnel-intro-0 > p:nth-child(2) * {
    color: var(--bdm-yellow) !important;
    font-size: clamp(27px, 4vw, 44px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em;
    line-height: 1.06 !important;
    text-wrap: balance;
}

body.page-id-1502 #tve_editor .bdm-funnel-intro-1,
body.page-id-1502 #tve_editor .bdm-funnel-intro-1 *,
body.page-id-2680 #tve_editor .bdm-funnel-intro-1,
body.page-id-2680 #tve_editor .bdm-funnel-intro-1 * {
    color: var(--bdm-white) !important;
    font-size: clamp(19px, 2vw, 24px) !important;
    line-height: 1.38 !important;
}

body.page-id-1502 #tve_editor > .tve_image_caption:first-child img,
body.page-id-2680 #tve_editor > .tve_image_caption:first-child img {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.9;
}

body.bdm-funnel-refresh #tve_editor > .thrv_responsive_video,
body.bdm-funnel-refresh #tve_editor .thrv_responsive_video {
    overflow: hidden;
    border: 1px solid rgba(244, 217, 40, 0.3);
    border-radius: var(--bdm-radius);
    box-shadow: var(--bdm-shadow);
}

body.bdm-funnel-refresh #tve_editor .tve_image_caption img {
    height: auto;
    border-radius: 12px;
}

body.bdm-funnel-refresh #tve_editor .img_style_polaroid,
body.bdm-funnel-refresh #tve_editor .img_style_framed {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

body.bdm-funnel-refresh #tve_editor .tve-content-box-background {
    border-color: rgba(244, 217, 40, 0.28) !important;
    border-radius: var(--bdm-radius) !important;
    box-shadow: var(--bdm-shadow);
}

body.bdm-funnel-refresh #tve_editor .thrv-content-box {
    border-radius: var(--bdm-radius);
}

body.bdm-funnel-refresh #tve_editor .tcb-flex-row {
    gap: clamp(18px, 3vw, 34px);
}

body.bdm-funnel-refresh #tve_editor .thrv-button .tcb-button-link,
body.bdm-funnel-refresh #tve_editor a.tcb-button-link {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bdm-yellow) !important;
    box-shadow: 0 10px 28px rgba(244, 217, 40, 0.22) !important;
    color: var(--bdm-ink) !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
    transition: transform 160ms ease, background-color 160ms ease;
}

body.bdm-funnel-refresh #tve_editor .thrv-button .tcb-button-link:hover,
body.bdm-funnel-refresh #tve_editor a.tcb-button-link:hover {
    background: #ffe65b !important;
    transform: translateY(-2px);
}

body.bdm-funnel-refresh #tve_editor .thrv-divider {
    border-color: var(--bdm-line) !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-empty-copy-line {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bdm-retired-section {
    display: none !important;
}

.bdm-retired-section * {
    display: none !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-progress {
    display: grid;
    max-width: 900px;
    margin: 8px auto 34px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

body.bdm-funnel-refresh #tve_editor .bdm-progress-card {
    display: grid;
    min-height: 128px;
    box-sizing: border-box;
    align-content: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: var(--bdm-panel);
    text-align: left;
}

body.bdm-funnel-refresh #tve_editor .bdm-progress-card.is-current {
    border-color: var(--bdm-yellow);
    background: var(--bdm-yellow);
    color: var(--bdm-ink);
}

body.bdm-funnel-refresh #tve_editor .bdm-progress-card.is-complete {
    border-color: rgba(244, 217, 40, 0.42);
}

body.bdm-funnel-refresh #tve_editor .bdm-progress-number {
    color: var(--bdm-yellow);
    font-size: 14px;
    font-weight: 900;
}

body.bdm-funnel-refresh #tve_editor .is-current .bdm-progress-number,
body.bdm-funnel-refresh #tve_editor .is-current .bdm-progress-label,
body.bdm-funnel-refresh #tve_editor .is-current .bdm-progress-state {
    color: var(--bdm-ink) !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-progress-label {
    margin-top: 4px;
    color: var(--bdm-white);
    font-size: 22px;
    font-weight: 900;
}

body.bdm-funnel-refresh #tve_editor .bdm-progress-state {
    margin-top: 2px;
    color: var(--bdm-muted);
    font-size: 13px;
}

body.page-id-1554 #tve_editor > .thrv-button {
    width: min(760px, 100%) !important;
    margin-inline: auto !important;
}

body.page-id-1554 #tve_editor > .thrv-button .tcb-button-link {
    min-height: 0 !important;
    padding: 18px 28px !important;
}

body.page-id-1554 #tve_editor > .thrv-button .tcb-button-texts,
body.page-id-1554 #tve_editor > .thrv-button .tcb-button-texts * {
    font-size: clamp(17px, 2vw, 24px) !important;
    line-height: 1.15 !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-resource-panel,
body.bdm-funnel-refresh #tve_editor .bdm-benefit-summary {
    max-width: 980px;
    box-sizing: border-box;
    margin: 40px auto !important;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(244, 217, 40, 0.28);
    border-radius: 18px;
    background: var(--bdm-panel);
    box-shadow: var(--bdm-shadow);
}

body.bdm-funnel-refresh #tve_editor .bdm-resource-panel h2,
body.bdm-funnel-refresh #tve_editor .bdm-benefit-summary h2 {
    margin: 0 0 12px;
    color: var(--bdm-white) !important;
    font-size: clamp(30px, 4vw, 48px) !important;
    line-height: 1.06 !important;
}

body.bdm-funnel-refresh #tve_editor .bdm-kicker {
    margin: 0 0 8px !important;
    color: var(--bdm-yellow) !important;
    font-size: 14px !important;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.bdm-funnel-refresh #tve_editor .bdm-resource-grid,
body.bdm-funnel-refresh #tve_editor .bdm-benefit-grid {
    display: grid;
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.bdm-funnel-refresh #tve_editor .bdm-resource-grid a,
body.bdm-funnel-refresh #tve_editor .bdm-benefit-grid article {
    display: grid;
    min-height: 150px;
    box-sizing: border-box;
    align-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: var(--bdm-panel-soft);
    color: var(--bdm-white) !important;
    text-decoration: none;
}

body.bdm-funnel-refresh #tve_editor .bdm-resource-grid strong,
body.bdm-funnel-refresh #tve_editor .bdm-benefit-grid strong {
    color: var(--bdm-yellow) !important;
    font-size: 20px;
}

body.bdm-funnel-refresh #tve_editor .bdm-resource-grid span,
body.bdm-funnel-refresh #tve_editor .bdm-benefit-grid span {
    margin-top: 8px;
    color: var(--bdm-muted) !important;
    line-height: 1.5;
}

body.page-id-1502 #tve_editor > .thrv_contentbox_shortcode,
body.page-id-2680 #tve_editor > .thrv_contentbox_shortcode {
    max-width: 980px;
    margin-inline: auto !important;
}

body.page-id-1502 #tve_editor > .tve_image_caption figcaption,
body.page-id-2680 #tve_editor > .tve_image_caption figcaption {
    color: #d7d7d2 !important;
    font-size: 16px !important;
}

body.page-id-3940 #tve_editor > .thrv_text_element,
body.page-id-3940 #tve_editor > .thrv-numbered_list,
body.page-id-3940 #tve_editor > .tve_image_caption,
body.page-id-3940 #tve_editor > .thrv-page-section {
    max-width: 940px;
    margin-inline: auto !important;
}

body.page-id-3940 #tve_editor h2,
body.page-id-3940 #tve_editor h3,
body.page-id-3940 #tve_editor .thrv_text_element strong {
    font-size: clamp(24px, 3vw, 38px) !important;
    line-height: 1.12 !important;
}

body.page-id-3940 #tve_editor .tve_image_caption img,
body.page-id-3940 #tve_editor .thrv-page-section img {
    width: 100% !important;
    max-width: 1000px !important;
}

body.page-id-3940 #tve_editor .bdm-whitelist-guide {
    display: grid;
    max-width: 940px;
    margin: 34px auto 10px;
    gap: 22px;
}

body.page-id-3940 #tve_editor .bdm-whitelist-method {
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px) !important;
    border: 1px solid rgba(244, 217, 40, 0.24);
    border-radius: 18px;
    background: var(--bdm-panel) !important;
    box-shadow: var(--bdm-shadow);
}

body.page-id-3940 #tve_editor .bdm-whitelist-method .thrv-page-section,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-page-section-out,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-page-section-in,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-content-box-background {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    clip-path: none !important;
    mask-image: none !important;
}

body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-page-section-out::before,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-page-section-out::after,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-page-section-in::before,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-page-section-in::after,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-content-box-background::before,
body.page-id-3940 #tve_editor .bdm-whitelist-method .tve-content-box-background::after {
    display: none !important;
    content: none !important;
}

body.page-id-3940 #tve_editor .bdm-whitelist-method .thrv_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

body.page-id-3940 #tve_editor .bdm-whitelist-method .tcb-flex-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-inline: 0 !important;
}

body.page-id-3940 #tve_editor .bdm-whitelist-method p,
body.page-id-3940 #tve_editor .bdm-whitelist-method li,
body.page-id-3940 #tve_editor .bdm-whitelist-method span,
body.page-id-3940 #tve_editor .bdm-whitelist-method strong {
    line-height: 1.5 !important;
}

body.page-id-3940 #tve_editor .bdm-whitelist-method p,
body.page-id-3940 #tve_editor .bdm-whitelist-method li {
    margin-bottom: 0.72em !important;
}

body.page-id-2855 #tve_editor > .thrv-page-section,
body.page-id-2855 #tve_editor > .thrv-columns {
    overflow: hidden;
    max-width: 1100px;
    box-sizing: border-box;
    margin: 22px auto !important;
    padding: clamp(30px, 5vw, 64px) !important;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: var(--bdm-panel) !important;
    box-shadow: var(--bdm-shadow);
}

body.page-id-2855 #tve_editor .tve-page-section-out,
body.page-id-2855 #tve_editor .tve-page-section-in,
body.page-id-2855 #tve_editor .tve-content-box-background {
    background-color: transparent !important;
    background-image: none !important;
    clip-path: none !important;
}

body.page-id-2855 #tve_editor .tve-page-section-out > svg {
    display: none !important;
}

body.page-id-2855 #tve_editor h1,
body.page-id-2855 #tve_editor h2,
body.page-id-2855 #tve_editor h3,
body.page-id-2855 #tve_editor p,
body.page-id-2855 #tve_editor li,
body.page-id-2855 #tve_editor span,
body.page-id-2855 #tve_editor strong {
    color: var(--bdm-white) !important;
    text-shadow: none !important;
}

body.page-id-2855 #tve_editor > .thrv-page-section:nth-child(5) .tcb-flex-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
}

body.page-id-2855 #tve_editor > .thrv-page-section:nth-child(5) .tcb-flex-col {
    width: 100% !important;
    max-width: none !important;
}

body.page-id-2855 #tve_editor > .thrv-page-section:nth-child(5) img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

body.page-id-1514 #tve_editor blockquote[data-instgrm-permalink],
body.page-id-1520 #tve_editor blockquote[data-instgrm-permalink],
body.page-id-1527 #tve_editor blockquote[data-instgrm-permalink],
body.page-id-1514 #tve_editor iframe[src*="instagram.com"],
body.page-id-1520 #tve_editor iframe[src*="instagram.com"],
body.page-id-1527 #tve_editor iframe[src*="instagram.com"] {
    display: none !important;
}

body.page-id-1520 #tve_editor font[color="#2d3142"] {
    color: var(--bdm-yellow) !important;
}

body.page-id-1502 #tve_editor .thrv_text_element > p,
body.page-id-2680 #tve_editor .thrv_text_element > p {
    margin-bottom: 0.7em !important;
}

body.page-id-1502 #tve_editor .thrv_text_element p,
body.page-id-1502 #tve_editor .thrv_text_element li,
body.page-id-2680 #tve_editor .thrv_text_element p,
body.page-id-2680 #tve_editor .thrv_text_element li {
    font-size: clamp(17px, 1.7vw, 21px) !important;
    line-height: 1.55 !important;
}

body.page-id-1502 #tve_editor .thrv_text_element p *,
body.page-id-1502 #tve_editor .thrv_text_element li *,
body.page-id-2680 #tve_editor .thrv_text_element p *,
body.page-id-2680 #tve_editor .thrv_text_element li * {
    line-height: inherit !important;
}

body.page-id-1502 #tve_editor .thrv_text_element li,
body.page-id-2680 #tve_editor .thrv_text_element li {
    margin-bottom: 0.72em !important;
    line-height: 1.48 !important;
}

body.page-id-1502 #tve_editor .thrv_text_element li p,
body.page-id-1502 #tve_editor .thrv_text_element li span,
body.page-id-1502 #tve_editor .thrv_text_element li strong,
body.page-id-2680 #tve_editor .thrv_text_element li p,
body.page-id-2680 #tve_editor .thrv_text_element li span,
body.page-id-2680 #tve_editor .thrv_text_element li strong {
    margin: 0 !important;
}

body.page-id-1502 #tve_editor .thrv-styled_list .tcb-styled-list-icon-text,
body.page-id-1502 #tve_editor .thrv-styled_list .tcb-styled-list-icon-text *,
body.page-id-2680 #tve_editor .thrv-styled_list .tcb-styled-list-icon-text,
body.page-id-2680 #tve_editor .thrv-styled_list .tcb-styled-list-icon-text * {
    line-height: 1.48 !important;
}

body.page-id-1502 #tve_editor .thrv-styled_list .thrv-styled-list-item,
body.page-id-2680 #tve_editor .thrv-styled_list .thrv-styled-list-item {
    align-items: flex-start !important;
    margin-bottom: 0.72em !important;
}

body.page-id-1502 #tve_editor .thrv-styled_list .tcb-styled-list-icon,
body.page-id-2680 #tve_editor .thrv-styled_list .tcb-styled-list-icon {
    line-height: 1.48 !important;
}

body.page-id-1502 #tve_editor .thrv_text_element p[style*="text-align: center"] strong,
body.page-id-2680 #tve_editor .thrv_text_element p[style*="text-align: center"] strong {
    font-size: clamp(24px, 3.3vw, 39px) !important;
    line-height: 1.12 !important;
}

body.page-id-2855 #tve_editor .thrv_text_element {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Blog index and archives */
body.bdm-blog-refresh,
body.bdm-blog-refresh .page_wrap,
body.bdm-blog-refresh .page_content_wrap {
    background: #f3f3f0 !important;
}

body.bdm-blog-refresh .page_content_wrap {
    padding: clamp(52px, 6vw, 86px) 20px 90px;
}

body.bdm-blog-refresh .page_content_wrap::before {
    display: block;
    width: min(1180px, 100%);
    margin: 0 auto clamp(34px, 4vw, 52px);
    color: var(--bdm-ink);
    content: "LATEST FROM BULLDOG MINDSET";
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

body.bdm-blog-refresh .content_wrap {
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
}

body.bdm-blog-refresh .posts_container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

body.bdm-blog-refresh article.post_item {
    display: flex !important;
    min-width: 0;
    overflow: hidden;
    flex-direction: column !important;
    margin: 0 !important;
    border: 1px solid #e4e4df;
    border-radius: var(--bdm-radius);
    background: #fff;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body.bdm-blog-refresh article.post_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

body.bdm-blog-refresh article.post_item .post_featured {
    width: 100% !important;
    height: 320px !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    aspect-ratio: auto !important;
}

body.bdm-blog-refresh article.post_item .post_thumb_bg {
    position: absolute;
    inset: 0;
    background-position: center !important;
    background-size: cover !important;
}

body.bdm-blog-refresh article.post_item .post_content_wrap {
    display: flex;
    width: 100% !important;
    min-height: 250px;
    box-sizing: border-box;
    flex: 0 0 auto !important;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px) !important;
    background: #fff !important;
}

body.bdm-blog-refresh article.post_item .post_title {
    margin-top: 12px;
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.08;
}

body.bdm-blog-refresh article.post_item .post_title a {
    color: var(--bdm-ink) !important;
}

body.bdm-blog-refresh article.post_item .post_content_inner {
    color: #5e5e5a;
    font-size: 17px;
    line-height: 1.55;
}

body.bdm-blog-refresh article.post_item .post_meta {
    margin-top: auto;
}

body.bdm-blog-refresh article.post_item .post_meta_item,
body.bdm-blog-refresh article.post_item .post_meta_item a {
    color: #65655f !important;
}

body.bdm-blog-refresh article.post_item .post_categories a {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--bdm-yellow) !important;
    color: var(--bdm-ink) !important;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* Individual articles */
body.bdm-article-refresh,
body.bdm-article-refresh .page_wrap,
body.bdm-article-refresh .page_content_wrap {
    background: var(--bdm-black) !important;
}

body.bdm-article-refresh .page_content_wrap {
    margin-top: -1px;
    border-top: 1px solid var(--bdm-black);
    padding-bottom: 90px;
}

body.bdm-article-refresh .content_wrap {
    width: min(900px, calc(100% - 40px)) !important;
    max-width: 900px !important;
}

body.bdm-article-refresh .post_header_single {
    max-width: 900px;
    margin-inline: auto;
}

body.bdm-article-refresh .post_header_single .post_title {
    max-width: 850px;
    margin-inline: auto;
    font-size: clamp(38px, 5.4vw, 66px);
    line-height: 1.04;
    text-wrap: balance;
}

body.bdm-article-refresh .post_featured {
    overflow: hidden;
    margin-bottom: clamp(34px, 5vw, 58px);
    border-radius: var(--bdm-radius);
    box-shadow: var(--bdm-shadow);
}

body.bdm-article-refresh .post_content_wrap {
    background: transparent !important;
}

body.bdm-article-refresh .post_header_wrap_style_style-4 .post_featured.with_thumb {
    display: flex;
    max-height: 560px;
    align-items: center;
    justify-content: center;
}

body.bdm-article-refresh .post_header_wrap_style_style-4 .post_featured.with_thumb img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
}

body.bdm-article-refresh .post_featured img {
    display: block;
    width: 100%;
    height: auto;
}

body.bdm-article-refresh .post_content_single {
    color: #deded9;
    font-size: clamp(18px, 1.8vw, 20px);
    line-height: 1.78;
}

body.bdm-article-refresh .post_content_single p,
body.bdm-article-refresh .post_content_single li {
    color: #deded9;
    font-size: inherit;
    line-height: inherit;
}

body.bdm-article-refresh .post_content_single h2,
body.bdm-article-refresh .post_content_single h3,
body.bdm-article-refresh .post_content_single h4 {
    margin-top: 1.7em;
    color: var(--bdm-white);
    line-height: 1.14;
}

body.bdm-article-refresh .post_content_single a {
    color: var(--bdm-yellow);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.bdm-article-refresh .post_content_single img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

body.bdm-article-refresh .post_categories a,
body.bdm-article-refresh .post_meta .post_categories a {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--bdm-yellow) !important;
    color: var(--bdm-ink) !important;
    font-weight: 900;
}

body.bdm-article-refresh .post_author_name,
body.bdm-article-refresh .post_meta_item,
body.bdm-article-refresh .post_meta_item a {
    color: #c6c6c1 !important;
}

body.bdm-article-refresh figcaption,
body.bdm-article-refresh .wp-element-caption,
body.bdm-article-refresh .wp-caption-text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: visible !important;
    color: #bdbdb7 !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

body.bdm-article-refresh figure.wp-block-image {
    overflow: visible !important;
}

body.page-id-1502 #tve_editor .wp-caption-text,
body.page-id-2680 #tve_editor .wp-caption-text {
    color: #d7d7d2 !important;
    font-size: 16px !important;
}

body.bdm-article-refresh .post_content_single .alignleft,
body.bdm-article-refresh .post_content_single .alignright {
    float: none;
    max-width: 100%;
    margin: 34px auto;
}

body.bdm-article-refresh .post_content_single blockquote {
    margin: 40px 0;
    padding: 24px 28px;
    border-left: 5px solid var(--bdm-yellow);
    border-radius: 0 12px 12px 0;
    background: var(--bdm-panel);
}

body.bdm-article-refresh .comments_wrap {
    margin-top: 60px;
    padding-top: 42px;
    border-top: 1px solid var(--bdm-line);
}

body.bdm-article-refresh .comments_wrap ~ .trx_addons_loading,
body.bdm-article-refresh .comments_wrap ~ [class*="loading"][aria-hidden="true"],
body.bdm-article-refresh .nav-links-single-scroll.integro_loading {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.bdm-article-refresh .comments_wrap .form-submit input[type="submit"],
body.bdm-article-refresh .comments_wrap button[type="submit"] {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bdm-yellow) !important;
    color: var(--bdm-ink) !important;
    font-weight: 900 !important;
}

body.bdm-article-refresh .comments_wrap .form-submit input[type="submit"]:hover,
body.bdm-article-refresh .comments_wrap .form-submit input[type="submit"]:focus,
body.bdm-article-refresh .comments_wrap button[type="submit"]:hover,
body.bdm-article-refresh .comments_wrap button[type="submit"]:focus {
    background: #ffe65b !important;
    color: var(--bdm-ink) !important;
}

body.bdm-blog-refresh .post_categories a[href*="/category/uncategorized/"],
body.bdm-article-refresh .post_categories a[href*="/category/uncategorized/"] {
    display: none !important;
}

@media (max-width: 767px) {
    body.bdm-funnel-refresh .page_content_wrap {
        padding-top: 38px;
    }

    body.bdm-funnel-refresh #tve_editor {
        width: min(100% - 30px, 720px);
    }

    body.bdm-funnel-refresh #tve_editor .tcb-flex-row {
        gap: 18px;
    }

    body.page-id-1514 #tve_editor .tcb-flex-row.tcb--cols--4,
    body.page-id-1520 #tve_editor .tcb-flex-row.tcb--cols--4,
    body.page-id-1527 #tve_editor .tcb-flex-row.tcb--cols--4 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.bdm-funnel-refresh #tve_editor .bdm-progress,
    body.bdm-funnel-refresh #tve_editor .bdm-resource-grid,
    body.bdm-funnel-refresh #tve_editor .bdm-benefit-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.bdm-funnel-refresh #tve_editor .bdm-progress-card {
        min-height: 94px;
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 10px;
    }

    body.bdm-funnel-refresh #tve_editor .bdm-progress-number {
        grid-row: 1 / span 2;
        font-size: 28px;
    }

    body.page-id-1554 #tve_editor > .thrv-button .tcb-button-link {
        padding: 16px 20px !important;
    }

    body.page-id-1554 #tve_editor > .thrv-button .tcb-button-texts,
    body.page-id-1554 #tve_editor > .thrv-button .tcb-button-texts * {
        font-size: 17px !important;
    }

    body.page-id-2855 #tve_editor > .thrv-page-section,
    body.page-id-2855 #tve_editor > .thrv-columns {
        padding: 28px 20px !important;
    }

    body.page-id-3940 #tve_editor .tve_image_caption,
    body.page-id-3940 #tve_editor .thrv-page-section img {
        display: none !important;
    }

    body.page-id-3940 #tve_editor .bdm-whitelist-guide {
        margin-top: 24px;
        gap: 16px;
    }

    body.page-id-3940 #tve_editor .bdm-whitelist-method {
        padding: 24px 18px !important;
    }

    body.page-id-1514 #tve_editor .tcb-flex-row.tcb--cols--4 > .tcb-flex-col,
    body.page-id-1520 #tve_editor .tcb-flex-row.tcb--cols--4 > .tcb-flex-col,
    body.page-id-1527 #tve_editor .tcb-flex-row.tcb--cols--4 > .tcb-flex-col {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
    }

    body.bdm-funnel-refresh #tve_editor .thrv-button .tcb-button-link,
    body.bdm-funnel-refresh #tve_editor a.tcb-button-link {
        width: 100%;
        box-sizing: border-box;
    }

    body.page-id-1502 #tve_editor .thrv_text_element p,
    body.page-id-1502 #tve_editor .thrv_text_element li,
    body.page-id-2680 #tve_editor .thrv_text_element p,
    body.page-id-2680 #tve_editor .thrv_text_element li {
        font-size: 18px !important;
    }

    body.bdm-blog-refresh .page_content_wrap {
        padding-inline: 15px;
    }

    body.bdm-blog-refresh .posts_container {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    body.bdm-blog-refresh article.post_item .post_content_wrap {
        min-height: 240px;
    }

    body.bdm-blog-refresh article.post_item .post_featured {
        height: 205px !important;
    }

    body.bdm-article-refresh .content_wrap {
        width: min(100% - 30px, 900px) !important;
    }

    body.bdm-article-refresh .post_header_single .post_title {
        font-size: clamp(34px, 10vw, 48px);
    }

    body.bdm-article-refresh .post_header_wrap_style_style-4 .post_featured.with_thumb,
    body.bdm-article-refresh .post_header_wrap_style_style-4 .post_featured.with_thumb img {
        max-height: 320px;
    }

    body.bdm-article-refresh .post_content_single {
        font-size: 18px;
        line-height: 1.68;
    }

    body.bdm-visual-refresh .footer_wrap .elementor-element-086a49b {
        display: none !important;
    }
}

@media (max-width: 359px) {
    body.bdm-visual-refresh .footer_wrap .elementor-element-807259f > .elementor-container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
    }

    body.bdm-visual-refresh .footer_wrap .elementor-element-807259f > .elementor-container > .elementor-column {
        width: 100% !important;
        max-width: none !important;
    }

    body.bdm-visual-refresh .footer_wrap .elementor-element-807259f .elementor-widget-wrap {
        margin-top: 0 !important;
        padding-inline: 10px !important;
    }

    body.bdm-visual-refresh .footer_wrap .elementor-element-af459f0 a,
    body.bdm-visual-refresh .footer_wrap .elementor-element-af459f0 .elementor-heading-title {
        font-size: 15px !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* Runtime contrast repair must win over legacy inline and page-specific rules. */
html body.bdm-visual-refresh #tve_editor .bdm-contrast-light,
html body.bdm-visual-refresh #tve_editor .bdm-contrast-light * {
    color: var(--bdm-white) !important;
}

html body.bdm-visual-refresh #tve_editor .bdm-contrast-dark,
html body.bdm-visual-refresh #tve_editor .bdm-contrast-dark * {
    color: var(--bdm-ink) !important;
}
