/* =====================================================================
   Roman Bár – fotografie · styly webu (světlá varianta vzoru romanbar.cz)
   ---------------------------------------------------------------------
   NASTAVENÍ: barvy, písma a velikosti. Stačí přepsat hodnotu
   a změna se projeví na celém webu.
   ===================================================================== */
:root {
  /* --- Barvy --- */
  --bg: #F7F6F3;           /* pozadí webu */
  --surface: #EDEBE6;      /* karty, pruhy */
  --line: #DDD9D2;         /* tenké čáry a rámečky */
  --text: #1A1A1A;         /* hlavní text */
  --muted: #55595A;        /* doplňkový šedý text */
  --accent: #E3B058;       /* šafránová – tlačítka, zvýraznění */
  --accent-text: #8A4F0E;  /* šafránová pro text na světlém pozadí (čitelnější) */
  --on-accent: #1A1A1A;    /* text na šafránovém tlačítku */
  --dark: #1A1A1A;         /* tmavý pás (workshopy) */
  --dark-text: #F1EFEA;
  --dark-muted: #BEBCB6;
  --footer: #F1EFEA;
  --header-bg: rgba(247,246,243,.92);
  --field: #fff;           /* pozadí polí formuláře */
  --accent-hover: #F0C477;
  --alt-accent: #E3B058;   /* zvýraznění v kontrastním pásu */
  --alt-line: rgba(255,255,255,.18);
  --alt-surface: rgba(255,255,255,.07);

  /* --- Písma --- */
  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;   /* nadpisy, menu */
  --f-body: "Open Sans", "Segoe UI", system-ui, sans-serif;     /* text */

  /* --- Velikosti písma --- */
  --fs-body: 17px;
  --fs-lead: clamp(17px, 1.3vw, 19px);
  --fs-h1: clamp(28px, 3.2vw, 42px);
  --fs-h2: clamp(22px, 2.2vw, 30px);
  --fs-nav: 14px;
  --fs-label: 12px;
  --fw-heading: 700;

  /* --- Rozměry --- */
  --header-h: 84px;
  --hero-h: clamp(560px, 64vw, 900px);
  --page-max: 1320px;
  --section-gap: clamp(56px, 7vw, 104px);
  --radius: 4px;
  --gap-photo: 8px;        /* mezera mezi fotkami v galerii */

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

/* ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--fw-heading); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: var(--section-gap); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--f-display); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }
.h1 { font-size: var(--fs-h1); line-height: 1.04; }
.h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 48px; }
.section-head > div { max-width: 700px; display: flex; flex-direction: column; gap: 14px; }
.link-more { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--accent-text); }
.link-more::after { content: " →"; }
.link-more:hover { color: var(--text); }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--dark { background: var(--dark); border-color: var(--dark); color: var(--dark-text); }
.btn--dark:hover { background: #000; border-color: #000; color: var(--dark-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Záhlaví */
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; color: var(--text); background: var(--header-bg); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, border-color .3s, color .3s; }
.site-header[data-overlay] { color: #fff; background: linear-gradient(180deg, rgba(10,10,10,.5), rgba(10,10,10,0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header[data-overlay].is-solid { color: var(--text); background: var(--header-bg); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: var(--header-h); max-width: none; padding-left: max(16px, env(safe-area-inset-left, 0px), 3vw); padding-right: max(16px, env(safe-area-inset-right, 0px), 3vw); }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.logo strong { font-family: var(--f-display); font-weight: 700; font-size: 23px; letter-spacing: 0.01em; }
.logo small { font-family: var(--f-display); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); margin-top: 3px; }
.site-header[data-overlay]:not(.is-solid) .logo small { color: var(--accent); }
.logo:hover { color: inherit; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 30px; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-nav); letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { text-decoration: none; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--accent-text); border-bottom-color: var(--accent); }
.nav .nav__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; margin-left: 6px; border: 1px solid currentColor; border-radius: var(--radius); }
.site-header[data-overlay]:not(.is-solid) .nav .nav__cta { border-color: var(--accent); color: var(--accent); }
.nav .nav__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 1100px) {
  .site-header .wrap { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
  .nav-toggle { display: inline-flex; grid-column: 1; grid-row: 1; margin-left: -8px; }
  .logo { grid-column: 2; grid-row: 1; align-items: center; text-align: center; }
  .nav {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; bottom: 0;
    width: max(50vw, 260px); max-width: 100vw; overflow-y: auto;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    background: var(--bg); border-right: 1px solid var(--line);
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    font-size: 15px; color: var(--text);
    transform: translateX(-102%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding-block: 15px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .nav__cta, .site-header[data-overlay]:not(.is-solid) .nav .nav__cta { margin: 20px 0 0; justify-content: center; min-height: 52px; border-color: var(--text); color: var(--text); }
  .site-header:has(.nav.is-open) { background: var(--bg); color: var(--text); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }
  body.nav-open { overflow: hidden; }
}
body:not(.has-hero) main { padding-top: var(--header-h); }

/* Úvodní slideshow */
.hero { position: relative; min-height: var(--hero-h); color: #fff; background: #111; overflow: hidden; display: flex; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.05) 30%, rgba(10,10,10,.2) 55%, rgba(10,10,10,.72) 100%); }
.hero__inner { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(32px, 5vw, 72px); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__text { max-width: 880px; display: flex; flex-direction: column; gap: 20px; }
.hero__text .eyebrow { color: #fff; }
.hero__text p.lead { max-width: 600px; }
.hero__link { align-self: flex-start; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; padding-block: 10px; }
.hero__link:hover { color: #fff; }
.hero__controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hero__caption { font-size: 14px; opacity: .9; min-height: 1.6em; }
.hero__dots { display: flex; align-items: center; }
.hero__btn, .hero__dot { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.hero__dot { width: 30px; }
.hero__dot span { display: block; width: 10px; height: 4px; border-radius: 2px; background: #fff; opacity: .55; transition: width .3s, opacity .3s; }
.hero__dot[aria-current="true"] span { width: 24px; opacity: 1; background: var(--accent); }

/* Pruh s nejbližším workshopem */
.strip { display: block; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.strip:hover { color: var(--on-accent); background: var(--accent-hover); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 22px; min-height: 58px; padding-block: 12px; font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.strip .eyebrow { color: var(--on-accent); }

/* Hlavička podstránky */
.page-title { padding-block: clamp(28px, 3.5vw, 48px) clamp(20px, 2.4vw, 32px); }
.page-title .wrap { display: flex; flex-direction: column; gap: 18px; }
.title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.title-row .h1 { font-size: clamp(28px, 3vw, 40px); }
.title-row p { max-width: 640px; }

/* Kategorie – fotodlaždice */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-photo); padding-inline: var(--gap-photo); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; text-decoration: none; background: #111; border-radius: var(--radius); isolation: isolate; }
.cat:hover { color: #fff; }
.cat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.72) 100%); }
.cat:hover > img { transform: scale(1.04); }
.cat__body { width: 100%; padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 6px; }
.cat__body strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; }
.cat__body small { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cat__body em { font-style: normal; font-size: 13px; opacity: .85; margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.25); }
.cat::after { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.8) 100%); }

/* Štítky kategorií */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 15px; text-decoration: none; }
.chip:hover { border-color: var(--muted); color: var(--text); }
.chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }

/* Galerie – široké řady fotek */
.gallery { display: flex; flex-direction: column; gap: var(--gap-photo); padding-inline: var(--gap-photo); }
.g-row { display: grid; gap: var(--gap-photo); }
.g-row a { display: block; background: var(--surface); cursor: zoom-in; overflow: hidden; }
.g-row img { width: 100%; height: 100%; object-fit: cover; }
.g-1 a img { height: auto; max-height: 92vh; object-fit: cover; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-pl { grid-template-columns: 1fr 2fr; }
.g-lp { grid-template-columns: 2fr 1fr; }
.g-2l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-2 a, .g-3 a { aspect-ratio: 2 / 3; }
.g-2l a { aspect-ratio: 3 / 2; }
.g-solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.g-solo a { width: min(100%, 720px); aspect-ratio: 2 / 3; }
.g-pl a, .g-lp a { aspect-ratio: auto; }
@media (max-width: 700px) {
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 a:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 4 / 5; }
  .g-pl, .g-lp, .g-2l { grid-template-columns: 1fr; }
}
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.pager a { text-decoration: none; }
.pager__prev { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager__next { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h2); }

/* Panorama */
.panorama { margin: 0; }
.panorama img { width: 100%; height: clamp(300px, 46vw, 720px); object-fit: cover; }
.panorama figcaption { padding: 12px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px), 3vw); font-size: 14px; color: var(--muted); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.97); display: flex; align-items: center; justify-content: center; padding: max(56px, env(safe-area-inset-top, 0px)) max(56px, env(safe-area-inset-right, 0px)) max(56px, env(safe-area-inset-bottom, 0px)) max(56px, env(safe-area-inset-left, 0px)); }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb button { position: absolute; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb button:hover { background: rgba(255,255,255,.2); }
.lb__close { top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.lb__prev { left: calc(8px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb__next { right: calc(8px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb__cap { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font-size: 14px; color: #ccc; }

/* O mně */
.about { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.about > img { flex: 1 1 300px; max-width: 480px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.about--tall > img { max-width: 520px; aspect-ratio: 4 / 5; }
.about > div { flex: 999 1 440px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.facts-tiles { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.facts-tiles li { padding: 18px 20px; background: var(--surface); border-radius: var(--radius); }
.facts-tiles strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.facts-tiles span { color: var(--muted); font-size: 15px; }
.trio { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: var(--gap-photo); padding-inline: var(--gap-photo); }
.trio img { width: 100%; height: clamp(280px, 38vw, 560px); object-fit: cover; }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr 1fr; } .trio img:nth-child(2) { grid-column: span 2; order: -1; } }

/* Tmavý pás */
.band-alt { background: var(--dark); color: var(--dark-text); --text: var(--dark-text); --muted: var(--dark-muted); --accent-text: var(--alt-accent); --line: var(--alt-line); --surface: var(--alt-surface); }
.band-alt .muted { color: var(--dark-muted); }
.band-alt .eyebrow { color: var(--alt-accent); }
.band-alt a:hover { color: var(--alt-accent); }
.section--alt { background: var(--surface); }
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.split > :first-child { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > :last-child { flex: 999 1 500px; min-width: 0; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; font-size: 16px; }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Workshopy – karty */
.tours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.tour { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 40vw, 560px); overflow: hidden; color: #fff; text-decoration: none; border-radius: var(--radius); background: #111; isolation: isolate; }
.tour:hover { color: #fff; }
.tour > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.tour::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.88) 100%); }
.tour:hover > img { transform: scale(1.05); }
.tour__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-radius: var(--radius); }
.tour__body { width: 100%; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.tour__date { font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tour__name { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.05; }
.tour__facts { font-size: 15px; color: rgba(255,255,255,.85); }
.tour__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25); }
.tour__price { font-variant-numeric: tabular-nums; font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.tour__more { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* Výzva */
.cta { background: var(--surface); }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 56px; }
.cta strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.cta p { color: var(--muted); margin-top: 6px; }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: var(--gap-photo); padding: var(--gap-photo); }
.contact__text { flex: 1 1 520px; min-width: 0; padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 64px); display: flex; flex-direction: column; gap: 28px; }
.contact > img { flex: 1 1 420px; min-width: 0; max-height: 1100px; object-fit: cover; border-radius: var(--radius); }
.big-link { font-family: var(--f-display); font-size: clamp(20px, 2vw, 24px); font-weight: 600; text-decoration: none; }
form { display: grid; gap: 16px; max-width: 620px; }
label { display: grid; gap: 6px; font-size: 15px; }
input, textarea, select { width: 100%; min-height: 50px; padding: 10px 14px; background: var(--field); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font: inherit; font-size: 16px; }
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-note { font-size: 15px; color: var(--accent-text); min-height: 1.5em; }
.form-note.is-error { color: #B3261E; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }

/* Textová stránka */
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 20px; }

/* Patička */
.site-footer { border-top: 1px solid var(--line); background: var(--footer); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-block: 44px; font-size: 15px; color: var(--muted); }
.site-footer .logo { color: var(--text); font-family: var(--f-display); font-size: 20px; }
.site-footer nav, .site-footer .socials { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .tour > img, .cat > img { transition: none; }
}

/* Ceník */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 16px; }
.price { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.price > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.price__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; }
.price__name { font-size: 22px; }
.price__facts { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); display: grid; gap: 2px; }
.price__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.price__sum { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.price .btn { min-height: 44px; padding: 0 20px; }
.prows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr max-content; gap: 8px 32px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.prow strong { font-family: var(--f-display); font-size: 20px; }
.prow em { font-style: normal; font-family: var(--f-display); font-weight: 600; color: var(--accent-text); }
.prow:hover { background: var(--surface); }
@media (max-width: 700px) { .prow { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid var(--accent-text); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--accent-text); }
.steps strong { font-family: var(--f-display); font-size: 18px; }
.steps span { color: var(--muted); font-size: 15px; }
.tours--soon { margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.tours--soon .tour { min-height: 300px; }

/* ===== Verze 6 ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main section p:not(.eyebrow):not(.tour__date):not(.tour__facts):not(.form-note):not(.hero__caption) { text-align: justify; hyphens: auto; }
.has-hero main .wrap { max-width: 1100px; }
.section-head--tight { margin-bottom: 24px; }
.has-hero main .section { padding-block: clamp(36px, 4.5vw, 64px); }

/* mozaika s tlačítkem uprostřed */
.mosaic { position: relative; }
.mosaic__grid { display: grid; gap: 3px; }
.mosaic--5 .mosaic__grid { grid-template-columns: repeat(5, 1fr); }
.mosaic--8 .mosaic__grid { grid-template-columns: repeat(4, 1fr); }
.mt { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #111; color: #F1EFEA; }
.mt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mt:hover img { transform: scale(1.04); }
.mt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.72)); }
.mt__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; padding: 12px 14px; line-height: 1.25; }
.mt__cap strong { font-family: var(--f-display); font-size: 16px; }
.mt__cap small { font-size: 12px; opacity: .85; }
.mosaic__btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-height: 56px; padding-inline: 40px; box-shadow: 0 6px 28px rgba(0,0,0,.55); z-index: 2; }
.mosaic__btn:hover { transform: translate(-50%, -50%); }
@media (max-width: 700px) {
  .mosaic--5 .mosaic__grid, .mosaic--8 .mosaic__grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic--5 .mt:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ceník: menší panely, celé fotky, oranžové tlačítko */
.prices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.price > img { height: 260px; aspect-ratio: auto; object-fit: contain; background: #0F0F0F; }
.price__body { padding: 18px 18px 20px; gap: 10px; }
.price__name { font-size: 19px; }
.price .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); min-height: 44px; padding: 0 20px; }
.price .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.price__facts { font-size: 14px; }
.title-row .title-full { flex-basis: 100%; max-width: none; }

/* workshopy: panely malé skupiny */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 32px; }
.values > div { padding-top: 16px; border-top: 2px solid var(--alt-accent); }
.values h3 { font-size: 19px; margin-bottom: 8px; }
.values p { font-size: 15px; color: var(--muted); }
.tour__badge { text-transform: uppercase; letter-spacing: .08em; }
.price p, .values p { text-align: left !important; hyphens: manual !important; }

/* ===== Verze 8 ===== */
/* úvodní slideshow: jen text a 2 tlačítka dole */
.hero__inner { gap: 28px; justify-content: flex-end; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { min-width: 190px; }
@media (max-width: 700px) {
  .hero__inner { padding-bottom: 18px; gap: 20px; }
  .hero__actions { flex-wrap: nowrap; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; }
}

/* galerie: zarovnané řady jako romanbar.cz */
.gtitle { padding: calc(var(--header-h) + clamp(20px, 3vw, 40px)) max(var(--gap-photo), 4.4vw) clamp(16px, 2vw, 26px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 26px; }
.gtitle .h1 { font-size: clamp(30px, 3.4vw, 46px); }
.gtitle__back { font-size: 17px; color: var(--accent-text); text-decoration: none; }
.gtitle__back:hover { text-decoration: underline; }
.gtitle__tags { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--accent-text); }
.jg { --h: clamp(210px, 21vw, 380px); display: flex; flex-wrap: wrap; gap: 8px; padding-inline: max(var(--gap-photo), 4.4vw); }
.jg > a { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--h)); aspect-ratio: var(--ar); display: block; overflow: hidden; background: var(--surface); cursor: zoom-in; min-width: 0; }
.jg > a img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.jg > a:hover img { transform: scale(1.03); }
.jg::after { content: ""; flex-grow: 1000000; }
@media (max-width: 700px) { .jg { --h: 150px; gap: 6px; padding-inline: 8px; } .gtitle { padding-inline: 8px; } }

