/* The Whistle Stop: matches the Cornerstone Political homepage design */
:root {
  --black: #0a0a0a; --near-black: #111111; --ink: #1a1a1a;
  --paper: #f0ede6; --paper-dark: #e8e4db; --paper-mid: #d4cfc4;
  --gold: #f0b429; --gold-deep: #c8921a; --gold-pale: #f7d97a;
  --text-dark: #1a1a1a; --text-mid: #555550; --text-light: #888880;
  --rule: #c8c3b8; --rule-dark: #8a8570;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--text-dark); font-family: 'Barlow', sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }

/* nav (same as homepage) */
.logo-mark { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 42px; width: auto; display: block; }
.logo-img-sm { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .6; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: var(--paper); border-bottom: 2px solid var(--black); display: flex; align-items: center; justify-content: space-between; padding: 0 48px; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--black); }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.nav-cta { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 10px 24px; text-decoration: none; border: 1.5px solid var(--black); transition: background .2s; }
.nav-cta:hover { background: var(--gold-pale); }

.kicker { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-light); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.kicker .diamond { display: inline-block; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

.btn-primary { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 16px 36px; text-decoration: none; border: 2px solid var(--black); transition: background .2s; position: relative; }
.btn-primary::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--gold-deep); transform: translate(4px, 4px); transition: transform .15s; pointer-events: none; }
.btn-primary:hover { background: var(--gold-pale); }
.btn-primary:hover::after { transform: translate(6px, 6px); }
.btn-ghost { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-mid); background: transparent; padding: 15px 32px; text-decoration: none; border: 1.5px solid var(--rule-dark); transition: all .2s; cursor: pointer; }
.btn-ghost:hover { color: var(--black); border-color: var(--black); }

footer { background: var(--black); border-top: 1px solid rgba(240,180,41,.15); padding: 28px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-copy { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,237,230,.35); }
.footer-copy a { color: rgba(240,180,41,.7); text-decoration: none; }
.footer-copy a:hover { color: var(--gold); }

/* page frame */
.ws-page { padding-top: 70px; }
.ws-dateline { background: var(--black); color: var(--paper); display: flex; justify-content: space-between; gap: 16px; padding: 8px 48px; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.ws-dateline b { color: var(--gold); font-weight: 700; }
.ws-dateline a { color: var(--paper); text-decoration: none; }
.ws-dateline a:hover { color: var(--gold); }

.ws-masthead { padding: 56px 48px 44px; border-bottom: 3px solid var(--black); }
.ws-masthead h1 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(48px, 7vw, 104px); line-height: .98; color: var(--black); margin-bottom: 22px; }
.ws-masthead h1 em { font-style: italic; color: var(--gold-deep); }
.ws-deck { font-size: 18px; color: var(--text-mid); line-height: 1.75; max-width: 680px; padding-top: 22px; border-top: 1px solid var(--rule); }
.ws-cta-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 30px; }

.ws-section { padding: 56px 48px; }
.ws-section + .ws-section { border-top: 2px solid var(--black); }
.ws-section.dark { background: var(--black); color: var(--paper); }
.ws-h2 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; color: var(--black); margin-bottom: 28px; }
.ws-section.dark .ws-h2 { color: var(--paper); }
.ws-section.dark .kicker { color: rgba(240,180,41,.55); }

/* filter */
.ws-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.ws-filter button { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 18px; border: 1.5px solid var(--rule-dark); background: transparent; color: var(--text-mid); cursor: pointer; }
.ws-filter button[aria-pressed="true"] { background: var(--black); color: var(--gold); border-color: var(--black); }

/* cards */
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-dark); border-left: 1px solid var(--rule-dark); }
.ws-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 30px; border-right: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); text-decoration: none; color: inherit; background: var(--paper); transition: background .2s; }
.ws-card:hover { background: var(--paper-dark); }
.ws-card h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--black); }
.ws-card p { font-size: 15px; color: var(--text-mid); line-height: 1.65; }
.ws-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule); font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); }
.ws-tag { align-self: flex-start; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 3px 9px; border: 1.5px solid var(--black); }
.ws-tag.ai { background: var(--gold); color: var(--black); }
.ws-tag.dui { background: var(--black); color: var(--gold); }
.ws-tag.santa { background: var(--paper-dark); color: var(--black); }

/* avatar */
.ws-avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--black); color: var(--gold); border: 2px solid var(--gold); font-family: 'Playfair Display', serif; font-weight: 900; }

/* article */
.ws-art-head { padding: 52px 48px 40px; border-bottom: 3px solid var(--black); }
.ws-crumb { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; }
.ws-crumb a { color: var(--text-mid); text-decoration: none; }
.ws-crumb a:hover { color: var(--black); }
.ws-art-head h1 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; color: var(--black); max-width: 20ch; margin: 18px 0 24px; }
.ws-byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--rule); font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mid); }
.ws-byline a { color: var(--black); font-weight: 700; text-decoration: none; }
.ws-byline a:hover { color: var(--gold-deep); }

