/*
Theme Name:  It Didn't Start on October 7
Theme URI:   https://itdidntstartonoctober7.com
Description: Custom theme for the It Didn't Start on October 7 documentation platform. Myth debunking, propaganda literacy, human stories, primary sources.
Version:     1.0.0
Author:      Site Editor
Author URI:  https://itdidntstartonoctober7.com
Text Domain: itdidntstartonoctober7
Tags:        custom-menu, custom-post-types, gutenberg, dark-theme
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  --bg:           #0c0c0a;
  --bg-card:      #131311;
  --bg-raised:    #181816;
  --border:       #252523;
  --border-light: #2e2e2b;
  --border-hi:    #333330;
  --text-1:       #ece8df;
  --text-2:       #9c968e;
  --text-3:       #545048;
  --white:        #f5f1e8;

  /* Section accent colors */
  --myth-accent:  #bf3b2e;
  --myth-fill:    #160505;
  --myth-mid:     #360d0d;

  --prop-accent:  #c8901f;
  --prop-fill:    #130f05;
  --prop-mid:     #362408;

  --human-accent: #4e7e32;
  --human-fill:   #070e04;
  --human-mid:    #162608;

  --docs-accent:  #2e6e9e;
  --docs-fill:    #040c12;
  --docs-mid:     #0c2030;

  /* Per-article active color (overridden per CPT template) */
  --section-color: var(--myth-accent);
  --section-fill:  var(--myth-fill);
  --section-mid:   var(--myth-mid);

  /* Convenience aliases */
  --red:   #bf3b2e;
  --amber: #c8901f;
  --green: #4e7e32;
  --blue:  #2e6e9e;

  --nav-h: 64px;
}

/* Per-CPT body overrides */
body.cpt-myth {
  --section-color: var(--myth-accent);
  --section-fill:  var(--myth-fill);
  --section-mid:   var(--myth-mid);
}
body.cpt-propaganda {
  --section-color: var(--prop-accent);
  --section-fill:  var(--prop-fill);
  --section-mid:   var(--prop-mid);
}
body.cpt-human_story {
  --section-color: var(--human-accent);
  --section-fill:  var(--human-fill);
  --section-mid:   var(--human-mid);
}
body.cpt-document {
  --section-color: var(--docs-accent);
  --section-fill:  var(--docs-fill);
  --section-mid:   var(--docs-mid);
}
