/*
Theme Name: Klangsog
Theme URI: https://klangsog.ch
Author: Klangsog
Description: Redaktionelles Musik-Theme für Konzertberichte und Festivalreisen. Warm, typografisch, ohne Ablenkung.
Version: 1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: klangsog
*/

/* ══════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════ */
:root {
  --ink:          #1a1410;
  --paper:        #f7f3ee;
  --paper-dark:   #ede8e1;
  --warm-mid:     #c8b89a;
  --accent:       #8b3a2a;
  --accent-light: #c4573f;
  --gold:         #b8860b;
  --muted:        #7a6e63;
  --border:       #d9cfc4;
  --card:         #ffffff;
  --highlight:    #fff8f0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --max-width:    720px;
  --wide-width:   1100px;

  --shadow:       0 2px 16px rgba(26,20,16,0.09);
  --shadow-deep:  0 8px 40px rgba(26,20,16,0.16);

  --radius:       3px;
  --transition:   0.2s ease;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

/* ══════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

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

strong { font-weight: 600; }
em { font-style: italic; }

/* ══════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════ */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-header__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
  letter-spacing: 0.02em;
  text-decoration: none;
}

/* ── Navigation ── */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}
.site-nav a {
  display: block;
  padding: 0 1rem;
  height: 60px;
  line-height: 60px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.55);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--warm-mid);
  border-bottom-color: var(--accent-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--warm-mid);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.3rem;
}

/* ══════════════════════════════════════════
   SITE LAYOUT
══════════════════════════════════════════ */
.site-main {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  overflow-x: hidden;
}

/* Two-column: content + sidebar */
.content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .content-area { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .post-card__thumb { aspect-ratio: 16/9; }
  .post-card__body { width: 100%; min-width: 0; padding: 1rem; }
  .post-card__title { word-break: break-word; overflow-wrap: break-word; }
  .post-card__excerpt { word-break: break-word; overflow-wrap: break-word; }
  .sidebar { display: none; }
}

/* Full-width (single posts) */
.content-area--single {
  display: block;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   ARCHIVE / INDEX — POST CARDS
══════════════════════════════════════════ */
.posts-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition);
}
.post-card:hover { box-shadow: var(--shadow); }

.post-card__thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-dark);
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.03); }

