/* dr-post-culture.css */

.dr-post{
  --dr-bg:#0D0B09;
  --dr-bg-soft:#17120e;
  --dr-panel:rgba(255,248,240,.04);
  --dr-panel-strong:rgba(255,248,240,.06);
  --dr-line:rgba(201,168,76,.24);
  --dr-line-strong:rgba(201,168,76,.42);
  --dr-text:#EADCC7;
  --dr-soft:#CBBCA4;
  --dr-muted:#A9957B;
  --dr-gold:#C9A84C;
  --dr-bronze:#B07B33;
  --dr-link:#4DB8C7;
  --dr-link-hover:#7AD3DE;
  --dr-warning-bg:rgba(176,123,51,.12);
  --dr-warning-line:rgba(201,168,76,.34);
  --dr-shadow:0 24px 70px rgba(0,0,0,.34);
  --dr-radius:22px;
  --dr-radius-sm:14px;
  --dr-max:880px;
  position:relative;
  width:min(calc(100% - 32px), 1200px);
  max-width:1200px;
  margin:clamp(28px,4vw,56px) auto;
  padding:clamp(20px,3vw,36px);
  color:var(--dr-text);
  isolation:isolate;
}

.dr-post::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  background:
    radial-gradient(circle at top right, rgba(201,168,76,.10), transparent 34%),
    radial-gradient(circle at bottom left, rgba(176,123,51,.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0));
  pointer-events:none;
  z-index:-2;
}

.dr-post::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.020) .7px, transparent .8px);
  background-size:100% 100%,100% 100%,3px 3px;
  mix-blend-mode:soft-light;
  opacity:.18;
  pointer-events:none;
  z-index:-1;
}

.dr-post > *{
  position:relative;
}

.dr-post-header,
.dr-post-body,
.dr-post-footer{
  width:min(100%, var(--dr-max));
  margin-inline:auto;
}

.dr-post-header{
  position:relative;
  padding:clamp(26px,4vw,44px);
  margin-bottom:clamp(28px,4vw,40px);
  border:1px solid var(--dr-line);
  border-radius:var(--dr-radius);
  background:
    linear-gradient(180deg, rgba(201,168,76,.06), rgba(255,255,255,.02)),
    rgba(12,10,8,.82);
  box-shadow:var(--dr-shadow);
  overflow:hidden;
}

.dr-post-header::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:2px;
  background:linear-gradient(90deg, transparent, var(--dr-gold), transparent);
  opacity:.9;
}

.dr-post-header::after{
  content:"";
  position:absolute;
  inset:auto -10% -30% auto;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(201,168,76,.12), transparent 68%);
  pointer-events:none;
}

.dr-post-kicker{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  margin:0 0 16px;
  padding:8px 14px;
  border:1px solid rgba(201,168,76,.28);
  border-radius:999px;
  background:rgba(201,168,76,.08);
  color:var(--dr-soft);
  font:700 .78rem/1 Arial, sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.dr-post-title{
  margin:0;
  color:#F4E7D4;
  font-family:"Playfair Display", serif;
  font-size:clamp(2.25rem, 5vw, 4.6rem);
  line-height:1.02;
  letter-spacing:-.02em;
  text-wrap:balance;
}

.dr-post-intro{
  max-width:64ch;
  margin:18px 0 0;
  color:var(--dr-soft);
  font-size:clamp(1.05rem, 1.55vw, 1.32rem);
  line-height:1.78;
}

.dr-post-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(201,168,76,.18);
  color:var(--dr-muted);
  font-size:.94rem;
}

.dr-post-meta span{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}

.dr-post-body{
  font-size:1.04rem;
  line-height:1.85;
}

.dr-post-body > * + *{
  margin-top:22px;
}

.dr-post-section{
  position:relative;
  padding:0;
  margin:0 0 clamp(28px,3vw,38px);
}

.dr-post-section h2,
.dr-post-section h3,
.dr-post-body h2,
.dr-post-body h3{
  color:#F3E2C4;
  font-family:"Playfair Display", serif;
  text-wrap:balance;
}

