/* DAVINCI Insights | universal single-post masthead (2026-11-09) */
body.single-post .dv-post-main{max-width:none!important;width:100%;padding:0!important;margin:0!important}
body.single-post .dv-post-main>.wp-block-shortcode{margin:0!important;max-width:none!important}
.dv-post-masthead{width:100%;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 82% 30%,rgba(181,145,91,.17),transparent 42%),linear-gradient(120deg,#171c20 0%,#252c31 67%,#332f2a 100%);color:#f7f5f1;border-bottom:1px solid rgba(217,197,164,.22)}
.dv-post-masthead:after{content:"";position:absolute;right:-160px;top:-260px;border:1px solid rgba(217,197,164,.08);width:640px;height:640px;border-radius:50%;z-index:-1}
.dv-post-masthead-inner{width:min(100% - 56px,1120px);margin:auto;padding:clamp(36px,5vw,70px) 0 clamp(68px,8vw,115px)}
.dv-post-breadcrumb{display:flex;align-items:center;gap:13px;font:500 10px/1.6 Arial,sans-serif;letter-spacing:.17em;color:#b8b4af;margin-bottom:clamp(42px,7vw,80px)}
.dv-post-breadcrumb a{color:#e3d1b4;text-decoration:none}
.dv-post-breadcrumb a:hover,.dv-post-eyebrow a:hover{color:#fff}
.dv-post-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font:600 11px/1.4 Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:#d9c5a4}
.dv-post-eyebrow a{color:inherit;text-decoration:none}
.dv-post-eyebrow-line{display:block;background:#b5915b;width:35px;height:1px}
.dv-post-eyebrow-separator{height:3px;width:3px;border-radius:50%;background:currentColor;opacity:.7}
.dv-post-headline{font-family:Georgia,Times,serif!important;font-size:clamp(42px,5.35vw,76px)!important;font-weight:400!important;line-height:1.11!important;letter-spacing:-.045em!important;color:#f7f5f1!important;max-width:1020px;margin:23px 0 35px!important;text-wrap:balance}
.dv-post-byline{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:#d0c9c0;font:400 13px/1.6 Arial,sans-serif}
.dv-post-byline-brand{font-weight:700;color:#fff;letter-spacing:.035em}
.dv-post-byline-brand span{font-style:italic;color:#d9c5a4;font-family:Georgia,serif;font-weight:400}
.dv-post-byline-dot{height:3px;width:3px;flex:0 0 3px;background:#b5915b;border-radius:50%}
.dv-post-feature-figure{width:min(calc(100% - 56px),1120px);max-width:none!important;margin:-48px auto 0!important;position:relative;z-index:2}
.dv-post-feature-image-wrap{position:relative;background:#2b3034;border:7px solid #f7f5f1;overflow:hidden;box-shadow:0 22px 58px rgba(19,25,27,.13)}
.dv-post-hero-image{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover;max-height:620px}
body.single-post .dv-post-main>.wp-block-post-content{margin:0 auto!important;max-width:1180px!important;width:100%;padding:30px 18px 65px}
body.single-post .dv-post-main>.wp-block-post-content .dv-insight-article{margin:0 auto;padding-top:0}
@media(max-width:700px){.dv-post-masthead-inner{width:calc(100% - 36px);padding:26px 0 68px}.dv-post-breadcrumb{margin-bottom:42px}.dv-post-headline{font-size:clamp(35px,9vw,51px)!important;margin:20px 0 28px!important}.dv-post-eyebrow{font-size:9px;gap:10px}.dv-post-feature-figure{width:calc(100% - 28px);margin-top:-37px!important}.dv-post-feature-image-wrap{border-width:4px}.dv-post-byline{font-size:12px;gap:9px}}

/* Editorial body for every DAVINCI article, including drafts when published. */
body.single-post .dv-insight-article{width:min(100%,1120px);max-width:1120px;margin:0 auto;padding:32px 24px 85px;font-family:Arial,sans-serif;font-size:17px;line-height:1.85;color:#31373b}
body.single-post .dv-insight-article>.dv-insight-kicker{font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#946f43;margin:0 0 24px}
body.single-post .dv-insight-article>.dv-insights-lede{font-family:Georgia,serif;font-size:clamp(22px,2.5vw,30px);font-weight:400;line-height:1.62;letter-spacing:-.012em;color:#504d47;max-width:875px;margin:14px auto 46px}
body.single-post .dv-insight-article>h2{font-family:Georgia,serif;color:#1c2227;font-weight:500;line-height:1.19;letter-spacing:-.03em;font-size:clamp(27px,3vw,37px);margin:52px auto 18px;max-width:875px}
body.single-post .dv-insight-article>p:not(.dv-insights-lede),body.single-post .dv-insight-article>ul{max-width:875px;margin:0 auto 20px}
body.single-post .dv-insight-article ul{padding-left:30px}
body.single-post .dv-insight-article li{margin-bottom:10px}
body.single-post .dv-insight-article>.dv-insight-note{margin-top:54px!important;border-left:3px solid #b5915b;background:#efebe4;padding:21px 26px;font-size:15px;line-height:1.8}
body.single-post .dv-insight-article>.dv-insight-note strong{color:#795a33}
body.single-post .dv-insight-article .dv-article-diagram{margin:35px auto 45px}
body.single-post .dv-insight-article .dv-article-diagram svg{width:100%;height:auto;display:block}
body.single-post .dv-insight-article .dv-article-diagram figcaption{font-size:12px;color:#6f6a62;line-height:1.6;text-align:center;padding:10px 4px}
@media(max-width:700px){body.single-post .dv-insight-article{padding:24px 5px 62px;font-size:16px}body.single-post .dv-insight-article>h2{margin-top:39px}body.single-post .dv-insight-article>.dv-insights-lede{margin-bottom:33px}}

/* DAVINCI_20261109_DIAGRAM_RESPONSIVE_FIX
   SVG diagrams inserted as <img> must scale to their containing article width,
   not their source file's intrinsic 1200px width. */
body.single-post .dv-post-main,
body.single-post .dv-post-main > .wp-block-post-content,
body.single-post .dv-insight-article {
  min-width: 0;
}
body.single-post .dv-insight-article .dv-article-diagram {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}
body.single-post .dv-insight-article .dv-article-diagram > img,
body.single-post .dv-insight-article .dv-article-diagram > svg {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  height: auto !important;
  object-fit: contain;
}
body.single-post .dv-insight-article .dv-article-diagram figcaption {
  max-width: 100%;
  overflow-wrap: anywhere;
}


/* Insights editorial full-width layout 2026-11-12 */
body.single-post {overflow-x:clip}
body.single-post main.dv-post-main {box-sizing:border-box;display:block;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:0!important}
body.single-post .dv-post-main>.wp-block-shortcode {display:block;width:100%!important;max-width:none!important;margin:0!important}
body.single-post .dv-post-masthead {position:relative;display:flex;align-items:end;min-height:clamp(490px,47vw,680px);width:100%;background:#171d22;isolation:isolate}
body.single-post .dv-post-masthead-media {position:absolute;inset:0;overflow:hidden;z-index:-2}
body.single-post .dv-post-masthead-media .dv-post-hero-image {display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center 46%}
body.single-post .dv-post-masthead:before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,18,23,.94),rgba(12,18,23,.76) 46%,rgba(12,18,23,.30)),linear-gradient(0deg,rgba(12,18,23,.40),transparent 65%)}
body.single-post .dv-post-masthead:after {display:none}
body.single-post .dv-post-masthead-inner {box-sizing:border-box;width:min(85%,1500px);max-width:none;padding:48px 0 72px;margin:0 auto}
body.single-post .dv-post-breadcrumb {margin-bottom:clamp(65px,9vw,125px)}
body.single-post .dv-post-headline {max-width:1050px;text-shadow:0 2px 18px rgba(0,0,0,.24)}
body.single-post .dv-post-main>.wp-block-post-content {box-sizing:border-box;width:85%!important;max-width:1500px!important;margin:0 auto!important;padding:clamp(44px,5vw,76px) 0 90px!important}
body.single-post .dv-insight-article {box-sizing:border-box;width:100%!important;max-width:none!important;padding:0!important;font-size:18px;line-height:1.85}
body.single-post .dv-insight-article>.dv-insights-lede,body.single-post .dv-insight-article>h2,body.single-post .dv-insight-article>p:not(.dv-insights-lede),body.single-post .dv-insight-article>ul {max-width:1100px}
@media(max-width:700px) {
body.single-post .dv-post-masthead {min-height:510px}
body.single-post .dv-post-masthead:before {background:linear-gradient(0deg,rgba(12,18,23,.97),rgba(12,18,23,.70) 66%,rgba(12,18,23,.20))}
body.single-post .dv-post-masthead-media .dv-post-hero-image {object-position:54% center}
body.single-post .dv-post-masthead-inner {width:calc(100% - 36px);padding:26px 0 50px}
body.single-post .dv-post-breadcrumb {margin-bottom:68px}
body.single-post .dv-post-headline {font-size:clamp(33px,8.7vw,48px)!important}
body.single-post .dv-post-main>.wp-block-post-content {width:calc(100% - 36px)!important;padding:32px 0 60px!important}
body.single-post .dv-insight-article {font-size:16px;line-height:1.8}
}
