.page {
  min-height: 100vh;
  background: var(--bg);
  padding: 120px 24px 80px;
}

.inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.back {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  width: fit-content;
}

.back:hover {
  color: var(--green-700);
}

/* === Header artykułu === */
.header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
}

.meta span + span::before,
.meta time + span::before {
  content: '·';
  margin-right: 16px;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.description {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === Przełącznik języka === */
.langSwitcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: 13px;
}

.langSwitcherLabel {
  color: var(--text-muted);
}

.langLink {
  color: var(--green-700);
  font-weight: 600;
  font-size: 13px;
  padding: 2px 10px;
  border: 1px solid var(--green-100);
  border-radius: var(--radius-pill);
  background: var(--green-50);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.langLink:hover {
  background: var(--green-100);
  border-color: var(--green-400);
  color: var(--green-700);
}

/* === Treść artykułu === */
.content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.content h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 2em 0 0.6em;
}

.content h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 1.6em 0 0.5em;
}

.content p {
  margin-bottom: 1.25em;
}

.content ul,
.content ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content li {
  line-height: 1.65;
}

.content strong {
  font-weight: 700;
  color: var(--text-primary);
}

.content a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.content a:hover {
  color: var(--green-600);
}

.content blockquote {
  border-left: 3px solid var(--green-400);
  padding: 4px 0 4px 20px;
  margin: 1.5em 0;
  color: var(--text-muted);
  font-style: italic;
}

.content code {
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1px 6px;
}

.content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 1.25em;
}

.content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
}

.content hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2em 0;
}

@media (max-width: 600px) {
  .page {
    padding: 100px 16px 60px;
  }
}
