:root {
  --bg: #0c100e;
  --bg-elev: #141a16;
  --ink: #e8ece6;
  --ink-soft: #b7c0b5;
  --moss: #6d9b78;
  --moss-deep: #8fbd9a;
  --mist: #1a221c;
  --paper: #101611;
  --snow: #0c100e;
  --stone: #8a9488;
  --line: rgba(232, 236, 230, 0.12);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 12% -8%, rgba(61, 94, 70, 0.22) 0%, transparent 55%),
    radial-gradient(800px 480px at 100% 0%, rgba(40, 56, 44, 0.35) 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--mist); color: #fff;
  padding: 0.5rem 1rem; z-index: 100; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(12, 16, 14, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header--over {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-bottom: 0;
  color: #fff;
}
.site-header--over .brand,
.site-header--over .site-nav a { color: #fff; }
.site-header--over .site-nav a.is-active::after,
.site-header--over .site-nav a:hover::after { background: #fff; }
.site-header--over .nav-toggle-bar,
.site-header--over .nav-toggle-bar::before,
.site-header--over .nav-toggle-bar::after { background: #fff; }

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.brand span { font-weight: 500; opacity: 0.72; }
.brand:hover { color: inherit; opacity: 0.9; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.25rem 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--moss);
  transition: right 0.35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a.is-active::after { right: 0; }

.nav-toggle {
  display: none;
  width: 2.5rem; height: 2.5rem;
  border: 0; background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.35rem; height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) forwards;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 12, 0.35) 0%, rgba(10, 16, 12, 0.15) 35%, rgba(10, 16, 12, 0.72) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2.5rem, 8vh, 4.5rem);
  max-width: 42rem;
  animation: riseIn 1s var(--ease) both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.hero-brand span { opacity: 0.75; font-weight: 500; }
.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 300;
  max-width: 28rem;
  margin: 0 0 1.75rem;
  opacity: 0.92;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(1rem, 3vh, 1.5rem);
  animation: riseIn 1.1s var(--ease) 0.15s both;
}
.hero-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: #fff;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  opacity: 0.92;
}
.hero-thumb:hover img { transform: scale(1.06); opacity: 1; }
.hero-thumb-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.45rem 0.4rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #fff;
  color: #0c100e;
}
.btn-primary:hover { background: #e8ece6; color: #0c100e; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.is-inner .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}
.is-inner .btn-ghost:hover { border-color: var(--ink-soft); color: #fff; }
.btn-moss {
  background: var(--moss);
  color: #0c100e;
}
.btn-moss:hover { background: var(--moss-deep); color: #0c100e; }

@keyframes heroDrift {
  to { transform: scale(1); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.section-head {
  margin-bottom: 1.75rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--stone);
  max-width: 36rem;
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.trip {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--mist);
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.7s var(--ease) forwards;
}
.trip:nth-child(1) { animation-delay: 0.05s; }
.trip:nth-child(2) { animation-delay: 0.12s; }
.trip:nth-child(3) { animation-delay: 0.19s; }
.trip:nth-child(4) { animation-delay: 0.26s; }
.trip:nth-child(5) { animation-delay: 0.33s; }
.trip:nth-child(6) { animation-delay: 0.4s; }
.trip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.trip:hover img { transform: scale(1.05); }
.trip-badges {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
  max-width: calc(100% - 1.2rem);
  pointer-events: none;
}
.trip-year,
.trip-cat,
.trip-live {
  margin: 0;
  padding: 0.2rem 0.45rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  background: rgba(8, 12, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.trip-live {
  color: #0c100e;
  background: var(--moss);
  border-color: rgba(109, 155, 120, 0.9);
  letter-spacing: 0.02em;
}
.trip--live {
  outline: 1px solid rgba(109, 155, 120, 0.45);
}
.trip-cat {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-thumb .trip-badges {
  top: 0.35rem;
  right: 0.35rem;
  left: auto;
  bottom: auto;
  max-width: calc(100% - 0.6rem);
  padding: 0;
  background: none;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.hero-thumb .trip-year,
.hero-thumb .trip-cat {
  padding: 0.15rem 0.35rem;
  font-size: 0.62rem;
  background: rgba(8, 12, 10, 0.7);
}
.hero-thumb .trip-cat {
  max-width: 4.5rem;
}
.trip-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(8, 12, 10, 0.78));
}
.trip-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trip-meta span {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 300;
}

.section-cta {
  margin-top: 1.75rem;
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.home-split h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}
.event-list, .news-tease { list-style: none; margin: 0; padding: 0; }
.event-list li, .news-tease li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.event-list .when, .news-tease .date {
  display: block;
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}
.quote-block {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 28rem;
}
.quote-block footer {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
}

/* Inner pages */
.page-hero {
  padding: calc(var(--header-h) + 2rem) 0 1.5rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.page-year {
  font-family: var(--font-body);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--stone);
  vertical-align: middle;
}
.page-hero p {
  margin: 0;
  color: var(--stone);
  max-width: 36rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.gallery-filters a {
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--stone);
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.gallery-filters a:hover,
.gallery-filters a.is-active {
  color: #fff;
  border-color: var(--moss);
  background: rgba(109, 155, 120, 0.15);
}

.gallery-block { margin-bottom: 2.5rem; }
.gallery-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
}
.photo-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--mist);
  text-decoration: none;
  color: #fff;
  aspect-ratio: 1;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.photo-grid a:hover img { transform: scale(1.08); }
.photo-grid .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 0.65rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-height: 45%;
  overflow: hidden;
}
.photo-grid a:hover .cap {
  opacity: 1;
  transform: none;
}

/* Lightbox viewer — stejné černé pozadí jako zbytek webu */
body.is-lightbox {
  background: var(--bg);
  color: var(--ink);
}
body.is-lightbox .site-main {
  min-height: 100vh;
  min-height: 100dvh;
}
.viewer {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 0.75rem clamp(0.75rem, 3vw, 1.5rem) 1rem;
  gap: 0.75rem;
}
.viewer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}
.viewer-back,
.viewer-close {
  color: rgba(242, 244, 240, 0.85);
  text-decoration: none;
}
.viewer-back:hover,
.viewer-close:hover { color: #fff; }
.viewer-close {
  font-size: 1.75rem;
  line-height: 1;
  padding: 0 0.25rem;
}
.viewer-count {
  color: rgba(242, 244, 240, 0.55);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}
.viewer-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 0;
}
.viewer-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
}
.viewer-figure img {
  max-width: min(100%, 1100px);
  max-height: min(68vh, calc(100dvh - 12rem));
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  animation: riseIn 0.45s var(--ease);
}
.viewer-figure figcaption {
  margin-top: 0.85rem;
  max-width: 42rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(242, 244, 240, 0.8);
  line-height: 1.4;
}
.viewer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.viewer-nav span {
  font-size: 1.75rem;
  line-height: 1;
  margin-top: -0.15rem;
}
.viewer-nav:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.45); }
.viewer-nav.is-disabled {
  opacity: 0.25;
  pointer-events: none;
}
.viewer-strip {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.35rem 0;
  scrollbar-width: thin;
}
.viewer-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 54px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewer-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.viewer-thumb.is-active {
  opacity: 1;
  border-color: #fff;
}
.viewer-hint {
  text-align: center;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(242, 244, 240, 0.4);
}