/* patička: jeden řádek */
.site-footer .wrap { align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 20px; font-size: 14px; }
.foot-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 0; text-align: left !important; }
.site-footer .socials { gap: 6px 14px; }
.site-footer .socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--muted); }
.site-footer .socials a:hover { color: var(--accent-text); }
.site-footer a:hover { color: var(--accent-text); }

/* ceník: fotky na výšku v panelu */
.price > img { height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: #0F0F0F; }

/* formulář Napište mi: menší písmo a pole */
.contact__text { gap: 20px; padding-block: clamp(24px, 3.5vw, 48px); }
.contact .h1 { font-size: clamp(24px, 2.4vw, 32px); }
.contact .big-link { font-size: clamp(17px, 1.6vw, 20px); }
.contact form { gap: 12px; max-width: 520px; }
.contact label { font-size: 14px; gap: 4px; }
.contact input, .contact textarea, .contact select { min-height: 42px; padding: 8px 12px; font-size: 15px; }
.contact textarea { min-height: 110px; }
.contact .fine { font-size: 13px; }
.contact .btn { min-height: 46px; }

/* blog */
.blog-intro { display: block; }
.blog-intro .h1 { margin-bottom: 14px; }
.blog-intro p { max-width: 900px; font-size: 18px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.post__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.post__pic img { width: 100%; height: 100%; object-fit: cover; }
.post__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%); }
.post__badge { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }
.post__head { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 18px; }
.post__cat { font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.post__title { font-size: 21px; line-height: 1.2; color: #F1EFEA !important; }
.post__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 16px 18px 18px; font-size: 15.5px; color: var(--muted); }
.post__body p { margin: 0; }
.post__more { margin-top: auto !important; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); text-align: left !important; }

