/*
 * DoubleScale blog: index (page-blogs.php) and single posts (single.php).
 * Scoped to .dsb so it never depends on which utilities the compiled theme CSS includes.
 */
.dsb {
	--ink: #09090b; --body: #3f3f46; --muted: #71717a; --line: #e4e4e7; --soft: #f4f4f8;
	--indigo: #3a3a99; --indigo-2: #2f2f85; --lav: #eeeeff; --lav-2: #f6f5ff; --green: #16a34a;
	color: var(--body); font-family: Inter, system-ui, sans-serif; background: #fff;
}
.dsb *, .dsb *::before, .dsb *::after { box-sizing: border-box; }
.dsb h1, .dsb h2, .dsb h3, .dsb h4 { font-family: Sora, Inter, sans-serif; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
.dsb a { color: inherit; }
.dsb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.dsb-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--lav); color: var(--indigo); font: 700 11.5px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.dsb-eyebrow--light { background: rgba(255, 255, 255, 0.14); color: #dcdbff; }
.dsb-pill { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--lav); color: var(--indigo); font: 600 12px/1.2 Inter, sans-serif; }
.dsb-label { display: block; margin-bottom: 14px; font: 700 12px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dsb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 12px; font: 600 15.5px/1 Inter, sans-serif; text-decoration: none !important; transition: transform 0.2s, background 0.2s; }
.dsb-btn:hover { transform: translateY(-1px); }
.dsb-btn--white { background: #fff !important; color: var(--indigo) !important; }
.dsb-btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff !important; background: transparent !important; }
.dsb-btn--ghost:hover { background: rgba(255, 255, 255, 0.1) !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- Index: hero ---------- */
/* Heroes run up behind the site header so both share one background; the
   theme's own header band is off on blog pages. --dsb-header-h is set by
   ds_blog_header_offset(). */
.header-hero-background { display: none !important; }
.dsb-hero, .dsb-post-hero { position: relative; margin-top: calc(-1 * var(--dsb-header-h, 148px)); }
.dsb-hero { padding: calc(var(--dsb-header-h, 148px) + 56px) 0 56px; background: radial-gradient(60% 420px at 50% 0%, rgba(109, 92, 246, 0.14), transparent 70%), radial-gradient(36% 320px at 92% 8%, rgba(203, 83, 1, 0.06), transparent 70%), linear-gradient(180deg, #f3f2ff 0%, #fbfbff 70%, #fff 100%); text-align: center; }
.dsb .dsb-hero-title { margin-top: 18px; font-size: clamp(36px, 5vw, 60px) !important; line-height: 1.08 !important; font-weight: 700; }
.dsb-hero-sub { max-width: 680px; margin: 18px auto 0; font-size: 18.5px; line-height: 1.65; color: var(--body); }
.dsb-search { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 32px auto 0; padding: 8px 8px 8px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(27, 19, 71, 0.35); }
.dsb-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.dsb-search input { flex: 1; min-width: 0; height: 44px; border: 0 !important; outline: 0; background: transparent; font: 500 16px/1 Inter, sans-serif; color: var(--ink); box-shadow: none !important; padding: 0 !important; }
.dsb-search button { height: 44px; padding: 0 20px; border: 0; border-radius: 11px; background: var(--indigo) !important; color: #fff !important; font: 600 15px/1 Inter, sans-serif; cursor: pointer; }
.dsb-search button:hover { background: var(--indigo-2) !important; }
.dsb-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.dsb-topics a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 14px/1 Inter, sans-serif; color: var(--body); text-decoration: none; transition: all 0.2s; }
.dsb-topics a small { font-size: 12px; font-weight: 600; color: var(--muted); }
.dsb-topics a:hover { border-color: var(--indigo); color: var(--indigo); }
.dsb-topics a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.dsb-topics a.is-active small { color: #c4c4cc; }

/* ---------- Cards ---------- */
.dsb-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 22px; background: #fff; border: 1px solid #ececf2; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.dsb-card:hover { transform: translateY(-4px); border-color: #dcdaf7; box-shadow: 0 30px 60px -36px rgba(27, 19, 71, 0.45); }
.dsb-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lav-2); }
.dsb-card-img, .dsb-card-media img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 0.5s; margin: 0 !important; border-radius: 0 !important; }
.dsb-card:hover .dsb-card-img { transform: scale(1.04); }
.dsb-card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #eeeeff, #f8f7ff); }
.dsb-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.dsb-card-meta { display: flex; align-items: center; gap: 10px; font: 500 13px/1 Inter, sans-serif; color: var(--muted); }
.dsb .dsb-card-title { margin-top: 14px; font-size: 19px !important; line-height: 1.35 !important; font-weight: 600; }
.dsb-card-title a { text-decoration: none; }
.dsb-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dsb-card-title a:hover { color: var(--indigo); }
.dsb-card-excerpt { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dsb-card-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; }
.dsb-card-foot img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin: 0 !important; }
.dsb-card-foot span { display: flex; flex-direction: column; gap: 2px; font: 500 12.5px/1.2 Inter, sans-serif; color: var(--muted); }
.dsb-card-foot b { font-weight: 600; color: var(--ink); }
.dsb-card-more { position: relative; z-index: 2; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1 Inter, sans-serif; color: var(--indigo) !important; text-decoration: none; }
.dsb-card-more svg { width: 15px; height: 12px; transition: transform 0.2s; }
.dsb-card-more:hover svg { transform: translateX(3px); }
.dsb-card--feature { flex-direction: row; border-radius: 28px; }
.dsb-card--feature .dsb-card-media { flex: 0 0 58%; aspect-ratio: auto; min-height: 380px; }
.dsb-card--feature .dsb-card-body { padding: 40px 40px 34px; justify-content: center; }
.dsb .dsb-card--feature .dsb-card-title { font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.22 !important; font-weight: 700; }
.dsb-card--feature .dsb-card-excerpt { font-size: 16.5px; -webkit-line-clamp: 4; }
.dsb-card--feature .dsb-card-foot { padding-top: 26px; }

