/* Booze Board blog — shared styles (matches the app: dark + amber, DM fonts) */
:root {
  --bg: #0f0f0f; --bg-elev: #181818; --bg-elev-2: #222;
  --text: #f2efe7; --text-muted: #9a9690; --text-dim: #6b6864;
  --accent: #e8a020; --accent-soft: rgba(232, 160, 32, 0.12);
  --green: #6fcf6a; --red: #e07060; --border: #2a2a2a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15,15,15,0.94); backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 900px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.nav .brand {
  font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text);
  white-space: nowrap;
}
.nav .brand .dot { color: var(--accent); }
.nav .links { display: flex; gap: 16px; margin-left: auto; font-size: 14px; }
.nav .links a { color: var(--text-muted); }
.nav .links a:hover { color: var(--accent); text-decoration: none; }

/* Layout */
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 8px; }
main.wrap { padding-top: 32px; }

/* Article typography */
article h1 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(28px, 6vw, 40px); line-height: 1.12; margin: 4px 0 10px;
}
article h2 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(22px, 4.5vw, 28px); line-height: 1.2; margin: 40px 0 12px;
  padding-top: 8px; border-top: 1px solid var(--border);
}
article h3 { font-size: 19px; font-weight: 700; margin: 26px 0 8px; }
article p, article li { color: #e5e1d8; }
article ul, article ol { padding-left: 22px; }
article li { margin: 6px 0; }
article strong { color: var(--text); }
.meta-line { color: var(--text-dim); font-size: 14px; margin: 0 0 4px; }
.dek { color: var(--text-muted); font-size: 19px; line-height: 1.5; margin: 0 0 20px; }

/* Quick-answer / callout (AEO: direct extractable answer) */
.answer {
  background: var(--accent-soft); border: 1px solid rgba(232,160,32,0.35);
  border-left: 4px solid var(--accent); border-radius: 10px;
  padding: 16px 18px; margin: 22px 0;
}
.answer .lbl {
  display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 6px;
}
.answer p { margin: 0; color: var(--text); }
.tip {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; margin: 20px 0; font-size: 15.5px; color: var(--text-muted);
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { background: var(--bg-elev); color: var(--text); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:last-child td { border-bottom: 0; }
td.cheap { color: var(--green); font-weight: 700; }
td.dear { color: var(--red); font-weight: 700; }
caption { caption-side: bottom; color: var(--text-dim); font-size: 13px; padding: 8px 4px; text-align: left; }

/* FAQ */
.faq { margin: 14px 0; }
.faq details {
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg-elev);
  padding: 0 16px; margin: 10px 0;
}
.faq summary {
  cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 16.5px; color: var(--text);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '＋'; color: var(--accent); margin-right: 10px; font-weight: 700; }
.faq details[open] summary::before { content: '－'; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq details p { margin: 12px 0 16px; color: var(--text-muted); font-size: 16px; }

/* CTA */
.cta {
  text-align: center; background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 20px; margin: 34px 0;
}
.cta h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 22px; margin: 0 0 8px; }
.cta p { color: var(--text-muted); margin: 0 0 16px; }
.btn {
  display: inline-block; background: var(--accent); color: #1a1100; font-weight: 700;
  padding: 11px 22px; border-radius: 999px; font-size: 15px;
}
.btn:hover { text-decoration: none; opacity: 0.92; }

/* Post list (blog index) */
.post-list { list-style: none; padding: 0; margin: 8px 0; }
.post-card {
  display: block; border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg-elev); padding: 20px 22px; margin: 14px 0; transition: border-color .15s;
}
.post-card:hover { border-color: var(--accent); text-decoration: none; }
.post-card .tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.post-card h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 23px; margin: 6px 0 6px; padding: 0; border: 0; color: var(--text); }
.post-card p { color: var(--text-muted); margin: 0; font-size: 15.5px; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.crumbs a { color: var(--text-muted); }

/* Footer / disclaimer */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 40px; padding: 22px 20px 40px;
  color: var(--text-dim); font-size: 13px; line-height: 1.55;
}
.site-footer .wrap { padding: 0; }
.site-footer .health { color: var(--text-muted); font-weight: 600; }
.site-footer .health::before { content: '⚠'; color: var(--accent); margin-right: 6px; }
.site-footer a { color: var(--text-muted); }
hr.rule { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }

/* Amazon affiliate picks */
.gear { margin: 36px 0 8px; padding: 20px 22px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; }
.gear h2 { margin: 0 0 4px; font-size: 1.25rem; }
.gear .gear-lead { margin: 0 0 14px; color: var(--text-muted); font-size: 0.95rem; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gear-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 12px; color: var(--text); transition: border-color .15s, transform .15s; }
.gear-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.gear-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 4px; background: #0a0a0a; }
.gear-name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.gear-why { font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }
.gear-cta { margin-top: 4px; font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.gear-note { margin: 12px 0 0; font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; }
.site-footer .affiliate { font-size: 0.8rem; color: var(--text-dim); }

/* /price bottle pages */
.bottle-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.bottle-head h1 { margin: 0 0 6px; }
.bottle-img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 6px; flex: 0 0 auto; }
.dim { color: var(--text-dim); font-size: 0.9em; }
td .dim { white-space: normal; }
.bottle-list { list-style: none; padding: 0; margin: 16px 0; columns: 2; column-gap: 24px; }
.bottle-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.bottle-list.cats { columns: 1; }
.bottle-list.cats li { font-size: 18px; padding: 10px 0; }
@media (max-width: 560px) { .bottle-list { columns: 1; } .bottle-head { align-items: flex-start; } }
