/* Digital Raptor Masterpiece 2.5.41 — Centralized Editorial 2026 UI.
 * The entire visual language is owned by this child theme.
 * Only single posts with _dr26_editorial_enabled=1 are enqueued.
 * DRRM imports semantic content/sidecars and never ships presentation assets.
 */
.dr26-editorial {
  --dr26-ink:#0b0c12; --dr26-blue:#386bb7; --dr26-coral:#e24c4a;
  --dr26-paper:#fff; --dr26-muted:#636a78; --dr26-line:rgba(17,23,39,.13);
  font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#252934; font-size:clamp(16px,1.24vw,18px);line-height:1.82;
  letter-spacing:-.008em; overflow-wrap:break-word;
}
.dr26-editorial *, .dr26-editorial *::before, .dr26-editorial *::after {box-sizing:border-box}
.dr26-editorial .dr26-essay {width:100%;max-width:860px;margin-inline:auto;}
.dr26-editorial .dr26-essay>p {margin:0 0 1.35em;max-width:76ch}
.dr26-editorial strong {font-weight:760;color:#101420}
.dr26-editorial a {color:#225b9b;text-decoration:underline;text-decoration-color:rgba(56,107,183,.36);text-decoration-thickness:1.5px;text-underline-offset:4px}
.dr26-editorial a:hover {color:var(--dr26-coral);text-decoration-color:var(--dr26-coral)}
.dr26-editorial a:focus-visible,.dr26-editorial summary:focus-visible{outline:3px solid #386bb7;outline-offset:4px;border-radius:3px}
.dr26-editorial .dr26-lead {font-size:clamp(20px,2.2vw,27px);line-height:1.51;font-weight:515;letter-spacing:-.025em;color:#141926;max-width:68ch;margin-bottom:30px}
.dr26-editorial h2, .dr26-editorial h3 {font-family:Sora,Manrope,sans-serif;color:#111520;text-wrap:balance}
.dr26-editorial h2 {font-size:clamp(26px,3vw,35px);letter-spacing:-.047em;line-height:1.22;font-weight:750;margin:66px 0 24px;scroll-margin-top:115px}
.dr26-editorial h3 {font-size:19px;letter-spacing:-.032em;line-height:1.35;margin:0 0 5px;font-weight:700}
.dr26-editorial .dr26-thesis {position:relative;overflow:hidden;background:#0b0e19;color:white;border:1px solid rgba(255,255,255,.09);border-radius:22px;padding:29px 36px 32px;margin:43px 0 44px;box-shadow:0 22px 48px rgba(17,23,39,.12)}
.dr26-editorial .dr26-thesis::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#e24c4a,#ae5884,#386bb7)}
.dr26-editorial .dr26-thesis::after{content:"";position:absolute;width:220px;height:220px;right:-75px;top:-75px;pointer-events:none;border-radius:50%;background:radial-gradient(circle,rgba(56,107,183,.18),transparent 66%)}
.dr26-editorial .dr26-thesis__eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.14em;font:750 12px/1.5 Manrope,sans-serif;color:#b8c4da;margin-bottom:13px}
.dr26-editorial .dr26-thesis p{font:610 clamp(20px,2.4vw,27px)/1.45 Sora,Manrope,sans-serif;letter-spacing:-.036em;color:#f9fafc;margin:0;max-width:49ch}
.dr26-editorial .dr26-thesis strong{color:#fff}
.dr26-editorial .dr26-pullquote{margin:44px 0 47px;padding:12px 12px 14px 31px;border-left:4px solid #d4585b;background:transparent}
.dr26-editorial .dr26-pullquote p{font:650 clamp(22px,2.35vw,28px)/1.48 Sora,Manrope,sans-serif;letter-spacing:-.035em;color:#131c31;margin:0;max-width:61ch}
.dr26-editorial .dr26-pullquote strong{color:#162d56}
.dr26-editorial .dr26-numbered {margin:24px 0 38px;border:1px solid #e1e5ec;border-radius:20px;overflow:hidden}
.dr26-editorial .dr26-numbered>div{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:21px 25px;border-bottom:1px solid #e6e9ee;background:#fff}
.dr26-editorial .dr26-numbered>div:nth-child(2n){background:#f9fafc}
.dr26-editorial .dr26-numbered>div:last-child{border-bottom:0}
.dr26-editorial .dr26-numbered>div>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf1f8;font:750 14px/1 Sora,sans-serif;color:#386bb7}
.dr26-editorial .dr26-numbered p{font-size:16px;line-height:1.6;margin:0;color:#4d586a}
.dr26-editorial .dr26-observation{display:flex;align-items:flex-start;gap:22px;background:#f3f6fb;padding:26px 30px;border-radius:17px;margin:40px 0 22px;border:1px solid #e1e9f5}
.dr26-editorial .dr26-observation>span{font-size:34px;line-height:1;color:#e24c4a}
.dr26-editorial .dr26-observation strong{font:740 17px Sora,sans-serif;display:block;margin-bottom:5px}
.dr26-editorial .dr26-observation p{margin:0;color:#455167;line-height:1.65;font-size:16px}
.dr26-editorial .dr26-cta{margin:54px 0 57px;padding:35px 38px;border-radius:24px;background:linear-gradient(120deg,#0a0c13 0%,#111c30 70%,#153c68 100%);color:#f8f9ff;overflow:hidden;position:relative;isolation:isolate}
.dr26-editorial .dr26-cta::after{content:"";position:absolute;z-index:-1;right:-80px;top:-90px;width:300px;height:300px;border-radius:50%;border:1px solid rgba(138,175,238,.2);box-shadow:0 0 0 50px rgba(138,175,238,.04),0 0 0 100px rgba(138,175,238,.025)}
.dr26-editorial .dr26-cta>span{font:780 11px Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#d3deef}
.dr26-editorial .dr26-cta h2{color:#fff;margin:13px 0 13px;font-size:clamp(25px,2.7vw,33px)}
.dr26-editorial .dr26-cta p{color:#d2d8e3;margin:0 0 24px;max-width:52ch;line-height:1.6;font-size:16px}
.dr26-editorial .dr26-cta a{display:inline-flex;align-items:center;gap:11px;border-radius:999px;padding:12px 20px;background:#fff;color:#172236;text-decoration:none;font-size:14px;font-weight:740;transition:transform .2s,background .2s}
.dr26-editorial .dr26-cta a:hover{color:#172236;background:#f3eeee;transform:translateY(-2px)}
.dr26-editorial .dr26-qna{margin:20px 0 45px}
.dr26-editorial .dr26-qna h2,.dr26-editorial .dr26-source h2{font-size:clamp(23px,2.5vw,29px);margin-bottom:19px}
.dr26-editorial .dr26-qna details{border-bottom:1px solid #dce0e6;padding:0}
.dr26-editorial .dr26-qna summary{cursor:pointer;list-style:none;position:relative;padding:20px 35px 20px 2px;font-size:17px;line-height:1.55;font-weight:740;color:#182034}
.dr26-editorial .dr26-qna summary::-webkit-details-marker{display:none}
.dr26-editorial .dr26-qna summary::after{content:"+";position:absolute;right:8px;top:13px;font-size:29px;color:#386bb7;font-weight:300}
.dr26-editorial .dr26-qna details[open] summary::after{content:"−"}
.dr26-editorial .dr26-qna details p{padding:0 24px 20px 2px;margin:0;font-size:16px;line-height:1.65;color:#465163}
.dr26-editorial .dr26-source{font-size:14px;margin:46px 0 28px;padding:24px 26px;border:1px solid #e2e6ee;background:#fafbfd;border-radius:15px}
.dr26-editorial .dr26-source h2{font-size:17px;letter-spacing:-.03em;margin:0 0 9px}
.dr26-editorial .dr26-source p{margin:0;line-height:1.65;color:#535c6a;font-size:14px}
/* Reusable SVG: content remains as real HTML in the DOM. */
.dr26-editorial .dr26-flow{margin:42px 0 55px;background:#0d1220;border-radius:22px;padding:31px 25px 25px;color:#fff;position:relative;overflow:hidden;isolation:isolate;border:1px solid rgba(73,109,172,.2)}
.dr26-editorial .dr26-flow figcaption{font:770 clamp(17px,2.1vw,23px)/1.35 Sora,Manrope,sans-serif;letter-spacing:-.035em;color:#fff;margin:0 0 24px}
.dr26-editorial .dr26-flow .dr26-flow-stage{position:relative;min-height:205px;display:grid;align-items:center;isolation:isolate}
.dr26-editorial .dr26-flow svg{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible}
.dr26-editorial .dr26-flow .dr26-flow-line{fill:none;stroke:#5f8ac6;stroke-width:2.3;stroke-linecap:round;stroke-dasharray:8 9;opacity:.6}
.dr26-editorial .dr26-flow.is-visible .dr26-flow-line{animation:dr26-flowline 12s linear infinite}
.dr26-editorial .dr26-flow .dr26-flow-glow{fill:none;stroke:url(#dr26-flow-grad);stroke-width:4;stroke-linecap:round;stroke-dasharray:80 720;stroke-dashoffset:680;opacity:.9}
.dr26-editorial .dr26-flow.is-visible .dr26-flow-glow{animation:dr26-flowmove 7s ease-in-out infinite}
.dr26-editorial .dr26-flow ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;margin:0}
.dr26-editorial .dr26-flow li{background:rgba(17,27,46,.95);border:1px solid rgba(119,151,199,.3);border-radius:15px;padding:15px 12px;min-height:120px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;backdrop-filter:blur(6px);gap:7px}
.dr26-editorial .dr26-flow li:nth-child(3){border-color:rgba(226,76,74,.75);box-shadow:0 0 26px rgba(226,76,74,.1)}
.dr26-editorial .dr26-flow li .dr26-step{font:750 11px Manrope,sans-serif;letter-spacing:.1em;color:#a3bddf}
.dr26-editorial .dr26-flow li strong{font:720 15px/1.3 Sora,Manrope,sans-serif;color:#fff}
.dr26-editorial .dr26-flow li em{font:500 11px/1.4 Manrope,sans-serif;color:#aabbd4;font-style:normal}
.dr26-editorial .dr26-flow .dr26-flow-note{font-size:13px;color:#c4d0e2;margin:20px 0 0;line-height:1.55}
.dr26-editorial .dr26-flow .dr26-flow-note strong{color:#fff}
.dr26-progress{position:fixed;inset:0 auto auto 0;width:var(--dr26-progress,0%);height:3px;z-index:9999;background:linear-gradient(90deg,#e24c4a,#ad4c81,#386bb7);pointer-events:none;transition:width .08s linear}
@keyframes dr26-flowline{to{stroke-dashoffset:-290}}
@keyframes dr26-flowmove{to{stroke-dashoffset:-680}}
@media(max-width:700px){
 .dr26-editorial{font-size:16px;line-height:1.73}
 .dr26-editorial h2{margin:46px 0 18px}
 .dr26-editorial .dr26-thesis{padding:24px 23px;border-radius:17px}
 .dr26-editorial .dr26-toc{padding:22px;border-radius:14px;margin-bottom:42px}
 .dr26-editorial .dr26-toc ol{grid-template-columns:1fr;gap:3px}
 .dr26-editorial .dr26-numbered>div{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:17px 14px}
 .dr26-editorial .dr26-numbered>div>span{width:34px;height:34px;font-size:12px}
 .dr26-editorial .dr26-observation{gap:12px;padding:20px}
 .dr26-editorial .dr26-cta{padding:29px 22px}
 .dr26-editorial .dr26-flow{padding:24px 17px}
 .dr26-editorial .dr26-flow ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .dr26-editorial .dr26-flow .dr26-flow-stage{min-height:290px}
 .dr26-editorial .dr26-flow svg{opacity:.65}
 .dr26-editorial .dr26-flow li{min-height:112px}
}
@media(max-width:385px){
 .dr26-editorial .dr26-flow li strong{font-size:13px}
 .dr26-editorial .dr26-flow .dr26-flow-stage{min-height:310px}
}
@media(prefers-reduced-motion:reduce){.dr26-editorial .dr26-flow .dr26-flow-line,.dr26-editorial .dr26-flow .dr26-flow-glow{animation:none!important}.dr26-progress{transition:none!important}.dr26-editorial .dr26-cta a{transition:none}}

/* Optional inline WebP/AVIF media in new imports */
.dr26-editorial figure.dr26-inline-media{margin:34px auto 42px;max-width:960px;}
.dr26-editorial .dr26-inline-media picture,.dr26-editorial .dr26-inline-media img{display:block;width:100%;height:auto;border-radius:18px;}
.dr26-editorial .dr26-inline-media figcaption{font-size:13px;line-height:1.6;margin:9px 1px 0;color:#5b6473;}


/* Masterpiece Editorial 2026 — reading experience (opt-in posts only).
 * The TOC belongs to the child theme, not the imported HTML. Removing it here
 * does NOT remove real H2/H3 headings, anchors, accessible content or Schema.
 */
body.dr26-editorial-post nav.dr-article-toc,
body.dr26-editorial-post .dr-article-shell > .dr-article-toc {
  display: none !important;
}
/* The child theme may reserve a layout column for its TOC. Free the space
 * on editorial posts without changing legacy blog templates. */
body.dr26-editorial-post .dr-article-shell {
  display: block !important;
}
body.dr26-editorial-post .dr-article-shell > .dr-article-content {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  margin-inline: auto;
}
/* Defensively lock badge/text into the intended grid cells if stale caches
 * momentarily contain wpautop's stray paragraph elements. */
.dr26-editorial .dr26-numbered > div { align-items: start; min-width: 0; }
.dr26-editorial .dr26-numbered > div > span {grid-column: 1; grid-row: 1;}
.dr26-editorial .dr26-numbered > div > div {
  grid-column: 2; grid-row: 1; min-width: 0; width: 100%;
}
.dr26-editorial .dr26-numbered > div > p {display: none !important;}
.dr26-editorial .dr26-numbered > div > div > h3 {
  max-width: none !important;
  width: auto;
  overflow-wrap: break-word;
  word-break: normal;
}
.dr26-editorial .dr26-numbered > div > div > p {
  max-width: none;
  width: auto;
  overflow-wrap: break-word;
}
@media (max-width: 700px) {
  body.dr26-editorial-post .dr-article-shell > .dr-article-content {
    max-width: 100%;
  }
  .dr26-editorial .dr26-numbered > div > div > h3 {font-size: 16px; line-height: 1.4;}
}

/* Grid defensive rules: editorial cards should never become a 50px title column. */
.dr26-editorial .dr26-numbered > div { grid-template-columns:52px minmax(0,1fr); }
.dr26-editorial .dr26-numbered > div > div { min-width:0; width:100%; }
.dr26-editorial .dr26-numbered h3 { overflow-wrap:normal; word-break:normal; hyphens:none; }
/* Avoid inherited global article figure margin rules stretching the editorial diagrams. */
body.dr26-editorial-post .dr-article-content .dr26-flow { margin:42px 0 55px !important; }
@media (max-width:700px){
 .dr26-editorial .dr26-numbered > div { grid-template-columns:42px minmax(0,1fr); gap:14px; padding:18px 16px; }
 .dr26-editorial .dr26-numbered > div > span { width:38px; height:38px; }
 .dr26-editorial .dr26-numbered h3 { overflow-wrap:normal; }
 body.dr26-editorial-post .dr-article-content .dr26-flow { margin:32px 0 42px !important; }
}
