/* ================================================================
   CYTRYNA.AI — Ghost Theme CSS
   Codzienny digest AI po polsku
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --lemon: #c9a520;
  --lemon-light: #f5e977;
  --lemon-glow: #c9a52018;
  --rind-dark: #141412;
  --rind-mid: #1c1c1a;
  --card-bg: #222220;
  --card-border: #2e2e2b;
  --text-primary: #fdfef8;
  --text-secondary: #9a9a8c;
  --text-muted: #5c5c52;
  --link: #c9a520;
  --cream: #fdfef8;
  --cream-dim: #fdfef812;
  --red: #f87171;
  --radius: 6px;
}
[data-theme="light"] {
  --rind-dark: #fdfef8;
  --rind-mid: #f4f3ed;
  --card-bg: #eeeee8;
  --card-border: #d8d8cc;
  --text-primary: #1a1a18;
  --text-secondary: #4a4a42;
  --text-muted: #8a8a7e;
  --lemon: #b38800;
  --link: #9a7400;
  --cream: #1a1a18;
  --cream-dim: #1a1a1812;
  --lemon-glow: #b3880020;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--rind-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── TICKER ── */
.ticker-bar {
  display: none;
}
.ticker-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 14px;
  background: #111;
  color: var(--lemon);
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  white-space: nowrap;
}
.ticker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.2s infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.ticker-track {
  display: flex;
  animation: ticker 50s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0 28px;
  color: #111;
  white-space: nowrap;
}
.ticker-item::before { content: '·'; margin-right: 28px; opacity: 0.4; }

/* ── NAV ── */
.gh-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rind-dark);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.gh-head-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gh-head-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.gh-head-brand:hover { text-decoration: none; }
.gh-head-logo {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.gh-head-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--lemon);
}
.gh-head-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.gh-head-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.gh-head-link:hover { color: var(--text-primary); text-decoration: none; }

/* CTA button */
.gh-head-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rind-dark);
  background: var(--lemon);
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.gh-head-cta:hover { opacity: 0.85; text-decoration: none; }
.gh-head-cta--member {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}
.gh-head-cta--member:hover { color: var(--text-primary); border-color: var(--text-muted); }

/* Head actions wrapper */
.gh-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  background: none;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  width: 36px; height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--lemon); }
.hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); background: var(--lemon); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); background: var(--lemon); }

/* Dropdown */
.gh-dropdown {
  display: none;
  background: var(--rind-mid);
  border-bottom: 1px solid var(--card-border);
}
.gh-dropdown.open { display: block; }
.gh-dropdown-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.gh-dropdown-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.gh-dropdown-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.gh-dropdown-link:hover { background: var(--card-bg); color: var(--lemon); text-decoration: none; }
.gh-dropdown-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.theme-toggle-full {
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  width: 100%;
}
.theme-toggle-full:hover { border-color: var(--lemon); color: var(--lemon); }

