/* Reading pages for each memorial (people/, events/, famous-deaths). Same palette as styles.css. */
:root { --bg: #0e0f12; --surface: #17191e; --line: #2c3038; --text: #ece7dd; --muted: #9a958b; --gold: #e8b04b; --care: #9b5fa8; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, -apple-system, sans-serif; }
a { color: var(--gold); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(14, 15, 18, .94); backdrop-filter: blur(6px); z-index: 2; }
.brand { font: 600 22px/1 "Cormorant Garamond", Georgia, serif; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.flame { width: 10px; height: 16px; border-radius: 50% 50% 45% 45%; background: radial-gradient(circle at 50% 70%, #fff3c4, var(--gold) 60%, #b5741f); box-shadow: 0 0 10px rgba(232, 176, 75, .6); }
.open { font-size: 14px; text-decoration: none; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.top { display: flex; gap: 18px; align-items: flex-end; }
.portrait { width: 120px; height: 150px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; background: var(--surface); }
.kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
h1 { font: 600 40px/1.1 "Cormorant Garamond", Georgia, serif; margin: 4px 0; overflow-wrap: anywhere; }
h2 { font: 600 26px/1.2 "Cormorant Garamond", Georgia, serif; margin: 32px 0 8px; }
h2.q { margin-top: 24px; }
.sub { color: var(--muted); font-size: 14px; }
.answer { font-size: 18px; }
.note { border-left: 3px solid var(--care); padding: 6px 12px; background: var(--surface); border-radius: 0 8px 8px 0; font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 20px 0; }
.facts div { background: var(--surface); padding: 10px 14px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.actions a { text-decoration: none; border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; font-size: 14px; }
.actions a.primary { background: var(--gold); color: #1a1406; border-color: var(--gold); font-weight: 600; }
.map { margin: 16px 0; }
.map iframe { width: 100%; height: 300px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.map figcaption, .src { font-size: 13px; color: var(--muted); }
.links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.links li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.links a { text-decoration: none; font-weight: 500; }
.links span { color: var(--muted); font-size: 13px; }
footer { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 520px) {
  h1 { font-size: 32px; }
  .portrait { width: 88px; height: 110px; }
  .top { gap: 14px; }
}
