/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --font-body:    'Lora', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;
  --font-display: 'Lora', Georgia, serif;

  --bg:           #fefdfb;
  --bg-alt:       #f5f3ef;
  --text:         #1c1c1c;
  --text-muted:   #6b7280;
  --border:       #e4e0d8;
  --shadow:       0 1px 4px rgba(0,0,0,0.08);
  --radius:       5px;

  --accent:       #5b4637;
  --accent-hover: #3e2e22;
  --accent-pale:  #f5ede6;

  --slate:        #2a1f14;
  --green:        #4a7c59;
  --green-light:  #7eb895;
  --green-pale:   #eef4f0;
}

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

html { font-size: 17px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.3;
  color: var(--slate);
}

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; text-decoration: none; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; text-decoration: none; }
.btn-sm { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
.btn-danger { background: #b91c1c; color: white; border-color: #b91c1c; }
.btn-danger:hover { background: #991b1b; border-color: #991b1b; color: white; }

/* ── Site Header ───────────────────────────────────────────────────────── */
.site-header {
  background: var(--slate);
  color: white;
  padding: 0 2rem;
}
.site-header-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}
.site-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  font-weight: 600;
  white-space: nowrap;
}
.site-title:hover { color: #d4c4b8; text-decoration: none; }

.site-nav { display: flex; gap: 0.2rem; flex-wrap: wrap; }
.site-nav a {
  color: rgba(255,255,255,0.75);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover, .site-nav a.active {
  color: white;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* ── Site Footer ───────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 4rem;
  background: var(--slate);
  color: rgba(255,255,255,0.55);
  padding: 2.5rem 2rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
}
.site-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: white;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.footer-nav {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.55);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.footer-nav a:hover { color: white; background: rgba(255,255,255,0.08); text-decoration: none; }
.footer-copy {
  max-width: 860px;
  margin: 1.2rem auto 0;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
}

/* ── Main Layout ───────────────────────────────────────────────────────── */
.site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(254, 253, 251, 0.88);
  border-radius: var(--radius);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.site-hero {
  background: var(--slate);
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}
.site-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}
.site-hero-inner--with-photo {
  max-width: 860px;
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
}
.site-hero-inner--with-photo .hero-text { flex: 1; }
.site-hero-inner--with-photo .hero-links { justify-content: flex-start; }
.hero-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.hero-tagline {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.55);
  text-decoration: none;
}

/* ── Blog layout (posts + sidebar) ────────────────────────────────────── */
.blog-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem;
  align-items: start;
}
.blog-layout .site-main {
  max-width: none;
  margin: 0;
}
.blog-sidebar {
  padding: 1.5rem;
  background: rgba(254, 253, 251, 0.88);
  border-radius: var(--radius);
  position: sticky;
  top: 2rem;
}
.sidebar-search {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.sidebar-search input {
  flex: 1;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  background: white;
  color: var(--text);
  min-width: 0;
}
.sidebar-search input:focus { outline: none; border-color: var(--accent); }
.sidebar-search button {
  padding: 0.45rem 0.7rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}
.sidebar-search button:hover { background: var(--accent-hover); }

.blog-sidebar h3 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.blog-sidebar ul { list-style: none; }
.blog-sidebar li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}
.blog-sidebar li:last-child a { border-bottom: none; }
.blog-sidebar li a:hover { color: var(--accent); }
.blog-sidebar li a.active { color: var(--accent); font-weight: 600; }
.cat-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.1rem 0.45rem;
  border-radius: 20px;
  flex-shrink: 0;
}
.blog-sidebar li a.active .cat-count { background: var(--accent-pale); color: var(--accent); }

/* ── Post List ─────────────────────────────────────────────────────────── */
.post-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.post-list-item {
  padding: 1.6rem 1.8rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-left: 3px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.post-list-item:hover {
  border-left-color: var(--accent);
  box-shadow: 0 3px 14px rgba(0,0,0,0.1);
}

.post-list-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.post-list-title a { color: var(--slate); }
.post-list-title a:hover { color: var(--accent); text-decoration: none; }

.post-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.post-meta a { color: var(--text-muted); }
.post-meta a:hover { color: var(--accent); }

.post-excerpt { font-size: 0.95rem; color: #3a3a3a; }

.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.read-more:hover { text-decoration: underline; }

/* ── Single Post ───────────────────────────────────────────────────────── */
.post-header { margin-bottom: 2rem; }
.post-title { font-size: 2rem; margin-bottom: 0.5rem; }

.post-content {
  max-width: 680px;
}
.post-content p { margin-bottom: 1.3rem; }
.post-content h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.post-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.2rem;
  color: #4a4a4a;
  margin: 1.5rem 0;
  font-style: italic;
}
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.post-content li { margin-bottom: 0.4rem; }

/* ── Category badge ────────────────────────────────────────────────────── */
.cat-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent-pale);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.cat-badge:hover { background: var(--accent); color: white; text-decoration: none; }

/* ── Pagination ────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-family: var(--font-ui);
}
.pagination a, .pagination span {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text);
}
.pagination a:hover { background: var(--accent-pale); border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: white; }

/* ── Page content ──────────────────────────────────────────────────────── */
.page-title { font-size: 2rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }

/* ── Music page ────────────────────────────────────────────────────────── */
.track-list { list-style: none; }
.track-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.track-item:last-child { border-bottom: none; }
.track-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--slate); }
.track-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.track-item audio { width: 100%; max-width: 500px; }