.dr-post-body h2{
  margin:0 0 14px;
  font-size:clamp(1.7rem, 3vw, 2.45rem);
  line-height:1.14;
}

.dr-post-body h3{
  margin:24px 0 12px;
  font-size:clamp(1.22rem, 2vw, 1.55rem);
  line-height:1.24;
}

.dr-post-body p{
  margin:0 0 18px;
  color:var(--dr-text);
}

.dr-post-body ul,
.dr-post-body ol{
  margin:0 0 22px 1.25rem;
  padding:0;
}

.dr-post-body li{
  margin:0 0 12px;
  padding-left:.2rem;
}

.dr-post-body strong{
  color:#F4E7D0;
}

.dr-post-body em{
  color:#E7D3B1;
}

.dr-post-body a{
  color:var(--dr-link);
  text-decoration:none;
  border-bottom:1px solid rgba(77,184,199,.34);
  transition:color .2s ease, border-color .2s ease, opacity .2s ease;
}

.dr-post-body a:hover,
.dr-post-body a:focus-visible{
  color:var(--dr-link-hover);
  border-color:rgba(122,211,222,.72);
  outline:none;
}

.dr-post-body hr{
  height:1px;
  border:0;
  margin:30px 0;
  background:linear-gradient(90deg, transparent, rgba(201,168,76,.34), transparent);
}

.dr-post-body code{
  padding:.16rem .42rem;
  border:1px solid rgba(201,168,76,.18);
  border-radius:8px;
  background:rgba(255,255,255,.04);
  color:#F5E7C8;
  font-family:"DM Mono", monospace;
  font-size:.92em;
}

.dr-post-body pre{
  overflow:auto;
  margin:0 0 24px;
  padding:18px 18px 20px;
  border:1px solid rgba(201,168,76,.18);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.dr-post-body pre code{
  padding:0;
  border:0;
  background:none;
}

.dr-takeaway,
.dr-counter,
.dr-why-matters,
.dr-source,
.dr-definition,
.dr-warning,
.dr-quote{
  position:relative;
  margin:26px 0;
  border-radius:18px;
  overflow:hidden;
}

.dr-takeaway,
.dr-counter,
.dr-why-matters,
.dr-source,
.dr-definition,
.dr-warning{
  padding:20px 22px;
  border:1px solid var(--dr-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)),
    var(--dr-panel);
  box-shadow:0 16px 40px rgba(0,0,0,.18);
}

.dr-takeaway{
  border-left:4px solid var(--dr-gold);
}

.dr-counter{
  border-left:4px solid var(--dr-bronze);
  background:
    linear-gradient(180deg, rgba(176,123,51,.08), rgba(255,255,255,.02)),
    var(--dr-panel);
}

.dr-why-matters{
  background:
    linear-gradient(180deg, rgba(201,168,76,.08), rgba(255,255,255,.015)),
    var(--dr-panel);
}

.dr-source{
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    rgba(255,248,240,.03);
}

.dr-definition{
  background:
    linear-gradient(180deg, rgba(201,168,76,.07), rgba(255,255,255,.02)),
    rgba(255,248,240,.03);
}

.dr-warning{
  border-color:var(--dr-warning-line);
  background:
    linear-gradient(180deg, rgba(176,123,51,.15), rgba(255,255,255,.02)),
    var(--dr-warning-bg);
}

.dr-takeaway strong,
.dr-counter strong,
.dr-definition strong,
.dr-warning strong{
  display:block;
  margin-bottom:8px;
  color:#F4E3C0;
  font-size:1rem;
  letter-spacing:.02em;
}

.dr-why-matters h3{
  margin:0 0 10px;
  color:#F1DFC2;
  font-family:"Playfair Display", serif;
  font-size:1.2rem;
}

