/*
 * De Synthese Codex, post 2585
 * Post-scoped white editorial override. It deliberately owns no interaction.
 */

body.postid-2585 {
  --sc-paper: #ffffff;
  --sc-paper-soft: #f5f8f5;
  --sc-ink: #18251f;
  --sc-ink-soft: #405147;
  --sc-muted: #64736a;
  --sc-green: #145c47;
  --sc-green-deep: #0d4234;
  --sc-teal: #2c7d7c;
  --sc-gold: #a88236;
  --sc-line: #d8e2dc;
  --sc-focus: #075f69;
  color-scheme: light;
  background: var(--sc-paper) !important;
  color: var(--sc-ink) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* The site toggle writes data-theme on html. Light is the editorial default. */
html[data-theme="light"] body.postid-2585 {
  background: var(--sc-paper) !important;
  color: var(--sc-ink) !important;
}

/* Keep the existing third mode distinct without affecting the two toggle modes. */
html[data-theme="sepia"] body.postid-2585 {
  --sc-paper: #fcfaf5;
  --sc-paper-soft: #f5f0e7;
  --sc-ink: #2c312a;
  --sc-ink-soft: #4c574d;
  --sc-muted: #6c7268;
  --sc-green: #27624f;
  --sc-green-deep: #1a4739;
  --sc-teal: #336f72;
  --sc-line: #dedbd1;
  --sc-focus: #075f69;
  color-scheme: light;
  background: var(--sc-paper) !important;
  color: var(--sc-ink) !important;
}

/* Dark mode is intentionally complete: canvas, text and every local component. */
html[data-theme="dark"] body.postid-2585 {
  --sc-paper: #101d24;
  --sc-paper-soft: #152831;
  --sc-ink: #f1f7f4;
  --sc-ink-soft: #cfddd6;
  --sc-muted: #a9beb4;
  --sc-green: #83cfad;
  --sc-green-deep: #d9f3e6;
  --sc-teal: #82d4d0;
  --sc-gold: #d4bb79;
  --sc-line: #34505a;
  --sc-focus: #91e0db;
  color-scheme: dark;
  background: var(--sc-paper) !important;
  color: var(--sc-ink) !important;
}

body.postid-2585::before,
body.postid-2585 .dr-single-shell::before,
body.postid-2585 .dr-single-hero-wrap::before {
  display: none !important;
}

body.postid-2585 .dr-single-shell,
body.postid-2585 .dr-single-body-wrap,
body.postid-2585 .dr-single-content-wrap,
body.postid-2585 .wp-block-post-content,
body.postid-2585 .dr-post,
body.postid-2585 .dr-post-body {
  background: var(--sc-paper) !important;
  color: var(--sc-ink) !important;
}

/* The active custom article header remains the one visible H1. */
body.postid-2585 .wp-block-post-title,
body.postid-2585 .wp-block-post-excerpt,
body.postid-2585 .wp-block-post-title + .wp-block-post-excerpt {
  display: none !important;
}

body.postid-2585 .dr-post-header,
body.postid-2585 .dr-post-header.dr-premium-hero,
body.postid-2585 .dr-premium-maritime .dr-post-header,
body.postid-2585 .dr-editorial-flow .dr-post-header {
  width: min(100% - 48px, 760px) !important;
  max-width: 760px !important;
  min-height: 0 !important;
  margin: clamp(2rem, 5vw, 4.5rem) auto clamp(2rem, 4vw, 3.5rem) !important;
  padding: 0 0 clamp(1.6rem, 3vw, 2.4rem) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sc-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.postid-2585 .dr-post-header::before,
body.postid-2585 .dr-post-header::after {
  display: none !important;
}

body.postid-2585 .dr-post-kicker,
body.postid-2585 .dr-section-label,
body.postid-2585 .dr-label,
body.postid-2585 .dr-post-meta,
body.postid-2585 .dr-single-publication-meta,
body.postid-2585 .dr-single-publication-meta__eyebrow,
body.postid-2585 .dr-single-publication-meta__dates {
  color: var(--sc-green) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
}

body.postid-2585 .dr-post-kicker,
body.postid-2585 .dr-section-label,
body.postid-2585 .dr-label,
body.postid-2585 .dr-single-publication-meta__eyebrow {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
}

body.postid-2585 .dr-post-title,
body.postid-2585 .wp-block-post-content h1 {
  max-width: 13ch !important;
  margin: 0 0 1.15rem !important;
  color: var(--sc-green-deep) !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(2.65rem, 7vw, 4.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.035em !important;
}

body.postid-2585 .dr-post-intro,
body.postid-2585 .dr-post-lead {
  max-width: 42rem !important;
  margin: 0 !important;
  color: var(--sc-ink-soft) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: clamp(1.16rem, 2.2vw, 1.4rem) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
}

body.postid-2585 .dr-post-meta {
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top-color: var(--sc-line) !important;
  color: var(--sc-muted) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
}

body.postid-2585 .dr-single-shell .wp-block-post-content > .dr-post .dr-post-body,
body.postid-2585 .dr-single-shell .wp-block-post-content .dr-post .dr-post-body,
body.postid-2585 .wp-block-post-content > :not(.dr-post),
body.postid-2585 .dr-post-body {
  width: min(100% - 48px, 760px) !important;
  max-width: 760px !important;
  margin-inline: auto !important;
}

body.postid-2585 .dr-post p,
body.postid-2585 .dr-post li,
body.postid-2585 .wp-block-post-content > p,
body.postid-2585 .wp-block-post-content > ul,
body.postid-2585 .wp-block-post-content > ol {
  color: var(--sc-ink) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

body.postid-2585 .dr-post p,
body.postid-2585 .wp-block-post-content > p {
  margin-block: 0 1.45rem !important;
}

/*
 * Editorial media inserted through the WordPress Media Library. The intrinsic
 * width and height attributes emitted by WordPress reserve layout space; these
 * rules preserve that ratio, constrain every asset to the reading column and
 * let the vertical cover and portrait keep their natural width.
 */
body.postid-2585 .dr-post-body > figure,
body.postid-2585 .dr-post-body > .wp-block-image,
body.postid-2585 .dr-post-section > figure,
body.postid-2585 .dr-post-section > .wp-block-image {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: clamp(2.25rem, 5vw, 3.5rem) auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.postid-2585 .dr-post-body > figure img,
body.postid-2585 .dr-post-body > .wp-block-image img,
body.postid-2585 .dr-post-section > figure img,
body.postid-2585 .dr-post-section > .wp-block-image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin-inline: auto !important;
  border: 1px solid var(--sc-line) !important;
  background: var(--sc-paper-soft) !important;
  object-fit: contain !important;
}

body.postid-2585 .dr-post-body > figure figcaption,
body.postid-2585 .dr-post-body > .wp-block-image figcaption,
body.postid-2585 .dr-post-section > figure figcaption,
body.postid-2585 .dr-post-section > .wp-block-image figcaption,
body.postid-2585 .dr-post .wp-element-caption {
  max-width: 44rem !important;
  margin: 0.8rem auto 0 !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid var(--sc-line) !important;
  color: var(--sc-muted) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  font-style: normal !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere;
  text-align: left !important;
}

/* Editorial rhythm: labels and pauses clarify the argument without card UI. */
body.postid-2585 .dr-review-chapter-marker {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
  margin: 0 0 0.8rem !important;
  color: var(--sc-green) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.11em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.postid-2585 .dr-review-chapter-marker::after {
  flex: 1 1 auto;
  min-width: 2rem;
  height: 1px;
  background: var(--sc-line);
  content: "";
}

body.postid-2585 .dr-review-chapter-marker > span,
body.postid-2585 .dr-review-question__label,
body.postid-2585 .dr-review-verdict__label {
  color: var(--sc-green) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.postid-2585 .dr-review-question {
  max-width: 42rem;
  margin: clamp(2.25rem, 5vw, 3.5rem) auto !important;
  padding: 0.15rem 0 0.15rem clamp(1rem, 3vw, 1.5rem) !important;
  border-left: 2px solid var(--sc-teal) !important;
  background: transparent !important;
}

body.postid-2585 .dr-review-question p {
  margin: 0 !important;
}

body.postid-2585 .dr-review-question__label {
  margin-bottom: 0.55rem !important;
}

body.postid-2585 .dr-review-question p:not(.dr-review-question__label) {
  color: var(--sc-ink-soft) !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.25rem, 2.35vw, 1.6rem) !important;
  line-height: 1.42 !important;
}

body.postid-2585 .dr-review-contrast {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(2.25rem, 5vw, 3.5rem) 0 !important;
  border-top: 1px solid var(--sc-line) !important;
  border-bottom: 1px solid var(--sc-line) !important;
}

body.postid-2585 .dr-review-contrast > div {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.4rem) 0 !important;
}

body.postid-2585 .dr-review-contrast > div + div {
  padding-left: clamp(1rem, 3vw, 1.75rem) !important;
  border-left: 1px solid var(--sc-line) !important;
}

body.postid-2585 .dr-review-contrast dt {
  margin-bottom: 0.5rem;
  color: var(--sc-green-deep) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

body.postid-2585 .dr-review-contrast dd {
  margin: 0 !important;
  color: var(--sc-ink-soft) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 0.98rem !important;
  line-height: 1.58 !important;
}

body.postid-2585 .dr-review-transition {
  margin: clamp(3rem, 7vw, 5rem) 0 clamp(2.25rem, 5vw, 3.5rem) !important;
  padding-block: clamp(1.25rem, 3vw, 1.75rem) !important;
  border-top: 1px solid var(--sc-green) !important;
  border-bottom: 1px solid var(--sc-line) !important;
  background: transparent !important;
}

body.postid-2585 .dr-review-transition .dr-review-chapter-marker {
  margin-bottom: 0.7rem !important;
}

body.postid-2585 .dr-review-transition > p:last-child {
  max-width: 38rem;
  margin: 0 !important;
  color: var(--sc-ink-soft) !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem) !important;
  line-height: 1.45 !important;
}

body.postid-2585 .dr-review-verdict {
  margin: clamp(2.75rem, 6vw, 4.5rem) 0 0 !important;
  padding: clamp(1.25rem, 3vw, 1.75rem) 0 0 !important;
  border-top: 2px solid var(--sc-green) !important;
  background: transparent !important;
}

body.postid-2585 .dr-review-verdict p {
  margin: 0 !important;
}

body.postid-2585 .dr-review-verdict__label {
  margin-bottom: 0.6rem !important;
}

body.postid-2585 .dr-review-verdict p:not(.dr-review-verdict__label) {
  max-width: 44rem;
  color: var(--sc-green-deep) !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem) !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
}

@media (min-width: 700px) {
  body.postid-2585 .dr-post .dr-review-media--cover {
    width: min(100%, 33.375rem) !important;
    margin-right: 0 !important;
    margin-left: auto !important;
  }

  body.postid-2585 .dr-post .dr-review-media--portrait {
    width: min(100%, 28.1875rem) !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }
}

body.postid-2585 .dr-post h2,
body.postid-2585 .dr-post h3,
body.postid-2585 .dr-post h4,
body.postid-2585 .wp-block-post-content h2,
body.postid-2585 .wp-block-post-content h3,
body.postid-2585 .wp-block-post-content h4 {
  color: var(--sc-green-deep) !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
}

body.postid-2585 .dr-post h2,
body.postid-2585 .wp-block-post-content h2 {
  margin-top: clamp(2.75rem, 6vw, 4.5rem) !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  font-size: clamp(1.75rem, 3.5vw, 2.45rem) !important;
}

body.postid-2585 .dr-post h3,
body.postid-2585 .wp-block-post-content h3 {
  margin-top: 2.25rem !important;
  margin-bottom: 0.75rem !important;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
}

body.postid-2585 .dr-post strong,
body.postid-2585 .wp-block-post-content strong {
  color: var(--sc-green-deep) !important;
}

body.postid-2585 .dr-post em,
body.postid-2585 .wp-block-post-content em {
  color: var(--sc-ink-soft) !important;
}

body.postid-2585 .dr-post a,
body.postid-2585 .wp-block-post-content a,
body.postid-2585 .dr-single-publication-meta a {
  color: var(--sc-green) !important;
  text-decoration-color: color-mix(in srgb, var(--sc-green) 45%, transparent) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.16em !important;
}

body.postid-2585 .dr-post a:hover,
body.postid-2585 .dr-post a:focus-visible,
body.postid-2585 .wp-block-post-content a:hover,
body.postid-2585 .wp-block-post-content a:focus-visible {
  color: var(--sc-teal) !important;
  text-decoration-color: currentColor !important;
}

body.postid-2585 :focus-visible {
  outline: 3px solid var(--sc-focus) !important;
  outline-offset: 3px !important;
}

body.postid-2585 .dr-post-section,
body.postid-2585 .dr-section,
body.postid-2585 .dr-takeaway,
body.postid-2585 .dr-definition,
body.postid-2585 .dr-why-matters,
body.postid-2585 .dr-warning,
body.postid-2585 .dr-quote,
body.postid-2585 .dr-sources,
body.postid-2585 .dr-post-cta,
body.postid-2585 .dr-related-reading,
body.postid-2585 .rankmath-toc-block,
body.postid-2585 .dr-rankmath-toc {
  background: transparent !important;
  color: var(--sc-ink) !important;
  border-color: var(--sc-line) !important;
  box-shadow: none !important;
}

body.postid-2585 .dr-post-section,
body.postid-2585 .dr-section {
  display: block !important;
  margin-top: clamp(2.5rem, 6vw, 4rem) !important;
  padding: 0 !important;
  border: 0 !important;
}

body.postid-2585 .dr-takeaway,
body.postid-2585 .dr-definition,
body.postid-2585 .dr-why-matters,
body.postid-2585 .dr-warning,
body.postid-2585 .dr-quote,
body.postid-2585 .dr-sources,
body.postid-2585 .dr-post-cta,
body.postid-2585 .dr-related-reading,
body.postid-2585 .rankmath-toc-block,
body.postid-2585 .dr-rankmath-toc {
  margin-block: 2rem !important;
  padding: clamp(1.25rem, 3vw, 1.75rem) !important;
  border: 1px solid var(--sc-line) !important;
  border-left: 3px solid var(--sc-green) !important;
  border-radius: 0 !important;
}

body.postid-2585 .dr-post blockquote,
body.postid-2585 .wp-block-post-content blockquote {
  margin: 2.5rem 0 !important;
  padding: 0.25rem 0 0.25rem 1.4rem !important;
  border: 0 !important;
  border-left: 3px solid var(--sc-teal) !important;
  background: transparent !important;
  color: var(--sc-ink-soft) !important;
  box-shadow: none !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  line-height: 1.45 !important;
}

body.postid-2585 .dr-post code,
body.postid-2585 .wp-block-post-content code {
  background: var(--sc-paper-soft) !important;
  color: var(--sc-green-deep) !important;
}

body.postid-2585 .dr-post pre,
body.postid-2585 .wp-block-post-content pre {
  max-width: 100% !important;
  overflow-x: auto !important;
  background: var(--sc-paper-soft) !important;
  color: var(--sc-ink) !important;
  border: 1px solid var(--sc-line) !important;
}

body.postid-2585 .dr-single-publication-meta,
body.postid-2585 .dr-single-tags,
body.postid-2585 .dr-single-post-nav {
  width: min(100% - 48px, 760px) !important;
  max-width: 760px !important;
  margin-inline: auto !important;
  background: transparent !important;
  color: var(--sc-ink-soft) !important;
  border-color: var(--sc-line) !important;
}

body.postid-2585 .dr-single-post-nav a {
  background: transparent !important;
  color: var(--sc-green) !important;
  border-color: var(--sc-line) !important;
  box-shadow: none !important;
}

body.postid-2585 .dr-toc-btn,
body.postid-2585 .dr-toc-panel {
  border-color: var(--sc-line) !important;
  background: var(--sc-paper) !important;
  color: var(--sc-green-deep) !important;
}

body.postid-2585 .dr-toc-overlay {
  background: rgb(24 37 31 / 22%) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-single-shell,
html[data-theme="dark"] body.postid-2585 .dr-single-body-wrap,
html[data-theme="dark"] body.postid-2585 .dr-single-content-wrap,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content,
html[data-theme="dark"] body.postid-2585 .dr-post,
html[data-theme="dark"] body.postid-2585 .dr-post-body {
  background: var(--sc-paper) !important;
  color: var(--sc-ink) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post-header {
  border-bottom-color: var(--sc-line) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post-title,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content h1,
html[data-theme="dark"] body.postid-2585 .dr-post h2,
html[data-theme="dark"] body.postid-2585 .dr-post h3,
html[data-theme="dark"] body.postid-2585 .dr-post h4,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content h2,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content h3,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content h4,
html[data-theme="dark"] body.postid-2585 .dr-post strong,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content strong {
  color: var(--sc-green-deep) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post-intro,
html[data-theme="dark"] body.postid-2585 .dr-post-lead,
html[data-theme="dark"] body.postid-2585 .dr-post em,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content em {
  color: var(--sc-ink-soft) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post p,
html[data-theme="dark"] body.postid-2585 .dr-post li,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content > p,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content > ul,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content > ol,
html[data-theme="dark"] body.postid-2585 .dr-post-section,
html[data-theme="dark"] body.postid-2585 .dr-section,
html[data-theme="dark"] body.postid-2585 .dr-single-publication-meta,
html[data-theme="dark"] body.postid-2585 .dr-single-tags,
html[data-theme="dark"] body.postid-2585 .dr-single-post-nav {
  color: var(--sc-ink) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post a,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content a,
html[data-theme="dark"] body.postid-2585 .dr-single-publication-meta a,
html[data-theme="dark"] body.postid-2585 .dr-single-post-nav a {
  color: var(--sc-green) !important;
  text-decoration-color: color-mix(in srgb, var(--sc-green) 48%, transparent) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post a:hover,
html[data-theme="dark"] body.postid-2585 .dr-post a:focus-visible,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content a:hover,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content a:focus-visible {
  color: var(--sc-teal) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-takeaway,
html[data-theme="dark"] body.postid-2585 .dr-definition,
html[data-theme="dark"] body.postid-2585 .dr-why-matters,
html[data-theme="dark"] body.postid-2585 .dr-warning,
html[data-theme="dark"] body.postid-2585 .dr-quote,
html[data-theme="dark"] body.postid-2585 .dr-sources,
html[data-theme="dark"] body.postid-2585 .dr-post-cta,
html[data-theme="dark"] body.postid-2585 .dr-related-reading,
html[data-theme="dark"] body.postid-2585 .rankmath-toc-block,
html[data-theme="dark"] body.postid-2585 .dr-rankmath-toc,
html[data-theme="dark"] body.postid-2585 .dr-toc-btn,
html[data-theme="dark"] body.postid-2585 .dr-toc-panel,
html[data-theme="dark"] body.postid-2585 .dr-single-post-nav a {
  background: var(--sc-paper-soft) !important;
  color: var(--sc-ink) !important;
  border-color: var(--sc-line) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-toc-btn,
html[data-theme="dark"] body.postid-2585 .dr-toc-panel,
html[data-theme="dark"] body.postid-2585 .dr-single-post-nav a {
  color: var(--sc-green-deep) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post blockquote,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content blockquote {
  color: var(--sc-ink-soft) !important;
  border-left-color: var(--sc-teal) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-post code,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content code,
html[data-theme="dark"] body.postid-2585 .dr-post pre,
html[data-theme="dark"] body.postid-2585 .wp-block-post-content pre {
  background: #0b151b !important;
  color: var(--sc-ink) !important;
  border-color: var(--sc-line) !important;
}

html[data-theme="dark"] body.postid-2585 .dr-toc-overlay {
  background: rgb(4 12 16 / 70%) !important;
}

/* Philosophy & Legacy bridge: one internal editorial route, not a card grid. */
body.postid-2585 .dr-philosophy-legacy-bridge {
  --sc-philosophy-bridge-bg: #101d24;
  --sc-philosophy-bridge-ink: #f7f3e9;
  --sc-philosophy-bridge-muted: #d2d9d4;
  --sc-philosophy-bridge-gold: #ebcf90;
  --sc-philosophy-bridge-gold-soft: rgb(235 207 144 / 42%);
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  margin: clamp(3.5rem, 8vw, 6.5rem) 0 !important;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem) !important;
  overflow: hidden;
  color: var(--sc-philosophy-bridge-ink);
  background:
    linear-gradient(112deg, rgb(5 15 21 / 28%), transparent 54%),
    var(--sc-philosophy-bridge-bg);
  border-top: 1px solid var(--sc-philosophy-bridge-gold-soft);
  border-bottom: 1px solid var(--sc-philosophy-bridge-gold-soft);
  color-scheme: dark;
}

body.postid-2585 .dr-philosophy-legacy-bridge::before,
body.postid-2585 .dr-philosophy-legacy-bridge::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body.postid-2585 .dr-philosophy-legacy-bridge::before {
  inset: 1rem;
  border: 1px solid rgb(235 207 144 / 16%);
}

body.postid-2585 .dr-philosophy-legacy-bridge::after {
  top: 0;
  right: clamp(1.25rem, 5vw, 4rem);
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--sc-philosophy-bridge-gold-soft), transparent);
}

body.postid-2585 .dr-philosophy-legacy-bridge__inner {
  position: relative;
  max-width: 40rem;
}

body.postid-2585 .dr-philosophy-legacy-bridge__label,
body.postid-2585 .dr-philosophy-legacy-bridge__title,
body.postid-2585 .dr-philosophy-legacy-bridge__description {
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.postid-2585 .dr-philosophy-legacy-bridge__label {
  margin: 0 0 1rem !important;
  color: var(--sc-philosophy-bridge-gold) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
  line-height: 1.35 !important;
}

body.postid-2585 .dr-philosophy-legacy-bridge__title {
  margin: 0 !important;
  color: var(--sc-philosophy-bridge-ink) !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(2rem, 4.6vw, 3.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.08 !important;
}

body.postid-2585 .dr-philosophy-legacy-bridge__description {
  max-width: 37rem;
  margin: clamp(1.2rem, 2.5vw, 1.75rem) 0 0 !important;
  color: var(--sc-philosophy-bridge-muted) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: clamp(1rem, 1.45vw, 1.15rem) !important;
  line-height: 1.65 !important;
}

body.postid-2585 .dr-philosophy-legacy-bridge__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: 0.35rem 0;
  color: var(--sc-philosophy-bridge-gold) !important;
  border-bottom: 1px solid currentColor;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.045em !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  text-underline-offset: 0.2em;
}

body.postid-2585 .dr-philosophy-legacy-bridge__link:hover {
  color: #fff4d8 !important;
  border-bottom-color: #fff4d8;
}

body.postid-2585 .dr-philosophy-legacy-bridge__link:focus-visible {
  outline: 2px solid #fff4d8;
  outline-offset: 0.35rem;
  color: #fff4d8 !important;
  border-bottom-color: #fff4d8;
}

@media (max-width: 600px) {
  body.postid-2585 .dr-post-header,
  body.postid-2585 .dr-single-shell .wp-block-post-content > .dr-post .dr-post-body,
  body.postid-2585 .dr-single-shell .wp-block-post-content .dr-post .dr-post-body,
  body.postid-2585 .wp-block-post-content > :not(.dr-post),
  body.postid-2585 .dr-post-body,
  body.postid-2585 .dr-single-publication-meta,
  body.postid-2585 .dr-single-tags,
  body.postid-2585 .dr-single-post-nav {
    width: min(100% - 32px, 760px) !important;
  }

  body.postid-2585 .dr-post-title,
  body.postid-2585 .wp-block-post-content h1 {
    font-size: clamp(2.3rem, 13vw, 3.15rem) !important;
  }

  body.postid-2585 .dr-post p,
  body.postid-2585 .dr-post li,
  body.postid-2585 .wp-block-post-content > p,
  body.postid-2585 .wp-block-post-content > ul,
  body.postid-2585 .wp-block-post-content > ol {
    font-size: 1.0625rem !important;
    line-height: 1.7 !important;
  }

  body.postid-2585 .dr-post-body > figure,
  body.postid-2585 .dr-post-body > .wp-block-image,
  body.postid-2585 .dr-post-section > figure,
  body.postid-2585 .dr-post-section > .wp-block-image {
    margin-block: 2rem !important;
  }

  body.postid-2585 .dr-post-body > figure figcaption,
  body.postid-2585 .dr-post-body > .wp-block-image figcaption,
  body.postid-2585 .dr-post-section > figure figcaption,
  body.postid-2585 .dr-post-section > .wp-block-image figcaption,
  body.postid-2585 .dr-post .wp-element-caption {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
  }

  body.postid-2585 .dr-review-question {
    margin-block: 2rem !important;
  }

  body.postid-2585 .dr-review-question p:not(.dr-review-question__label) {
    font-size: 1.25rem !important;
  }

  body.postid-2585 .dr-review-contrast {
    grid-template-columns: 1fr;
    margin-block: 2rem !important;
  }

  body.postid-2585 .dr-review-contrast > div + div {
    padding-top: 1rem !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--sc-line) !important;
    border-left: 0 !important;
  }

  body.postid-2585 .dr-review-transition {
    margin-top: 3rem !important;
    margin-bottom: 2rem !important;
  }

  body.postid-2585 .dr-philosophy-legacy-bridge {
    margin-block: 3rem !important;
    padding: 2rem 1.25rem !important;
  }

  body.postid-2585 .dr-philosophy-legacy-bridge::before {
    inset: 0.7rem;
  }

  body.postid-2585 .dr-philosophy-legacy-bridge::after {
    right: 1.25rem;
  }

  body.postid-2585 .dr-philosophy-legacy-bridge__title {
    font-size: clamp(1.9rem, 10vw, 2.5rem) !important;
  }

  body.postid-2585 .dr-philosophy-legacy-bridge__link {
    font-size: 0.875rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.postid-2585 *,
  body.postid-2585 *::before,
  body.postid-2585 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
