/* Železná kolóna — 2026 */
:root {
  --ink: #0b0b0b;
  --ink-2: #151515;
  --ink-3: #222;
  --paper: #efe9dd;
  --muted: #a39d93;
  --red: #d4161b;
  --red-dim: #8f0f12;
  --line: #2c2c2c;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 960px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 18px/1.6 var(--body);
  /* jemné zrno ako na xeroxovanom letáku */
  background-image:
    radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 3px 3px;
}

a { color: var(--paper); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: #fff; background: var(--red); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

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

/* ---------- hlavička ---------- */

.masthead {
  border-bottom: 6px solid var(--red);
  background:
    linear-gradient(115deg, transparent 0 calc(50% + 400px), var(--red) calc(50% + 400px) 100%),
    var(--ink);
}
.masthead__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 20px 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--paper);
}
.brand:hover, .brand:focus-visible { background: none; }
.brand__name {
  font-family: var(--display);
  font-size: clamp(40px, 9vw, 84px);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.brand__name em { font-style: normal; color: var(--red); }

.nav { background: var(--ink); border-top: 1px solid var(--line); }
.nav ul {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 12px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.nav a {
  display: block;
  padding: 12px 10px;
  font: 600 14px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: var(--red); }

/* ---------- obsah ---------- */

.page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(40px, 7vw, 64px);
  margin: 0 0 28px;
}
h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 12px;
  background: var(--red);
}
h2 { font-size: 32px; margin: 48px 0 16px; color: var(--red); }
h3 { font-size: 24px; margin: 0 0 8px; }