/* Mode toggle */
.mode-toggle {
  display: flex;
  align-items: center;
  background: var(--rind-mid);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.mode-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mode-btn.active { background: var(--lemon); color: #111; font-weight: 600; border-color: var(--lemon); }
.mode-btn:not(.active):hover { border-color: var(--lemon); color: var(--text-primary); }

.theme-toggle {
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--lemon); color: var(--lemon); }

/* Desktop theme toggle in navbar */
.theme-toggle-desktop {
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  cursor: pointer;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.theme-toggle-desktop:hover { border-color: var(--lemon); color: var(--lemon); }
.theme-toggle-desktop .icon-moon { display: none; }
[data-theme="light"] .theme-toggle-desktop .icon-sun { display: none; }
[data-theme="light"] .theme-toggle-desktop .icon-moon { display: block; }
[data-theme="light"] .gh-head-logo svg,
[data-theme="light"] .gh-head-logo img { filter: brightness(0.6); }

/* Member nav */
.member-nav-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.member-nav-btn.subscribe {
  background: var(--lemon);
  color: #111;
  border: none;
  font-weight: 600;
}
.member-nav-btn.subscribe:hover { background: var(--lemon-light); text-decoration: none; }
.member-nav-btn.signin {
  background: none;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}
.member-nav-btn.signin:hover { color: var(--text-primary); border-color: var(--text-muted); text-decoration: none; }
.member-nav-btn.account {
  background: var(--rind-mid);
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
}
.member-nav-btn.account:hover { border-color: var(--lemon); color: var(--lemon); text-decoration: none; }

/* ── LAYOUT ── */
.gh-main { min-height: calc(100vh - 120px); }
.gh-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  /* Content aligns left within container — Matej Latin style */
}

/* ── MODE VISIBILITY ── */
.v-soczek, .v-koncentrat { transition: opacity 0.25s; position: relative; }
[data-mode="soczek"] .v-koncentrat { display: none !important; }
[data-mode="koncentrat"] .v-soczek { display: none !important; }
[data-mode="koncentrat"] .v-koncentrat { display: block !important; }
[data-mode="soczek"] .v-soczek { display: block !important; }
[data-mode="koncentrat"] .post-essence { display: none !important; }

/* Mode indicator badge */
.mode-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: all 0.3s;
}
[data-mode="soczek"] .mode-indicator { border-color: var(--lemon); color: var(--lemon); background: var(--lemon-glow); }
[data-mode="soczek"] .mode-indicator .mode-icon-koncentrat { display: none; }
[data-mode="koncentrat"] .mode-indicator { border-color: var(--cream); color: var(--cream); background: var(--cream-dim); }
[data-mode="koncentrat"] .mode-indicator .mode-icon-soczek { display: none; }

/* ── POST META BLOCK (centered context + toggle) ── */
.post-meta-block {
  margin-top: 0;
  margin-bottom: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.post-context-label {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lemon);
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-context-label::before,
.post-context-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--lemon);
  opacity: 0.4;
}

/* ── POST ESSENCE (bullet summary) ── */
.post-essence {
  margin-top: 48px;
  margin-left: -28px;
  padding: 20px 24px 20px 40px;
  background: var(--lemon-glow);
  border-radius: var(--radius);
}
.post-essence-label {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lemon);
  display: block;
  margin-bottom: 10px;
}
.post-essence-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-essence-list li {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-secondary);
  padding-left: 0;
  position: relative;
}
.post-essence-list li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lemon);
  opacity: 0.8;
}

/* ── LEGACY MODE TOGGLE (fallback for cached HTML) ── */
.mode-toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

/* ── MODE SWITCH ── */
.mode-switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.mode-switch {
  position: relative;
  display: inline-flex;
  background: var(--rind-mid);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 3px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
[data-theme="light"] .mode-switch {
  background: #e8e8e0;
  border-color: #c8c8bc;
}
.mode-switch-option {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 24px;
  border-radius: 16px;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: color 0.25s;
  white-space: nowrap;
}
.mode-switch-option.active {
  color: #111;
  font-weight: 600;
}
[data-theme="light"] .mode-switch-option:not(.active) {
  color: #6a6a5e;
}
.mode-switch-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(50% - 3px);
  background: var(--lemon);
  border-radius: 14px;
  z-index: 1;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="light"] .mode-switch-slider {
  background: var(--lemon);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.mode-switch:hover { border-color: var(--lemon); }
.mode-switch:focus-visible { outline: 2px solid var(--lemon); outline-offset: 2px; }

.mode-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-right: 2px;
}

/* ── HOME HERO ── */
.live-header {
  padding: 24px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 4px 10px 4px 8px;
  border-radius: 3px;
}
.live-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lemon);
  animation: livepulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livepulse {
  0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 #c9a52055}
  50%{opacity:.7;transform:scale(1.3);box-shadow:0 0 0 4px #c9a52000}
}
.edition-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.edition-num { color: var(--lemon); }

.digest-hero { padding: 0; }
.digest-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 900px;
}
.digest-title em { font-style: italic; color: var(--lemon); }
.digest-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.digest-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.digest-readers {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.readers-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lemon);
  animation: livepulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.digest-lead {
  font-size: 1.25rem;       /* 20px — body size */
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 32px;
}
.digest-lead strong { color: var(--text-primary); }

/* ── UPDATE BAR ── */
.digest-footer-links {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.digest-footer-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}
.digest-footer-links a:hover { color: var(--lemon); }