/* O nás */
.onas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}
.onas-card { cursor: pointer; }
.onas-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--mist);
}
.onas-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.5rem 0 0.25rem;
}
.onas-card a { text-decoration: none; color: inherit; }
.onas-detail {
  display: none;
  grid-column: 1 / -1;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--line);
  animation: riseIn 0.4s var(--ease);
}
.onas-detail.open { display: block; }
.onas-detail table { width: 100%; max-width: 40rem; border-collapse: collapse; }
.onas-detail th {
  text-align: left;
  font-weight: 500;
  color: var(--stone);
  width: 11rem;
  vertical-align: top;
  padding: 0.35rem 1rem 0.35rem 0;
}
.onas-detail td { vertical-align: top; padding: 0.35rem 0; }

/* Vzkazník */
.threads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}
.threads a {
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.threads a:hover {
  color: #fff;
  border-color: rgba(232, 236, 230, 0.28);
}
.threads a.is-active {
  color: #0c100e;
  background: var(--moss);
  border-color: var(--moss);
}

.vzkaz-form {
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
  margin-bottom: 2.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.vzkaz-form h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.vzkaz-form .form-row {
  display: grid;
  gap: 0.35rem;
}
.vzkaz-form label { font-size: 0.8rem; font-weight: 500; color: var(--stone); letter-spacing: 0.02em; }
.vzkaz-form input,
.vzkaz-form textarea,
.admin-box input,
.admin-box textarea,
.admin-box select {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  border-radius: 0;
}
.vzkaz-form input:focus,
.vzkaz-form textarea:focus,
.admin-box input:focus,
.admin-box textarea:focus,
.admin-box select:focus {
  outline: 1px solid var(--moss);
  border-color: var(--moss);
}
.vzkaz-form textarea { min-height: 7.5rem; resize: vertical; }
.vzkaz-form .form-actions { margin-top: 0.35rem; }

.smajl-toolbar { margin-top: 0.45rem; }
.smajl-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.smajl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  border-radius: 0;
}
.smajl-btn:hover,
.smajl-btn:focus-visible {
  border-color: var(--moss);
  outline: 1px solid var(--moss);
}
.smajl-btn img {
  max-width: 1.25rem;
  max-height: 1.25rem;
  width: auto;
  height: auto;
}
.smajl-more-toggle {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--moss-deep);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  margin-left: 0.15rem;
}
.smajl-more-toggle:hover,
.smajl-more-toggle[aria-expanded="true"] {
  border-color: var(--moss);
  color: var(--ink);
}
.smajl-panel {
  margin-top: 0.55rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: var(--bg);
  max-height: 11rem;
  overflow-y: auto;
}
.smajl-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.vzkaz-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 44rem;
}
.vzkaz {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem 1.15rem;
  padding: 1.1rem 1.15rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.vzkaz-avatar {
  width: 72px;
  height: 72px;
  background: var(--mist);
  overflow: hidden;
}
.vzkaz-avatar img,
.vzkaz .avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.vzkaz-avatar.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--moss);
  background: rgba(109, 155, 120, 0.12);
}
.vzkaz-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.45rem;
}
.vzkaz-meta strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.vzkaz-meta a {
  text-decoration: none;
  color: var(--moss-deep);
}
.vzkaz-body {
  color: var(--ink-soft);
  line-height: 1.55;
  word-wrap: break-word;
}
.vzkaz-body a { color: var(--moss-deep); }
.vzkaz-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 44rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--stone);
}
.vzkaz-pager a { text-decoration: none; }

