/* Warszawa w Sercu — Dark Editorial System */
:root {
  --bg: #0a0a0c;
  --surface: #0f0f14;
  --surface-elevated: #13131a;
  --text: #f0ede8;
  --text-muted: #8a857a;
  --text-dim: #5a554e;
  --accent: #a32a2a;
  --accent-muted: #7a2020;
  --line: #1a1816;
  --dark: #050508;
}

[data-theme="light"] {
  --bg: #f0ede8;
  --surface: #faf9f6;
  --surface-elevated: #ffffff;
  --text: #11110f;
  --text-muted: #6e6658;
  --text-dim: #9a9488;
  --accent: #a32a2a;
  --accent-muted: #7a2020;
  --line: #ddd8cf;
  --dark: #050508;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.8rem); margin-top: 4rem; }
h3 { font-size: clamp(1.2rem, 2.8vw, 1.55rem); margin-top: 2.8rem; }

p {
  margin: 0 0 1.35rem;
  max-width: 72ch;
}

.lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.section-label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; font-weight: 500;
}

.hero-placeholder {
  background: linear-gradient(135deg, #0f0f14 0%, #16161c 60%, #0a0a0c 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero-placeholder img,
.hero-placeholder .placeholder-text {
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-align: center; padding: 4rem 2rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.25rem; font-style: italic; letter-spacing: 0.02em;
}

[data-theme="light"] .hero-placeholder {
  background: linear-gradient(135deg, #eae7df 0%, #ddd8cf 60%, #f4f2ee 100%);
}

[data-theme="light"] .hero-placeholder .placeholder-text {
  color: #6e6658;
}

.caption-box {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.source-ui {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 2rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pull-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  line-height: 1.35;
  font-weight: 300;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 3rem 0;
}

.editorial-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  font-size: 0.9rem;
}

.editorial-note strong {
  display: block; margin-bottom: 0.5rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 500;
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.source-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.source-list a { color: var(--text); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-color: rgba(163,42,42,0.3); }
.source-list a:hover { text-decoration-color: rgba(163,42,42,0.9); }

.media-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.media-meta strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
  font-weight: 500;
}
