/* ==========================================================
   Noumo — AI novinky
   ========================================================== */

:root {
  --font-serif: "Montserrat", system-ui, "Segoe UI", sans-serif;
  --font-sans: "Montserrat", system-ui, "Segoe UI", sans-serif;
  --font-mono: "Montserrat", system-ui, "Segoe UI", sans-serif;

  --gold: #e7b057;
  --ink: #1e1500;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --grad: linear-gradient(120deg, #f2c879 0%, #e7b057 50%, #c58a35 100%);
  /* obvodový motiv z vizuální identity */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23e7b057' stroke-width='1'%3E%3Cpath d='M0 40h40l20 20h40M100 60v40l20 20h40M20 160v-40l20-20h20M120 0v20l-20 20M60 60v20M140 120v40'/%3E%3Ccircle cx='100' cy='60' r='3'/%3E%3Ccircle cx='60' cy='100' r='3'/%3E%3Ccircle cx='100' cy='40' r='2.5'/%3E%3Ccircle cx='60' cy='80' r='2.5'/%3E%3Ccircle cx='140' cy='120' r='2.5'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  --bg: #14100a;
  --bg-2: #1e1500;
  --surface: rgba(231, 176, 87, .045);
  --surface-2: rgba(231, 176, 87, .09);
  --border: rgba(231, 176, 87, .13);
  --border-strong: rgba(231, 176, 87, .3);
  --text: #f4ecdd;
  --text-2: #cdbfa6;
  --muted: #918470;
  --accent: #e7b057;
  --warm: #e7b057;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .85);
  --aurora-a: rgba(231, 176, 87, .16);
  --aurora-b: rgba(150, 95, 30, .2);
  --circuit-op: .10;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f4efe6;
  --bg-2: #eae1d0;
  --surface: rgba(255, 255, 255, .78);
  --surface-2: #ffffff;
  --border: rgba(30, 21, 0, .10);
  --border-strong: rgba(30, 21, 0, .22);
  --text: #1e1500;
  --text-2: #4b402d;
  --muted: #8a7d66;
  --accent: #a46f1c;
  --warm: #a46f1c;
  --shadow: 0 30px 60px -35px rgba(60, 40, 10, .35);
  --aurora-a: rgba(231, 176, 87, .38);
  --aurora-b: rgba(170, 120, 60, .18);
  --circuit-op: .22;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background .4s var(--ease), color .4s var(--ease);
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.loading, .empty { color: var(--muted); padding: 60px 0; text-align: center; }

/* ---------- Ambient background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 40vw at 85% -10%, var(--aurora-a), transparent 60%),
    radial-gradient(50vw 40vw at -10% 10%, var(--aurora-b), transparent 60%);
}
.aurora::after {
  content: ""; position: absolute; inset: 0; opacity: var(--circuit-op);
  background-image: var(--circuit);
  background-size: 160px 160px;
  mask-image: radial-gradient(90% 70% at 70% 0%, #000, transparent 75%);
}

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: #d9cbb0; font-size: 12.5px; font-weight: 500;
  border-bottom: 1px solid rgba(231, 176, 87, .14);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar a { color: #d9cbb0; transition: color .2s; }
.topbar a:hover { color: var(--gold); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  --text: #f4ecdd; --text-2: #d6c8ae; --muted: #a8997e;
  --surface: rgba(255, 255, 255, .06); --surface-2: rgba(231, 176, 87, .16);
  --border: rgba(231, 176, 87, .22); --border-strong: rgba(231, 176, 87, .5);
  color: var(--text);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  background: rgba(30, 21, 0, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-mark .ink { fill: currentColor; }
.logo-mark .gold { fill: var(--gold); }
.logo-text { font-family: var(--font-sans); font-size: 25px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.logo-text.small { font-size: 18px; }
.logo-sub { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(231, 176, 87, .35); }

.header-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav-links { display: flex; gap: 4px; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.nav-more { position: relative; flex-shrink: 0; }
.nav-more-btn {
  width: 36px; height: 34px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 1px solid transparent; color: var(--text-2);
  transition: background .2s, color .2s, border-color .2s;
}
.nav-more-btn svg { width: 18px; height: 18px; fill: currentColor; }
.nav-more-btn:hover, .nav-more.open .nav-more-btn { background: var(--surface-2); color: var(--gold); }
.nav-more-btn.active { border-color: var(--border-strong); color: var(--gold); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  min-width: 220px; max-height: min(70vh, 460px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px; padding: 8px;
  background: #241a06; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav-more.open .nav-menu {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.nav-menu a { border-radius: 6px !important; padding: 9px 12px !important; }
.header-nav a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.header-nav a:hover, .header-nav a.active { background: var(--surface-2); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0 14px; height: 38px;
  transition: border-color .2s, width .3s var(--ease);
}
.search:focus-within { border-color: var(--border-strong); }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; width: 140px; }
.search input::placeholder { color: var(--muted); }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--border-strong); transform: rotate(15deg); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
[data-theme="dark"] .i-moon, [data-theme="light"] .i-sun { display: none; }

/* ---------- Masthead ---------- */
.masthead { position: relative; padding: 80px 0 48px; }
.masthead-inner { max-width: 760px; position: relative; z-index: 1; }
.masthead-mark { position: absolute; right: 2%; top: 50%; width: min(30vw, 300px); transform: translateY(-50%); pointer-events: none; }
.masthead-mark .ink { fill: var(--text); opacity: .09; }
.masthead-mark .gold { fill: var(--gold); opacity: .6; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 14px; height: 2px; background: currentColor; }
.masthead-title {
  font-family: var(--font-sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.01em; margin: 0;
}
.masthead-title em {
  display: block; font-style: normal; font-weight: 300; text-transform: none; letter-spacing: -.02em;
  color: var(--accent);
}
.masthead-sub { font-size: 18px; font-weight: 400; color: var(--text-2); max-width: 560px; margin: 24px 0 0; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 22px; margin-bottom: 32px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
}
.filter-bar h2 { font-size: 24px; margin: 0; font-weight: 700; }
.filter-bar p { margin: 0; color: var(--text-2); flex: 1; min-width: 200px; }
.btn-ghost {
  font: inherit; font-size: 14px; cursor: pointer; color: var(--text);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: none;
}
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- Tags ---------- */
.tag {
  --h: 38;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  color: var(--text-2); background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--h) 60% 55%); }
