/*
 * EdgeBreak Trading Insights - shared article presentation.
 * Load after edge-theme.css and article-specific layout styles.
 * Colours, font sizes and radii come from edge-theme.css; this is not a
 * second design system. Scope to the blog only. Preserve image, SVG,
 * chart and market-data colours, article text and native disclosure behavior.
 */
body.edge-blog-page {font-family:var(--eb-theme-font);color:var(--eb-theme-text);background:var(--eb-theme-white)}
body.edge-blog-page :is(main,#swp,#ebdw-main) {
  --ix-ink:var(--eb-theme-ink);--ix-muted:var(--eb-theme-text);--ix-line:var(--eb-theme-line);
  --ix-soft:var(--eb-theme-soft);--ix-green:var(--eb-theme-ink);--ix-green-dark:var(--eb-theme-ink);
  --ix-blue:var(--eb-theme-ink);
  --eb-ink:var(--eb-theme-ink);--eb-muted:var(--eb-theme-text);--eb-line:var(--eb-theme-line);
  --swp-ink:var(--eb-theme-ink);--swp-muted:var(--eb-theme-text);--swp-line:var(--eb-theme-line);
  font-family:var(--eb-theme-font)!important;color:var(--eb-theme-text);background:var(--eb-theme-white);
}

/* Shared typography and readable links. */
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(h1,h2,h3,h4) {color:var(--eb-theme-ink)!important;text-shadow:none!important;font-weight:var(--eb-theme-heading-weight)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) h1 {font-size:var(--eb-theme-h1)!important;line-height:1.12!important;letter-spacing:-.035em!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) h2 {font-size:var(--eb-theme-h2)!important;line-height:1.18!important;letter-spacing:-.025em!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) h3 {font-size:var(--eb-theme-h3)!important;line-height:1.3!important;letter-spacing:-.015em!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(p,li,dd,figcaption) {color:var(--eb-theme-text);text-shadow:none}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(strong,dt) {color:var(--eb-theme-ink)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-subtitle,.eb-lead,.ebdw-lead,.guide-lead,.swp-lede) {font-size:var(--eb-theme-lead)!important;line-height:1.65!important;font-weight:400!important;color:var(--eb-theme-text)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-reading,.ix-article-block,.eb-article,.ebdw-article,.guide-article) :is(p,li,dd) {font-size:var(--eb-theme-body);line-height:1.7;font-weight:400;color:var(--eb-theme-text)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-lead,.swp-intro,.ix-callout p,.ix-card p,.ix-criteria-card p,.ix-compare-card p,.ix-signal span,.ix-workflow-card p,.ix-practical-card p,.ix-market-card p,.ix-article-grid > .ix-article p,.ix-topic p,.ix-feature-copy p,.ix-related-card p,.eb-related-card p,.guide-grid article p,.swp-card p,.swp-plan p) {color:var(--eb-theme-text);font-size:var(--eb-theme-body);line-height:1.65;font-weight:400}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-meta,.ix-fine,.ix-proof-label,.ix-tool-bridge-note,.eb-meta,.eb-fineprint,.ebdw-meta,.ebdw-fine,.guide-meta,.guide-disclaimer,.swp-meta,.swp-small,.swp-table-note,figcaption) {color:var(--eb-theme-text)!important;font-size:var(--eb-theme-small);line-height:1.55}
body.edge-blog-page :is(main,#swp,#ebdw-main) a {color:var(--eb-theme-ink)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-reading,.ix-article-block,.eb-article,.ebdw-article,.guide-article,.guide-related,.swp-related,.ix-faq) a:not([class*="btn"]):not(.guide-button):not(.guide-secondary) {text-decoration:underline;text-underline-offset:3px}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(a,summary):focus-visible {outline:2px solid var(--eb-theme-text)!important;outline-offset:3px}
body.edge-blog-page :is(main,#swp,#ebdw-main) li::marker {color:var(--eb-theme-ink)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-title span,.ix-price,.ix-float b,.ix-trust b,.ix-example-label,.ix-evidence-note strong) {color:var(--eb-theme-ink)!important}

/* Neutral hero surfaces; the subtle grid is restricted to the hero. */
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-hero,.ix-article-hero,.eb-hero,.ebdw-hero,.guide-hero,.swp-hero) {
  background-color:var(--eb-theme-white)!important;
  background-image:var(--eb-theme-grid-light)!important;
  background-size:var(--eb-theme-grid-size) var(--eb-theme-grid-size)!important;
  border-color:var(--eb-theme-line)!important;
}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-hero,.ix-article-hero)::after {background:var(--eb-theme-line)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-section-soft,.ix-soft-section,.ix-faq-section,.ix-practical,.ix-final,.ix-trust-section,.ix-tool-bridge,.ix-scan-snapshot,.insights-starters,.guide-related,.eb-related,.swp-section-soft,.swp-final) {background:var(--eb-theme-soft)!important;border-color:var(--eb-theme-line)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-kicker,.guide-kicker,.eb-kicker,.ebdw-tag,.swp-kicker) {
  color:var(--eb-theme-text)!important;background:transparent!important;
  border:0!important;border-radius:0;padding:0;font-size:var(--eb-theme-small);font-weight:600;letter-spacing:0;text-transform:none;box-shadow:none;
}
body.edge-blog-page :is(main,#swp,#ebdw-main) .ix-dot {background:var(--eb-theme-text)!important;box-shadow:none!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) .swp-kicker::before {background:var(--eb-theme-text);box-shadow:none}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-eyebrow,.ix-related-tag,.ix-article-tag,.ix-tool-label,.ix-scan-snapshot-eyebrow,.insights-starters-kicker,.insights-guide-category,.eb-related-card span,.swp-label,.swp-number,.swp-plan-title) {color:var(--eb-theme-text)!important;letter-spacing:0;font-weight:600}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-criteria-number,.ix-signal-number,.ix-workflow-number,.ix-practical-number,.ix-card-number,.ix-icon,.ix-topic-icon,.ix-check,.ix-tick,.ix-badge,.ix-feature-point,.ix-mini-topic,.eb-mini-check) {
  background:var(--eb-theme-soft)!important;color:var(--eb-theme-ink)!important;border-color:var(--eb-theme-line);box-shadow:none;
}
body.edge-blog-page :is(main,#swp,#ebdw-main) .ix-workflow::before {background:var(--eb-theme-line)}
body.edge-blog-page :is(main,#swp,#ebdw-main) .swp-bullets li::before {color:var(--eb-theme-ink)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-related-arrow,.ix-tool-read,.ix-scan-snapshot-foot a,.ix-comparison-jump,.insights-guide-link,.eb-inline-link,.guide-aside strong) {color:var(--eb-theme-ink)!important}

/* Common panels, cards, callouts and tables. The layout stays local. */
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-card,.ix-criteria-card,.ix-signal,.ix-compare-card,.ix-workflow-card,.ix-practical-card,.ix-source-card,.ix-market-card,.ix-checklist-box,.ix-check-item,.ix-test-card,.ix-focus-panel,.ix-example-card,.ix-example,.ix-history,.ix-related-card,.ix-support-item,.ix-topic,.ix-resource,.ix-article-grid > .ix-article,.ix-feature-card,.ix-feature-side,.ix-tool-card,.ix-proof-grid,.ix-step-number,.ix-feature-frame,.ix-screen,.ix-mini-card,.ix-learn-image,.ix-float,.insights-guide-card,.ix-scan-snapshot-grid > *,.eb-related-card,.guide-aside,.swp-card,.swp-plan,.swp-shot,.swp-stats,.swp-hero-visual,.swp-table-wrap) {
  background-color:var(--eb-theme-white);border-color:var(--eb-theme-line)!important;border-radius:var(--eb-theme-radius)!important;
  box-shadow:0 8px 28px rgba(11,23,41,.055);
}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-callout,.ix-evidence-note,.eb-summary,.eb-example,.eb-method,.eb-cta,.eb-sidebar,.guide-summary,.guide-grid article,.ebdw-callout,.ebdw-cta,.swp-band,.swp-final .swp-container) {
  background:var(--eb-theme-soft)!important;border-color:var(--eb-theme-line)!important;border-radius:var(--eb-theme-radius)!important;box-shadow:none;color:var(--eb-theme-text);
}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.eb-summary,.eb-example,.ebdw-callout) {border-left-color:var(--eb-theme-text)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.eb-article,.guide-article,.ebdw-article,.ix-reading) blockquote {background:var(--eb-theme-soft);border-color:var(--eb-theme-line);color:var(--eb-theme-text)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-tool-image,.ix-example-image,.ix-history img) {background-color:var(--eb-theme-soft);border-color:var(--eb-theme-line)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.guide-figure img,.eb-hero-image img,.eb-media img,.ebdw-report-figure img) {border-color:var(--eb-theme-line);border-radius:var(--eb-theme-radius);box-shadow:0 8px 28px rgba(11,23,41,.055)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-compare-row,.ix-checklist-item,.ix-proof-item,.guide-aside a,.eb-sidebar a,.ix-article-block,.eb-guide-table,.swp-table-wrap) {border-color:var(--eb-theme-line)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.eb-guide-table,.swp-table-wrap) {overflow-x:auto;max-width:100%;border-color:var(--eb-theme-line);border-radius:var(--eb-theme-radius)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.eb-guide-table,.swp-table-wrap) :is(th,td) {border-color:var(--eb-theme-line);color:var(--eb-theme-text)}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.eb-guide-table th,.swp-table-wrap thead th) {background:var(--eb-theme-soft);color:var(--eb-theme-ink);font-weight:600}
body.edge-blog-page :is(main,#swp,#ebdw-main) .swp-plan-featured {background:var(--eb-theme-white)!important;border-color:var(--eb-theme-ink)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) .swp-price {font-weight:700;font-variant-numeric:tabular-nums;color:var(--eb-theme-ink)}

/* Preserve dark information panels and contrast. */
body.edge-blog-page :is(main,#swp,#ebdw-main) .ix-trust-panel {background-color:var(--eb-theme-navy)!important;background-image:var(--eb-theme-grid-dark)!important;background-size:var(--eb-theme-grid-size) var(--eb-theme-grid-size)!important;border-color:var(--eb-theme-dark-line)!important;border-radius:var(--eb-theme-radius)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) .ix-trust-panel :is(h1,h2,h3,h4,strong,.ix-eyebrow,a) {color:var(--eb-theme-white)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) .ix-trust-panel :is(p,span,li) {color:var(--eb-theme-muted-dark)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) .ix-trust-panel .ix-trust-row {background:rgba(255,255,255,.045);border-color:var(--eb-theme-dark-line);border-radius:var(--eb-theme-radius)}
body.edge-blog-page :is(main,#swp,#ebdw-main) .ix-trust-panel :is(.ix-check,.ix-trust-check) {background:rgba(255,255,255,.08)!important;color:var(--eb-theme-white)!important;box-shadow:none}

/* Consistent CTA treatment, including non-ix guide templates. */
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-btn,.ix-tool-link,.ix-scan-snapshot-cta,.insights-starters-tool,.eb-btn,.eb-hero-actions a,.ebdw-btn,.guide-button,.guide-secondary,.swp-btn) {
  border-radius:var(--eb-theme-radius)!important;font-size:var(--eb-theme-button)!important;font-weight:var(--eb-theme-button-weight)!important;
  line-height:1.35!important;letter-spacing:0!important;box-shadow:none!important;text-decoration:none!important;min-height:46px;
}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-btn-primary,.ix-tool-link,.ix-scan-snapshot-cta,.insights-starters-tool,.eb-btn,.eb-hero-actions a:first-child,.ebdw-btn,.guide-button,.swp-btn-primary,.swp-btn-dark) {
  background:var(--eb-theme-ink)!important;color:var(--eb-theme-white)!important;border-color:var(--eb-theme-ink)!important;
}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-btn-primary,.ix-tool-link,.ix-scan-snapshot-cta,.insights-starters-tool,.eb-btn,.eb-hero-actions a:first-child,.ebdw-btn,.guide-button,.swp-btn-primary,.swp-btn-dark):hover {background:var(--eb-theme-navy)!important;color:var(--eb-theme-white)!important;border-color:var(--eb-theme-navy)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-btn-secondary,.eb-hero-actions a:not(:first-child),.guide-secondary,.swp-btn:not(.swp-btn-primary):not(.swp-btn-dark)) {
  background:var(--eb-theme-white)!important;color:var(--eb-theme-ink)!important;border-color:var(--eb-theme-line)!important;
}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-btn-secondary,.eb-hero-actions a:not(:first-child),.guide-secondary,.swp-btn:not(.swp-btn-primary):not(.swp-btn-dark)):hover {background:var(--eb-theme-soft)!important;border-color:var(--eb-theme-text)!important}