.dr-source .dr-source-label{
  display:inline-block;
  margin-bottom:8px;
  color:var(--dr-gold);
  font:700 .78rem/1 Arial, sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.dr-source p,
.dr-definition p,
.dr-warning p,
.dr-why-matters p,
.dr-takeaway p,
.dr-counter p{
  margin:0;
  color:var(--dr-soft);
}

.dr-quote{
  margin:30px 0;
  padding:24px 24px 22px 28px;
  border:1px solid rgba(201,168,76,.22);
  border-left:4px solid var(--dr-gold);
  background:
    linear-gradient(180deg, rgba(201,168,76,.08), rgba(255,255,255,.02)),
    rgba(255,248,240,.035);
  box-shadow:0 18px 44px rgba(0,0,0,.18);
}

.dr-quote p{
  margin:0;
  color:#F4E6CF;
  font-family:"Playfair Display", serif;
  font-size:clamp(1.14rem, 2vw, 1.4rem);
  line-height:1.7;
}

.dr-quote cite{
  display:block;
  margin-top:12px;
  color:var(--dr-muted);
  font-style:normal;
  font-size:.95rem;
}

.dr-post-footer{
  margin-top:clamp(34px,5vw,56px);
  padding-top:6px;
}

.dr-post-cta{
  position:relative;
  padding:24px 24px 22px;
  border:1px solid rgba(201,168,76,.26);
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(201,168,76,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(15,11,8,.86);
  box-shadow:var(--dr-shadow);
}

.dr-post-cta strong{
  display:block;
  margin-bottom:10px;
  color:#F4E4C3;
  font-family:"Playfair Display", serif;
  font-size:clamp(1.28rem, 2vw, 1.7rem);
  line-height:1.2;
}

.dr-post-cta p{
  margin:0 0 16px;
  color:var(--dr-soft);
}

.dr-post-cta-btn,
.dr-post-cta a.dr-post-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  min-height:46px;
  padding:0 18px;
  border:1px solid rgba(201,168,76,.42);
  border-radius:999px;
  background:linear-gradient(180deg, rgba(201,168,76,.18), rgba(176,123,51,.12));
  color:#F6E8CE;
  font-weight:700;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.dr-post-cta-btn:hover,
.dr-post-cta-btn:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(201,168,76,.7);
  box-shadow:0 12px 24px rgba(0,0,0,.22);
  outline:none;
}

.dr-post-nav{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.dr-post-nav a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:14px 16px;
  border:1px solid rgba(201,168,76,.18);
  border-radius:16px;
  background:rgba(255,248,240,.03);
  color:var(--soft, var(--dr-soft));
  text-align:center;
  text-decoration:none;
  transition:transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.dr-post-nav a:hover,
.dr-post-nav a:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(201,168,76,.44);
  background:rgba(201,168,76,.08);
  color:#F4E4C8;
  outline:none;
}

@media (max-width:1080px){
  .dr-post{
    width:min(calc(100% - 24px), 100%);
    padding:20px;
  }

  .dr-post-header{
    padding:24px 22px;
  }

  .dr-post-body{
    font-size:1rem;
  }
}

@media (max-width:768px){
  .dr-post{
    margin:22px auto;
    padding:14px;
  }

  .dr-post-header{
    padding:20px 18px;
    margin-bottom:24px;
    border-radius:20px;
  }

  .dr-post-intro{
    font-size:1rem;
    line-height:1.72;
  }

  .dr-post-meta{
    gap:10px 14px;
    font-size:.9rem;
  }

  .dr-takeaway,
  .dr-counter,
  .dr-why-matters,
  .dr-source,
  .dr-definition,
  .dr-warning,
  .dr-quote,
  .dr-post-cta{
    padding:18px;
    border-radius:16px;
  }

  .dr-post-nav{
    grid-template-columns:1fr;
  }
}

@media (max-width:480px){
  .dr-post{
    width:min(calc(100% - 14px), 100%);
    padding:8px;
  }

  .dr-post-header{
    padding:18px 15px;
  }

  .dr-post-kicker{
    padding:7px 11px;
    font-size:.72rem;
    letter-spacing:.12em;
  }

  .dr-post-body{
    font-size:.98rem;
    line-height:1.76;
  }

  .dr-post-body h2{
    font-size:1.55rem;
  }

  .dr-post-body h3{
    font-size:1.15rem;
  }

  .dr-post-meta{
    flex-direction:column;
    align-items:flex-start;
  }

  .dr-takeaway,
  .dr-counter,
  .dr-why-matters,
  .dr-source,
  .dr-definition,
  .dr-warning,
  .dr-quote,
  .dr-post-cta{
    padding:16px;
  }
}

@media (prefers-reduced-motion:reduce){
  .dr-post *,
  .dr-post *::before,
  .dr-post *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

.dr-light .dr-post{
  --dr-bg:#F6F1E8;
  --dr-bg-soft:#FBF7F1;
  --dr-panel:rgba(255,255,255,.82);
  --dr-panel-strong:rgba(255,255,255,.92);
  --dr-line:rgba(176,123,51,.18);
  --dr-line-strong:rgba(176,123,51,.32);
  --dr-text:#2A2016;
  --dr-soft:#5E4F3E;
  --dr-muted:#7B6B58;
  --dr-warning-bg:rgba(201,168,76,.10);
  --dr-warning-line:rgba(176,123,51,.26);
  --dr-shadow:0 18px 40px rgba(51,36,16,.08);
}

.dr-light .dr-post::before{
  background:
    radial-gradient(circle at top right, rgba(201,168,76,.10), transparent 34%),
    radial-gradient(circle at bottom left, rgba(176,123,51,.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0));
}

.dr-light .dr-post::after{
  opacity:.08;
}

.dr-light .dr-post-header,
.dr-light .dr-post-cta{
  background:
    linear-gradient(180deg, rgba(201,168,76,.08), rgba(255,255,255,.72)),
    rgba(255,255,255,.78);
}

.dr-light .dr-post-title,
.dr-light .dr-post-body h2,
.dr-light .dr-post-body h3,
.dr-light .dr-quote p,
.dr-light .dr-post-cta strong,
.dr-light .dr-takeaway strong,
.dr-light .dr-counter strong,
.dr-light .dr-definition strong,
.dr-light .dr-warning strong{
  color:#24190F;
}

.dr-light .dr-post-nav a{
  background:rgba(255,255,255,.72);
  color:#5E4F3E;
}

.dr-light .dr-post-nav a:hover,
.dr-light .dr-post-nav a:focus-visible{
  color:#2D2115;
  background:rgba(201,168,76,.10);
}

/* ==========================================
   MARITIME MOOD OVERRIDES
   ========================================== */

body.category-culture-identity .dr-single-shell::before {
  opacity: 0.03;
}
body.category-culture-identity .dr-single-hero-wrap::before {
  background: radial-gradient(ellipse, rgba(99,216,230,0.10) 0%, transparent 70%);
}
body.category-culture-identity .dr-section-label {
  color: var(--dr-cyan, #63d8e6);
}
body.category-culture-identity .dr-quote {
  border-left-color: var(--dr-cyan, #63d8e6);
}
body.category-culture-identity .dr-flip-back.dr-post-card {
  background: rgba(14,28,48,0.95);
  border-color: rgba(99,216,230,0.20);
}
body.category-culture-identity .dr-comparison-grid .dr-post-card {
  border-color: rgba(99,216,230,0.12);
}
body.category-culture-identity .dr-comparison-grid .dr-post-card:hover {
  border-color: rgba(99,216,230,0.30);
  box-shadow: 0 4px 24px rgba(99,216,230,0.08);
}

/* ==========================================
   TUNISIA PILLAR SECTION-SPECIFIC ACCENTS
   ========================================== */

/* Base section label improvements */
.dr-section-label {
  background: rgba(201,168,76,0.08);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  border: 1px solid rgba(201,168,76,0.15);
  display: inline-block;
  margin-bottom: 16px;
}

/* Enhanced takeaway styling */
.dr-takeaway {
  border-left: 5px solid var(--dr-gold);
  padding: 22px 24px;
  margin: 28px 0;
  border-radius: 0 18px 18px 0;
  box-shadow: -3px 0 16px rgba(201,168,76,0.12);
  overflow: visible;
}

/* Premium post image styling */
.dr-post-image {
  margin: 32px 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.dr-post-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.dr-post-image:hover img {
  transform: scale(1.02);
}

.dr-post-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #F4E7D4;
  font-size: 0.95rem;
  font-style: italic;
  border-radius: 0 0 20px 20px;
}

/* Section-specific color accents */

/* #context - Amazigh layer, terracotta and warm sand */
#context .dr-section-label {
  background: rgba(205,133,63,0.12);
  border-color: rgba(205,133,63,0.25);
  color: #CD853F;
}
#context .dr-takeaway {
  border-left-color: #CD853F;
  box-shadow: -3px 0 16px rgba(205,133,63,0.15);
}
#context .dr-quote {
  border-left-color: #CD853F;
  background: linear-gradient(180deg, rgba(205,133,63,0.08), rgba(255,248,240,0.035));
}
#context h2, #context h3 {
  color: #F5E6D2;
}