.update-bar {
  background: var(--rind-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  gap: 12px;
  flex-wrap: wrap;
}
.update-bar-left { display: flex; align-items: center; gap: 8px; }
.update-bar-right { display: flex; align-items: center; gap: 16px; }
.update-link { color: var(--lemon); text-decoration: none; }
.update-link:hover { text-decoration: underline; }

/* ── SECTION LABELS ── */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lemon);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label::after { content:''; flex:1; height:1px; background: var(--card-border); }

/* ── NEWS GRID ── */
.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 36px;
}
.news-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  transition: border-color 0.15s;
  position: relative;
}
.news-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.news-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.news-item + .news-item { border-top: none; }
.news-item:hover { border-color: var(--lemon); z-index: 1; }
.news-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  width: 18px;
  padding-top: 3px;
  flex-shrink: 0;
}
.news-headline {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.news-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}
.news-source {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.news-tag {
  background: var(--lemon-glow);
  color: var(--lemon);
  border: 1px solid var(--lemon);
  padding: 1px 7px;
  border-radius: 2px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── INSIGHT BLOCKS ── */
.insight-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 10px;
}
.insight-block p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.insight-block strong { color: var(--text-primary); }
.insight-block em { color: var(--lemon); font-style: normal; }
.rind-block {
  background: linear-gradient(135deg, var(--lemon-glow), transparent);
  border: 1px solid var(--lemon);
  border-left: 3px solid var(--lemon);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 36px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.rind-block strong { color: var(--text-primary); }

/* ── GHOST POST CONTENT ── */
/*
 * System typograficzny wzorowany na matejlatin.com:
 * - 20px body, line-height 1.6
 * - 48/32/24px headings, font-weight 300-400, line-height 1.1
 * - Kolumna tekstu: 610px max-width (jak matejlatin.com)
 * - Hanging bullets (poza kolumną, via ::before)
 * - Obrazki wychodzą na pełną szerokość kontenera (780px)
 */
.gh-content {
  font-size: 1.25rem;       /* 20px — matejlatin base */
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Kolumna tekstu 560px, wyrównana do lewej (jak matejlatin.com) ── */
/* Bezpośrednie dzieci + divy v-soczek/v-koncentrat */
.gh-content > p,
.gh-content > h2,
.gh-content > h3,
.gh-content > h4,
.gh-content > h5,
.gh-content > h6,
.gh-content > ul,
.gh-content > ol,
.gh-content > blockquote,
.gh-content > hr,
.gh-content > .v-soczek,
.gh-content > .v-koncentrat,
.gh-content > div:not([class*="kg-"]) {
  max-width: 560px;
}

/* ── Nagłówki — skala matejlatin ── */
.gh-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;          /* 48px */
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--text-primary);
  margin-top: 90px;
  margin-bottom: 30px;
}
.gh-content h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--lemon);
  opacity: 0.4;
  margin-bottom: 32px;
}
.gh-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;          /* 32px */
  line-height: 1.1;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 60px;
  margin-bottom: 20px;
}
.gh-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;        /* 24px */
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 14px;
}
.gh-content h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;      /* 18px */
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 10px;
}
.gh-content h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lemon);
  margin-top: 32px;
  margin-bottom: 10px;
}

/* ── Paragraf ── */
.gh-content p {
  margin-bottom: 1.5em;     /* ~30px */
  text-align: left;
}

/* Lede — większy akapit intro */
.gh-content > p:first-of-type {
  font-size: 1.35rem;       /* ~21.6px */
  line-height: 1.5;
  color: var(--text-primary);
  max-width: 560px;
}

.gh-content a { color: var(--lemon); }
.gh-content a:hover { text-decoration: underline; }
.gh-content strong { color: var(--text-primary); font-weight: 600; }
.gh-content em { font-style: italic; }

/* ── Listy — hanging bullets poza kolumną ── */
.gh-content ul,
.gh-content ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.gh-content ul li {
  position: relative;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0.55em;
  line-height: 1.6;
}
.gh-content ul li::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 0.35em;
  width: 16px;
  height: 16px;
  background: url("../images/icon.svg") no-repeat center / contain;
  opacity: 0.9;
}

