/* ==========================================================================
   Warren County Republican Committee — global theme styles
   Variables + chrome (nav, footer, buttons, eyebrow labels) live here.
   Page-specific layout (plank grids, ticket cards, etc.) lives in each
   page's own template or HTML-card packet, and should only ever
   *reference* these variables, never redefine them.
   ========================================================================== */

:root{
  --wcrc-navy:#1B2A4A;
  --wcrc-brick:#A6362B;
  --wcrc-cream:#F5F0E6;
  --wcrc-paper:#FFFDF9;
  --wcrc-ink:#242018;
  --wcrc-grey:#4a463d;
  --wcrc-muted:#8a8471;
  --wcrc-quiet:#8f8c80;
  --wcrc-rule:#d8d0bd;

  --wcrc-font-head:'Libre Caslon Text',serif;
  --wcrc-font-body:'Public Sans',sans-serif;
  --wcrc-font-mono:'Courier Prime',monospace;
}

*{box-sizing:border-box;}

body{
  margin:0;
  background:var(--wcrc-paper);
  color:var(--wcrc-ink);
  font-family:var(--wcrc-font-body);
  line-height:1.55;
}
a{color:inherit;}
img{max-width:100%;height:auto;}

.wrap{max-width:1080px;margin:0 auto;padding:0 28px;}

/* -- Eyebrow label -------------------------------------------------------
   The one small brick-colored, letter-spaced, uppercase Courier Prime tag
   used everywhere as a section/category label ("LOCAL", "01 — LOCAL
   PRIORITY", "ABOUT THE COMMITTEE", "PENDING COMMITTEE RESOLUTION").
   Previously six different class names across three separately-built
   pages (.k, .tag, .crumb, .num, .lbl, .status-badge) — consolidated
   into one shared class during the theme extraction.
   Modifiers: .eyebrow--on-navy (light text for use on navy backgrounds),
   .eyebrow--badge (bordered pill, for status flags like "pending
   resolution").
   -------------------------------------------------------------------- */
.eyebrow{
  display:block;
  font-family:var(--wcrc-font-mono);
  font-size:13px;
  letter-spacing:.08em;
  color:var(--wcrc-brick);
  margin-bottom:10px;
}
.eyebrow--on-navy{color:#e7a99a;}
.eyebrow--badge{
  display:inline-block;
  border:1px solid var(--wcrc-brick);
  padding:4px 10px;
  margin:2px 0 14px;
}

/* -- Buttons --------------------------------------------------------- */
.btn{
  display:inline-block;
  background:var(--wcrc-brick);
  color:var(--wcrc-cream);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  padding:13px 26px;
  border:none;
}
.btn:hover{background:#8c2c22;}

/* -- Primary nav ------------------------------------------------------ */
nav.main{background:var(--wcrc-navy);border-bottom:6px solid var(--wcrc-brick);}
nav.main .wrap{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;}
.brand{font-family:var(--wcrc-font-head);color:var(--wcrc-cream);font-size:19px;text-decoration:none;}

.navlinks{display:flex;gap:24px;align-items:center;list-style:none;margin:0;padding:0;}
.navlinks li{margin:0;}
.navlinks a{margin-right:22px;color:var(--wcrc-cream);text-decoration:none;font-size:14px;font-weight:600;}
.navlinks a:hover{color:var(--wcrc-brick);}
.navlinks li.nav-current a{color:var(--wcrc-brick);}

.fb{width:28px;height:28px;border:1px solid var(--wcrc-cream);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--wcrc-font-head);font-size:14px;color:var(--wcrc-cream);text-decoration:none;}

/* -- Shared page-header band (used by interior pages) ------------------ */
.pagehead{background:var(--wcrc-cream);padding:52px 0 40px;}
.pagehead h1{font-family:var(--wcrc-font-head);font-size:38px;margin:0 0 14px;color:var(--wcrc-navy);}
.pagehead p.lede{font-size:16px;color:var(--wcrc-grey);max-width:640px;margin:0 0 14px;}

.back-link{display:inline-block;font-size:13px;color:var(--wcrc-muted);text-decoration:none;margin-bottom:16px;}
.back-link:hover{color:var(--wcrc-navy);}

/* -- Footer ------------------------------------------------------------ */
footer{background:var(--wcrc-navy);color:var(--wcrc-cream);padding:40px 0 26px;border-top:6px solid var(--wcrc-brick);}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;}
footer .foot-top{align-items:flex-start;gap:32px;}
.fcol{min-width:150px;}
.fcol-label{font-family:var(--wcrc-font-mono);font-size:13px;letter-spacing:.08em;color:#e7a99a;margin-bottom:12px;}
footer .fnav{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px;}
footer .fnav a{color:var(--wcrc-cream);text-decoration:none;font-size:13px;}
footer .fnav a:hover{text-decoration:underline;}
.quiet-link{color:var(--wcrc-quiet);text-decoration:none;font-size:12px;}
.quiet-link:hover{color:var(--wcrc-cream);}
footer .fine{font-family:var(--wcrc-font-mono);font-size:11px;color:#b9b6ab;margin-top:24px;font-style:italic;}

/* -- News & Press (index.hbs / post.hbs) -------------------------------- */
.press-list{padding:56px 0 60px;}
.press-item{padding:26px 0;border-top:1px solid var(--wcrc-rule);}
.press-item:last-child{border-bottom:1px solid var(--wcrc-rule);}
.press-item .date{font-family:var(--wcrc-font-mono);font-size:12px;color:var(--wcrc-muted);margin-bottom:6px;}
.press-item h2{font-family:var(--wcrc-font-head);font-size:22px;margin:0 0 8px;}
.press-item h2 a{text-decoration:none;color:var(--wcrc-navy);}
.press-item p{margin:0;font-size:15px;color:var(--wcrc-grey);}

.post-content{padding:48px 0 72px;max-width:680px;margin:0 auto;}
.post-content .date{font-family:var(--wcrc-font-mono);font-size:12px;color:var(--wcrc-muted);margin-bottom:10px;}
.post-content h1{font-family:var(--wcrc-font-head);font-size:34px;color:var(--wcrc-navy);margin:0 0 20px;}
.post-content .post-body{font-size:16px;color:var(--wcrc-ink);}
.post-content .post-body p{margin:0 0 18px;}
.post-content .post-body h2{font-family:var(--wcrc-font-head);color:var(--wcrc-navy);font-size:24px;margin:32px 0 14px;}
.post-content .post-body a{color:var(--wcrc-navy);}
.post-body img{display:block;margin:0 auto 18px;max-width:100%;height:auto;}
.post-body figure{margin:0 0 18px;text-align:center;}
.post-body figure img{margin:0 auto;}
.post-body .kg-card{margin:0 auto 18px;}

/* -- Generic static page (page.hbs fallback) ---------------------------- */
.static-content{padding:48px 0 72px;}
.static-content .post-body{max-width:680px;margin:0 auto;font-size:16px;}
.static-content .post-body p{margin:0 0 18px;}
.static-content .post-body h2{font-family:var(--wcrc-font-head);color:var(--wcrc-navy);font-size:26px;margin:32px 0 14px;}

/* -- Koenig editor card support (required by Ghost) --------------------- */
.kg-width-wide img{max-width:85vw;}
.kg-width-full img{max-width:100vw;}

@media(max-width:760px){
  nav.main .wrap{flex-direction:column;gap:14px;}
  .navlinks{flex-wrap:wrap;justify-content:center;row-gap:10px;}
  .pagehead h1{font-size:30px;}
}