.ws-article { max-width: 760px; margin: 0 auto; padding: 50px 24px 30px; }
.ws-dek { font-family: 'Playfair Display', serif; font-style: italic; font-size: 23px; line-height: 1.5; color: var(--black); padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--rule); }
.ws-prose p, .ws-prose li { font-size: 18px; line-height: 1.78; color: #2a2a28; }
.ws-prose p { margin-bottom: 20px; }
.ws-prose h2 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(25px, 3vw, 31px); line-height: 1.2; color: var(--black); margin: 46px 0 16px; padding-top: 18px; border-top: 2px solid var(--black); }
.ws-prose h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .03em; color: var(--black); margin: 26px 0 8px; }
.ws-prose ul, .ws-prose ol { padding-left: 1.3em; margin-bottom: 22px; }
.ws-prose li { margin-bottom: 8px; }
.ws-prose li::marker { color: var(--gold-deep); font-weight: 700; }
.ws-prose strong { color: var(--black); font-weight: 600; }
.ws-prose a { color: var(--black); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.ws-prose a:hover { background: var(--gold-pale); }
.ws-prose blockquote { margin: 0 0 22px; padding: 18px 22px; background: var(--paper-dark); border-left: 4px solid var(--gold); font-size: 16px; line-height: 1.7; color: var(--ink); }
.ws-note { font-size: 14px !important; color: var(--text-light) !important; border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 36px; }

.ws-promo { margin: 40px 0 30px; background: var(--black); color: rgba(240,237,230,.75); padding: 36px 34px 38px; border: 2px solid var(--black); position: relative; }
.ws-promo::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); }
.ws-promo .kicker { color: rgba(240,180,41,.65); }
.ws-promo h2 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; color: var(--paper); margin: 4px 0 14px; border: none; padding: 0; }
.ws-promo p { font-size: 16px; line-height: 1.75; color: rgba(240,237,230,.75); margin-bottom: 16px; }
.ws-promo .ws-one { color: var(--gold); font-weight: 600; font-size: 17px; }
.ws-promo .btn-primary { margin-top: 6px; text-decoration: none; color: var(--black); }
.ws-promo .btn-primary:hover { background: var(--gold-pale); }
.ws-promo small { display: block; margin-top: 22px; font-size: 13px; color: rgba(240,237,230,.45); }

.ws-author { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 28px; border: 2px solid var(--black); background: var(--paper-dark); margin-bottom: 40px; }
.ws-author h3 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 26px; margin: 2px 0 2px; }
.ws-author h3 a { color: var(--black); text-decoration: none; }
.ws-role { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.ws-author p { font-size: 16px; line-height: 1.7; color: var(--text-mid); margin-bottom: 12px; }
.ws-more { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--black); text-decoration: none; border-bottom: 2px solid var(--gold); }

/* author page */
.ws-profile { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ws-two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.ws-passions { border: 2px solid var(--black); background: var(--paper-dark); padding: 26px 28px; }
.ws-passions ul { list-style: none; }
.ws-passions li { padding: 11px 0; border-top: 1px solid var(--rule); font-size: 16px; display: flex; gap: 12px; align-items: baseline; }
.ws-passions li::before { content: ''; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; position: relative; top: -2px; }
.ws-passions li:first-of-type { border-top: none; }
.ws-writers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(240,180,41,.25); border-left: 1px solid rgba(240,180,41,.25); }
.ws-writer { padding: 28px 26px; border-right: 1px solid rgba(240,180,41,.25); border-bottom: 1px solid rgba(240,180,41,.25); text-decoration: none; color: rgba(240,237,230,.7); display: flex; flex-direction: column; gap: 10px; transition: background .2s; }
.ws-writer:hover { background: #161616; }
.ws-writer h3 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 24px; color: var(--paper); }
.ws-writer p { font-size: 15px; line-height: 1.65; }
.ws-writer .ws-role { margin: 0; color: var(--gold); }
.ws-writer .ws-meta { color: rgba(240,180,41,.7); border-top-color: rgba(240,180,41,.2); }

@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .ws-dateline, .ws-masthead, .ws-section, .ws-art-head { padding-left: 24px; padding-right: 24px; }
  .ws-grid, .ws-writers { grid-template-columns: 1fr 1fr; }
  .ws-two { grid-template-columns: 1fr; gap: 32px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 28px 24px; }
}
@media (max-width: 680px) {
  .ws-grid, .ws-writers { grid-template-columns: 1fr; }
  .ws-dateline span:last-child { display: none; }
  .ws-author { grid-template-columns: 1fr; padding: 22px; }
  .ws-promo { padding: 30px 22px; }
  .ws-prose p, .ws-prose li { font-size: 17px; }
  nav { padding: 0 16px; gap: 10px; }
  .nav-cta { padding: 8px 10px; font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
  .logo-img { height: 30px; }
  .ws-dateline { padding-left: 16px; padding-right: 16px; }
}
