/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0d0d0d;
  --bg2:      #161616;
  --bg3:      #1f1f1f;
  --border:   #2a2a2a;
  --accent:   #c0392b;
  --accent2:  #e74c3c;
  --text:     #e0e0e0;
  --muted:    #888;
  --white:    #fff;
  --font:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:     'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }

/* ── Header ───────────────────────────────────────────────── */
header {
  background: #000;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 64px;
}
.logo { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
}
.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-left: auto; }
.main-nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  width: 100%;
  height: 420px;
  background: var(--bg2) center/cover no-repeat;
  position: relative;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%);
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #1a0000 0%, #0d0d0d 60%, #1a0000 100%);
}
.hero-text h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--white);
  text-shadow: 0 0 40px rgba(192, 57, 43, 0.6);
}
.hero-text p { color: var(--muted); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.85rem; margin-top: 0.5rem; }

/* ── Main layout ──────────────────────────────────────────── */
main { flex: 1; }

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.home-content { max-width: 1200px; }

.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.breadcrumb a { color: var(--accent2); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--accent);
  color: var(--white) !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent2); }
.read-more { font-size: 0.8rem; font-weight: 700; color: var(--accent2); text-transform: uppercase; letter-spacing: 0.05em; }
.read-more:hover { color: var(--white); }

/* ── Home sections ────────────────────────────────────────── */
.home-section { margin-bottom: 4rem; }
.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1.5rem;
}

/* ── Post grid (home) ─────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.post-card:hover { border-color: var(--accent); }
.post-card img { width: 100%; height: 180px; object-fit: cover; }
.post-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.post-card h3 { font-size: 1rem; font-weight: 700; }
.post-card h3 a { color: var(--white); }
.post-card h3 a:hover { color: var(--accent2); }
.post-card p { font-size: 0.875rem; color: var(--muted); }

/* ── Post list (news page) ────────────────────────────────── */
.post-list { display: flex; flex-direction: column; gap: 1.5rem; }
.post-row {
  display: flex;
  gap: 1.25rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.post-row:hover { border-color: var(--accent); }
.post-thumb { width: 120px; height: 80px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.post-row h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.post-row h3 a { color: var(--white); }
.post-row h3 a:hover { color: var(--accent2); }
.post-teaser { font-size: 0.875rem; color: var(--muted); margin-top: 0.3rem; }
.post-date { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.post-hero { width: 100%; max-height: 360px; object-fit: cover; border-radius: 4px; margin-bottom: 1.5rem; }

/* ── Pager ────────────────────────────────────────────────── */
.pager { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; color: var(--muted); font-size: 0.875rem; }
.pager a { color: var(--accent2); font-weight: 600; }

/* ── Discography ──────────────────────────────────────────── */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.album-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  text-align: center;
}
.album-thumb:hover .album-title { color: var(--accent2); }
.album-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; border: 1px solid var(--border); }
.album-title { font-size: 0.8rem; font-weight: 600; }
.album-year { font-size: 0.7rem; color: var(--muted); }

.disc-list { display: flex; flex-direction: column; gap: 2.5rem; }
.album {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
}
.album-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }
.album-info h2 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 0.3rem; }
.album-meta { font-size: 0.85rem; color: var(--accent2); font-weight: 600; margin-bottom: 1rem; }
.album-notes { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.disc-details { margin-top: 0.75rem; }
.disc-details summary { cursor: pointer; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0.4rem 0; }
.disc-details summary:hover { color: var(--white); }
.disc-pre { font-family: var(--mono); font-size: 0.8rem; color: var(--text); white-space: pre-wrap; padding: 0.75rem 0 0.25rem 1rem; border-left: 2px solid var(--border); margin-top: 0.5rem; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.gallery-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  color: var(--text);
  text-align: center;
  transition: border-color 0.2s;
}
.gallery-thumb:hover { border-color: var(--accent); color: var(--white); }
.gallery-thumb img { width: 100%; height: 160px; object-fit: cover; }
.gallery-thumb span { font-size: 0.85rem; font-weight: 600; padding: 0.5rem; }
.no-thumb { width: 100%; height: 160px; background: var(--bg3); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.photo-item { border-radius: 4px; overflow: hidden; }
.photo-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: opacity 0.2s; }
.photo-item img:hover { opacity: 0.85; }
.photo-item figcaption { font-size: 0.75rem; color: var(--muted); padding: 0.4rem 0; }

/* ── CMS content ──────────────────────────────────────────── */
.cms-content { line-height: 1.8; }
.cms-content h2, .cms-content h3 { color: var(--white); margin: 1.5rem 0 0.75rem; }
.cms-content p { margin-bottom: 1rem; color: var(--text); }
.cms-content a { color: var(--accent2); }
.cms-content img { border-radius: 4px; margin: 1rem 0; max-width: 100%; }
.cms-content .dark_headline h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}
.img_left { float: left; margin: 0 1.5rem 1rem 0; }
.img_right { float: right; margin: 0 0 1rem 1.5rem; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #000;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.footer-links a:hover { color: var(--accent2); }
.footer-copy { font-size: 0.75rem; color: var(--muted); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #000; border-bottom: 2px solid var(--accent); padding: 1rem; flex-direction: column; }
  .main-nav.open { display: flex; }
  .album { grid-template-columns: 1fr; }
  .album-cover { max-width: 220px; }
  .hero { height: 260px; }
  .hero-text h1 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
  .post-row { flex-direction: column; }
  .post-thumb { width: 100%; height: 160px; }
  .header-inner { padding: 0 1rem; }
}