.lede { font-size: 20px; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.spaced { margin-top: 32px; }
.flush { margin-top: 0; }
.mono { font-family: var(--mono); }

.note {
  border-left: 6px solid var(--red);
  background: var(--ink-2);
  padding: 14px 18px;
  margin: 0 0 32px;
}
.note p { margin: 0; }

/* ---------- novinky ---------- */

.post {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.post time {
  font: 600 14px/1.4 var(--mono);
  color: var(--red);
  padding-top: 4px;
}
.post time .y { display: block; color: var(--muted); }
.post h3 { grid-column: 2; }
.post .body { grid-column: 2; }
.post .body > :first-child { margin-top: 0; }
.post .body > :last-child { margin-bottom: 0; }
.post blockquote, blockquote.quote {
  margin: 12px 0;
  padding: 10px 16px;
  border-left: 3px solid var(--muted);
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
}
.post--pinned { border-top: 6px solid var(--red); }
.post:target h3 { color: var(--red); }
.post { scroll-margin-top: 16px; }

.year-mark {
  font-family: var(--display);
  font-size: 96px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--red-dim);
  margin: 40px 0 -12px;
  user-select: none;
}

/* ---------- koncerty ---------- */

.gigs { width: 100%; border-collapse: collapse; }
.gigs th {
  text-align: left;
  font: 600 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  padding: 0 12px 10px 0;
  border-bottom: 2px solid var(--red);
}
.gigs td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.gigs td.date { font-family: var(--mono); white-space: nowrap; color: var(--muted); width: 8.5em; }
.gigs td.where { font-weight: 700; width: 36%; }
.gigs tr.year td {
  font-family: var(--display);
  font-size: 28px;
  color: var(--red);
  border-bottom: none;
  padding-top: 28px;
}
.gigs .poster {
  font: 600 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 1px solid var(--muted);
  padding: 3px 6px;
  margin-left: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.gigs .poster:hover { border-color: var(--red); }

.gigs--cancelled td.where { text-decoration: line-through; text-decoration-color: var(--red); }

/* ---------- texty ---------- */

.toc {
  columns: 3 180px;
  column-gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  counter-reset: song;
}
.toc li { counter-increment: song; break-inside: avoid; padding: 3px 0; }
.toc li::before {
  content: counter(song, decimal-leading-zero);
  font: 600 13px var(--mono);
  color: var(--red);
  margin-right: 10px;
}
.toc .new { font: 600 11px var(--mono); color: var(--red); margin-left: 6px; }

.lyric {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.lyric pre {
  margin: 0;
  font: 16px/1.7 var(--mono);
  white-space: pre-wrap;
  color: var(--paper);
}
.lyric .meta { font: 13px var(--mono); color: var(--muted); margin: 0 0 16px; }
.lyric .back { display: inline-block; margin-top: 16px; font: 13px var(--mono); }

/* ---------- hudba ---------- */

.albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.album-card h2 { margin-top: 0; font-size: 28px; }
.bandcamp { display: block; width: 100%; border: 0; border-top: 6px solid var(--red); background: #fff; }

/* ---------- zoznamy odkazov ---------- */

.links { list-style: none; padding: 0; margin: 0; }
.links li {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.links .when { font: 14px/1.6 var(--mono); color: var(--muted); }
.links .src { display: block; font: 13px var(--mono); color: var(--muted); }
.tag {
  font: 600 10px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 6px;
  margin-left: 6px;
  vertical-align: 2px;
  border: 1px solid currentColor;
  color: var(--muted);
}
.tag--dead { color: var(--red); }

/* ---------- vecičky ---------- */

.merch {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr;
  gap: 32px;
  align-items: center;
}
.price {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: var(--red);
}

/* ---------- kontakt ---------- */

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  padding: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; word-break: break-word; }

/* ---------- pätička ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px 40px;
  text-align: center;
  font: 13px/1.8 var(--mono);
  color: var(--muted);
}
.footer p { margin: 0; }
.footer a { color: var(--muted); }
.mail .at { color: var(--red); }

.top { display: inline-block; margin-top: 32px; font: 13px var(--mono); }

/* ---------- mobil ---------- */

@media (max-width: 680px) {
  body { font-size: 17px; }
  .masthead { background: var(--ink); }
  .nav ul { padding: 0 6px; }
  .nav a { padding: 10px 8px; font-size: 12px; }
  .page { padding: 28px 16px 48px; }

  .post { grid-template-columns: 1fr; }
  .post h3, .post .body { grid-column: 1; }
  .post time .y { display: inline; margin-left: 6px; }

  .gigs thead { display: none; }
  .gigs, .gigs tbody, .gigs tr, .gigs td { display: block; width: auto !important; }
  .gigs tr:not(.year) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .gigs td { padding: 0; border: none; }
  .gigs td.date { font-size: 14px; }
  .gigs tr.year td { padding-top: 24px; }

  .merch { grid-template-columns: 1fr; }
  .links li { grid-template-columns: 1fr; }
  .year-mark { font-size: 64px; }
}

/* texty — zoznam podľa albumov */
.lyrics-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 40px; margin-bottom: 40px; }
.lyrics-index h2 { font-size: 24px; margin: 0 0 12px; }
.lyrics-index .toc { columns: auto; margin: 0; }
.lyric__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; }
.lyric__links .back { margin: 0; }

/* obsah z editora */
.lede > p, .prose > p { margin: 0 0 12px; }
.prose blockquote, .post .body blockquote {
  margin: 12px 0;
  padding: 10px 16px;
  border-left: 3px solid var(--muted);
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
}
.merch__text strong { font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; color: var(--red); }

/* vecičky: viac položiek pod sebou */
.merch + .merch { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.merch--noimage { grid-template-columns: 1fr; }
.merch__image { display: block; }
.merch__image:hover { background: none; }
.merch__text .price { margin: 12px 0 0; }
.merch__text .muted { margin: 4px 0 16px; }
.merch-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- obrázky v novinkách ---------- */

.post__image {
  float: right;
  width: min(350px, 45%);
  margin: 4px 0 16px 24px;
  border: 1px solid var(--line);
}
.post__image img { width: 100%; }
.post--image .body::after { content: ""; display: block; clear: both; }
/* okraje textu ako pri novinkách bez obrázka */
.post .body > .post__image + * { margin-top: 0; }
.post .body > :has(+ .post__gallery) { margin-bottom: 0; }
.post__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  clear: both;
}
.post__gallery a { display: block; border: 1px solid var(--line); }
.post__gallery img { height: 270px; width: auto; max-width: 100%; object-fit: cover; }
.post__image:hover, .post__gallery a:hover { background: none; border-color: var(--red); }

/* ---------- zväčšený obrázok ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  background: rgba(5, 5, 5, .94);
  padding: 16px 8px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 10px; }
.lightbox__figure img.is-loading { visibility: hidden; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 90px); width: auto; height: auto; box-shadow: 0 0 0 1px var(--line); }
.lightbox__figure figcaption { font: 13px var(--mono); color: var(--muted); text-align: center; }
.lightbox button {
  background: none;
  border: 0;
  color: var(--paper);
  font: 400 44px/1 var(--body);
  cursor: pointer;
  padding: 8px;
}
.lightbox button:hover, .lightbox button:focus-visible { color: var(--red); }
.lightbox__close { position: absolute; top: 8px; right: 12px; }
.lightbox__prev { grid-column: 1; }
.lightbox__next { grid-column: 3; }
.lightbox-open, .lightbox-open body { overflow: hidden; }

@media (max-width: 680px) {
  .post__image { float: none; width: 100%; max-width: 360px; margin: 0 0 16px; }
  .post__gallery img { height: 200px; }
  .lightbox { grid-template-columns: 36px minmax(0, 1fr) 36px; padding: 8px 0; }
  .lightbox button { font-size: 34px; }
}

/* ---------- plagáty v koncertoch ---------- */

.gig-thumb { display: block; width: fit-content; margin-top: 10px; }
.gig-thumb:hover { background: none; }
.gig-thumb img { width: 190px; height: auto; border: 1px solid var(--line); }
.gig-thumb:hover img { border-color: var(--red); }

/* ---------- celý text článku (Napísali o nás) ---------- */

.fulltext summary {
  cursor: pointer;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.fulltext summary:hover { color: #fff; }
.fulltext summary::marker { color: var(--red); }
.fulltext[open] summary { margin-bottom: 4px; }
.fulltext__body {
  margin-top: 16px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--red);
  max-width: 42em;
}
.fulltext__body p { margin: 0 0 12px; }
.fulltext__body blockquote {
  margin: 12px 0;
  padding: 8px 14px;
  border-left: 3px solid var(--muted);
  font: 14px/1.6 var(--mono);
  color: var(--muted);
}
.fulltext__body blockquote p { margin: 0; }