.gh-content ol {
  counter-reset: ol-counter;
}
.gh-content ol li {
  position: relative;
  padding-left: 0;          /* tekst flush z krawędzią kolumny */
  margin-left: 0;
  margin-bottom: 0.55em;
  line-height: 1.6;
  counter-increment: ol-counter;
}
.gh-content ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: -1.8em;             /* numer POZA kolumną — w lewo */
  color: var(--lemon);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8em;
  font-weight: 600;
  top: 0.15em;
  min-width: 1.6em;
  text-align: right;
}

/* Zagnieżdżone listy */
.gh-content li ul,
.gh-content li ol {
  margin-top: 0.4em;
  margin-bottom: 0;
}
.gh-content li ul li::before { content: '·'; }

/* ── Cytaty (blockquote) ── */
.gh-content blockquote {
  border-left: 4px solid var(--lemon);
  padding: 16px 24px 16px 24px;
  background: var(--lemon-glow);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2em 0 2em -28px;
  color: var(--text-secondary);
}
.gh-content blockquote p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;        /* pull quote — 24px */
  line-height: 1.3;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 0.5em;
  color: var(--text-primary);
  max-width: none;
}
.gh-content blockquote cite,
.gh-content blockquote footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
}

/* ── HR / separator ── */
.gh-content hr {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 3em 0;
}

/* ── Kod ── */
.gh-content pre {
  background: var(--rind-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 1.5em;
  max-width: 100%;
}
.gh-content code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85em;
  background: var(--rind-mid);
  border: 1px solid var(--card-border);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--lemon);
}
.gh-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-secondary);
  font-size: 1em;
}

/* ── Obrazki — pełna szerokość kontenera (780px) ── */
.gh-content figure {
  margin: 2.5em 0;
  max-width: 100%;          /* wychodzi poza 600px kolumnę */
}
.gh-content figure img,
.gh-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  display: block;
}
.gh-content figcaption {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: left;
  margin-top: 10px;
  line-height: 1.5;
}

/* Ilustracje edytorskie — float-right obok body text */
@media (min-width: 860px) {
  .gh-content img.section-illust {
    float: right;
    width: 450px;
    max-width: 45%;
    margin: 0.1em 0 0.8em 1.2em;
    shape-outside: margin-box;
    clear: right;
  }
  .gh-content::after {
    content: '';
    display: table;
    clear: both;
  }
}
/* Mobile: obrazek pod tytułem */
@media (max-width: 859px) {
  .gh-content img.section-illust {
    display: block;
    width: 210px;
    max-width: 60%;
    margin: 0.5em 0 1em 0;
  }
}

/* SOC/KONCENTRAT section detection */
.gh-content .soc-section,
.gh-content .koncentrat-section { transition: opacity 0.25s; }
[data-mode="soczek"] .gh-content .koncentrat-section { display: none; }
[data-mode="koncentrat"] .gh-content .soc-section { display: none; }

/* Ghost cards */
.kg-width-full { margin-left: -24px; margin-right: -24px; }
.kg-image-card img { width: 100%; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 4px; }
.kg-gallery-row { display: flex; gap: 4px; }
.kg-gallery-image { flex: 1; object-fit: cover; }
.kg-bookmark-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  margin: 1em 0;
}
.kg-bookmark-container { display: flex; text-decoration: none; color: inherit; }
.kg-bookmark-container:hover { text-decoration: none; background: var(--rind-mid); }
.kg-bookmark-content { padding: 16px; flex: 1; }
.kg-bookmark-title { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.kg-bookmark-description { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }
.kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.75rem; color: var(--text-muted); }
.kg-bookmark-thumbnail { width: 140px; object-fit: cover; flex-shrink: 0; }
.kg-callout-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--rind-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1em 0;
}
.kg-callout-emoji { font-size: 1.3rem; flex-shrink: 0; }
.kg-callout-text { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.6; }
.kg-toggle-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1em 0;
}
.kg-toggle-heading { padding: 14px 18px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; background: var(--card-bg); }
.kg-toggle-content { padding: 14px 18px; font-size: 0.93rem; color: var(--text-secondary); display: none; }
.kg-toggle-card.open .kg-toggle-content { display: block; }