/* ---------- Index sections ---------- */
.dsb-featured { padding: 24px 0 8px; }
.dsb-list { padding: 64px 0 24px; }
.dsb-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dsb .dsb-list-head h2 { font-size: 28px !important; line-height: 1.2 !important; font-weight: 700; }
.dsb-list-head span { font: 500 14px/1 Inter, sans-serif; color: var(--muted); }
.dsb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.dsb-grid-break { grid-column: 1 / -1; }
.dsb-empty { padding: 60px 0; text-align: center; }
.dsb-empty p { color: var(--muted); }
.dsb-empty a { color: var(--indigo); font-weight: 600; }
.dsb-pagination { display: flex; justify-content: center; margin-top: 48px; }
.dsb-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin: 0 4px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 600 14.5px/1 Inter, sans-serif; color: var(--body); text-decoration: none; }
.dsb-pagination a.page-numbers:hover { border-color: var(--indigo); color: var(--indigo); }
.dsb-pagination .page-numbers.current { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.dsb-pagination .page-numbers.dots { border: 0; background: none; }
.dsb-news-wrap { margin-top: 48px; }

/* ---------- Newsletter ---------- */
.dsb-news { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 40px 44px; border-radius: 28px; background: radial-gradient(600px 260px at 100% 0%, rgba(140, 124, 255, 0.35), rgba(140, 124, 255, 0) 70%), linear-gradient(135deg, #1b1747, #34308c); color: #d9d8ff; }
.dsb .dsb-news h2 { margin-top: 14px; color: #fff; font-size: 26px !important; line-height: 1.25 !important; font-weight: 700; }
.dsb-news p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: #c9c8f5; }
.dsb-news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.dsb-news-form input[type="email"] { flex: 1 1 220px; height: 52px; padding: 0 16px !important; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2) !important; background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; font: 500 15.5px/1 Inter, sans-serif; outline: 0; }
.dsb-news-form input[type="email"]::placeholder { color: #a9a8d9; }
.dsb-news-form input[type="email"]:focus { border-color: #a5a2ff !important; }
.dsb-news-form button { height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: #fff !important; color: var(--indigo) !important; font: 700 15px/1 Inter, sans-serif; cursor: pointer; }
.dsb-news-form.is-busy button { opacity: 0.6; pointer-events: none; }
.dsb-news-msg { flex-basis: 100%; min-height: 20px; margin: 0 !important; font-size: 14px !important; color: #86efac !important; }
.dsb-news-msg.is-error { color: #fca5a5 !important; }
.dsb-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA ---------- */
.dsb-cta { padding: 56px 0 96px; }
.dsb-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 52px; border-radius: 32px; background: radial-gradient(700px 300px at 0% 0%, rgba(140, 124, 255, 0.4), rgba(140, 124, 255, 0) 70%), linear-gradient(135deg, #3a3a99, #22205e); }
.dsb .dsb-cta-card h2 { margin-top: 14px; color: #fff; font-size: clamp(24px, 2.6vw, 34px) !important; line-height: 1.2 !important; font-weight: 700; max-width: 620px; }
.dsb-cta-card p { margin: 12px 0 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: #d4d3fb; }
.dsb-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- Single: hero ---------- */
.dsb-progress { position: fixed; top: 0; left: 0; z-index: 100001; height: 3px; width: 0; background: linear-gradient(90deg, #6d6ae6, #3a3a99); }
.dsb-post-hero { padding: calc(var(--dsb-header-h, 148px) + 40px) 0 40px; background: radial-gradient(55% 380px at 30% 0%, rgba(109, 92, 246, 0.12), transparent 70%), linear-gradient(180deg, #f3f2ff 0%, #fbfbff 70%, #fff 100%); }
.dsb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 13.5px/1 Inter, sans-serif; color: var(--muted); }
.dsb-crumbs a { color: var(--muted); text-decoration: none; }
.dsb-crumbs a:hover { color: var(--indigo); }
.dsb-crumbs span[aria-hidden] { color: #c4c4cc; }
.dsb .dsb-post-title { max-width: 920px; margin-top: 22px; font-size: clamp(32px, 4.4vw, 52px) !important; line-height: 1.12 !important; font-weight: 700; }
.dsb-post-dek { max-width: 820px; margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: var(--body); }
.dsb-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.dsb-author { display: flex; align-items: center; gap: 12px; }
.dsb-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--lav); margin: 0 !important; }
.dsb-author b { display: block; font: 600 15px/1.2 Inter, sans-serif; color: var(--ink); }
.dsb-author span { display: block; margin-top: 3px; font: 500 13px/1.2 Inter, sans-serif; color: var(--muted); }
.dsb-post-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.dsb-post-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 13px/1 Inter, sans-serif; color: var(--body); }
.dsb-post-facts svg { width: 14px; height: 14px; color: var(--indigo); }
.dsb-post-cover { margin: 8px auto 0; }
.dsb-post-cover-inner { border-radius: 28px; overflow: hidden; background: var(--lav-2); box-shadow: 0 40px 80px -48px rgba(27, 19, 71, 0.55); }
.dsb-post-cover img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 !important; border-radius: 0 !important; }

/* ---------- Single: layout ---------- */
.dsb-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding: 56px 0 40px; }
.dsb-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.dsb-toc { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); max-height: calc(100vh - 380px); overflow: auto; }
.dsb-toc-title { margin: 0 0 12px; font: 700 11.5px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dsb-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.dsb-toc li { margin: 0; }
.dsb-toc a { display: block; padding: 7px 10px 7px 12px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; font: 500 13.5px/1.4 Inter, sans-serif; color: var(--muted); text-decoration: none; transition: all 0.15s; }
.dsb-toc a:hover { color: var(--ink); background: var(--soft); }
.dsb-toc a.is-active { color: var(--indigo); border-left-color: var(--indigo); background: var(--lav-2); font-weight: 600; }
.dsb-side-cta { padding: 22px; border-radius: 20px; color: #d9d8ff; background: radial-gradient(300px 160px at 100% 0%, rgba(140, 124, 255, 0.45), rgba(140, 124, 255, 0) 70%), linear-gradient(135deg, #2b2878, #1b1747); }
.dsb-side-cta img { width: 34px; height: 34px; margin: 0 0 12px !important; }
.dsb .dsb-side-cta h3 { color: #fff; font-size: 17px !important; line-height: 1.3 !important; font-weight: 600; }
.dsb-side-cta p { margin: 8px 0 16px; font-size: 13.5px; line-height: 1.55; color: #c9c8f5; }
.dsb-side-cta a { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 11px; background: #fff !important; color: var(--indigo) !important; font: 600 14px/1 Inter, sans-serif; text-decoration: none; }
.dsb-side-cta small { display: block; margin-top: 10px; text-align: center; font-size: 12px; color: #a9a8d9; }
.dsb-share { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); }
.dsb-share span { margin-right: auto; font: 700 11.5px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dsb-share a, .dsb-share button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff !important; color: var(--body) !important; cursor: pointer; padding: 0; }
.dsb-share a:hover, .dsb-share button:hover { border-color: var(--indigo); color: var(--indigo) !important; }
.dsb-share svg { width: 16px; height: 16px; }
.dsb-toc-mobile { display: none; margin-bottom: 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--lav-2); }
.dsb-toc-mobile summary { padding: 16px 18px; font: 600 15px/1 Inter, sans-serif; color: var(--ink); cursor: pointer; list-style: none; }
.dsb-toc-mobile summary::after { content: "+"; float: right; color: var(--indigo); font-weight: 700; }
.dsb-toc-mobile[open] summary::after { content: "–"; }
.dsb-toc-mobile ol { margin: 0; padding: 0 18px 16px 36px; }
.dsb-toc-mobile a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--body); text-decoration: none; }

/* ---------- Single: content typography ---------- */
.dsb-content { max-width: 760px; font-size: 18px; line-height: 1.8; color: #33333b; }
.dsb-content > * { margin-top: 0; margin-bottom: 0; }
.dsb-content > * + * { margin-top: 1.25em; }
.dsb-content h2 { margin-top: 2.2em !important; font-size: 30px !important; line-height: 1.25 !important; font-weight: 700; scroll-margin-top: 120px; }
.dsb-content h3 { margin-top: 1.8em !important; font-size: 21px !important; line-height: 1.35 !important; font-weight: 600; scroll-margin-top: 120px; }
.dsb-content h2 + *, .dsb-content h3 + * { margin-top: 0.7em; }
.dsb-content p { font-size: 18px; }
.dsb-content strong { color: var(--ink); font-weight: 600; }
.dsb-content a { color: var(--indigo); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(58, 58, 153, 0.35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.dsb-content a:hover { text-decoration-color: var(--indigo); }
.dsb-content ul, .dsb-content ol { padding-left: 0; }
.dsb-content ul { list-style: none; }
.dsb-content ul > li { position: relative; padding-left: 28px; }
.dsb-content ul > li::before { content: ""; position: absolute; left: 6px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.dsb-content ol { list-style: none; counter-reset: dsb-ol; }
.dsb-content ol > li { position: relative; padding-left: 40px; counter-increment: dsb-ol; }
.dsb-content ol > li::before { content: counter(dsb-ol); position: absolute; left: 0; top: 0.2em; width: 26px; height: 26px; border-radius: 8px; background: var(--lav); color: var(--indigo); font: 700 13px/26px Inter, sans-serif; text-align: center; }
.dsb-content li + li { margin-top: 0.55em; }
.dsb-content figure { margin: 2em 0 !important; }
.dsb-content img { display: block; max-width: 100%; height: auto; border-radius: 18px; margin: 0 auto; border: 1px solid #ececf2; }
.dsb-content figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.dsb-content blockquote { margin: 2em 0; padding: 20px 24px; border-left: 4px solid var(--indigo); border-radius: 0 16px 16px 0; background: var(--lav-2); color: var(--ink); font-style: normal; }
.dsb-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.dsb-content code { padding: 2px 6px; border-radius: 6px; background: var(--soft); font-size: 0.86em; color: #1f1f2e; }
.dsb-content pre { padding: 18px 20px; border-radius: 14px; background: #15142b; color: #f4f4ff; overflow-x: auto; font-size: 14.5px; line-height: 1.6; }
.dsb-content pre code { background: none; padding: 0; color: inherit; }
.dsb-table-wrap { margin: 2em 0; overflow-x: auto; border: 1px solid #e6e5f0; border-radius: 18px; box-shadow: 0 20px 40px -32px rgba(27, 19, 71, 0.35); }
.dsb-content table { width: 100%; min-width: 620px; border-collapse: collapse; margin: 0 !important; font-size: 15px; line-height: 1.5; }
.dsb-content th { padding: 14px 16px; background: #f6f5ff; color: var(--ink); font: 600 13.5px/1.3 Inter, sans-serif; text-align: left; border-bottom: 1px solid #e6e5f0; white-space: nowrap; }
.dsb-content td { padding: 13px 16px; border-bottom: 1px solid #f0eff6; vertical-align: top; }
.dsb-content tbody tr:nth-child(even) td { background: #fcfcfe; }
.dsb-content tbody tr:last-child td { border-bottom: 0; }
.dsb-content tbody tr:first-child td:first-child strong { color: var(--indigo); }
.dsb-content .wp-block-group.has-background { border-radius: 18px; }
.dsb-content em { color: var(--muted); }
/* Rank Math FAQ as cards */
.dsb-content .rank-math-list { display: flex; flex-direction: column; gap: 12px; }
.dsb-content .rank-math-list-item { padding: 20px 22px; border-radius: 16px; border: 1px solid #ececf2; background: #fff; }
.dsb-content .rank-math-question { margin: 0 !important; font-size: 18px !important; line-height: 1.4 !important; font-weight: 600; }
.dsb-content .rank-math-answer { margin-top: 8px; font-size: 16.5px; line-height: 1.7; color: var(--body); }
.dsb-content .wp-block-buttons, .dsb-content .qf-crm-cta { margin-top: 1.5em; }

/* ---------- Single: after content ---------- */
.dsb-post-end { max-width: 760px; }
.dsb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.dsb-tags a { padding: 6px 12px; border-radius: 999px; background: var(--soft); font: 500 13px/1 Inter, sans-serif; color: var(--body); text-decoration: none; }
.dsb-bio { display: flex; gap: 20px; margin-top: 36px; padding: 28px; border-radius: 22px; background: var(--lav-2); border: 1px solid #ebeafb; }
.dsb-bio img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; margin: 0 !important; box-shadow: 0 0 0 4px #fff; }
.dsb-bio small { font: 700 11.5px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); }
.dsb .dsb-bio h3 { margin-top: 8px; font-size: 19px !important; line-height: 1.3 !important; font-weight: 600; }
.dsb-bio p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--body); }
.dsb-post-news { margin-top: 36px; }
.dsb-post-news .dsb-news { grid-template-columns: 1fr; padding: 32px; }
.dsb-related { padding: 64px 0 24px; border-top: 1px solid var(--line); }
.dsb-related-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.dsb .dsb-related-head h2 { font-size: 28px !important; font-weight: 700; }
.dsb-related-head a { font: 600 15px/1 Inter, sans-serif; color: var(--indigo); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.dsb-post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.dsb-aside { display: none; }
	.dsb-toc-mobile { display: block; }
	.dsb-content, .dsb-post-end { max-width: none; }
	.dsb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dsb-card--feature { flex-direction: column; }
	.dsb-card--feature .dsb-card-media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
	.dsb-card--feature .dsb-card-body { padding: 28px; }
	.dsb-news { grid-template-columns: 1fr; }
	.dsb-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
	.dsb-wrap { padding: 0 18px; }
	.dsb-hero { padding: calc(var(--dsb-header-h, 96px) + 36px) 0 40px; }
	.dsb-hero-sub { font-size: 16.5px; }
	.dsb-search button { padding: 0 14px; }
	.dsb-topics { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -18px; margin-right: -18px; padding: 0 18px 6px; scrollbar-width: none; }
	.dsb-topics a { flex: none; }
	.dsb-grid { grid-template-columns: 1fr; gap: 20px; }
	.dsb-list-head { flex-direction: column; gap: 6px; }
	.dsb-news, .dsb-cta-card { padding: 28px 22px; border-radius: 22px; }
	.dsb-post-hero { padding: calc(var(--dsb-header-h, 96px) + 28px) 0 28px; }
	.dsb-post-dek { font-size: 17px; }
	.dsb-post-cover-inner { border-radius: 18px; }
	.dsb-post-layout { padding-top: 36px; }
	.dsb-content, .dsb-content p { font-size: 17px; }
	.dsb-content h2 { font-size: 25px !important; }
	.dsb-content h3 { font-size: 19px !important; }
	.dsb-bio { flex-direction: column; padding: 22px; }
	.dsb-pagination .page-numbers.prev, .dsb-pagination .page-numbers.next { display: none; }
}

/* ---------- Fixes on top of theme defaults ---------- */
.dsb-toc ol, .dsb-toc-mobile ol { list-style: none !important; margin: 0 !important; }
.dsb-toc ol { padding: 0 !important; }
.dsb-toc-mobile ol { padding: 0 18px 16px !important; }
.dsb-toc li::before, .dsb-toc-mobile li::before { content: none !important; }
.dsb-side-cta img { filter: brightness(0) invert(1); opacity: 0.95; }
/* The blog has its own newsletter box, so the footer sign-up is hidden on blog pages. */
body:has(.dsb-news) #colophon .footer-content > div:has(input[type="email"]) { display: none !important; }
.dsb-content a, .dsb-content strong, .dsb-content em, .dsb-content span { font-size: inherit !important; }

/* Sidebar always fits the window: the contents list scrolls inside its box,
   the CTA and share cards stay fully visible with room below. */
.dsb-aside { max-height: calc(100vh - 140px); padding-bottom: 24px; }
.dsb-toc { flex: 1 1 auto; min-height: 140px; max-height: none; }
.dsb-side-cta, .dsb-share { flex: none; }
.dsb-side-cta { padding: 20px; box-shadow: 0 24px 48px -28px rgba(27, 19, 71, 0.6); }
.dsb-side-cta img { width: 30px; height: 30px; margin-bottom: 10px !important; }
.dsb-side-cta p { margin: 6px 0 14px; }
@media (max-height: 760px) {
	.dsb-side-cta p, .dsb-side-cta img { display: none; }
	.dsb .dsb-side-cta h3 { margin-bottom: 12px; }
}

/* ---------- Three-way comparison components (.dsv-*) ---------- */
.dsb-content .dsv-answer { padding: 22px 24px; border-radius: 18px; background: var(--lav-2); border: 1px solid #e3e1fb; }
.dsb-content .dsv-answer > b { display: block; margin-bottom: 6px; font: 700 12px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); }
.dsb-content .dsv-answer p { margin: 0; font-size: 17px; }
.dsb-content .dsv-answer p + p { margin-top: 0.7em; }
.dsb-content .dsv-verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dsb-content .dsv-verdict > div { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: 18px; border: 1px solid #e6e5f0; background: #fff; }
.dsb-content .dsv-verdict > div.is-ds { border-color: var(--indigo); box-shadow: 0 18px 40px -28px rgba(58, 58, 153, 0.55); background: linear-gradient(180deg, #f8f7ff 0%, #fff 60%); }
.dsb-content .dsv-verdict small { font: 700 11px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dsb-content .dsv-verdict .is-ds small { color: var(--indigo); }
.dsb-content .dsv-verdict strong { font: 700 19px/1.25 Sora, Inter, sans-serif; color: var(--ink); }
.dsb-content .dsv-verdict p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.dsb-content .dsv-winner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #f4fbf6; border: 1px solid #d5efdc; font-size: 16px; line-height: 1.5; color: var(--ink); }
.dsb-content .dsv-winner span { padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; font: 700 11.5px/1.2 Inter, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; }
.dsb-content .dsv-note { padding: 16px 20px; border-radius: 14px; background: #fffaf0; border: 1px solid #f6e3bd; font-size: 16px; line-height: 1.65; color: #4a3b16; }
.dsb-content .dsv-note strong { color: #3d2f0c; }
.dsb-content .dsv-cost { padding: 22px 24px; border-radius: 18px; border: 1px solid #e6e5f0; background: #fff; }
.dsb-content .dsv-cost figcaption { margin: 0 0 10px; text-align: left; font: 700 16px/1.4 Inter, sans-serif; color: var(--ink); }
.dsb-content .dsv-cost .row { display: grid; grid-template-columns: minmax(130px, 36%) 1fr; gap: 12px; align-items: center; margin: 10px 0; }
.dsb-content .dsv-cost .row > span { font-size: 15px; line-height: 1.35; color: #1f2937; }
.dsb-content .dsv-cost .bar { display: flex; align-items: center; gap: 10px; }
.dsb-content .dsv-cost .bar i { display: block; height: 14px; border-radius: 0 5px 5px 0; background: #8e8bc9; }
.dsb-content .dsv-cost .row.is-ds .bar i { background: var(--indigo); }
.dsb-content .dsv-cost .bar b { font: 700 15px/1 Inter, sans-serif; color: var(--ink); white-space: nowrap; }
.dsb-content .dsv-cost p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.dsb-content .dsv-cta { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, #2b2a7c 0%, #3a3a99 55%, #6d5cf6 100%); color: #e9e8ff; }
.dsb-content .dsv-cta strong { font: 700 22px/1.3 Sora, Inter, sans-serif; color: #fff; }
.dsb-content .dsv-cta p { margin: 0; font-size: 16.5px; line-height: 1.65; color: #e3e2ff; }
.dsb-content .dsv-cta .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dsb-content .dsv-cta .acts a { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 12px; background: #fff; color: var(--indigo); font: 600 15px/1 Inter, sans-serif; text-decoration: none; }
.dsb-content .dsv-cta .acts a + a { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
@media (max-width: 780px) {
	.dsb-content .dsv-verdict { grid-template-columns: minmax(0, 1fr); }
	.dsb-content .dsv-cost .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
