/* drumbeat.css — shared styles for The Daily Drumbeat
   Loaded by every page. Edit colors/fonts here once, it updates everywhere. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAF6ED;
  --card: #FFFFFF;
  --border: #E4DDCB;
  --ink: #1E1C18;
  --muted: #6E6A60;
  --red: #8E2A2B;
  --red-light: #C96A6B;
  --green: #2F6B3A;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}
a { color: inherit; }
h1, h2, h3, .serif { font-family: 'Playfair Display', Georgia, serif; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.logo .D { color: var(--red); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 4px;
}
.nav a.active { color: var(--red); border-bottom: 2px solid var(--red); }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  padding: 30px 24px;
  text-align: center;
  margin-top: 60px;
}
.site-footer .logo2 { font-family: 'Playfair Display', serif; font-size: 18px; letter-spacing: 2px; color: var(--card); font-weight: 800; }
.site-footer .logo2 .D { color: var(--red-light); }
.site-footer .fine { font-size: 12px; color: #B5B0A4; margin-top: 10px; line-height: 1.8; }
.site-footer a { color: #B5B0A4; }

/* ---- Tags / chips ---- */
.tag {
  font-size: 12px; letter-spacing: 1.5px; font-weight: 700; color: var(--red);
  text-transform: uppercase; font-family: 'Inter', sans-serif;
}
.pill {
  display: inline-block; border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; color: var(--muted); background: var(--card);
  text-decoration: none; cursor: pointer;
}
.pill:hover { border-color: var(--red); color: var(--red); }
.badge {
  display: inline-block; border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 10px; font-size: 10px; letter-spacing: 0.5px; color: var(--muted);
  text-transform: uppercase; background: var(--bg);
}
.copy-link {
  font-size: 11px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase;
  color: var(--ink); background: none; border: none; cursor: pointer; text-decoration: underline;
}

/* ---- Story cards (left column) ---- */
.story { border-bottom: 1px solid var(--border); padding: 26px 0; }
.story:first-child { padding-top: 0; }
.story h2 { font-size: 26px; line-height: 1.3; margin: 8px 0 10px; font-weight: 800; }
.story p { font-size: 16px; line-height: 1.7; margin: 0 0 14px; color: var(--ink); }
.story-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.sources { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sources .label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }

/* ---- Anchor story + takeaway callout ---- */
.anchor-story { border-bottom: 2px solid var(--red); padding-bottom: 30px; margin-bottom: 6px; }
.anchor-story h2 { font-size: 30px; }
.takeaway { border-left: 3px solid var(--red); background: var(--bg); padding: 14px 18px; margin: 4px 0 16px; font-size: 15px; line-height: 1.6; }
.takeaway-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 6px; }

/* ---- Quick hits ---- */
.quick-hits-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 18px 0 6px; }
.quick-hit { border-bottom: 1px solid var(--border); padding: 14px 0; }
.quick-hit p { font-size: 15px; line-height: 1.6; margin: 6px 0 8px; color: var(--ink); }
.quick-hit .story-footer { gap: 6px; }

/* ---- Sidebar boxes (right column) ---- */
.box { border: 1px solid var(--border); background: var(--card); padding: 20px 22px; margin-bottom: 18px; }
.box-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.box table { width: 100%; border-collapse: collapse; font-size: 14px; }
.box table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.box table tr:last-child td { border-bottom: none; }
.box .asset { color: var(--muted); }
.box .change-up { color: var(--green); }
.box .change-down { color: var(--red); }
.box .source-note { font-size: 11px; color: var(--muted); text-align: right; }
.box .sponsor-note { font-size: 11px; color: var(--muted); margin-top: 10px; text-align: center; }
.box .sponsor-note a { color: var(--red); }

/* ---- Layout grid ---- */
.two-col { display: grid; grid-template-columns: 2.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---- Drum Roll footer ---- */
.drumroll { border: 1px solid var(--border); background: var(--card); margin-top: 30px; }
.drumroll-head { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.drumroll-head .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 14px; }
.drumroll-head h3 { margin: 0; font-size: 23px; letter-spacing: 2px; text-transform: uppercase; }
.drumroll-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.drumroll-body > div { padding: 22px 24px; }
.drumroll-body > div:first-child { border-right: 1px solid var(--border); }
@media (max-width: 700px) { .drumroll-body { grid-template-columns: 1fr; } .drumroll-body > div:first-child { border-right: none; border-bottom: 1px solid var(--border); } }
.drumroll .kicker { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 8px; }
.drumroll .big { font-size: 20px; font-weight: 700; }
.drumroll .note { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* ---- Landing page ---- */
.hero { text-align: center; padding: 60px 24px 20px; }
.hero .maintitle { font-family: 'Playfair Display', Georgia, serif; font-size: 56px; font-weight: 900; letter-spacing: 2px; }
.hero .maintitle .D { color: var(--red); }
.hero .tagline { font-style: italic; color: var(--muted); font-size: 18px; margin-top: 12px; font-family: 'Playfair Display', serif; }
.hero .volbar { max-width: 760px; margin: 30px auto 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 10px 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.hero .summary { max-width: 700px; margin: 26px auto 0; font-size: 17px; line-height: 1.7; color: var(--red); font-weight: 600; }
.btn-primary { display: inline-block; margin-top: 26px; background: var(--red); color: #fff; font-weight: 700; padding: 14px 34px; text-decoration: none; font-size: 15px; letter-spacing: 0.5px; }
.stats { margin-top: 14px; font-size: 13px; color: var(--muted); }
.stats .pill { margin: 0 4px; }

.inside-today { padding: 50px 24px 10px; }
.inside-today h3 { font-size: 30px; margin-bottom: 4px; }
.inside-today .sub { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.section-grid a { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--border); padding: 20px 22px; background: var(--card); }
.section-grid .stag { font-size: 11px; letter-spacing: 1.5px; color: var(--red); font-weight: 700; text-transform: uppercase; }
.section-grid .stitle { font-size: 15px; margin-top: 6px; }
@media (max-width: 760px) { .section-grid { grid-template-columns: 1fr; } }

.subscribe-box { max-width: 760px; margin: 40px auto 60px; border: 1px solid var(--border); background: var(--card); padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.subscribe-box h4 { margin: 0 0 6px; font-size: 20px; }
.subscribe-box p { margin: 0; font-size: 13px; color: var(--muted); }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input[type=email] { padding: 12px 14px; border: 1px solid var(--border); font-size: 14px; min-width: 220px; }
.subscribe-form button { background: var(--ink); color: #fff; border: none; padding: 12px 22px; font-weight: 700; cursor: pointer; }

/* ---- Archive ---- */
.archive-row { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--border); border-bottom: none; background: var(--card); padding: 22px 28px; }
.archive-row:last-child { border-bottom: 1px solid var(--border); }
.archive-row .d { font-family: 'Playfair Display', serif; font-size: 21px; }
.archive-row .v { font-size: 13px; color: var(--red); margin-left: 14px; }
.archive-row .c { font-size: 13px; color: var(--muted); float: right; }
.archive-row .s { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---- Advertise page ---- */
.rate-card { border: 1px solid var(--border); background: var(--card); padding: 24px; margin-bottom: 16px; }
.rate-card .price { font-size: 26px; font-weight: 800; color: var(--red); }