/* ── PAYWALL ── */
.paywall-gate {
  background: linear-gradient(to bottom, transparent, var(--rind-dark) 60%);
  margin-top: -120px;
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
}
.paywall-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 40px 32px;
  max-width: 480px;
  margin: 0 auto;
}
.paywall-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lemon-glow);
  border-radius: 50%;
  border: 1px solid var(--lemon);
}
.paywall-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.paywall-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.paywall-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lemon);
  color: #111;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.paywall-btn:hover { background: var(--lemon-light); text-decoration: none; }
.paywall-login {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.paywall-login a { color: var(--lemon); }

/* ── MEMBER CTA (inline subscribe block) ── */
.member-cta {
  background: var(--card-bg);
  border: 1px solid var(--lemon);
  border-radius: 10px;
  padding: 36px 32px;
  margin: 48px 0;
  text-align: center;
}
.member-cta-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lemon);
  margin-bottom: 12px;
}
.member-cta h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.member-cta p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.member-cta-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
.member-cta-form input[type="email"] {
  flex: 1;
  background: var(--rind-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}
.member-cta-form input[type="email"]:focus { border-color: var(--lemon); }
.member-cta-form input[type="email"]::placeholder { color: var(--text-muted); }
.member-cta-form button {
  background: var(--lemon);
  color: #111;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.member-cta-form button:hover { background: var(--lemon-light); }
.member-cta-note {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 10px;
}
@media (max-width: 480px) {
  .member-cta-form { flex-direction: column; }
}

/* ── ARCHIVE / POST LIST ── */
.archive-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 32px;
}
.archive-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.archive-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
}
.post-list { display: flex; flex-direction: column; gap: 1px; margin-bottom: 48px; }
.post-list-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.15s;
  text-decoration: none;
  color: inherit;
}
.post-list-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.post-list-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.post-list-item + .post-list-item { border-top: none; }
.post-list-item:hover { border-color: var(--lemon); z-index: 1; position: relative; text-decoration: none; }
.post-list-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  min-width: 88px;
  flex-shrink: 0;
  padding-top: 3px;
}
.post-list-content { flex: 1; }
.post-list-title a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.post-list-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.post-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.post-list-tag {
  background: var(--lemon-glow);
  color: var(--lemon);
  border: 1px solid var(--lemon);
  padding: 1px 7px;
  border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-list-reading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.post-list-lock {
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 3px;
}

/* ── SINGLE POST ── */
.post-header { padding: 72px 0 24px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.post-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 3px 9px;
  border-radius: 3px;
  text-decoration: none;
}
.post-tag:hover { background: var(--lemon); color: #111; text-decoration: none; }
.post-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 900px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 32px;
}
.post-meta-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.post-meta-reading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.post-feature-image {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.post-excerpt-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-left: 3px solid var(--lemon);
  padding-left: 16px;
  margin: 0 0 32px 0;
  max-width: 600px;
}
.post-feature-image img { width: 100%; display: block; }

/* ── KNOWLEDGE SECTION ── */
.knowledge-section { margin: 56px 0; }
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.knowledge-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.1s, box-shadow 0.2s;
}
.knowledge-card:hover {
  border-color: var(--lemon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-decoration: none;
}
.knowledge-card--highlight {
  border-color: var(--lemon);
  background: color-mix(in srgb, var(--lemon) 4%, var(--card-bg));
}
.knowledge-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lemon);
}
.knowledge-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; margin: 0; }
.knowledge-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* ── POST NAVIGATION ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--card-border);
  margin-top: 8px;
}
.post-nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--lemon);
  text-decoration: none;
  max-width: 45%;
  line-height: 1.4;
}
.post-nav-link:hover { text-decoration: underline; }

/* Preview mode — gradient fade do paywall */
.gh-content--preview {
  max-height: 320px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
}
.pagination a {
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.15s;
  text-decoration: none;
}
.pagination a:hover { color: var(--lemon); border-color: var(--lemon); text-decoration: none; }
.pagination .page-number { color: var(--text-muted); }

/* ── FOOTER ── */
.gh-foot {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
  margin-top: 60px;
}
.gh-foot-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.gh-foot-logo { margin-bottom: 6px; }
.gh-foot-logo img { height: 32px; opacity: 0.7; }
.gh-foot-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--lemon);
}
.gh-foot-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.gh-foot-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.gh-foot-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  transition: color 0.15s;
}
.gh-foot-nav a:hover { color: var(--lemon); }
.gh-foot-copy {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════
   SŁOWNIK AI — Dictionary styles
   ═══════════════════════════════════════════════════════ */

/* ── INDEX PAGE ── */
.dict-index-header {
  padding: 40px 0 32px;
}
.dict-index-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.dict-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 4px 10px;
  border-radius: 3px;
}
.dict-index-free {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.dict-index-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 640px;
}
.dict-index-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 32px;
}

