/* Bártek Gallery – šablona */

@font-face { font-family: "Oxygen"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/oxygen-300-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oxygen"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/oxygen-300-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oxygen"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/oxygen-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oxygen"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/oxygen-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oxygen"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/oxygen-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oxygen"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/oxygen-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/playfair-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/playfair-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --navy: #07203d;
  --navy-2: #0d2c50;
  --ink: #1d232a;
  --muted: #5f6670;
  --line: #e4e4e4;
  --bar: #efefef;
  --paper: #ffffff;
  --soft: #f7f6f3;
  --frame: #ffffff;
  --accent: #c8453f;
  --accent-dark: #a73631;
  --gold: #b8975a;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Oxygen", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Hlavička ---------- */

.site-header { background: var(--navy); color: #fff; }

.site-header .wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; position: relative;
}

.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; color: #fff; line-height: 1;
}
.logo-name {
  font-family: var(--sans); font-weight: 400; letter-spacing: .08em;
  font-size: 34px;
}
.logo-sub {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 300; letter-spacing: .12em;
  font-size: 15px; margin-top: 4px; color: rgba(255,255,255,.85);
}
.logo-sub::before, .logo-sub::after {
  content: ""; width: 64px; height: 1px; background: rgba(255,255,255,.6);
}

.nav-toggle {
  display: none;
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(255,255,255,.35); color: #fff;
  width: 44px; height: 44px; cursor: pointer; border-radius: var(--radius);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto;
  position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.main-nav { background: var(--bar); border-bottom: 1px solid var(--line); }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0 44px;
}
.main-nav a {
  display: block; padding: 17px 0; text-decoration: none;
  font-weight: 700; font-size: 15.5px; color: var(--ink);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 720px) {
  .site-header .wrap { min-height: 76px; }
  .logo-name { font-size: 27px; }
  .logo-sub { font-size: 12px; }
  .logo-sub::before, .logo-sub::after { width: 40px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-top: 1px solid var(--line); }
  .main-nav a { padding: 14px var(--gutter); border: 0; }
}

/* ---------- Drobečková navigace ---------- */

.breadcrumbs { font-size: 14px; color: var(--muted); margin: 36px 0 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b5b5b5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: var(--bar); color: var(--ink); }
.btn-light:hover { background: #e2e2e2; }

/* ---------- Sekce ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--soft); }

.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.section-head .more:hover { color: var(--accent); }

.eyebrow {
  display: block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 12px;
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-figure { margin: 0; background: var(--frame); border: 1px solid var(--line); }
.hero-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 24px; }
.hero-figure figcaption {
  border-top: 1px solid var(--line); padding: 14px 20px; font-size: 14px; line-height: 1.4;
}
.hero-figure figcaption strong { font-family: var(--serif); font-size: 17px; display: block; }
.hero-figure figcaption a { text-decoration: none; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Mřížka umělců ---------- */

.grid {
  display: grid; gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { position: relative; }
.card-media {
  aspect-ratio: 1 / 1; background: var(--frame); overflow: hidden;
  display: grid; place-items: center; margin-bottom: 14px;
}
.card-media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.035); }
.card-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; margin: 0; line-height: 1.3; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-title a { color: var(--accent); }
.card-meta { font-size: 14px; color: var(--muted); margin: 2px 0 0; }

.count {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line); border-radius: 20px;
  padding: 0 8px; margin-left: 6px; vertical-align: 3px; line-height: 20px;
}

.card .btn-light { position: relative; z-index: 1; margin-top: 12px; padding: 8px 16px; font-size: 14px; }

/* ---------- Pruh s místy ---------- */

.band { background: var(--navy); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.band p { color: rgba(255,255,255,.78); }
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.15); }
.places li { background: var(--navy); padding: 22px 24px; }
.places strong { display: block; font-family: var(--serif); font-size: 1.25rem; }
.places span { font-size: 14px; color: rgba(255,255,255,.65); }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- Aktuality ---------- */

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
.post { position: relative; border-top: 1px solid var(--ink); padding-top: 20px; }
.post time { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.post h3 { margin: 6px 0 10px; font-size: 1.35rem; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post:hover h3 a { color: var(--accent); }
.post p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Stránka umělce ---------- */

.artist-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 72px);
  padding-bottom: 56px; border-bottom: 1px solid var(--line); margin-bottom: 56px;
}
.artist-head h1 { margin-bottom: .15em; }
.artist-years { font-family: var(--serif); font-size: 1.35rem; color: var(--muted); margin-bottom: 1.2em; }
.artist-facts { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.artist-facts li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.artist-facts li span:first-child { color: var(--muted); }
.artist-bio { font-size: 1.05rem; }
.artist-bio p:first-child::first-letter {
  font-family: var(--serif); font-size: 3.4em; float: left; line-height: .85; margin: 6px 10px 0 0; color: var(--navy);
}
@media (max-width: 860px) { .artist-head { grid-template-columns: 1fr; } }

.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px; font-size: 14px; color: var(--muted);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; padding: 6px 14px; border-radius: 20px;
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; text-decoration: none;
}
.chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Detail díla ---------- */

.artwork { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .artwork { grid-template-columns: 1fr; } }

