/* Shared site theme, navigation, headers and footer. */
/* ===== GLOBAL BASE — CONSISTENT ACROSS ALL PAGES ===== */
:root {
  --bg: #1a1a1a;
  --card-bg: #252525;
  --accent: #e5c100;
  --text: #f0f0f0;
  --muted: #aaa;
  --border: #444;
  --link: #ffd700;
  --link-hover: #fff200;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
}
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  padding-bottom: 3rem;
  line-height: 1.6;
  min-height: 100vh;
}
/* ===== HYPERLINK STYLING ===== */
a,
a:link,
a:visited {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted var(--link);
}
a:hover,
a:active {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
}
/* ============================================== */
/* PAGE HEADER — CONSISTENT + BIG GOLD HEADING    */
/* ============================================== */
.site-header {
  text-align: center;
  margin: 2rem 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 140px;
}
.site-header h1 {
  font-size: clamp(2.5rem, 8vw, 4rem); /* ✅ Matches all other pages */
  line-height: 1.1;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kofi-btn, .kofi-btn:link, .kofi-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00b9fe;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
  border-bottom: none;
}
.kofi-btn::before {
  content: "☕";
  font-size: 1.1rem;
  line-height: 1;
}
.kofi-btn:hover { 
  background: #00a0e0;
  color: #fff;
  border-bottom: none;
}
.subtitle {
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}
h2 {
  font-size: 1.6rem;
  color: var(--accent);
  margin: 2rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- MOBILE (≤600px) — hamburger active --- */
/* ===== ONE MOBILE BLOCK — phones up to 600px ===== */
@media (max-width: 600px) {

  /* --- Page headers --- */
  .site-header h1 {
    font-size: 1.7rem;
    line-height: 1.2;
    overflow-wrap: break-word;
  }
  .site-header { margin-top: 0.5rem; }


}

a:focus-visible, button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.site-header { scroll-margin-top: var(--nav-clearance, 150px); }
/* Anchor clearance also used by the supplied Barry page. */
html { scroll-padding-top: var(--nav-clearance, 150px); }
.subtitle { border-bottom: none; }