/* #mechanism - Carthage layer, Tyrian purple and gold */
#mechanism .dr-section-label {
  background: rgba(102,51,153,0.12);
  border-color: rgba(102,51,153,0.25);
  color: #9B59B6;
}
#mechanism .dr-takeaway {
  border-left-color: #9B59B6;
  box-shadow: -3px 0 16px rgba(102,51,153,0.15);
}
#mechanism .dr-quote {
  border-left-color: #9B59B6;
  background: linear-gradient(180deg, rgba(102,51,153,0.08), rgba(255,248,240,0.035));
}
#mechanism h2, #mechanism h3 {
  color: #F4E6CF;
}

/* #narrative - Roman Africa layer, amber and limestone */
#narrative .dr-section-label {
  background: rgba(255,191,0,0.12);
  border-color: rgba(255,191,0,0.25);
  color: #FFBF00;
}
#narrative .dr-takeaway {
  border-left-color: #FFBF00;
  box-shadow: -3px 0 16px rgba(255,191,0,0.15);
}
#narrative .dr-quote {
  border-left-color: #FFBF00;
  background: linear-gradient(180deg, rgba(255,191,0,0.08), rgba(255,248,240,0.035));
}
#narrative h2, #narrative h3 {
  color: #F3E5D1;
}

/* #infrastructure - Islamic Ifriqiya layer, deep teal and green-cyan */
#infrastructure .dr-section-label {
  background: rgba(0,128,128,0.12);
  border-color: rgba(0,128,128,0.25);
  color: #008080;
}
#infrastructure .dr-takeaway {
  border-left-color: #008080;
  box-shadow: -3px 0 16px rgba(0,128,128,0.15);
}
#infrastructure .dr-quote {
  border-left-color: #008080;
  background: linear-gradient(180deg, rgba(0,128,128,0.08), rgba(255,248,240,0.035));
}
#infrastructure h2, #infrastructure h3 {
  color: #F2E4D0;
}