/* Native FAQs: one accessible disclosure style across all blog templates. */
body.edge-blog-page :is(main,#swp,#ebdw-main) details {background:transparent;border:0;border-bottom:1px solid var(--eb-theme-line);border-radius:0;padding:0}
body.edge-blog-page :is(main,#swp,#ebdw-main) details > summary {
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;list-style:none;cursor:pointer;
  padding:16px 4px;font-size:var(--eb-theme-body)!important;font-weight:600!important;
  color:var(--eb-theme-ink)!important;line-height:1.5;
}
body.edge-blog-page :is(main,#swp,#ebdw-main) details > summary::-webkit-details-marker {display:none}
body.edge-blog-page :is(main,#swp,#ebdw-main) details > summary::marker {content:""}
body.edge-blog-page :is(main,#swp,#ebdw-main) details > summary::before {content:none}
body.edge-blog-page :is(main,#swp,#ebdw-main) details > summary::after {content:"+"!important;position:static;float:none;flex:none;font-size:20px;font-weight:600;line-height:1.5;color:var(--eb-theme-ink)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) details[open] > summary::after {content:"\2212"!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) details > p {margin:0;padding:0 34px 16px 4px;font-size:var(--eb-theme-body)!important;line-height:1.65;color:var(--eb-theme-text)}

/* Existing breadcrumb links remain visible and readable. */
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.guide-crumbs,.eb-crumbs,.ebdw-crumb,.swp-crumbs) {color:var(--eb-theme-text)!important;font-size:var(--eb-theme-small)!important;font-weight:500;line-height:1.5}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.guide-crumbs,.eb-crumbs,.ebdw-crumb,.swp-crumbs) a {color:var(--eb-theme-ink)!important;text-decoration:underline;text-underline-offset:3px}
body.edge-blog-page :is(main,#swp,#ebdw-main) .edge-blog-breadcrumbs {padding-block:18px}
body.edge-blog-page :is(main,#swp,#ebdw-main) .edge-blog-breadcrumbs > :is(.guide-crumbs,.eb-crumbs,.ebdw-crumb,.swp-crumbs) {margin:0}
body.edge-blog-page .footer-v2 .footer-v2-status-dot {background:var(--eb-theme-muted-dark)!important;box-shadow:none!important}

/* Keep long articles compact, not cramped, especially on phones. */
body.edge-blog-page :is(main,#swp,#ebdw-main) > :is(.ix-section,.ix-soft-section,.ix-compare-section,.ix-practical,.ix-trust-section,.ix-faq-section,.ix-related,.ix-tool-bridge,.ix-final,.ix-examples,.ix-checklist,.swp-section,.swp-final) {padding-block:56px}
body.edge-blog-page :is(main,#swp,#ebdw-main) > .ix-article-section {padding-block:44px}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-section-head,.ix-scan-snapshot-head) {margin-bottom:24px}
@media(max-width:680px){
  body.edge-blog-page :is(main,#swp,#ebdw-main) > :is(.ix-section,.ix-soft-section,.ix-compare-section,.ix-practical,.ix-trust-section,.ix-faq-section,.ix-related,.ix-tool-bridge,.ix-final,.ix-examples,.ix-checklist,.swp-section,.swp-final) {padding-block:32px 36px}
  body.edge-blog-page :is(main,#swp,#ebdw-main) > .ix-article-section {padding-block:28px}
  body.edge-blog-page :is(main,#swp,#ebdw-main) > :is(.ix-hero,.ix-article-hero,.eb-hero,.ebdw-hero,.guide-hero,.swp-hero) {padding-block:32px 36px}
  body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-section-head,.ix-scan-snapshot-head) {margin-bottom:18px}
  body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-criteria-card,.ix-signal,.ix-compare-card,.ix-workflow-card,.ix-practical-card,.ix-source-card,.ix-market-card,.ix-checklist-box,.ix-related-card,.ix-callout,.ix-trust-panel,.swp-card,.swp-plan) {padding:20px}
  body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-trust-row,.ix-check-item) {padding:14px}
}

/* Legacy guide templates have a few more-specific selectors; keep their
 * structure but make article links and supporting metadata centrally controlled. */
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.eb-article,.ebdw-article,.guide-article,.ix-reading) a:not(.eb-btn):not(.ebdw-btn):not(.guide-button):not(.guide-secondary) {color:var(--eb-theme-ink)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.guide-aside,.eb-sidebar,.guide-related) a {color:var(--eb-theme-ink)!important}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-proof-number,.swp-stat strong) {font-weight:700;font-variant-numeric:tabular-nums}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.eb-article p.eb-fineprint,.ebdw-article p.ebdw-fine,.guide-disclaimer) {font-size:var(--eb-theme-small)!important;line-height:1.55}
body.edge-blog-page :is(main,#swp,#ebdw-main) :is(.ix-reading a,.eb-inline-link,.ix-comparison-jump,.ix-scan-snapshot-foot a):hover {color:var(--eb-theme-navy)!important}