/* ── Book / download page ──────────────────────────────────────────────── */
.book-block {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--accent-pale);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.book-meta { flex: 1; }
.book-title { font-size: 1.6rem; margin-bottom: 0.75rem; }
.book-desc { font-size: 0.95rem; color: #3a3a3a; margin-bottom: 1.2rem; }
.download-count { font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ── Admin (inline — only active in admin pages) ───────────────────────── */
body.admin-body { background: #f0f2f5; font-family: var(--font-ui); }

.admin-wrap { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--slate);
  color: white;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}
.sidebar-logo span { display: block; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.45); margin-top: 0.2rem; letter-spacing: 0.05em; }
.sidebar-nav { flex: 1; padding: 0.75rem 0; }
.sidebar-nav a {
  display: block; padding: 0.65rem 1.5rem;
  color: rgba(255,255,255,0.72); font-size: 0.86rem; font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: white; background: rgba(255,255,255,0.07);
  border-left-color: var(--green-light);
  text-decoration: none;
}
.sidebar-nav .nav-section {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.32); padding: 1rem 1.5rem 0.3rem;
}
.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.sidebar-footer a { color: rgba(255,255,255,0.6); }
.sidebar-footer a:hover { color: white; }

.admin-main { margin-left: 220px; flex: 1; padding: 2rem; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.admin-topbar h1 { font-size: 1.5rem; font-family: var(--font-display); color: var(--slate); }

.admin-panel { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-panel h2 { font-size: 1.05rem; margin-bottom: 1.1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--border); color: var(--slate); }

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--slate); }
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.6rem 0.85rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.9rem; color: var(--text);
  background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.25rem; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th { text-align: left; padding: 0.55rem 0.8rem; background: var(--green-pale); color: var(--slate); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafaf8; }

.alert { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-size: 0.86rem; }
.alert-success { background: #eaf4ea; color: #2d6a2d; border: 1px solid #c3dfc3; }
.alert-error { background: #fde8e8; color: #b91c1c; border: 1px solid #fbc4c4; }

.admin-picture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}
.admin-picture-item { display: flex; flex-direction: column; gap: 0.25rem; }
.admin-picture-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.admin-picture-name { font-size: 0.65rem; color: var(--text-muted); word-break: break-all; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-picture-item .btn { font-size: 0.7rem; padding: 0.2rem 0.4rem; }

.badge { display: inline-block; padding: 0.18rem 0.55rem; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.badge-green { background: var(--green-pale); color: var(--green); }
.badge-red { background: #fde8e8; color: #b91c1c; }
.badge-slate { background: #e8edf0; color: var(--slate); }

/* ── Embedded video ────────────────────────────────────────────────────── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  margin-bottom: 1.5rem;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── YouTube channel bar ───────────────────────────────────────────────── */
.yt-channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.yt-channel-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.yt-icon { width: 36px; height: 36px; flex-shrink: 0; }
.yt-channel-info strong { display: block; font-family: var(--font-ui); font-size: 0.95rem; }
.yt-channel-info span { font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-muted); }

/* ── YouTube video grid ────────────────────────────────────────────────── */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.yt-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.yt-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); text-decoration: none; }
.yt-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
}
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.15s; }
.yt-card:hover .yt-thumb img { opacity: 0.85; }
.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  opacity: 0;
  transition: opacity 0.15s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.yt-card:hover .yt-play { opacity: 1; }
.yt-title {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.5rem 0 0.2rem;
  line-height: 1.4;
  color: var(--text);
}
.yt-date {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Silmarillion player ────────────────────────────────────────────────── */
.sil-player {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.sil-embed { flex: 3; min-width: 0; }
.sil-embed .video-wrap { margin-bottom: 0; }
.sil-tracklist {
  flex: 2;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}
.sil-tracklist li {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  transition: background 0.1s, color 0.1s;
  line-height: 1.4;
}
.sil-tracklist li:last-child { border-bottom: none; }
.sil-tracklist li:hover { background: var(--accent-pale); }
.sil-tracklist li.active { background: var(--accent); color: white; }
.sil-tracklist .track-num {
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 1.4rem;
  flex-shrink: 0;
}
.sil-tracklist li.active .track-num { color: rgba(255,255,255,0.6); }
.sil-tracklist .playlist-item { font-weight: 600; }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.gallery-intro { margin-bottom: 2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-item {
  display: block;
  padding: 0;
  border: none;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none; border: none;
  color: white; font-size: 2.5rem;
  cursor: pointer; line-height: 1;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 3rem;
  cursor: pointer; padding: 0.5rem 1rem;
  border-radius: var(--radius);
  line-height: 1; opacity: 0.7;
  transition: opacity 0.15s, background 0.15s;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ── Smoke background ──────────────────────────────────────────────────── */
body {
  background-image: url('/uploads/smoke1.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply;
}
.site-header,
.site-hero,
.site-footer {
  background-image: url('/uploads/smoke1.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: screen;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header-inner { flex-direction: column; height: auto; padding: 1rem 0; gap: 0.5rem; }
  .site-hero { padding: 3rem 1.2rem; }
  .hero-desc { font-size: 1rem; }
  .site-hero-inner--with-photo { flex-direction: column-reverse; text-align: center; gap: 1.5rem; }
  .site-hero-inner--with-photo .hero-links { justify-content: center; }
  .hero-photo img { width: 130px; height: 130px; }
  .site-main { padding: 2rem 1.2rem; }
  .post-list-item { padding: 1.2rem 1.2rem; }
  .book-block { flex-direction: column; }
  .sil-player { flex-direction: column; }
  .site-footer-inner { flex-direction: column; gap: 1.2rem; }
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; padding: 0 1.2rem; }
  .blog-layout .site-main { padding-left: 0; padding-right: 0; }
  .blog-sidebar { position: static; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 1rem; }
}