a.tag:hover { transform: translateY(-1px); border-color: var(--border-strong); color: var(--text); }
.tag-count { opacity: .6; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Generative covers ---------- */
.cover {
  --h1: 38; --h2: 28; --x: 30%; --y: 40%; --r: 0deg;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at var(--x) var(--y), hsl(var(--h1) 78% 62% / .95), transparent 55%),
    radial-gradient(circle at calc(100% - var(--x)) calc(100% - var(--y)), hsl(var(--h2) 70% 40% / .9), transparent 60%),
    linear-gradient(var(--r), #1e1500, hsl(var(--h2) 55% 16%));
}
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: var(--circuit); background-size: 140px 140px;
  background-position: var(--x) var(--y);
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30, 21, 0, .45), transparent 50%);
}
.cover-orb {
  position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%;
  left: calc(var(--x) - 8%); top: calc(var(--y) - 15%);
  border: 1px solid rgba(255, 236, 200, .45);
  box-shadow: inset 0 0 0 10px rgba(255, 236, 200, .05), inset 0 0 0 22px rgba(255, 236, 200, .04), 0 0 80px hsl(var(--h1) 85% 65% / .45);
  transition: transform 1.2s var(--ease);
}
.cover-glyph {
  position: absolute; right: 18px; bottom: 14px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: rgba(255, 236, 200, .85); z-index: 1;
}
a:hover .cover-orb { transform: scale(1.12) translate(6%, -4%); }