/* Search */
.dict-search-wrap {
  position: relative;
  max-width: 480px;
}
.dict-search {
  width: 100%;
  background: var(--rind-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 12px 44px 12px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}
.dict-search:focus { border-color: var(--lemon); }
.dict-search::placeholder { color: var(--text-muted); }
.dict-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Count row */
.dict-count-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 4px;
}
.dict-count-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.dict-count-sep { color: var(--card-border); }

/* Entry list */
.dict-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}
.dict-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.dict-entry:hover { text-decoration: none; }
.dict-entry:hover .dict-entry-title { color: var(--lemon); }
.dict-entry:hover .dict-entry-arrow { transform: translateX(4px); color: var(--lemon); }
.dict-entry-inner { flex: 1; min-width: 0; }
.dict-entry-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  display: block;
  margin-bottom: 3px;
  transition: color 0.15s;
}
.dict-entry-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dict-entry-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.15s;
}

.dict-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
}
.dict-empty a { color: var(--lemon); }

/* ── SINGLE ENTRY ── */
.dict-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.dict-breadcrumb:hover { color: var(--lemon); text-decoration: none; }

.dict-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.dict-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 2px 8px;
  border-radius: 2px;
}
.dict-updated {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.dict-header { padding: 36px 0 0; }

.dict-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 900px;
}

/* Definition box — skrócona definicja pod tytułem */
.dict-definition {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 600px;
  padding: 20px 24px;
  background: var(--lemon-glow);
  border-left: 3px solid var(--lemon);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 40px;
  font-style: normal;
}

/* Content area — inherits from .gh-content */
.dict-content {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 32px;
}

/* FAQ section styling — kiedy w treści jest h2 "Często zadawane pytania" */
.dict-content h2:last-of-type {
  margin-top: 60px;
}

/* Bottom nav */
.dict-nav-bottom {
  padding: 24px 0 60px;
  display: flex;
  align-items: center;
}
.dict-nav-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.dict-nav-all:hover { color: var(--lemon); text-decoration: none; }

/* Related terms inline tags */
.dict-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}
.dict-related-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  width: 100%;
  margin-bottom: 4px;
}
.dict-related a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  padding: 5px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s;
}
.dict-related a:hover { color: var(--lemon); border-color: var(--lemon); text-decoration: none; }

@media (max-width: 640px) {
  .dict-index-title { font-size: 2.2rem; }
  .dict-title { font-size: 2.2rem; }
  .dict-entry-excerpt { display: none; }
}

/* ── ERROR PAGE ── */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 60px 24px;
}
.error-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 600;
  color: var(--lemon);
  line-height: 1;
  margin-bottom: 16px;
}
.error-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.error-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.error-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lemon);
  color: #111;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.error-btn:hover { background: var(--lemon-light); text-decoration: none; }

/* Desktop: hide hamburger */
@media (min-width: 641px) {
  .hamburger { display: none; }
}