/* #power-map - compression and institutions, bronze and warning gold */
#power-map .dr-section-label {
  background: rgba(184,134,11,0.12);
  border-color: rgba(184,134,11,0.25);
  color: #B8860B;
}
#power-map .dr-takeaway {
  border-left-color: #B8860B;
  box-shadow: -3px 0 16px rgba(184,134,11,0.15);
}
#power-map .dr-quote {
  border-left-color: #B8860B;
  background: linear-gradient(180deg, rgba(184,134,11,0.08), rgba(255,248,240,0.035));
}
#power-map h2, #power-map h3 {
  color: #F1E3CF;
}

/* #modern-parallel - diaspora and modern systems, steel blue and silver */
#modern-parallel .dr-section-label {
  background: rgba(70,130,180,0.12);
  border-color: rgba(70,130,180,0.25);
  color: #4682B4;
}
#modern-parallel .dr-takeaway {
  border-left-color: #4682B4;
  box-shadow: -3px 0 16px rgba(70,130,180,0.15);
}
#modern-parallel .dr-quote {
  border-left-color: #4682B4;
  background: linear-gradient(180deg, rgba(70,130,180,0.08), rgba(255,248,240,0.035));
}
#modern-parallel h2, #modern-parallel h3 {
  color: #F0E2CE;
}