.post-card__body {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.post-card__cats { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.cat-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  background: var(--ink);
  color: var(--warm-mid);
  text-decoration: none;
  transition: background var(--transition);
}
.cat-tag:hover { background: var(--accent); color: white; }

/* Genre-spezifische Farben */
.cat-tag--jazz    { background: #1a2a3a; }
.cat-tag--rock    { background: #2a1a1a; }
.cat-tag--pop     { background: #1a2a1a; }
.cat-tag--folk    { background: #2a2a1a; }
.cat-tag--klassik { background: #251a2a; }

.post-card__date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: break-word;
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.post-card__footer {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.read-more {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color var(--transition);
}
.read-more:hover { color: var(--accent-light); }

/* ── Grosses Featured Post ── */
.post-card--featured {
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
.post-card--featured .post-card__thumb { aspect-ratio: 16/7; }
.post-card--featured .post-card__body { padding: 2rem; }
.post-card--featured .post-card__title { font-size: 1.75rem; }

@media (max-width: 680px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card__thumb { aspect-ratio: 16/9; }
  .post-card__body { width: 100%; min-width: 0; padding: 1rem; }
  .post-card__title { font-size: 1rem; word-break: break-word; overflow-wrap: break-word; }
  .post-card__excerpt { word-break: break-word; overflow-wrap: break-word; }
}

/* ══════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════ */

/* ── Kicker / Anlass ── */
.post-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* ── Post Header ── */
.post-header { margin-bottom: 2rem; }

.post-header__cats { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; flex-wrap: wrap; }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.post-subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
}
.post-meta strong { color: var(--ink); }

/* ── Titelbild ── */
.post-hero {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  background: var(--paper-dark);
}
.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ── Post Body ── */
.post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  overflow-x: hidden;
}

/* Intro-Paragraph */
.post-body > p:first-of-type,
.post-intro {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
}

/* ── Blockquote ── */
.post-body blockquote,
blockquote.klangsog-quote {
  border-left: 3px solid var(--accent);
  padding: 0.8rem 0 0.8rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}
.post-body blockquote p { margin-bottom: 0.4rem; }
.post-body blockquote cite,
.post-body blockquote footer {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0.6rem;
}

/* ── Bilder im Text ── */
.post-body figure {
  margin: 2rem 0;
}
.post-body figure img {
  border-radius: var(--radius);
  width: 100%;
}
.post-body figcaption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ── Bildstrecke (Gallery) ── */
.klangsog-gallery {
  margin: 2rem 0;
}
.klangsog-gallery__grid {
  display: grid;
  gap: 6px;
}
.klangsog-gallery__grid--cols-1 { grid-template-columns: 1fr; }
.klangsog-gallery__grid--cols-2 { grid-template-columns: 1fr 1fr; }
.klangsog-gallery__grid--cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.klangsog-gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-dark);
  cursor: zoom-in;
}
.klangsog-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.35s ease;
}
.klangsog-gallery__item:hover img { transform: scale(1.03); }
.klangsog-gallery__caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
  text-align: center;
}
@media (max-width: 600px) {
  .klangsog-gallery__grid--cols-3 { grid-template-columns: 1fr 1fr; }
}

/* ── Abschnitt-Trenner ── */
.section-break {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.section-break__line { flex: 1; height: 1px; background: var(--border); }
.section-break__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Konzertdaten-Tabelle ── */
.konzertdaten {
  margin: 2.5rem 0;
  background: var(--highlight);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.konzertdaten__title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper-dark);
}
.konzertdaten table {
  width: 100%;
  border-collapse: collapse;
}
.konzertdaten td {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.konzertdaten td:last-child { border-bottom: none; }
.konzertdaten td:first-child {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  width: 120px;
}
tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════
   SETLIST — Inline Fliesstext
══════════════════════════════════════════ */

.setlist {
    background-color: var(--highlight);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 2rem 0;
    overflow: hidden;
}

/* ── Titelbalken ── */
.setlist__header {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid var(--border);
    background: var(--paper-dark);
}

/* ── Textbereich ── */
.setlist__body {
    padding: 0.9rem 1.8rem 1rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ink);
}

/* ── Zeile (Haupt + Encore je eine div) ── */
.setlist__row {
    display: block;
}
.setlist__row--encore {
    margin-top: 0.1em;
}

/* ── ENCORE-Label ── */
.setlist__encore-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-right: 0.2em;
}

/* ── Hauptteil der Songs ── */
.setlist__main {
    display: inline;
}

/* ── Encore-Songs ── */
.setlist__encore-songs {
    display: inline;
}
.setlist__sep {
    color: var(--muted);
    margin: 0 0.15em;
    font-size: 0.8em;
    vertical-align: middle;
}

/* ── Anmerkungen in Klammern: kursiv, gold ── */
.setlist__note {
    font-style: italic;
    color: var(--gold);
}

/* ── ENCORE-Label ── */
.setlist__encore-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-right: 0.2em;
    padding-top: 0.4em;
    width: 100%;
    margin-top: 0.3em;
}

/* ══════════════════════════════════════════
   WERTUNG
══════════════════════════════════════════ */
.wertung {
  margin: 2rem 0;
  background: var(--highlight);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.wertung__title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.7rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper-dark);
}
.wertung__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.8rem;
  padding: 1.2rem 1.4rem;
}
.wertung__item { text-align: center; }
.wertung__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.wertung__stars { font-size: 1.1rem; color: var(--gold); letter-spacing: 0.05em; }

/* ══════════════════════════════════════════
   TEXTBLOCK
══════════════════════════════════════════ */
.textblock {
    background-color: var(--highlight);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 2rem 0;
    overflow: hidden;
}

/* Titelzeile */
.textblock__header {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid var(--border);
    background: var(--paper-dark);
}

/* Goldener Akzent im Titel */
.textblock__header--accent {
    color: var(--gold);
}

/* Textinhalt */
.textblock__body {
    padding: 1.1em 1.25em 1.2em;
    font-size: 1em;
    line-height: 1.7;
}
.textblock__body p {
    margin: 0 0 0.85em;
}
.textblock__body p:last-child {
    margin-bottom: 0;
}
.textblock__body em {
    font-style: italic;
    color: var(--muted);
}
.textblock__body strong {
    font-weight: bold;
    color: var(--ink);
}
.textblock__body .highlight {
    color: var(--gold);
    font-style: italic;
}