/* ---------- Today / featured ---------- */
.section-label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.section-label::before { content: ""; width: 14px; height: 2px; background: var(--gold); }
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.today { margin-bottom: 72px; }
.today-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.today-side { display: grid; gap: 24px; align-content: start; }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card .cover { aspect-ratio: 16 / 9; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-title { font-family: var(--font-sans); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.card-perex { margin: 0; color: var(--text-2); font-size: 15px; }
.meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: auto; }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.badge-reflection {
  display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600;
}

.card--hero .cover { aspect-ratio: 16 / 10; }
.card--hero .card-body { padding: 28px 32px 32px; gap: 16px; }
.card--hero .card-title { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.02em; }
.card--hero .card-perex { font-size: 17px; }

.card--compact { flex-direction: row; }
.card--compact .cover { aspect-ratio: auto; width: 38%; flex-shrink: 0; min-height: 100%; }
.card--compact .card-body { padding: 18px 20px; gap: 8px; }
.card--compact .card-title { font-size: 17px; }
.card--compact .card-perex { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Archive ---------- */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; padding-bottom: 80px; }
.day-group { margin-bottom: 48px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.archive-grid .card-title { font-size: 18px; }

.sidebar { position: sticky; top: 92px; display: grid; gap: 20px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 22px; }
.panel-title { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.panel-about p { margin: 0 0 10px; font-size: 14px; color: var(--text-2); }
.panel-about p.muted { font-style: italic; color: var(--muted); margin: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal .8s var(--ease) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- Article page ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 100; }

.article-hero { padding: 56px 0 0; }
.article-head { max-width: 860px; margin: 0 auto; text-align: center; }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; transition: color .2s; }
.back-link:hover { color: var(--text); }
.article-head .tags { justify-content: center; margin-bottom: 22px; }
.article-title {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 22px;
}
.article-perex { font-size: clamp(18px, 2vw, 22px); color: var(--text-2); line-height: 1.5; margin: 0 auto 26px; max-width: 720px; }
.article-head .meta { justify-content: center; }
.article-cover { max-width: 1100px; margin: 44px auto 0; border-radius: 24px; aspect-ratio: 21 / 8; }

.article-layout { display: grid; grid-template-columns: 1fr minmax(0, 700px) 1fr; gap: 40px; padding: 56px 0 40px; }
.article-layout > * { grid-column: 2; }

.keypoints {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 22px 26px; margin-bottom: 40px;
}
.keypoints h3 { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.keypoints ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.keypoints li { position: relative; padding-left: 26px; color: var(--text-2); }
.keypoints li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--gold); }

.prose { font-size: 18px; line-height: 1.8; color: var(--text); }
.prose p { margin: 0 0 1.25em; }
.prose > p:first-child::first-letter {
  float: left; font-size: 4em; line-height: .85; padding: .04em .12em 0 0; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prose h2 { font-family: var(--font-sans); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; margin: 1.8em 0 .6em; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { font-weight: 650; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 3px solid; border-image: var(--grad) 1;
  font-weight: 300; font-size: 23px; line-height: 1.5; color: var(--text);
}
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--font-sans); font-style: normal; font-size: 14px; color: var(--muted); }

.reflection {
  position: relative; margin: 56px 0 8px; padding: 40px 40px 34px;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(231, 176, 87, .22), transparent 60%), var(--ink);
  border: 1px solid rgba(231, 176, 87, .3);
  color: #f4ecdd;
}
.reflection::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: var(--circuit); background-size: 160px 160px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
}
.reflection-label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.reflection-label::before { content: ""; width: 14px; height: 2px; background: var(--gold); }
.reflection h2 { font-weight: 300; font-size: 28px; line-height: 1.25; margin: 0 0 20px; letter-spacing: -.01em; color: #fff; }
.reflection p { font-size: 17.5px; line-height: 1.8; color: #d9cbb0; margin: 0 0 1em; }
.reflection p:last-child { margin-bottom: 0; }

.sources { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.sources h3 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.sources ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.sources li { counter-increment: s; display: flex; gap: 12px; font-size: 15px; }
.sources li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.sources a { color: var(--text-2); border-bottom: 1px solid var(--border-strong); transition: color .2s, border-color .2s; }
.sources a:hover { color: var(--text); border-color: var(--accent); }
.sources .pub { color: var(--muted); }

.ai-note {
  margin-top: 28px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px dashed var(--border-strong);
  font-size: 13px; color: var(--muted);
}

.related { padding: 40px 0 90px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-grid .card-title { font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9cbb0; padding: 30px 0; font-size: 13px; }
.site-footer .muted { color: #a8997e; }
.site-footer .logo { color: #f4ecdd; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .today-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {

  .nav-more { position: static; }
  .nav-menu { top: calc(100% + 6px); left: 12px; right: 12px; min-width: 0; }
  .topbar-right, .logo-sub, .masthead-mark { display: none; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 8px; }
  .search { padding: 0 11px; cursor: text; }
  .search input { width: 0; transition: width .25s var(--ease); }
  .search:focus-within input { width: 130px; }
  .header-inner:has(.search:focus-within) .header-nav { display: none; }
  .masthead { padding: 44px 0 28px; }
  .archive-grid, .related-grid { grid-template-columns: 1fr; }
  .card--compact { flex-direction: column; }
  .card--compact .cover { width: 100%; aspect-ratio: 16 / 9; }
  .article-cover { border-radius: 0; aspect-ratio: 16 / 9; }
  .article-hero .wrap.cover-wrap { width: 100%; }
  .prose { font-size: 17.5px; }
  .reflection { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Fotografie ke článkům ---------- */
.cover--photo { background: var(--ink); }
.cover--photo::before { display: none; }
.cover--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cover--photo::after {
  z-index: 1;
  background: linear-gradient(to top, rgba(30, 21, 0, .35), transparent 45%),
              linear-gradient(120deg, rgba(231, 176, 87, .10), transparent 60%);
}
a:hover .cover--photo img { transform: scale(1.04); }
figure.cover-wrap { margin-block: 0; padding: 0; }
.article-cover.cover--photo { aspect-ratio: 21 / 9; }
.image-credit {
  max-width: 1100px; margin: 10px auto 0; text-align: right;
  font-size: 12px; color: var(--muted);
}
.image-credit a { border-bottom: 1px solid var(--border-strong); }
.image-credit a:hover { color: var(--text); }

/* ---------- Archiv po měsících ---------- */
.month-heading {
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  margin: 0 0 28px; display: flex; align-items: center; gap: 14px;
}
.month-heading::before { content: ""; width: 22px; height: 3px; background: var(--gold); }
.month-list { display: grid; gap: 2px; }
.month-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: background .2s, color .2s;
}
.month-list a:hover { background: var(--surface-2); color: var(--text); }
.month-list a.active { background: var(--surface-2); color: var(--accent); font-weight: 700; }
.month-count { font-size: 12px; color: var(--muted); font-weight: 600; }
.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--border);
}
.pager-current { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pager-link {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  font-weight: 700; transition: border-color .2s, transform .2s;
}
.pager-link:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.pager-dir { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pager-older { text-align: right; justify-self: end; }
.pager-newer { justify-self: start; }
@media (max-width: 720px) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-current { display: none; }
}