/* ── MOBILE ── */
@media (max-width: 640px) {
  .ticker-bar { display: none; }
  .digest-title { font-size: 2rem; letter-spacing: -0.02em; }
  .post-title { font-size: 2.4rem; letter-spacing: -0.02em; }
  .archive-title { font-size: 2rem; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .update-bar-right { display: none; }
  .gh-head-nav { display: none; }
  .gh-head-inner .gh-head-cta { display: none; }
  .gh-head-inner .theme-toggle-desktop { display: none; }
  .gh-dropdown-actions-row { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
  .gh-dropdown-actions-row .theme-toggle-desktop { display: flex; }
  .gh-dropdown-actions-row .gh-head-cta { display: inline-flex; }
  .post-header { padding-top: 72px; padding-left: 28px; }
  .post-meta-block { margin-bottom: 16px; gap: 6px; align-items: flex-start; text-align: left; display: flex !important; min-height: 30px; }
  .post-context-label { font-size: 0.8rem !important; letter-spacing: 0.1em; color: var(--lemon) !important; margin-bottom: 8px; display: inline-block !important; }
  .post-context-label::before { display: none; }
  .post-context-label::after { display: none; }
  .post-essence { padding: 16px 18px 16px 28px; margin-top: 36px; margin-left: -28px; }
  .post-essence-list li { font-size: 0.82rem; }
  .mode-label { font-size: 0.72rem; }
  .mode-switch-option { font-size: 0.6rem; padding: 5px 12px; }
  .post-list-date { display: none; }
  .gh-foot-nav { gap: 16px; }
  .member-cta { padding: 28px 20px; }

  /* Mobile text alignment system:
     Text aligns to one left edge (same as desktop).
     Hanging elements (bullets, blockquote bg) break out to the left
     but stay within screen with a safe margin. */
  .gh-content { font-size: 1.1rem; padding-left: 28px; }
  .gh-content p { margin-left: 0; }
  .gh-content h2 { font-size: 2rem; margin-top: 60px; margin-left: 0; }
  .gh-content h3 { font-size: 1.5rem; margin-top: 40px; margin-left: 0; }
  .gh-content h4 { font-size: 1.25rem; margin-left: 0; }
  .gh-content ul { padding-left: 0; }
  .gh-content ul li { padding-left: 0; }
  .gh-content ul li::before { left: -24px; width: 14px; height: 14px; }
  .gh-content ol { padding-left: 0; }
  .gh-content ol li { padding-left: 0; }
  .gh-content ol li::before { left: -24px; }
  .gh-content blockquote { margin-left: -28px; padding-left: 24px; }
}
@media (max-width: 400px) {
  .knowledge-grid { grid-template-columns: 1fr; }
}

/* ── ARCHIVE PAGE ── */
.archive-header { padding: 64px 0 40px; }
.archive-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.archive-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.archive-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
  text-decoration: none;
  transition: background 0.15s;
}
.archive-item:hover { background: var(--lemon-glow); margin: 0 -12px; padding: 16px 12px; border-radius: 4px; }
.archive-item-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 90px;
}
.archive-item-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
}
.archive-item:hover .archive-item-title { color: var(--lemon); }
.archive-empty { color: var(--text-muted); font-style: italic; padding: 40px 0; }

/* Toast notification for mode switch */
.mode-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border: 1px solid var(--lemon);
}
.mode-toast.show {
  opacity: 1;
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--lemon);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* Hover: underline from center */
.post-list-title a {
  position: relative;
  text-decoration: none;
}
.post-list-item { position: relative; }
.post-list-title {
  position: relative;
  display: inline-block;
}
.post-list-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--lemon);
  transition: width 0.3s ease, left 0.3s ease;
}
.post-list-item:hover .post-list-title::after {
  width: 100%;
  left: 0;
}

/* Esencja card hover with grain */
#post-essence {
  position: relative;
  overflow: hidden;
}
#post-essence::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
#post-essence:hover::before {
  opacity: 1;
}

/* ================================================================
   ARTICLE PAGES — Strony SEO (co-to-jest-gpt, narzedzia-ai, etc.)
   ================================================================ */

/* Szeroki kontener dla katalogu narzędzi */
.gh-container--wide {
  max-width: 960px;
}
.gh-content--wide {
  max-width: 100%;
}

/* Article meta (tagi, data) */
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.article-page .tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 3px 10px;
  border-radius: 2px;
}
.read-time {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Article intro (lead paragraph) */
.article-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-left: 3px solid var(--lemon);
  padding-left: 16px;
  margin-bottom: 32px;
}

/* Breadcrumb */
.article-breadcrumb {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.article-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.article-breadcrumb a:hover { color: var(--lemon); }
.article-breadcrumb span { margin: 0 8px; }

/* Answer box (żółta ramka odpowiedzi) */
.answer-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--lemon);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 0 0 28px;
}
.answer-box p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.97rem;
}