.admin-box {
  max-width: 28rem;
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.flash {
  padding: 0.65rem 0.9rem;
  background: rgba(109, 155, 120, 0.2);
  border: 1px solid rgba(109, 155, 120, 0.35);
  margin-bottom: 1rem;
  max-width: 28rem;
  color: var(--ink);
}
.flash.error {
  background: rgba(180, 80, 80, 0.2);
  border-color: rgba(180, 80, 80, 0.4);
}

/* Videa */
.video-cat { margin-bottom: 2.5rem; }
.video-cat h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.video-item { margin-bottom: 1.75rem; max-width: 640px; }
.video-item h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #000;
}
.video-item .meta { font-size: 0.8rem; color: var(--stone); margin-top: 0.4rem; }

/* Ostatní */
.ostatni-list { max-width: 36rem; }
.ostatni-list a.big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  margin-top: 1.5rem;
}
.ostatni-list .desc { margin: 0.25rem 0 0; color: var(--stone); }

.news-list { max-width: 40rem; }
.news-list--home { max-width: 44rem; }
.news-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.news-item .date { font-size: 0.8rem; color: var(--stone); margin-bottom: 0.2rem; }
.news-item strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}
.news-body {
  color: var(--ink-soft);
  line-height: 1.55;
}
.news-body a { color: var(--moss-deep); }
.news-item .author { display: block; text-align: right; font-size: 0.75rem; color: var(--stone); margin-top: 0.45rem; }

.admin-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}
.footer-inner { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.footer-meta { margin: 0 0 1rem; color: var(--stone); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; }
.footer-links a { text-decoration: none; font-size: 0.9rem; color: var(--ink-soft); }

.smajl { display: inline; height: 1em; width: auto; vertical-align: middle; }

@media (max-width: 900px) {
  .trip-grid { grid-template-columns: repeat(2, 1fr); }
  .home-split { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(12, 16, 14, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    display: none;
  }
  .site-header--over .site-nav {
    background: rgba(12, 18, 14, 0.94);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.75rem; }
  .trip-grid { grid-template-columns: 1fr; }
  .trip { aspect-ratio: 16 / 10; }
  .vzkaz { grid-template-columns: 56px 1fr; padding: 0.9rem; }
  .vzkaz-avatar,
  .vzkaz-avatar img,
  .vzkaz .avatar { width: 56px; height: 56px; }
  .hero-strip { grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
  .hero-thumb-label { font-size: 0.62rem; }
  .viewer-stage { grid-template-columns: 1fr; }
  .viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .viewer-nav--prev { left: 0.25rem; }
  .viewer-nav--next { right: 0.25rem; }
  .viewer-figure img { max-height: min(58vh, calc(100dvh - 14rem)); }
  .viewer-hint { display: none; }
}

/* Admin fotogalerie */
.admin-box--wide { max-width: 56rem; }
.admin-hint { margin: 0 0 0.75rem; color: var(--ink-soft); font-size: 0.92rem; }
.admin-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.admin-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.85rem;
  margin: 0.75rem 0 1.25rem;
}
.admin-photo-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
  background: var(--mist);
  border: 1px solid var(--line);
}
.admin-photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #000;
}
.admin-photo-name { font-size: 0.75rem; color: var(--stone); }
.admin-photo-card textarea { font-size: 0.85rem; min-height: 3.2rem; }
.admin-gal-list {
  display: grid;
  gap: 0.45rem;
  max-width: 44rem;
}
.admin-gal-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.admin-gal-item:hover { border-color: rgba(232, 236, 230, 0.28); color: #fff; }
.admin-gal-item span { font-size: 0.85rem; color: var(--ink-soft); }
.admin-gal-item code { font-size: 0.75rem; color: var(--stone); }
@media (max-width: 640px) {
  .admin-row-2 { grid-template-columns: 1fr; }
}

.gal-progress { margin: 0.75rem 0; }
.gal-progress-bar {
  height: 0.55rem;
  background: var(--mist);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gal-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--moss);
  transition: width 0.15s var(--ease);
}
