/* ============================================================
   METALLICA FANSTRÁNKY — style-v2.css
   Responsive, no-JS, metal aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;900&family=Inter:wght@300;400;500;600&family=Montserrat:wght@700;900&family=Oswald:wght@300;400;600&display=swap');

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --bg:          #060608;
  --bg-soft:     #0e0e14;
  --panel:       #12121a;
  --panel-light: #1a1a26;
  --text:        #e0e0e0;
  --muted:       #8a8a9e;
  --line:        #2a2a3a;
  --red:         #b80000;
  --red-bright:  #e03030;
  --gold:        #c8a94a;
  --silver:      #9aa0b0;
  --max:         1160px;
  --radius:      0.3rem;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
}

/* Všechny obrázky responzivní bez výjimky */
img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Inter', 'Trebuchet MS', Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(180,0,0,0.12) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.012) 3px,
      rgba(255,255,255,0.012) 4px
    );
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 17px;
}

/* ── Layout wrapper ─────────────────────────────────────────── */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  max-width: 100%;
}

/* ── Skip link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  z-index: 999;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: relative;
  background:
    linear-gradient(180deg, #0a0a10 0%, #050508 100%);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 4px 32px rgba(180, 0, 0, 0.35), 0 2px 8px rgba(0,0,0,0.8);
  padding-bottom: 0;
}

/* Red top stripe */
.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--red-bright), var(--red), transparent);
}

.site-header .wrap {
  padding: 0.9rem 0 0;
}

.eyebrow {
  margin: 0 0 0.1rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
}

.site-title {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 6vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(200, 0, 0, 0.5), 2px 2px 0 #000;
  overflow-wrap: break-word;
  word-break: break-word;
}

.site-title a {
  color: #f0f0f0;
  text-decoration: none;
}

.site-title a:hover {
  color: #fff;
  text-shadow: 0 0 60px rgba(200, 0, 0, 0.8), 2px 2px 0 #000;
}

.site-subtitle {
  margin: 0.3rem 0 0.8rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  color: var(--silver);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Banner image ──────────────────────────────────────────── */
.top-banner {
  display: block;
  margin-bottom: 0;
  overflow: hidden;
  border-top: 1px solid #2a2a3a;
}

.top-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  object-position: center center;
  background: #000;
  filter: brightness(0.9) contrast(1.1);
}

/* ============================================================
   NAVIGATION  —  desktop tabs + CSS-only hamburger on mobile
   ============================================================ */