/* #synthesis - archive synthesis, gold and cyan */
#synthesis .dr-section-label {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(77,184,199,0.12));
  border-color: rgba(201,168,76,0.25);
  color: var(--dr-gold);
}
#synthesis .dr-takeaway {
  border-left: 5px solid var(--dr-gold);
  box-shadow: -3px 0 16px rgba(201,168,76,0.15);
  background: linear-gradient(180deg, rgba(201,168,76,0.08), rgba(77,184,199,0.02));
}
#synthesis .dr-quote {
  border-left-color: var(--dr-gold);
  background: linear-gradient(180deg, rgba(201,168,76,0.08), rgba(77,184,199,0.035));
}
#synthesis h2, #synthesis h3 {
  color: #F4E6D0;
}

/* Mobile responsiveness for section accents */
@media (max-width: 768px) {
  .dr-section-label {
    padding: 3px 8px;
    font-size: 0.7rem;
    margin-bottom: 12px;
  }
  
  .dr-takeaway {
    padding: 18px 20px;
    margin: 24px 0;
  }
  
  .dr-post-image {
    margin: 24px 0;
    border-radius: 16px;
  }
  
  .dr-post-image img {
    border-radius: 16px;
  }
  
  .dr-post-image figcaption {
    padding: 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .dr-section-label {
    padding: 2px 6px;
    font-size: 0.65rem;
    margin-bottom: 10px;
  }
  
  .dr-takeaway {
    padding: 16px 18px;
    margin: 20px 0;
    border-left-width: 4px;
  }
  
  .dr-post-image {
    margin: 20px 0;
    border-radius: 14px;
  }
  
  .dr-post-image img {
    border-radius: 14px;
  }
  
  .dr-post-image figcaption {
    padding: 14px;
    font-size: 0.85rem;
  }
}

/* ==========================================
   CAPE COLONY COMPONENT UPGRADE
   Culture & Identity themed post components
   ========================================== */

.dr-post-culture {
  --dr-black: #07080C;
  --dr-navy: #0F172A;
  --dr-cyan: #00E5FF;
  --dr-gold: #C6A85E;
  --dr-bone: #E8DFD0;
  --dr-ochre: #8B6914;
  --dr-sea: #2D4A3E;
}

/* Hero stats */

.dr-post-culture .dr-post-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-block: 1.5rem;
  padding-block: 1rem;
  border-block: 1px solid rgba(201, 168, 76, 0.24);
  background:
    linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.06), transparent);
}

.dr-post-culture .dr-stat-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.7rem 0;
}

.dr-post-culture .dr-stat-value {
  color: var(--dr-cyan);
  font-family: "Syne", sans-serif;
  font-size: clamp(1.85rem, 12vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}

.dr-post-culture .dr-stat-label {
  margin-top: 0.25rem;
  color: var(--dr-gold);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* VOC supply machine diagram */

.dr-post-culture .dr-voc-engine {
  position: relative;
  overflow: hidden;
  margin-block: 2.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-top: 2px solid var(--dr-gold);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.08), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(45, 74, 62, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(7, 8, 12, 0.98));
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(232, 223, 208, 0.04);
}

.dr-post-culture .dr-voc-engine::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(232, 223, 208, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 223, 208, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.22;
  pointer-events: none;
}

.dr-post-culture .dr-voc-header,
.dr-post-culture .dr-voc-map,
.dr-post-culture .dr-voc-layers {
  position: relative;
  z-index: 1;
}

.dr-post-culture .dr-voc-header h3 {
  margin: 0 0 0.25rem;
  color: var(--dr-bone);
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

.dr-post-culture .dr-voc-header p {
  margin: 0;
  color: var(--dr-gold);
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.dr-post-culture .dr-voc-map {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  margin-block: 1.5rem;
}

.dr-post-culture .dr-node {
  position: relative;
  z-index: 2;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--dr-gold);
  border-radius: 2px;
  background: rgba(7, 8, 12, 0.94);
  color: var(--dr-bone);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(232, 223, 208, 0.05);
}

.dr-post-culture .dr-node.active {
  border-color: var(--dr-cyan);
  color: var(--dr-cyan);
  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.25),
    inset 0 0 18px rgba(0, 229, 255, 0.08);
}

.dr-post-culture .dr-flow {
  display: none;
  position: absolute;
  top: 50%;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, var(--dr-gold), transparent);
  opacity: 0.9;
}

