/* HeadlineDispatch — Drudge Report-style CSS */
/* High contrast, dense, fast-loading, zero bloat */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #000;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 12px;
  font-size: 14px;
  line-height: 1.35;
}

a { color: #001a80; text-decoration: none; }
.top-bar { display: flex; padding: 4px 0 0; }
.support-link { margin-left: auto; font-size: 11px; font-weight: 700; color: #555; }
.support-link:visited { color: #555; }
.support-link:hover { color: #000; text-decoration: none; }
a:visited { color: #551a8b; }
a:hover { text-decoration: underline; }

/* Header */
header {
  text-align: center;
  padding: 8px 0 6px;
  border-bottom: none;
  margin-bottom: 10px;
}
header h1 { font-size: 32px; letter-spacing: 3px; font-weight: 900; }
header h1 a { color: #000; }
header h1 a:hover { text-decoration: none; }
.tagline { font-size: 10px; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.timestamp { font-size: 10px; color: #999; margin-top: 2px; }

/* Top Stories — full width above columns */
.top-stories {
  padding: 10px 0 14px;
  text-align: center;
}

/* Lead Story */
.lead { margin-bottom: 10px; }
.lead-headline {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
  color: #cc0000;
  margin-bottom: 2px;
}
.lead-headline:hover { color: #990000; }
.lead .source { display: block; margin-top: 2px; }

/* Sub-leads */
.sub-lead { margin-bottom: 6px; }
.sub-lead a { font-size: 17px; font-weight: 700; color: #000; }
.sub-lead a:hover { color: #001a80; }

/* Divider between top stories and columns */
.columns-divider {
  border: none;
  margin: 10px 0;
}

/* 3-Column Layout — all equal width */
.columns { display: flex; gap: 0; }
.column { flex: 1; min-width: 0; padding: 0 14px; }
.column.left { border-right: 1px solid #999; }
.column.center { border-right: 1px solid #999; }
.column.right { }

/* Story Links (columns + center) */
.story-link {
  margin-bottom: 4px;
  padding: 2px 0;
  border-bottom: 1px dotted #ddd;
  line-height: 1.3;
}
.story-link a { font-size: 14px; font-weight: 700; }
.source { font-size: 10px; color: #888; font-weight: 400; }

/* Newsletter Bar */
.newsletter-bar {
  text-align: center;
  padding: 14px 12px;
  margin: 14px 0;
  background: none;
  border-top: none;
  border-bottom: none;
}
.newsletter-cta {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.newsletter-sub { font-size: 12px; color: #555; margin-bottom: 8px; }
.newsletter-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}
.newsletter-btn:visited { color: #fff; }
.newsletter-btn:hover { background: #333; text-decoration: none; color: #fff; }
.beehiiv-placeholder { margin-top: 4px; }

/* Bottom Links / Footer */
.bottom-links {
  text-align: center;
  padding: 10px 0;
  margin-top: 14px;
}
.bottom-links > a {
  display: inline-block;
  margin: 2px 6px;
  font-size: 12px;
  font-weight: 700;
}
.footer-rule { border: none; border-top: 1px solid #ccc; margin: 8px 0; }
.permanent-links { font-size: 11px; color: #666; margin-top: 6px; }
.permanent-links a { color: #666; }
.permanent-links a:hover { color: #000; }
.copyright { font-size: 10px; color: #999; margin-top: 6px; }

/* Ad Slots (hidden placeholders) */
.ad-slot { display: none; min-height: 0; }

/* Cookie Banner (CSS-only, no JS) */
.cookie-check { display: none; }
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  z-index: 1000;
}
.cookie-check:checked ~ .cookie-banner { display: none; }
.cookie-banner a { color: #adf; }
.cookie-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 4px 12px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

/* Legal Pages */
.legal {
  max-width: 640px;
  margin: 20px auto;
  padding: 0 12px;
  line-height: 1.6;
}
.legal h2 { font-size: 22px; margin-bottom: 12px; border-bottom: 2px solid #000; padding-bottom: 4px; }
.legal h3 { font-size: 15px; margin: 16px 0 4px; }
.legal p { margin-bottom: 8px; }
.legal ul { margin: 8px 0 8px 24px; }
.legal li { margin-bottom: 4px; }

/* Responsive: stack columns on mobile */
@media (max-width: 680px) {
  .columns { flex-direction: column; }
  .column.left, .column.right { border: none; }
  .column.center { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 8px 0; margin: 8px 0; }
  .lead-headline { font-size: 20px; }
  .sub-lead a { font-size: 15px; }
  body { padding: 4px; }
}