/* Hide the checkbox */
.nav-toggle {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* Hamburger label — hidden on desktop */
.nav-label {
  display: none;
}

.main-nav {
  position: relative;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.main-nav a {
  display: inline-block;
  padding: 0.38rem 0.75rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccc;
  text-decoration: none;
  background: linear-gradient(180deg, #1e1e2a, #141420);
  border: 1px solid #333350;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #3a0808, #220505);
  border-color: var(--red);
}

.main-nav a.active {
  color: #fff;
  background: linear-gradient(180deg, #550d0d, #330606);
  border-color: var(--red-bright);
  box-shadow: 0 0 10px rgba(200, 0, 0, 0.4);
}

/* ── Mobile hamburger ───────────────────────────────────────── */
@media (max-width: 720px) {
  .nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    margin: 0.5rem 0 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ccc;
    background: linear-gradient(180deg, #1e1e2a, #141420);
    border: 1px solid #333350;
    border-radius: var(--radius);
    width: fit-content;
    user-select: none;
  }

  .nav-label::before {
    content: '☰';
    font-size: 1.1rem;
    line-height: 1;
  }

  .nav-toggle:checked + .nav-label {
    border-color: var(--red);
    color: #fff;
  }

  .nav-toggle:checked + .nav-label::before {
    content: '✕';
  }

  /* Hide nav by default on mobile */
  .main-nav ul {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--line);
    margin-top: 0.4rem;
  }

  /* Show when checked */
  .nav-toggle:checked ~ ul {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 0.5rem 0.9rem;
  }
}

/* ============================================================
   2-COLUMN LAYOUT
   ============================================================ */
.layout-2col {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.side-col {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.side-box {
  background: linear-gradient(180deg, #12121e 0%, #0c0c16 100%);
  border: 1px solid #2a2a42;
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
  border-top: 2px solid var(--red);
}

.side-box h3 {
  margin: 0 0 0.6rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #2a2a42;
}

.side-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-links li {
  border-bottom: 1px solid #1e1e2e;
}

.side-links li:last-child {
  border-bottom: none;
}

.side-links a {
  display: block;
  padding: 0.28rem 0.2rem;
  color: #bbc8e0;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: color 0.12s, padding-left 0.12s;
}

.side-links a:hover {
  color: var(--red-bright);
  padding-left: 0.4rem;
}

/* ── Ostatní desky (album thumbnails v sidebaru) ─────────────── */
.album-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.album-list li {
  border-bottom: 1px solid #1e1e2e;
}

.album-list li:last-child {
  border-bottom: none;
}

.album-list li.current-album a {
  color: var(--gold);
  pointer-events: none;
  cursor: default;
}

.album-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.2rem;
  text-decoration: none;
  color: #bbc8e0;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.12s, padding-left 0.12s;
}

.album-list a:hover {
  color: var(--red-bright);
  padding-left: 0.3rem;
}

.album-list img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid #2a2a3a;
  flex-shrink: 0;
  border-radius: 2px;
}

.album-list .album-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.album-list .album-year {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.side-box p,
.side-box a {
  font-size: 0.95rem;
  color: #aab8cc;
}

.side-box .album-list a {
  font-size: 0.86rem;
}

.side-box iframe {
  border: 1px solid #222232;
  border-radius: var(--radius);
  background: #0a0a10;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.content {
  background:
    radial-gradient(ellipse 80% 25% at 50% 0%, rgba(160,0,0,0.18) 0%, transparent 100%),
    linear-gradient(180deg, #141628 0%, #07080f 100%);
  border: 1px solid #252538;
  border-top: 2px solid #3a0808;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem 1.8rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ── Prose / text styles ─────────────────────────────────────── */
.prose :is(h1, h2, h3, h4) {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.2;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  color: #f0f0f0;
  max-width: 100%;
}

.prose p,
.prose li,
.prose td,
.prose th,
.prose blockquote,
.prose div {
  max-width: 100%;
}

.prose h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 30px rgba(180,0,0,0.4);
  border-bottom: 1px solid #2e1010;
  padding-bottom: 0.5rem;
  margin-top: 0.4em;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
}

/* Left-border accent only on non-centered h2 headings */
.prose h2:not(.nadpisy):not(.nadpisy2):not(.nadpisy6):not(.nadpisy7) {
  border-left: 3px solid var(--red);
  padding-left: 0.65rem;
  margin-left: 0;
}

.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--silver);
}

.prose p {
  color: #c8ccd8;
  font-size: 0.95rem;
}

.prose strong {
  color: #e8e8f0;
  font-weight: 600;
}

.prose em, .prose .kurziva {
  color: #aabbcc;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid #2e2e48;
}

.prose a {
  color: #d06060;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover,
.prose a:focus-visible {
  color: #ff8080;
}

.prose blockquote {
  border-left: 3px solid var(--red);
  margin: 1.2rem 0;
  padding: 0.5rem 0 0.5rem 1.1rem;
  color: #b8c0cc;
  font-style: italic;
  background: rgba(180,0,0,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Novinky section ─────────────────────────────────────────── */
.nove-od, .nov-od {
  margin: 1rem 0 0.3rem;
}

/* Schovej původní obrázek, nahraď CSS čarou */
.nov-od img {
  display: none;
}

.nov-od {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.9rem 0;
  background: linear-gradient(90deg, transparent 0%, #6a0000 15%, #cc0000 40%, #ff4444 50%, #cc0000 60%, #6a0000 85%, transparent 100%);
  border: none;
  clear: both;
}

/* ── YouTube cards ───────────────────────────────────────────── */
.youtube-card {
  margin: 1rem 0;
  border: 1px solid #2a2a3e;
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  background: #0d0d16;
  overflow: hidden;
}

.youtube-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-bottom: 1px solid #2a2a3e;
  border-radius: 0;
  filter: brightness(0.9);
}

.youtube-card p {
  margin: 0;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.youtube-card a {
  color: var(--red-bright) !important;
}

/* ── Tables ──────────────────────────────────────────────────── */
.prose table,
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  table-layout: auto;
}

/* Horizontal scroll — tabulka scrolluje, layout se nerozbije */
.holder {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-pane {
  min-width: 0;
  width: 100%;
}

/* Grid buňky nesmí přetéct svůj sloupec */
.content,
.side-col {
  min-width: 0;
}

/* Tab classes — override any old fixed widths */
.tab12, .tab14, .tab15 {
  width: 100%;
}

.tab2, .tab5, .tab11, .tab13 {
  width: 100%;
}

.prose td,
.prose th,
td, th {
  border: 1px solid #2a2a3e;
  padding: 0.45rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.prose th,
th {
  background: linear-gradient(180deg, #1e0808, #160505);
  color: var(--gold);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.prose tr:hover,
tr:hover {
  background: rgba(180, 0, 0, 0.06);
}

/* Inteligentní rozvržení sloupců:
   - všechny sloupce kromě posledního: jen tak wide jak potřebují, bez zalomení
   - poslední sloupec: pohltí veškerý zbývající prostor */
td:not(:last-child),
th:not(:last-child) {
  white-space: nowrap;
  width: 1%;
}

td:last-child,
th:last-child {
  width: 100%;
}

/* Tabulky vždy v scroll containeru — nezlomí layout */
.prose table,
table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Concert color classes */
.koncerty  { color: #e04040; }
.koncerty2 { color: #4da8e0; }
.koncerty3 { color: #e06020; }
.koncerty4 { color: #b0a898; }
.koncerty5 { color: #ffffff; }
.koncerty6 { color: #e05520; }
.koncerty7 { color: #e09020; }
.koncerty8 { color: #70c0cc; }
.koncerty9 { color: #c050e0; }
.koncerty10{ color: #e04000; }

/* Proběhlé koncerty */
tr.koncert-past td { opacity: 0.45; }
tr.koncert-past td:first-child { text-decoration: line-through; }
.koncerty-past-badge { color: #5a5a6e !important; font-size: 0.82rem; }

/* ── Member / album cards (.foto2, .foto3, .foto4, .foto5) ──── */

/* Default: block layout for text-heavy pages (history, concerts…) */
.stin4 {
  display: block;
  width: 100%;
}

/* Member grid: portrait cards, centered */
.stin4:has(.foto3),
.stin4:has(.foto4),
.stin4:has(.foto5) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: flex-start;
}

/* Discography grid: flex wrap of album covers */
.stin4:has(.foto2) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  align-items: flex-start;
}

/* Headings always full-width inside any stin4 variant */
.stin4 > h1 {
  display: block;
  width: 100%;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  margin: 0 0 0.8rem;
}

.stin4 > h2,
.stin4 > h3 {
  display: block;
  width: 100%;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  margin: 0.5rem 0;
}

/* Member page: former members list without bullets, centered */
.clenove2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.clenove2 li {
  padding: 0.15rem 0;
}

/* Member page: center all headings and non-card content */
.stin4:has(.foto3) > h1,
.stin4:has(.foto3) > h2,
.stin4:has(.foto3) > h3,
.stin4:has(.foto3) > p,
.stin4:has(.foto3) > div:not(.foto3):not(.foto4):not(.foto5) {
  text-align: center;
}

/* Non-card divs inside photo grids stay full width */
.stin4:has(.foto2) > div:not(.foto2),
.stin4:has(.foto3) > div:not(.foto3):not(.foto4):not(.foto5),
.stin4:has(.foto4) > div:not(.foto3):not(.foto4):not(.foto5),
.stin4:has(.foto5) > div:not(.foto3):not(.foto4):not(.foto5) {
  flex: 0 0 100%;
  grid-column: 1 / -1;
  width: 100%;
}

/* Album cover cards */
.foto2 {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 155px;
  transition: transform 0.2s;
}

.foto2:hover {
  transform: translateY(-3px);
}

.foto2 .obrG {
  float: none;
  display: block;
}

.foto2 .obrG img {
  display: block;
  width: 145px;
  height: 145px;
  object-fit: cover;
  border: 2px solid #2a2a42;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.foto2:hover .obrG img {
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(180,0,0,0.4);
}

.foto2 .zdroj3 {
  margin: 0.4rem 0 0;
  font-size: 0.87rem;
  line-height: 1.4;
  color: var(--gold);
}

.foto2 .zdroj3 a {
  color: var(--gold);
  text-decoration: none;
}

.foto2 .zdroj3 a:hover {
  color: #f0c060;
  text-decoration: underline;
}

.foto2 .rok {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Member detail page ────────────────────────────────────────────────── */

.member-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 1rem 0 1.5rem;
}

.member-gallery a {
  flex: 1 1 0;
  min-width: 0;
  display: block;
}

.member-gallery a img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #111120;
  border: 2px solid #2a2a42;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}

.member-gallery a:hover img {
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(180,0,0,0.4);
}

@media (max-width: 600px) {
  .member-gallery {
    flex-wrap: wrap;
  }
  .member-gallery a {
    flex: 1 1 calc(33% - 0.4rem);
  }
}

dl.member-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a42;
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 0 0 1.5rem;
}

dl.member-info dt {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

dl.member-info dd {
  margin: 0;
  color: var(--fg);
}

.membre-bio {
  margin-top: 1rem;
}

/* Member portrait cards */
.foto3,
.foto4,
.foto5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
  transition: transform 0.2s;
}

.foto3:hover,
.foto4:hover,
.foto5:hover {
  transform: translateY(-3px);
}

.obrG img,
.obrG7 img {
  display: block;
  width: 150px;
  height: 210px;
  object-fit: cover;
  border: 2px solid #2a2a42;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}

.foto3:hover .obrG img {
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(180,0,0,0.35);
}

.foto4 .obrG7 img,
.foto5 .obrG7 img {
  filter: brightness(0.65) grayscale(0.3);
}

.foto4:hover .obrG7 img,
.foto5:hover .obrG7 img {
  filter: brightness(1) grayscale(0);
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(180,0,0,0.35);
}

.zdroj4 {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #c0c8d8;
}

.zdroj4 a {
  color: #c0c8d8;
  text-decoration: none;
}

.zdroj4 a:hover {
  color: var(--red-bright);
  text-decoration: underline;
}

/* Gallery foto */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.foto .obrG img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border: 2px solid #2a2a42;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}

/* ── Misc content classes ────────────────────────────────────── */
.historie,
.novinky2 {
  max-width: 100%;
}

.link a,
.link2 a,
.link3 a,
.link4 a,
.link6 a,
.link7 a,
.link8,
.link9 a,
.link10 a,
.link12 a,
.link13 a,
.link14 a {
  color: #c06060;
  text-decoration: none;
}

.link a:hover,
.link2 a:hover,
.link3 a:hover { color: #ff8080; text-decoration: underline; }

.link2 { text-align: center; margin: 0.6rem 0; }
.link6 { text-align: center; margin: 0.6rem 0; }

/* Diskografie tlačítko */
#diskografie4 {
  margin-top: 1.2rem;
  text-align: center;
}

a.diskografie-btn {
  display: inline-block;
  padding: 0.45rem 1.4rem;
  border: 1px solid #3a2a0a;
  border-radius: 3px;
  background: linear-gradient(180deg, #1a1208 0%, #0e0c04 100%);
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

a.diskografie-btn:hover {
  background: linear-gradient(180deg, #261a08 0%, #1a1004 100%);
  border-color: var(--gold);
  color: #f0d080;
}

/* Navigace předchozí/následující album */
.link3 a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid #2a2a42;
  border-radius: 3px;
  background: #0e0e1a;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.link3 a:hover {
  background: #1a0808;
  border-color: var(--red);
  color: #ff8080;
  text-decoration: none;
}

/* Tooltip (Thrash metal definition) */
.link8 {
  position: relative;
  color: #d08080;
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: help;
}

.link8 > span {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  display: block;
  min-width: 240px;
  max-width: 320px;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  border: 1px solid #44445a;
  background: #08080f;
  color: #dde6f5;
  font-size: 0.86rem;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity 0.16s, transform 0.16s;
  z-index: 30;
}

.link8:hover > span,
.link8:focus-visible > span {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Color helper classes */
.nadpisy,
.nadpisy5,
.nadpisy7 {
  color: #f0f0f0;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 3.5vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(180,0,0,0.35);
  margin-top: 0.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.nadpisy5 { font-style: italic; margin-top: 0.3rem; }

.nadpisy2 {
  color: #f0f0f0;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(180,0,0,0.35);
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

#nadpis2,
.nadpis3,
.nadpis {
  color: var(--gold);
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.4rem 0 0.6rem;
  padding-left: 0;
  border-left: 3px solid var(--red);
  text-align: left;
  padding-left: 0.7rem;
}

/* ── Velké fotky: vycentrované přes celou šíři ──────────────── */
.obrG2, .obrG3, .obrG4, .obrG5 {
  display: block;
  margin: 1.2rem auto;
  text-align: center;
  clear: both;
}

.obrG2 img, .obrG3 img, .obrG4 img, .obrG5 img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid #2e2e48;
}

/* ── Malé portréty: float vpravo, text obtéká ───────────────── */
.obrG6, .obrG8, .obrG10,
.obrG11, .obrG12, .obrG13, .obrG14 {
  float: right;
  margin: 0.3rem 0 0.8rem 1.2rem;
  max-width: 250px;
}

.obrG6 img, .obrG8 img, .obrG10 img,
.obrG11 img, .obrG12 img, .obrG13 img,
.obrG14 img {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid #2e2e48;
}

/* obrG7 = velký obrázek vpravo (S&M logo apod.) → centrovaný */
.obrG7 {
  display: block;
  margin: 1rem auto;
  text-align: center;
  clear: both;
}
.obrG7 img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid #2e2e48;
}

.cl { clear: both; }

/* Na mobilech zrušit float — portréty pod text */
@media (max-width: 560px) {
  .obrG6, .obrG8, .obrG10,
  .obrG11, .obrG12, .obrG13, .obrG14 {
    float: none;
    margin: 1rem auto;
    display: block;
    text-align: center;
  }
}

/* Source citations */
[class^="zdroj"],
[class*=" zdroj"] {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.2rem 0;
}

[class^="zdroj"] a,
[class*=" zdroj"] a {
  color: var(--muted);
  text-decoration: none;
}

[class^="zdroj"] a:hover,
[class*=" zdroj"] a:hover {
  color: var(--silver);
  text-decoration: underline;
}

/* Misc */
.nw { white-space: nowrap; }
.vk { margin-top: 0.4rem; }
.kurziva { font-style: italic; }

cite { font-style: normal; }
.center6 { text-align: center; margin: 0.8rem 0; }
#center { text-align: center; margin-top: 1rem; }
#center2 { text-align: center; color: #aab; }
.cl { clear: both; }

#maly, #maly2 { height: 1px; clear: both; }

iframe { max-width: 100%; border: 0; }

.legacy-content {
  display: grid;
  gap: 0.6rem;
}

.legacy-content > div {
  max-width: 100%;
}

/* ============================================================
   ALBUMOVÉ STRÁNKY  (kill-em-all.html, master-of-puppets.html…)
   ============================================================ */

/* Obal desky — velký, vlevo, text obtéká */
img.obr3 {
  float: left;
  margin: 0 1.6rem 1.2rem 0;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 2px solid #3a2020;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 0 16px rgba(180,0,0,0.25);
}

/* Info list vedle obalu */
#fakta {
  overflow: hidden;
  margin: 0.3rem 0 1.2rem;
}

#fakta ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#fakta li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #1e1e2e;
  color: #bcc8d8;
  font-size: 0.92rem;
  list-style: none;
}

#fakta li:last-child { border-bottom: none; }

#fakta li::before {
  content: '▸';
  color: var(--red);
  margin-right: 0.5rem;
}

/* Tracklist tabulka (tab4 = Kill Em' All, tab6 = Ride the Lightning atd.) */
.tab4, .tab6, .tab7, .tab8, .tab9, .tab10, .tab14, .tab15 {
  clear: both;
  margin-top: 1.4rem;
  border-collapse: collapse;
  background: #0a0a12;
  border: 1px solid #222236;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

/* Header */
.tab4 th, .tab6 th, .tab7 th, .tab8 th, .tab9 th, .tab10 th, .tab14 th, .tab15 th {
  background: linear-gradient(180deg, #18101e 0%, #0e0818 100%);
  color: var(--gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 0.9rem;
  border-bottom: 2px solid var(--red);
  white-space: nowrap;
}


/* CD1/CD2 řádky — bez červené čáry */
.tab4 tr:not(:first-child) th,
.tab6 tr:not(:first-child) th,
.tab7 tr:not(:first-child) th,
.tab8 tr:not(:first-child) th,
.tab9 tr:not(:first-child) th,
.tab10 tr:not(:first-child) th,
.tab14 tr:not(:first-child) th,
.tab15 tr:not(:first-child) th {
  border-bottom: 1px solid #16162a;
  background: #12121e;
  color: #8888a8;
}
/* Buňky */
.tab4 td, .tab6 td, .tab7 td, .tab8 td, .tab9 td, .tab10 td, .tab14 td, .tab15 td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid #16162a;
  vertical-align: middle;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
}

/* Alternující řádky */
.tab4 tr:nth-child(even) td, .tab6 tr:nth-child(even) td,
.tab7 tr:nth-child(even) td, .tab8 tr:nth-child(even) td, .tab9 tr:nth-child(even) td, .tab10 tr:nth-child(even) td, .tab14 tr:nth-child(even) td, .tab15 tr:nth-child(even) td {
  background: rgba(255,255,255,0.025);
}

/* Hover */
.tab4 tr:not(:first-child):hover td, .tab6 tr:not(:first-child):hover td,
.tab7 tr:not(:first-child):hover td, .tab8 tr:not(:first-child):hover td,
.tab9 tr:not(:first-child):hover td, .tab10 tr:not(:first-child):hover td, .tab14 tr:not(:first-child):hover td, .tab15 tr:not(:first-child):hover td {
  background: rgba(184, 0, 0, 0.13);
}

/* Číslo pořadí */
.tab4 td:nth-child(1), .tab6 td:nth-child(1), .tab7 td:nth-child(1), .tab8 td:nth-child(1), .tab9 td:nth-child(1), .tab10 td:nth-child(1), .tab14 td:nth-child(1), .tab15 td:nth-child(1),
.tab4 th:nth-child(1), .tab6 th:nth-child(1), .tab7 th:nth-child(1), .tab8 th:nth-child(1), .tab9 th:nth-child(1), .tab10 th:nth-child(1), .tab14 th:nth-child(1), .tab15 th:nth-child(1) {
  text-align: center;
  color: #8888a8;
  font-size: 0.85rem;
  white-space: nowrap;
  width: 1%;
}

/* Text ikona, Čas, Spotify — centrované, úzké */
.tab4 td:nth-child(4), .tab6 td:nth-child(4),
.tab4 th:nth-child(4), .tab6 th:nth-child(4),
.tab4 td:nth-child(5), .tab6 td:nth-child(5),
.tab4 th:nth-child(5), .tab6 th:nth-child(5),
.tab4 td:nth-child(6), .tab6 td:nth-child(6),
.tab4 th:nth-child(6), .tab6 th:nth-child(6) {
  text-align: center;
  white-space: nowrap;
  width: 1%;
}

/* Čas */
.tab4 td:nth-child(5), .tab6 td:nth-child(5) {
  color: #666680;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

/* Tracklist: Spotify (last col) úzký, názvy písní (2. col) roztažené */
.tab4 td:last-child, .tab6 td:last-child, .tab7 td:last-child, .tab8 td:last-child, .tab9 td:last-child, .tab10 td:last-child, .tab14 td:last-child, .tab15 td:last-child,
.tab4 th:last-child, .tab6 th:last-child, .tab7 th:last-child, .tab8 th:last-child, .tab9 th:last-child, .tab10 th:last-child, .tab14 th:last-child, .tab15 th:last-child {
  width: 1% !important;
  white-space: nowrap;
  text-align: center;
}

/* Na mobilu — tabulka se vejde bez horizontálního scrollu */
@media (max-width: 560px) {
  /* Skryj Autorštví (3) — platí pro všechny tracklist tabulky */
  .tab4 td:nth-child(3), .tab4 th:nth-child(3),
  .tab6 td:nth-child(3), .tab6 th:nth-child(3),
  .tab7 td:nth-child(3), .tab7 th:nth-child(3),
  .tab8 td:nth-child(3), .tab8 th:nth-child(3),
  .tab9 td:nth-child(3), .tab9 th:nth-child(3),
  .tab10 td:nth-child(3), .tab10 th:nth-child(3),
  .tab14 td:nth-child(3), .tab14 th:nth-child(3),
  .tab15 td:nth-child(3), .tab15 th:nth-child(3) {
    display: none;
  }

  /* Skryj Text/lyrics (4) — jen kde col 4 = Text (ne Čas ani CD) */
  .tab4 td:nth-child(4), .tab4 th:nth-child(4),
  .tab6 td:nth-child(4), .tab6 th:nth-child(4),
  .tab7 td:nth-child(4), .tab7 th:nth-child(4),
  .tab8 td:nth-child(4), .tab8 th:nth-child(4),
  .tab9 td:nth-child(4), .tab9 th:nth-child(4),
  .tab14 td:nth-child(4), .tab14 th:nth-child(4),
  .tab15 td:nth-child(4), .tab15 th:nth-child(4) {
    display: none;
  }

  /* Název písně se může zalamovat */
  .tab4 td:nth-child(2), .tab6 td:nth-child(2),
  .tab7 td:nth-child(2), .tab8 td:nth-child(2),
  .tab9 td:nth-child(2), .tab10 td:nth-child(2),
  .tab14 td:nth-child(2), .tab15 td:nth-child(2) {
    white-space: normal;
  }

  /* Zrušit scroll na úrovni tabulky; .holder zůstane jako záloha */
  .tab4, .tab6, .tab7, .tab8, .tab9,
  .tab10, .tab14, .tab15 {
    display: table;
    overflow-x: visible;
    width: 100%;
  }

  /* Koncerty tabulka (.tab12) — mobilní zobrazení */
  .tab12 {
    display: table;
    overflow-x: visible;
    width: 100%;
  }
  .tab12 th {
    font-size: 0.68rem;
    padding: 0.45rem 0.4rem;
    white-space: normal;
  }
  .tab12 td {
    padding: 0.4rem 0.4rem;
    font-size: 0.85rem;
    white-space: normal;
  }
  .tab12 td:nth-child(1) {
    white-space: nowrap;
  }

  img.obr3 {
    float: none;
    display: block;
    margin: 0 auto 1rem;
  }

  /* Tracklist th — menší padding a font na mobilu */
  .tab4 th, .tab6 th, .tab7 th, .tab8 th, .tab9 th,
  .tab10 th, .tab14 th, .tab15 th {
    padding: 0.5rem 0.45rem;
    font-size: 0.68rem;
  }

  /* Tracklist td — menší padding na mobilu */
  .tab4 td, .tab6 td, .tab7 td, .tab8 td, .tab9 td,
  .tab10 td, .tab14 td, .tab15 td {
    padding: 0.45rem 0.45rem;
    font-size: 0.88rem;
  }
}

/* ── Drobečková navigace (breadcrumb) ───────────────────────── */
.breadcrumb {
  margin: 0 0 1rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #a0a0b8;
}

/* Oddělovač › mezi položkami */
.breadcrumb li + li::before {
  content: '›';
  margin: 0 0.5rem;
  color: #555568;
  font-size: 1.1rem;
  line-height: 1;
}

.breadcrumb a {
  color: #a0a0b8;
  text-decoration: none;
  transition: color 0.12s;
}

.breadcrumb a:hover {
  color: var(--red-bright);
  text-decoration: underline;
}

/* Aktuální stránka — výrazněji světlá */
.breadcrumb li[aria-current="page"] {
  color: #c8c8dc;
}

/* ── Album cover lightbox (CSS-only, bez JS) ─────────────────── */
.album-cover-fig {
  float: left;
  margin: 0 1.6rem 1rem 0;
  width: 180px;
  position: relative;
}

/* Skryj checkbox */
.cover-zoom-toggle {
  display: none;
}

/* Label = klikatelný obal */
.cover-zoom-label {
  display: block;
  cursor: zoom-in;
  position: relative;
}

.cover-zoom-label img.obr3 {
  width: 180px;
  height: 180px;
  object-fit: cover;
  display: block;
  float: none;
  margin: 0;
  border: 2px solid #3a2020;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 0 16px rgba(180,0,0,0.25);
  transition: box-shadow 0.2s;
}

.cover-zoom-label:hover img.obr3 {
  box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 0 24px rgba(180,0,0,0.5);
}

/* Lupa ikona */
.cover-zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

/* Overlay = tmavé pozadí + velký obrázek */
.cover-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.88);
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
}

.cover-zoom-overlay img {
  max-width: min(92vw, 92vh);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(180,0,0,0.5), 0 0 20px rgba(0,0,0,0.9);
}

/* Zobraz overlay když je checkbox zaškrtnut */
.cover-zoom-toggle:checked ~ .cover-zoom-overlay {
  display: flex;
}

.cover-zoom-overlay {
  flex-direction: column;
  gap: 0.75rem;
}

.cover-zoom-wiki {
  margin: 0;
  text-align: center;
}

.cover-zoom-wiki a {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,160,30,0.4);
  transition: color 0.15s;
}

.cover-zoom-wiki a:hover {
  color: #fff;
  border-color: #fff;
}

/* Na mobilech zruš float */
@media (max-width: 560px) {
  .album-cover-fig {
    float: none;
    margin: 0 auto 1rem;
    display: block;
    text-align: center;
  }
}

/* ── Spotify track link (▶ tlačítko v tabulce) ──────────────── */
td:has(> a.spotify-track),
th:last-child {
  text-align: center;
}

a.spotify-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #1db954;
  color: #000;
  border-radius: 50%;
  font-size: 0.75rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  line-height: 1;
}

a.spotify-track:hover {
  background: #1ed760;
  transform: scale(1.15);
  color: #000;
}

/* ── Lyrics text tlačítko (🎵 v tabulce) ───────────────────── */
a.lyrics-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #7a5a1a;
  border-radius: 50%;
  color: #f0d080;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  line-height: 1;
}

a.lyrics-btn:hover {
  background: var(--gold);
  transform: scale(1.15);
  color: #000;
}

/* ── YouTube odkaz (thumbnail + play button) ─────────────────── */
a.yt-link {
  display: block;
  position: relative;
  margin: 1.5rem 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #222236;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  text-decoration: none;
}

a.yt-link:hover .yt-play-btn {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}

a.yt-link:hover .yt-thumb {
  opacity: 0.85;
}

.yt-thumb {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.yt-play-btn {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(180, 0, 0, 0.88);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  transition: background 0.2s, transform 0.2s;
}

.yt-caption {
  display: block;
  margin: 0;
  padding: 0.5rem 0.8rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--muted);
  background: #0a0a14;
  border-top: 1px solid #1e1e2e;
  letter-spacing: 0.04em;
}

/* ── Facebook komentáře ──────────────────────────────────────── */
.fb-comments-box {
  margin: 2rem 0 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, #0d0d18 0%, #080812 100%);
  border: 1px solid #252538;
  border-top: 3px solid #3b5998;
  border-radius: var(--radius);
}

.fb-comments-box h3 {
  margin: 0 0 0.8rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b9dc3;
}

.fb-comments-box iframe {
  display: block;
  border: 0;
}

/* ── Spotify embed (collapsible <details>) ───────────────────── */
details.spotify-embed {
  margin: 1.5rem 0 1rem;
  background: linear-gradient(180deg, #0d1a0d 0%, #081008 100%);
  border: 1px solid #1a3a1a;
  border-left: 3px solid #1db954;
  border-radius: var(--radius);
}

details.spotify-embed > summary {
  padding: 0.75rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1db954;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

details.spotify-embed > summary::-webkit-details-marker { display: none; }

details.spotify-embed > summary::after {
  content: '▸';
  margin-left: auto;
  font-size: 0.8rem;
  color: #1db954;
  transition: transform 0.2s;
}

details.spotify-embed[open] > summary::after {
  transform: rotate(90deg);
}

details.spotify-embed > summary:hover {
  color: #1ed760;
}

details.spotify-embed > iframe {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.spotify-note {
  margin: 0.4rem 1rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Playlist / songs list ─────────────────────────────────── */
.seznam a, .cd12 a {
  color: #c06060;
  text-decoration: none;
}

.seznam a:hover, .cd12 a:hover {
  text-decoration: underline;
  color: #ff8080;
}

/* Balady */
#balady { list-style: none; text-align: center; padding: 0; }

/* ── Forum links ─────────────────────────────────────────────── */
.forum a {
  color: #9ab0c8;
  font-weight: 600;
  text-decoration: underline;
}
.forum a:hover { text-decoration: none; color: #c0d8f0; }

/* ── Revival page ────────────────────────────────────────────── */
#fakta, #fakta2, #fakta3 {
  margin: 1rem 0;
}

#fakta li, #fakta2 li, #fakta3 li {
  margin-top: 0.5rem;
  list-style: none;
  padding-left: 1.2rem;
  position: relative;
  color: #bcc8d8;
}

#fakta li::before,
#fakta2 li::before,
#fakta3 li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* Revivaly list items */
#odrazky ul li {
  list-style: none;
  padding-left: 1.2rem;
  position: relative;
  margin-top: 0.5rem;
  color: #bcc8d8;
}

#odrazky ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* ── Scroll-pane (history, concerts) ─────────────────────────── */
.holder { width: 100%; overflow-x: auto; }
.scroll-pane { overflow-x: auto; }

/* ── Diskografie links ─────────────────────────────────────── */
#diskografie7 {
  margin-top: 1.5rem;
  text-align: center;
}

#diskografie7 a {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-bright);
  text-decoration: none;
  border: 1px solid var(--red);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}

#diskografie7 a:hover {
  background: rgba(180,0,0,0.15);
  color: #ff8888;
}

/* ── Concerts table info box ──────────────────────────────────── */
.tab2, .tab5, .tab11, .tab13 {
  width: 100%;
  border-collapse: collapse;
}

/* ── Tabs / pager ────────────────────────────────────────────── */
.tab12, .tab14, .tab15 {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

/* ── Revivaly / contact page ─────────────────────────────────── */
#odstavec2, .odstavec {
  margin: 0.8rem 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 2px solid var(--red);
  background: linear-gradient(180deg, #080810 0%, #040408 100%);
  padding: 1.2rem 0 1.8rem;
  color: var(--muted);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.site-footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #400, transparent);
  margin-bottom: 1rem;
}

.site-footer p {
  margin: 0.2rem 0;
  font-size: 0.86rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
}

.site-footer a {
  color: #c06060;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--red-bright);
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .layout-2col {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0.8rem;
  }
}

/* Mobile */
@media (max-width: 720px) {
  /* .nw (no-wrap) spans způsobují přetečení na mobilu — zrušit */
  .nw { white-space: normal !important; }

  /* Texty (NE tabulkové buňky!) se mohou zalomit kdekoliv */
  p, li, h1, h2, h3, h4, blockquote {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .layout-2col {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 0.7rem;
  }

  .side-col {
    position: static;
    /* Show sidebar below content on mobile, or you can reorder */
    order: 2;
  }

  .content {
    order: 1;
    padding: 0.9rem 1rem 1.2rem;
  }

  /* On mobile sidebar is collapsed to single row of quick links */
  .side-col .side-box:first-child {
    order: 1;
  }

  /* Slider images: stack on mobile */
  .nivoSlider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .nivoSlider img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    display: block !important;
    position: static !important;
  }

  /* Font size adjustments */
  .site-title { font-size: 2rem; }

  /* Album/member cards: smaller grid */
  .stin4:has(.foto3),
  .stin4:has(.foto4),
  .stin4:has(.foto5) {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .obrG5 img, .obrG7 img, .obrG8 img,
  .obrG10 img, .obrG12 img, .obrG14 img {
    float: none;
    margin: 0.5rem auto;
    display: block;
  }
}

/* ── Slider (no-JS fallback: show all 4 as grid) ─────────────── */
.nivoSlider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.nivoSlider img {
  display: block !important;
  position: static !important;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #2a2a42;
}

.slider-wrapper { background: none !important; }
.ribbon { display: none; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .side-col, .main-nav, .nav-label, .skip-link {
    display: none;
  }

  .layout-2col { display: block; }
  .content { border: none; box-shadow: none; background: #fff; color: #000; }
  .prose a { color: #000; }
}

/* ── Videotéka ──────────────────────────────────────────────── */
.era-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
  padding: 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a42;
  border-radius: var(--radius);
}
.era-jump-nav a {
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.era-jump-nav a:hover { background: var(--red); color: #fff; }

.video-era { margin: 2.2rem 0; }

.video-era-header {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  border-left: 4px solid var(--red);
  padding-left: 0.9rem;
  margin-bottom: 1rem;
}
.video-era-header h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-left: none !important;
  padding-left: 0 !important;
}
.era-year {
  font-size: 0.8rem;
  color: #888;
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}
.era-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: #666;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.video-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a42;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.video-card .yt-link {
  border-radius: 0;
  border: none;
  flex-shrink: 0;
}
.video-card .yt-thumb { border-radius: 0; border: none; }
.video-card-info { padding: 0.55rem 0.7rem; flex: 1; }
.video-card-title {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}
.video-card-desc {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ── YouTube click-to-play ───────────────────────────────────── */
.youtube-card a {
  position: relative;
  display: block;
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  pointer-events: none;
  transition: background 0.2s;
}
.youtube-card a:hover .yt-play-btn {
  background: var(--red);
}

/* ── Slider (JS active) ───────────────────────────────────────── */
.nivoSlider.js-active {
  display: block;
  margin-bottom: 2.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.nivoSlider.js-active img {
  display: block !important;
  position: absolute !important;
  border-radius: 0;
  border: none;
  aspect-ratio: unset;
  height: 100%;
}

/* Caption */
.js-slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.4rem 0.8rem;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.85rem;
  z-index: 10;
  pointer-events: none;
  min-height: 1.8rem;
}

/* Arrows */
.js-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.js-slider-arrow:hover { background: var(--red); }
.js-slider-prev { left: 0.6rem; }
.js-slider-next { right: 0.6rem; }

/* Dots */
.js-slider-dots {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 15;
}
.js-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.js-slider-dot.active,
.js-slider-dot:hover { background: var(--red); }

/* ── Lightbox ─────────────────────────────────────────────────── */
#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
#lb-overlay.is-open { display: flex; }

#lb-figure {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px rgba(0,0,0,0.8);
  display: block;
}

#lb-caption {
  color: #ddd;
  font-size: 0.9rem;
  margin-top: 0.6rem;
  text-align: center;
}

#lb-close {
  position: fixed;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity 0.2s;
}
#lb-close:hover { opacity: 1; }

#lb-prev, #lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  z-index: 1001;
  transition: background 0.2s;
}
#lb-prev:hover, #lb-next:hover { background: var(--red); }
#lb-prev { left: 1rem; }
#lb-next { right: 1rem; }

/* Cursor hint on gallery thumbnails */
.member-gallery a { cursor: zoom-in; }