/* ===== Verze 9 ===== */
/* logo: písmo Pinyon Script jako na romanbar.cz */
.logo strong, .site-footer .logo { font-family: "Pinyon Script", "Snell Roundhand", cursive; font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: 0; }
.logo small { font-size: 9.5px; font-weight: 500; letter-spacing: .26em; margin-top: 2px; }

/* mobilní menu: backdrop-filter na hlavičce rozbíjel fixní panel menu */
@media (max-width: 1100px) {
  .site-header, .site-header[data-overlay].is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { background: var(--header-bg); }
  .site-header[data-overlay]:not(.is-solid) { background: linear-gradient(180deg, rgba(10,10,10,.5), rgba(10,10,10,0)); }
  .nav { z-index: 60; }
}

/* galerie na mobilu: dvě fotky vedle sebe */
@media (max-width: 700px) {
  .jg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 6px; padding-inline: 6px; }
  .jg::after { display: none; }
  .jg > a { flex: none; aspect-ratio: 2 / 3; }
  .jg > a.l { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

/* článek blogu */
.article__head { display: flex; flex-direction: column; gap: 14px; padding-top: calc(var(--header-h) + clamp(24px, 3vw, 44px)); max-width: 900px; margin-inline: auto; }
.article__head .h1 { font-size: clamp(30px, 3.6vw, 46px); }
.article__lead { font-size: 19px; text-align: justify; hyphens: auto; color: var(--muted); }
.article__hero { max-width: 560px; margin: 28px auto 0; padding-inline: 16px; }
.article__hero a, .fig-pair a { display: block; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.article__hero img, .fig-pair img { width: 100%; height: auto; display: block; }
.article__body { max-width: 760px; margin-inline: auto; padding-block: clamp(24px, 3vw, 44px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 18px; }
.article__body h2 { font-size: clamp(22px, 2vw, 28px); margin-top: 18px; }
.article__body p { font-size: 17px; line-height: 1.75; text-align: justify; hyphens: auto; }
.fig-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.fig-pair a { aspect-ratio: 2 / 3; }
.fig-pair img { height: 100%; object-fit: cover; }
.article__body .btn-row { margin-top: 24px; }

/* ===== Verze 10 – článek blogu podle romanbar.cz (blog-pantanal) ===== */
.section--tight { padding-top: clamp(20px, 2.5vw, 32px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.article { min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.68; }
.article > p { margin: 0; color: #DCDAD4; }
.article__back { font-size: 14px; }
.article__back a { color: var(--accent); text-decoration: none; }
.article__lead { font-size: var(--fs-lead) !important; line-height: 1.6; color: var(--text) !important; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article > h2 { font-size: clamp(22px, 2vw, 26px); margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--accent); }
.article > p + p { margin-top: -4px; }
.article figure { margin: 0; }
.article figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.article figure a { display: block; cursor: zoom-in; }
.article figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: left !important; hyphens: manual !important; }
.a-fig--portrait { width: min(100%, 440px); align-self: center; margin-block: 8px; }
.a-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 8px; }
.a-pair--p img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 560px) { .a-pair { grid-template-columns: 1fr; } }
.article-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
@media (max-width: 1000px) { .article-side { position: static; } }
.q-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.author-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
.author-card strong { display: block; font-family: var(--f-display); font-size: 20px; margin: 6px 0; }
.author-card p.muted { margin: 0; font-size: 15px; }
.author-card .btn { padding-inline: 16px; }
.btn--line { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--line:hover { background: transparent; border-color: var(--text); color: var(--text); }
.side-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.side-posts a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; color: var(--text); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.side-posts a:hover { color: var(--accent); }
.side-posts img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--radius); }
.side-posts small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.link-more { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--accent); }
.link-more::after { content: " →"; }
.link-more:hover { color: var(--text); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 28px; }
.section-head > div { max-width: 700px; display: flex; flex-direction: column; gap: 14px; }
.theme-b main > section.section--alt .q-card, .theme-b main > section.section--alt .post { background: #1E1E1E; }

/* ===== Verze 11 – úvodní fotka článku a pás s fakty (jako romanbar.cz) ===== */
.page-hero { position: relative; min-height: clamp(380px, 40vw, 560px); color: #fff; display: flex; overflow: hidden; background: #111; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero__inner { gap: 12px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; max-width: 900px; color: #E7E4DD; }
.page-hero .eyebrow { color: var(--accent); }
.facts { background: var(--surface); }
.facts .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 24px; }
.facts dl { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.facts dt { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 17px; text-align: left; }
.a-fig--wide { margin-block: 8px; }
.a-pair:not(.a-pair--p) img { aspect-ratio: 4 / 3; object-fit: cover; }
.article .a-fig--wide figure img { height: auto; }
.theme-b .facts { background: #1E1E1E; }

/* ===== Verze 12 – blog a záhlaví přesně podle romanbar.cz ===== */
/* záhlaví: průhledné, bez linky pod menu; po posunutí tmavé průsvitné */
.site-header, .site-header[data-overlay] { background: transparent; border-bottom: 1px solid transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header[data-overlay]:not(.is-solid) { background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,0)); }
.site-header.is-solid, .site-header[data-overlay].is-solid { background: rgba(0,0,0,.7); border-bottom-color: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-width: 1100px) {
  .site-header, .site-header.is-solid, .site-header[data-overlay].is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header:has(.nav.is-open), .site-header[data-overlay]:has(.nav.is-open) { background: var(--bg); }
}
/* hlavička stránky a sekce výš */
.page-title--compact { padding-block: clamp(20px, 2.4vw, 32px) clamp(16px, 1.8vw, 24px); }
.page-title--compact .wrap { gap: 12px; }
.page-title--compact p { max-width: 900px; }
.page-title--compact p a { text-decoration: underline; }
.section--tight { padding-top: clamp(20px, 2.5vw, 32px); padding-bottom: clamp(32px, 4vw, 56px); }
.article__head { padding-top: 0; }
/* dlaždice článků – stejné jako na romanbar.cz */
.q-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.q-tile { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; font-size: 15px; font-family: var(--f-body); font-weight: 400; text-decoration: none; color: var(--text); }
.q-tile:hover { border-color: #555; transform: translateY(-2px); color: var(--text); }
.q-tile__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.q-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.q-tile:hover .q-tile__media img { transform: scale(1.04); }
.q-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%); }
.q-tile__over { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.q-tile__tags { font-family: var(--f-display); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.q-tile__name { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.2; color: #EDEAE4; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.q-tile__body { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 14px; flex: 1; }
.q-tile__text { color: var(--muted); line-height: 1.55; font-size: 14px; text-align: justify; hyphens: auto; }
.q-tile__meta { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.post-tile__more { font-family: var(--f-display); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.post-tile__badge { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }

.site-header { background-repeat: no-repeat; background-origin: border-box; }
.site-header:not(.is-solid), .site-header[data-overlay]:not(.is-solid) { border-bottom: 0 !important; }

/* Verze 13: blog na úvodní stránce – 3 náhledy na PC, 1 na mobilu */
.q-tiles--home { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .q-tiles--home { grid-template-columns: repeat(2, 1fr); } .q-tiles--home .q-tile:nth-child(3) { display: none; } }
@media (max-width: 600px) { .q-tiles--home { grid-template-columns: 1fr; } .q-tiles--home .q-tile:nth-child(n+2) { display: none; } }

/* Verze 15: karty workshopů bez prokliku */
.tour--soon { cursor: default; }
.tour--soon:hover > img { transform: none; }

/* Verze 16 */
/* galerie: méně místa nad a pod mřížkou */

/* o mně: kontakt bez fotky */
.contact--solo { justify-content: center; }
.contact--solo .contact__text { flex: 0 1 640px; }
/* věková brána (akt) */
.agegate { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(12,12,12,.97); }
.agegate__box { max-width: 460px; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.agegate__box h2 { font-family: var(--f-display); font-size: clamp(24px, 3vw, 32px); }
.agegate__box p { color: var(--muted); }
.agegate__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
body.agegate-open { overflow: hidden; }

/* Verze 17 */
.page-gallery .gtitle { padding-top: 10px; padding-bottom: 8px; }
.page-gallery .jg + .section { padding-block: 14px; }
.page-gallery .cta .wrap { padding-block: 22px; }
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-split form { max-width: 560px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.contact-split .socials a { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; }
.contact-split .socials a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

/* Verze 18: mobilní galerie – osamocená fotka přes celou šířku */
@media (max-width: 700px) { .jg > a.pfull { grid-column: 1 / -1; aspect-ratio: var(--ar); } }

/* Verze 20: lightbox na mobilu přes celou obrazovku */
@media (max-width: 700px) {
  .lb { padding: 0; }
  .lb img { width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100dvh; object-fit: contain; touch-action: pan-y; }
  .lb button { width: 40px; height: 40px; background: rgba(0,0,0,.45); }
  .lb__prev { left: 6px; } .lb__next { right: 6px; }
  .lb__cap { bottom: 0; padding: 28px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0)); font-size: 13px; pointer-events: none; }
}

/* Verze 21: úvodní panel Workshopy = mozaika ze tří karet */
.mosaic--3 .mosaic__grid { grid-template-columns: repeat(3, 1fr); }
.mosaic--3 .mt { aspect-ratio: 4 / 5; }
@media (max-width: 700px) {
  .mosaic--3 .mosaic__grid { grid-template-columns: 1fr; }
  .mosaic--3 .mt { aspect-ratio: 16 / 10; }
}

/* v22: záhlaví článku – větší pole, fotka skoro celá; bez dělení slov v krátkých textech */
main section p:not(.eyebrow):not(.tour__date):not(.tour__facts):not(.form-note):not(.hero__caption){hyphens:manual}
.q-tile__text{hyphens:manual}
.page-hero--article{min-height:clamp(600px,56vw,780px)}
.page-hero--article>img{left:auto;right:0;width:54%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%)}
.page-hero--article .hero__shade{background:linear-gradient(0deg,rgba(0,0,0,.55),transparent 45%)}
.page-hero--article .hero__inner{max-width:var(--wrap,1200px)}
.page-hero--article h1{max-width:46%}
@media (max-width:800px){
 .page-hero--article{min-height:min(150vw,720px)}
 .page-hero--article>img{width:100%;left:0;-webkit-mask-image:none;mask-image:none}
 .page-hero--article .hero__shade{background:linear-gradient(0deg,rgba(0,0,0,.85),rgba(0,0,0,.25) 45%,transparent 70%)}
 .page-hero--article h1{max-width:100%}
}

/* v23: mozaika = jedna klikací fotka, odkaz „Všechny …“ pod ní; na mobilu jen jeden workshop */
.mosaic__link{display:block;color:inherit;text-decoration:none}
.mosaic__grid{gap:2px}
.mt--nocap::after{display:none}
.mosaic__more{margin:14px 0 0;text-align:right}
.mosaic__more a{font-family:var(--f-display);font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);text-decoration:none;padding-block:10px;display:inline-block}
.mosaic__more a:hover{text-decoration:underline}
@media (max-width:700px){
 .mosaic--8 .mt{aspect-ratio:1/1}
 .mosaic--3 .mt:nth-child(n+2){display:none}
 .mosaic--3 .mt{aspect-ratio:4/3}
 .mosaic__more{text-align:left}
}

/* v24: odkaz „Všechny …“ nahoře v hlavičce panelu (jako Blog), názvy témat zpět, hlavy modelek na mobilu */
.mosaic__more{display:none}
@media (max-width:700px){
 .mosaic--8 .mt{aspect-ratio:3/4}
 .mosaic--8 .mt img{object-position:50% 15%}
}

/* v25: workshop dlaždice na mobilu na výšku (hlava modelky), O mně – fotka pod textem a menší */
@media (max-width:700px){
 .mosaic--3 .mt{aspect-ratio:4/5}
 .mosaic--3 .mt img{object-position:50% 12%}
 .about{flex-direction:column;align-items:flex-start;gap:24px}
 .about>div{order:1;flex:none;width:100%}
 .about>img{order:2;flex:none;width:62%;max-width:260px}
}

/* v26: Workshopy na úvodu – žlutý popisek „Připravujeme“, menší fotka na mobilu */
.mosaic--3 .mt__cap small{font-family:var(--f-display);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);opacity:1;margin-top:4px}
@media (max-width:700px){
 .mosaic--3 .mosaic__grid{grid-template-columns:minmax(0,250px)}
 .mosaic--3 .mt{aspect-ratio:4/5}
}

/* v27: O mně na mobilu – pořadí: nadpis, text, fotka, odkaz */
@media (max-width:700px){
 .about{gap:16px}
 .about>div{display:contents}
 .about>div>.eyebrow{order:1}
 .about>div>.h2{order:2}
 .about>div>p{order:3}
 .about>img{order:4;margin-block:8px}
 .about>div>.link-more{order:5}
}

/* v27: O mně na mobilu – text, foto, až pod ní odkaz; druhý odstavec skrytý */
@media (max-width:700px){
 .about>div{display:contents}
 .about>div>*{width:100%}
 .about>div>.muted{display:none}
 .about>img{order:2;width:62%;max-width:260px}
 .about>div>.link-more{order:3;width:auto}
 .about{gap:18px}
}
@media (max-width:700px){
 .about>div>*{order:1}
 .about>img{order:2}
 .about>div>.link-more{order:3}
}
@media (max-width:700px){
 .about>div>.eyebrow{order:1}
 .about>div>.h2{order:2}
 .about>div>p:not(.eyebrow):not(.muted){order:3}
 .about>img{order:4}
 .about>div>.link-more{order:5}
}

/* ===== Varianta B – tmavá se světlými pásy ===== */
.theme-b { --bg:#1A1A1A; --surface:#242424; --line:#383838; --text:#F1EFEA; --muted:#BEBCB6; --accent-text:#E3B058; --footer:#0D0D0D; --header-bg:rgba(0,0,0,.7); --field:#242424;
  --dark:#242424; --dark-text:#F1EFEA; --dark-muted:#AFADA7; --alt-accent:#E3B058; --alt-line:#3C3C3C; --alt-surface:#2E2E2E; color-scheme: dark; }
.theme-b .section--alt { background:#242424; }
.theme-b .cta { background:#242424; }
.theme-b .band-alt .btn--dark { background:transparent; color:#F1EFEA; border-color:#8A8883; }
.theme-b .site-header[data-overlay]:not(.is-solid) .logo small { color:#E3B058; }
.theme-b h1, .theme-b h2, .theme-b h3, .theme-b .logo strong, .theme-b .big-link { color: #D6D3CC; }
.theme-b .logo strong, .theme-b .site-header[data-overlay]:not(.is-solid) .logo strong { color: #fff; }
.theme-b .logo small, .theme-b .site-header[data-overlay]:not(.is-solid) .logo small { color: #CFCBC3; }
