/* Additions for the static rebuild (not in the original Manus stylesheet) */
.news-card-credit{font-size:.72rem;color:#888;margin:.4rem .25rem 0;line-height:1.4}
.news-card-media figure{margin:0}
.static-note{background:#111;border:1px solid #2a2a2a;border-radius:.5rem;padding:2rem;color:#ccc;line-height:1.7}
.static-note h2{color:#fff;font-weight:700;font-size:1.1rem;margin-bottom:.75rem}
.static-note p{margin-bottom:.9rem}
.static-note a{color:#64ff00;text-decoration:underline}
.static-note ul{margin:0 0 1rem 1.2rem;list-style:disc}
.brevo-slot{border:2px dashed #64ff00;border-radius:.5rem;padding:1.5rem;color:#ccc;margin:1rem 0}
@media (max-width:700px){
 header>div{flex-wrap:wrap;height:auto!important;padding-top:.6rem!important;padding-bottom:.4rem!important;row-gap:.4rem}
 header nav{flex-wrap:wrap;width:100%;justify-content:space-between}
 header nav a{padding:.25rem .2rem!important;font-size:.62rem!important}
}


/* ===== Hybrid theme: dark chrome + paper reading surface ===== */
:root, body {
  --background: #181a19 !important;
  --foreground: #e0e0e0 !important;
  background-color: #181a19 !important;
  color: #e0e0e0 !important;
}
.asoe-hero-bg { background: #181a19 !important; }
.asoe-input { background: #1a1a1a !important; border-color: #303030 !important; color: #fff !important; }
header nav a { font-size: 0.8rem !important; padding: 0.3rem 0.7rem !important; }
@media (max-width:700px){
  header nav a { font-size: 0.7rem !important; }
}

/* Paper reading surface for blog list + issue pages */
body.theme-paper,
body.theme-paper main,
.paper-surface {
  background: #f4f6f2 !important;
  color: #1a1a1a !important;
}
.paper-surface .asoe-label { color: #3d9e00 !important; } /* slightly deeper green on paper for contrast */
.paper-surface h1,
.paper-surface h2,
.paper-surface h3 { color: #1a1a1a !important; }
.paper-surface a { color: #1a6b00; }
.paper-surface .news-card {
  background: #ffffff !important;
  border: 1px solid #d5dcd0 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.06) !important;
}
.paper-surface .news-card:nth-child(2n of .news-card) { background: #fafbf8 !important; }
.paper-surface .news-card:hover { border-color: #64ff00 !important; box-shadow: 0 6px 18px rgba(100,255,0,.18) !important; }
.paper-surface .news-card-body { color: #1a1a1a !important; font-size: 1rem !important; line-height: 1.75 !important; }
.paper-surface .news-card-media { background: #e8ebe4 !important; }
.paper-surface .news-card-media:after { background: none !important; }
.paper-surface .news-card-media img { opacity: 1 !important; filter: none !important; }
.paper-surface .news-card--text-only { border-left: 3px solid #64ff00 !important; }
.paper-surface .post-content { color: #1a1a1a !important; }
.paper-surface .post-intro { color: #555 !important; }
.paper-surface .post-section-heading {
  color: #1a1a1a !important;
  border-left: 4px solid #64ff00 !important;
}
.paper-surface .post-references {
  color: #444 !important;
  background: #eef1ea !important;
  border: 1px solid #d5dcd0 !important;
}
.paper-surface .post-references a { color: #1a6b00 !important; }
.paper-surface .static-note {
  background: #fff !important;
  border-color: #d5dcd0 !important;
  color: #1a1a1a !important;
}
.paper-surface .static-note h2 { color: #1a1a1a !important; }
.paper-surface .static-note a { color: #1a6b00 !important; }

/* Archive list rows on paper */
.paper-surface .archive-row {
  background: #ffffff !important;
  border-bottom: 1px solid #d5dcd0 !important;
}
.paper-surface .archive-row:hover { background: #f0f4ec !important; }

/* Keep neon CTAs */
.paper-surface .asoe-btn-primary { background: #64ff00 !important; color: #000 !important; }

/* Merged preview: charcoal chrome, paper only within editorial sections. */
header, footer { background: #181a19 !important; }
body h1, body h1 span, body h2, body h2 span, body h3, body h3 span { color: #f1f3ef !important; }
.paper-surface h1, .paper-surface h1 span,
.paper-surface h2, .paper-surface h2 span,
.paper-surface h3, .paper-surface h3 span { color: #202620 !important; }
.paper-surface { border-color: #d5dcd0 !important; }
.paper-surface a:not(.asoe-btn-primary) { color: #24551c !important; }
.paper-surface .asoe-label { color: #295820 !important; }
.paper-surface .news-card-source, .paper-surface .news-card-credit { color: #596354 !important; }
.paper-surface .post-section-heading { border-left-color: #64ff00 !important; }

/* Inline archive metadata needs the same paper contrast as links. */
.paper-surface [style*="color: rgb(100, 255, 0)"] { color: #295820 !important; }