.dr-post-culture .dr-flow::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--dr-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  animation: drCapeRoutePulse 3.8s ease-in-out infinite;
}

.dr-post-culture .dr-flow.flow-left {
  left: 18%;
}

.dr-post-culture .dr-flow.flow-left::after {
  right: 0;
}

.dr-post-culture .dr-flow.flow-right {
  right: 18%;
  background: linear-gradient(270deg, var(--dr-gold), transparent);
}

.dr-post-culture .dr-flow.flow-right::after {
  left: 0;
  animation-delay: 0.7s;
}

.dr-post-culture .dr-voc-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.dr-post-culture .dr-layer {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.14);
  border-left: 3px solid var(--dr-ochre);
  background:
    linear-gradient(135deg, rgba(232, 223, 208, 0.035), transparent),
    rgba(7, 8, 12, 0.92);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.dr-post-culture .dr-layer span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--dr-gold);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.dr-post-culture .dr-layer p {
  margin: 0;
  color: var(--dr-bone);
  font-family: Georgia, serif;
  font-size: 0.9rem;
  line-height: 1.65;
}

.dr-post-culture .dr-layer.highlight {
  border-left-color: var(--dr-cyan);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    inset 0 0 22px rgba(0, 229, 255, 0.055);
}

.dr-post-culture .dr-layer.highlight span {
  color: var(--dr-cyan);
}

/* Integrated editorial callouts */

.dr-post-culture .dr-takeaway,
.dr-post-culture .dr-counter,
.dr-post-culture .dr-why-matters {
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-left: 4px solid var(--dr-gold);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(7, 8, 12, 0.78)),
    rgba(7, 8, 12, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.dr-post-culture .dr-counter {
  border-left-color: var(--dr-sea);
  background:
    linear-gradient(135deg, rgba(45, 74, 62, 0.18), rgba(7, 8, 12, 0.78)),
    rgba(7, 8, 12, 0.72);
}

.dr-post-culture .dr-why-matters {
  border-left-color: var(--dr-cyan);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.07), rgba(201, 168, 76, 0.05)),
    rgba(7, 8, 12, 0.74);
}

.dr-post-culture .dr-takeaway strong,
.dr-post-culture .dr-counter strong,
.dr-post-culture .dr-why-matters h3 {
  color: var(--dr-bone);
  font-family: "Syne", sans-serif;
}

/* Ocean-depth divider */

.dr-post-culture .dr-section-divider {
  position: relative;
  height: 1px;
  margin-block: clamp(2rem, 6vw, 3.5rem);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 74, 62, 0.36),
    rgba(201, 168, 76, 0.42),
    rgba(0, 229, 255, 0.2),
    transparent
  );
}

.dr-post-culture .dr-section-divider::after {
  content: "";
  position: absolute;
  inset: -18px 8% auto;
  height: 36px;
  background:
    radial-gradient(ellipse at center, rgba(45, 74, 62, 0.2), transparent 70%);
  pointer-events: none;
}

/* Sources */

.dr-post-culture .dr-sources-label {
  margin: 1.15rem 0 0.55rem;
  color: var(--dr-gold);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.dr-post-culture .dr-sources-label:first-of-type {
  margin-top: 0.25rem;
}

@keyframes drCapeRoutePulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (min-width: 640px) {
  .dr-post-culture .dr-post-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .dr-post-culture .dr-voc-layers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .dr-post-culture .dr-voc-map {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
  }

  .dr-post-culture .dr-flow {
    display: block;
  }
}

@media (max-width: 480px) {
  .dr-post-culture .dr-voc-engine {
    padding: 1rem;
  }

  .dr-post-culture .dr-node {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dr-post-culture .dr-flow::after {
    animation: none;
  }
}