.artwork-gallery { position: sticky; top: 24px; }
@media (max-width: 900px) { .artwork-gallery { position: static; } }
.artwork-main {
  margin: 0; background: var(--frame); border: 1px solid var(--line); aspect-ratio: 4 / 5; display: grid; place-items: center; cursor: zoom-in;
}
.artwork-main img { max-height: 94%; width: auto; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button {
  width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); background: var(--frame); cursor: pointer;
}
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.artwork-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: .2em; }
.artwork-artist { font-size: 1.1rem; margin-bottom: 1.6em; }
.artwork-artist a { font-family: var(--serif); font-weight: 700; }
.specs { margin: 0 0 28px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.price-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--soft); padding: 20px 24px; margin-bottom: 28px;
}
.price-box .label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.price-box .price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #2f7a4d; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.perks { list-style: none; margin: 24px 0 0; padding: 0; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
.perks li::before { content: "—"; margin-right: 8px; color: var(--gold); }

/* ---------- Formulář ---------- */

.enquiry { border: 1px solid var(--line); padding: clamp(24px, 4vw, 36px); background: #fff; }
.enquiry h2 { font-size: 1.6rem; margin-bottom: .3em; }
.enquiry > p { color: var(--muted); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,32,61,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--navy); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- Výkup umění ---------- */
.buyback { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .buyback { grid-template-columns: 1fr; } }
.buyback-text .lead { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }
.buyback-text p { max-width: 34em; }
.field input[type=file] { padding: 10px; background: #faf9f7; cursor: pointer; }
.field-hint { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact address { font-style: normal; font-size: 1.05rem; line-height: 1.8; margin-bottom: 28px; }
.contact dl { margin: 0 0 28px; }
.contact dl div { display: grid; grid-template-columns: 150px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
.contact dd a { font-weight: 700; text-decoration: none; }
.contact dd a:hover { color: var(--accent); }
.map-link {
  display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--soft);
  border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 15px;
}
.map-link:hover { color: var(--accent); }

/* ---------- Patička ---------- */

.site-footer { background: var(--navy); color: rgba(255,255,255,.75); font-size: 15px; margin-top: clamp(56px, 8vw, 96px); }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .logo { align-items: flex-start; margin-bottom: 18px; }
.site-footer .logo-sub::before { display: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.55);
}
.section + .site-footer, .band + .site-footer { margin-top: 0; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; background: rgba(7, 18, 32, .94); display: none;
  place-items: center; z-index: 50; padding: 24px; cursor: zoom-out;
}
.lightbox:not([hidden]) { display: grid; }
.lightbox img { max-height: 92vh; width: auto; background: #fff; }

/* ---------- Doplňky pro živý web ---------- */

.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; margin-bottom: 2em; }
.empty { color: var(--muted); padding: 24px 0; }
.chip:hover { border-color: var(--ink); }

.card-media { position: relative; }
.badge {
  position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 10px; background: #fff; border: 1px solid var(--line); text-transform: uppercase;
}
.badge-sold { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge-reserved { color: #8a5a00; }
.card.is-sold .card-media img { opacity: .75; }

.status-reserved { color: #a86b00; }
.status-sold { color: var(--muted); }

.hero-figure > a { display: block; }

.notice { padding: 12px 16px; margin: 0 0 18px; font-size: 15px; border-left: 3px solid; }
.notice-ok { background: #eef7f1; border-color: #2f7a4d; color: #1f5134; }
.notice-error { background: #fbeeed; border-color: var(--accent); color: #7d231f; }
.field-error { display: block; color: var(--accent-dark); font-size: 13px; margin-top: 5px; }
.field [aria-invalid="true"] { border-color: var(--accent); }

.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose a { color: var(--navy); font-weight: 700; }
.artwork-desc { margin-bottom: 28px; font-size: 1rem; }

.post-list { display: grid; gap: 48px; margin-top: 24px; }
.post-row { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; border-top: 1px solid var(--line); padding-top: 40px; }
.post-row:first-child { border-top: 0; padding-top: 0; }
.post-row:not(:has(.post-row-media)) { grid-template-columns: 1fr; }
.post-row-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.post-row-media img { width: 100%; height: 100%; object-fit: cover; }
.post-row time, .article-head time { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.post-row h2 { font-size: 1.7rem; margin: 6px 0 12px; }
.post-row h2 a { text-decoration: none; }
.post-row h2 a:hover { color: var(--accent); }
.post-row p { color: var(--muted); }
.more { font-weight: 700; font-size: 15px; text-decoration: none; }
.more:hover { color: var(--accent); }
@media (max-width: 720px) { .post-row { grid-template-columns: 1fr; gap: 20px; } }

.article { max-width: 860px; }
.article-head { margin-bottom: 32px; }
.article-head h1 { margin-top: 8px; }
.article-image { margin: 0 0 40px; }
.article-image img { width: 100%; }
.article-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.article-gallery figure { margin: 0; }

.not-found { padding: 80px var(--gutter) 40px; text-align: center; }
.not-found .lead { margin-left: auto; margin-right: auto; }

.lightbox[hidden] { display: none; }

/* ---------- Souhlas s cookies ---------- */

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(7, 32, 61, .12); padding: 18px 0; font-size: 15px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar .wrap { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.cookie-bar p { margin: 0; flex: 1 1 420px; }
.cookie-bar strong { margin-right: 6px; }
.cookie-bar-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 520px) { .cookie-bar-buttons .btn { flex: 1 1 auto; } }

.link-btn {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  cursor: pointer; text-decoration: none;
}
.site-footer .link-btn { color: #fff; }
.link-btn:hover { text-decoration: underline; }