/* Callout boxes */
.highlight-box,
.analogy-box,
.info-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box h3,
.analogy-box .label,
.info-box .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lemon);
  margin-bottom: 10px;
}
.analogy-box p,
.info-box p,
.highlight-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* FAQ */
.faq { margin: 32px 0; }
.faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid var(--card-border); }
.faq-q {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 0.97rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq-q::before {
  content: 'Q';
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 2px 6px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-a {
  color: var(--text-secondary);
  font-size: 0.93rem;
  padding-left: 36px;
  line-height: 1.65;
}

/* GPT versions grid */
.versions { display: grid; gap: 12px; margin: 20px 0 28px; }
.version-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.version-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.version-card p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }
@media (max-width: 600px) { .version-card { grid-template-columns: 1fr; } }

/* Steps (numbered process steps — agent-ai) */
.steps { margin: 24px 0; display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lemon);
  flex-shrink: 0;
  min-width: 32px;
}
.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Agents grid */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 20px 0 28px;
}
.agent-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.agent-card:hover { border-color: var(--lemon); }
.agent-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.agent-card p { font-size: 0.86rem; color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* Token demo (jak-dziala-chatgpt) */
.token-demo {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}
.demo-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 10px !important;
}
.tokens { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.token {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  color: var(--lemon);
  padding: 3px 8px;
  border-radius: 3px;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lemon);
}
.stat-desc { font-size: 0.8rem; color: var(--text-muted); }

/* Flow diagram */
.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0 28px;
}
.flow-step { display: flex; flex-direction: column; align-items: flex-start; }
.flow-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  width: 100%;
}
.flow-arrow {
  font-size: 1.2rem;
  color: var(--lemon);
  padding: 4px 0 4px 20px;
}

/* Table (google-ai-studio) */
.table-wrap { overflow-x: auto; margin: 20px 0 28px; }
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.table-wrap th {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 10px 14px;
  text-align: left;
}
.table-wrap td {
  border: 1px solid var(--card-border);
  padding: 10px 14px;
  color: var(--text-secondary);
  vertical-align: top;
}
.table-wrap tr:hover td { background: var(--card-bg); }

/* CTA box (artykuły) */
.article-page .cta-box {
  background: linear-gradient(135deg, var(--lemon-glow), transparent);
  border: 1px solid var(--lemon);
  border-radius: 8px;
  padding: 28px;
  margin: 40px 0;
  text-align: center;
}
.article-page .cta-box p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.article-page .cta-btn {
  display: inline-block;
  background: var(--lemon);
  color: #1a1a18 !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none !important;
}
.article-page .cta-btn:hover { opacity: 0.85; }

/* Narzędzia — hero */
.article-page .hero { padding: 32px 0 24px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-top: 12px;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
  padding: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}
.filter-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--lemon);
  color: var(--lemon);
  background: var(--lemon-glow);
}

/* Tool category */
.category { margin-bottom: 48px; }
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}
.category-icon {
  width: 30px;
  height: 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.category-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  border: none;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.category-header h2::before { display: none; }
.count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Tool grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.15s;
}
.tool-card:hover {
  border-color: var(--lemon);
  transform: translateY(-1px);
}
.tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.tool-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.price-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.price-free { background: #4ade8015; color: #4ade80; border: 1px solid #4ade80; }
.price-freemium { background: #fb923c15; color: #fb923c; border: 1px solid #fb923c; }
.price-paid { background: #60a5fa12; color: #60a5fa; border: 1px solid #60a5fa; }
.tool-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}
.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--lemon);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tool-link:hover { color: var(--lemon-light); text-decoration: none; }
.tool-link svg { opacity: 0.7; }
.hot-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--lemon);
  background: var(--lemon-glow);
  border: 1px solid var(--lemon);
  padding: 1px 6px;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 600px) {
  .tools-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .version-card { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .step { flex-direction: row; }
}

/* YouTube teaser gate */
/* ── YouTube Teaser Gate ── */
.yt-teaser-gate {
  margin: 2.5rem 0 2.5rem -28px;
  max-width: 560px;
}
.yt-teaser-card {
  border-left: 4px solid var(--lemon);
  padding: 16px 24px;
  background: var(--lemon-glow);
  border-radius: 0 6px 6px 0;
}
.yt-teaser-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.yt-teaser-btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--lemon);
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
[data-theme="light"] .yt-teaser-btn { color: #1a1a18 !important; }
.yt-teaser-btn:hover { opacity: 0.85; text-decoration: none; }

/* (stary blok section-illust usunięty — reguły przeniesione wyżej) */