/* Variante: Zitat */
.textblock--zitat .textblock__body {
    border-left: 3px solid var(--gold);
    padding-left: 1.4em;
    font-style: italic;
    color: var(--muted);
}

/* Variante: Info */
.textblock--info .textblock__header {
    background-color: var(--paper-dark);
}
.textblock--info .textblock__body {
    font-family: var(--font-mono);
    font-size: 0.93em;
    color: var(--ink);
    line-height: 1.65;
}

/* ══════════════════════════════════════════
   POST FOOTER / AUTOR
══════════════════════════════════════════ */
.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}
.post-footer strong { color: var(--ink); font-size: 0.82rem; }

/* ── Lightbox ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.93);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: var(--warm-mid);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(247,243,238,0.1);
  border: none;
  color: var(--warm-mid);
  font-size: 1.4rem;
  padding: 0.8rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(247,243,238,0.2); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sidebar { }
.widget { margin-bottom: 2.5rem; }
.widget-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

/* Kategorien-Widget */
.widget-categories ul { list-style: none; }
.widget-categories li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.widget-categories li:last-child { border-bottom: none; }
.widget-categories a {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.widget-categories a:hover { color: var(--accent); }
.cat-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* Letzte Posts Widget */
.widget-recent-posts ul { list-style: none; }
.widget-recent-posts li {
  display: flex;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.widget-recent-posts li:last-child { border-bottom: none; }
.recent-thumb {
  width: 60px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-dark);
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info { flex: 1; }
.recent-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 0.2rem;
}
.recent-title:hover { color: var(--accent); }
.recent-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   SITE FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(247,243,238,0.5);
  padding: 2.5rem 2rem;
  margin-top: 4rem;
}
.site-footer__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.footer-klang {
  font-weight: 700;
  font-style: normal;
  color: #b05878;
}
.footer-sog {
  font-weight: 400;
  font-style: italic;
  color: #c8971f;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* ══════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════ */
.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); color: white; border-color: var(--accent); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-header__inner { padding: 0 1.2rem; }
  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: 60px; left: 0; right: 0; background: var(--ink); padding: 0.5rem 0 1rem; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { height: auto; line-height: 1; padding: 0.75rem 1.5rem; }
  .menu-toggle { display: block; }
  .site-main { padding: 2rem 1.2rem 3rem; }
  .post-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .post-body { overflow-x: hidden; }
  .post-kicker { white-space: normal; text-overflow: clip; }
  .content-area--single { max-width: 100%; padding: 0; }
}

@media (max-width: 480px) {
  .post-meta { gap: 0.6rem; }
  .post-hero { aspect-ratio: 3/2; }
  .konzertdaten td:first-child { width: 90px; }
  .wertung__grid { grid-template-columns: 1fr 1fr; }
  .site-main { padding: 1rem 1rem 2rem; overflow-x: hidden; }
  .post-card { max-width: 100%; overflow: hidden; }
  .post-card__title { font-size: 1rem; }
  .post-card__body { padding: 1rem; }
  .content-area { overflow-x: hidden; }
}

/* ══════════════════════════════════════════
   LOGO
══════════════════════════════════════════ */
.site-logo {
  display: flex;
  align-items: baseline;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  text-decoration: none;
  line-height: 1.2;
}

.logo-klang {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.55rem;
  color: #b05878 !important;
  letter-spacing: -0.01em;
}

.logo-sog {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.55rem;
  color: #c8971f !important;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 400;
  width: 100%;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #b05878;
  margin-top: 0.1rem;
}
.logo-tagline strong {
  color: #c8971f;
  font-weight: 600;
  font-style: italic;
}

@media (max-width: 600px) {
  .logo-tagline { display: none; }
  .logo-klang, .logo-sog { font-size: 1.3rem; }
}

/* ── Karte ohne Titelbild ── */
.post-card.no-thumbnail {
  grid-template-columns: 1fr;
}
.post-card.no-thumbnail .post-card__body {
  padding: 1.4rem 1.6rem;
}

/* ── Mobile-Fix ── */
@media (max-width: 960px) {
  .post-card,
  .post-card--featured {
    grid-template-columns: 1fr !important;
  }
  .post-card__body {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
}
