/* Dolaďování náhledu, říjen 2026. */
.hero-slide-poppies {
  background-image: url("../images/misto/makove-pole-v2.webp");
  background-position: center 46%;
}
.hero-slide-hammocks {
  background-image: url("../images/misto/houpaci-site-v2.webp");
  background-position: center 54%;
}
.hero-slide-fire {
  background-image: url("../images/misto/ohen-vecer.webp");
  background-position: center 50%;
}
.yarrow-illustration img,
.yarrow-hero img {
  background: #ecece2;
  object-fit: contain;
  object-position: center;
}
.denik-page-body .denik-page-head h1,
.denik-page-body .denik-story-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
}
.denik-page-body .denik-page-head h1 {
  font-size: clamp(3rem, 4.6vw, 4.7rem);
  line-height: 1;
}
.denik-page-body .kicker,
.denik-page-body .denik-story-meta {
  font-family: system-ui, sans-serif;
}

.hero-slide-table {
  background-image: url("../images/misto/pracovni-stul.webp");
  background-position: center 60%;
}


/* Ocún a ohlédnutí za Dnem architektury — 4. října 2026 */
.crocus-study,
.crocus-hero { overflow: hidden; }
.crocus-study img,
.crocus-hero img {
  object-fit: cover;
  object-position: center 78%;
}
.event-after { padding-bottom: 1.8rem; }
.event-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: .55rem;
  margin: 1.4rem 0 1.6rem;
}
.event-gallery img {
  display: block;
  width: 100%;
  height: clamp(130px, 14vw, 210px);
  object-fit: cover;
}
.topic-live { background: rgba(255,255,255,.34); }
.ocun-topic-hero { background: #e4e8dd; }
.ocun-topic-photo { margin: 0; min-height: 520px; }
.ocun-topic-photo img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 42% center; }
.ocun-topic-photo figcaption { padding: .65rem 1rem 0; color: #667363; font: 13px/1.4 system-ui, sans-serif; }
.ocun-process img { object-position: center 72%; }
.ocun-note { max-width: 760px; }
.ocun-questions { margin: 0; padding: 0; list-style: none; max-width: 780px; }
.ocun-questions li { padding: 1.1rem 0; border-top: 1px solid var(--line); font-size: clamp(1.25rem, 2vw, 1.75rem); }
.ocun-questions li:last-child { border-bottom: 1px solid var(--line); }
.story-page .inner-hero { background: #e8e6db; }
.story-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.story-gallery figure { margin: 0; }
.story-gallery figure:first-child { grid-row: span 2; }
.story-gallery img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.story-gallery figcaption { margin-top: .55rem; color: #667363; font: 13px/1.4 system-ui, sans-serif; }
.story-copy { max-width: 720px; }
.story-copy p + p { margin-top: 1.2rem; }
.denik-nav-simple { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; font: 14px/1.4 system-ui, sans-serif; }

/* Časosběr, pobyty a rozvinuté Živopisy — 8. října 2026 */
.film-note video,
.story-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.4rem 0;
  background: #10130f;
  object-fit: cover;
}
.film-note .text-arrow { margin-top: .35rem; }
.story-video { margin: 0; max-width: 1120px; }
.story-video figcaption { margin-top: .65rem; color: #667363; font: 13px/1.4 system-ui, sans-serif; }
.stay-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3.5rem); }
.stay-detail-grid article { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.stay-detail-grid h2 { font-size: clamp(1.8rem, 2.6vw, 2.7rem); }
.stay-detail-grid p { font-size: 17px; }
.zivopis-practical .story-copy { max-width: 800px; }
@media (max-width: 680px) {
  .event-gallery { grid-template-columns: 1fr 1fr; }
  .event-gallery img:first-child { grid-column: 1 / -1; }
  .ocun-topic-photo, .ocun-topic-photo img { min-height: 390px; }
  .story-gallery { grid-template-columns: 1fr; }
  .story-gallery figure:first-child { grid-row: auto; }
  .stay-detail-grid { grid-template-columns: 1fr; }
}


/* Číst vodu — listopad 2026 */
.event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  min-height: 650px;
  background: #dfe7df;
}
.event-hero-copy {
  align-self: center;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.4rem, 7vw, 8rem);
}
.event-hero h1 {
  margin: 0 0 1.2rem;
  font: 500 clamp(4rem, 7vw, 7.2rem)/.9 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.04em;
}
.event-subtitle {
  max-width: 690px;
  margin-bottom: 1.8rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.42;
}
.event-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  margin: 0 0 2rem;
  color: #5c6e5d;
  font: 500 13px/1.4 system-ui, sans-serif;
}
.event-hero-meta span {
  padding-top: .55rem;
  border-top: 1px solid #9aa99a;
}
.event-hero-image {
  margin: 0;
  min-height: 100%;
}
.event-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}
.event-opening p + p { margin-top: .9rem; }
.event-list {
  max-width: 820px;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.event-list li {
  position: relative;
  padding: .95rem 0 .95rem 2rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.45;
}
.event-list li:last-child { border-bottom: 1px solid var(--line); }
.event-list li::before {
  content: "↘";
  position: absolute;
  left: 0;
  top: 1rem;
  color: #6a806d;
  font: 16px/1 system-ui, sans-serif;
}
.event-personal {
  max-width: 760px;
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.event-personal h3 {
  margin-bottom: .8rem;
  font: 500 clamp(1.9rem, 3vw, 3rem)/1 "Cormorant Garamond", Georgia, serif;
}
.expert-card { max-width: 850px; }
.expert-card p + p { margin-top: 1.1rem; }
.event-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: 2.5rem;
}
.event-days article,
.price-grid article,
.practical-grid article {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.event-days span {
  color: #657565;
  font: 600 11px/1.4 system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.event-days h3,
.practical-grid h3 {
  margin: .7rem 0;
  font: 500 clamp(1.7rem, 2.5vw, 2.6rem)/1.05 "Cormorant Garamond", Georgia, serif;
}
.event-days p,
.practical-grid p,
.price-grid p { font-size: 17px; }
.event-take-home {
  margin-top: 2.4rem;
  font-style: italic;
}
.event-list-large li {
  font: 500 clamp(1.5rem, 2.4vw, 2.25rem)/1.2 "Cormorant Garamond", Georgia, serif;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 6rem);
  max-width: 980px;
}
.price-grid h2 { margin-bottom: .25rem; }
.event-price {
  margin: 0 0 1.25rem;
  font: 500 clamp(2rem, 3.3vw, 3.2rem)/1 "Cormorant Garamond", Georgia, serif !important;
}
.practical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 5vw, 5rem);
  max-width: 900px;
}
.event-signup .pill-link { margin-top: .5rem; }
@media (max-width: 800px) {
  .event-hero { grid-template-columns: 1fr; min-height: 0; }
  .event-hero-copy { padding: 4rem 1.4rem; }
  .event-hero-image img { min-height: 420px; max-height: 560px; }
  .event-days, .price-grid, .practical-grid { grid-template-columns: 1fr; }
}


/* Aktuální víkend na homepage + pracovní mapa — 21. října 2026 */
.hero-event-link {
  display: grid;
  gap: .2rem;
  width: fit-content;
  margin-top: 1.7rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.58);
  color: #fff;
  text-decoration: none;
  font-family: system-ui, sans-serif;
}
.hero-event-link > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-event-link strong {
  font: 500 clamp(1.45rem, 2.4vw, 2.15rem)/1 "Cormorant Garamond", Georgia, serif;
}
.hero-event-link strong span { font-family: system-ui, sans-serif; font-size: .75em; }
.hero-event-link:hover strong { text-decoration: underline; text-underline-offset: .18em; }

.water-event .event-capacity-note {
  margin: 1.2rem 0 1.7rem;
  color: #607064;
  font: 600 13px/1.45 system-ui, sans-serif;
}
.water-event .pill-link { margin-top: 0; }

.event-hero-image img { object-position: center 62%; }

.event-map-section { background: #f2efe5; }
.event-map-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.event-map-figure { margin: 0; }
.event-map-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
}
.event-map-figure figcaption {
  margin-top: .65rem;
  color: #667363;
  font: 13px/1.4 system-ui, sans-serif;
}
.event-map-copy { max-width: 620px; }
.event-map-copy h2 { margin-bottom: 1.15rem; }

@media (max-width: 800px) {
  .event-map-grid { grid-template-columns: 1fr; }
  .event-map-figure { max-width: 640px; }
}


/* Číst vodu — přepracování stránky a listopadový hero, 21. 10. 2026 */
.place-hero-event {
  min-height: min(780px, 88vh);
  background: #263128;
}
.place-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place-hero-event-tint {
  background:
    linear-gradient(90deg, rgba(15,27,20,.72) 0%, rgba(15,27,20,.42) 52%, rgba(15,27,20,.16) 100%),
    linear-gradient(0deg, rgba(10,18,13,.35), transparent 55%);
}
.place-hero-event-content {
  max-width: 940px;
  margin: auto auto 0;
  padding-bottom: clamp(4rem, 8vh, 7rem);
}
.place-hero-event h1 {
  margin: .3rem 0 1rem;
  font-size: clamp(4rem, 8vw, 7.5rem);
}
.homepage-event-subtitle {
  max-width: 760px;
  margin: 0 0 1.1rem;
  color: #fff;
  font: 500 clamp(1.4rem, 2.5vw, 2.15rem)/1.25 "Cormorant Garamond", Georgia, serif;
}
.homepage-event-meta {
  max-width: 760px;
  margin: 0 0 1.7rem;
  color: rgba(255,255,255,.88);
  font: 500 13px/1.55 system-ui, sans-serif;
}
.homepage-event-cta {
  background: #f3efe3;
  color: #263128;
  border-color: #f3efe3;
}
.homepage-event-cta:hover { background: #fff; }

.event-hero-rich {
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
  min-height: 0;
  align-items: stretch;
}
.event-hero-rich .event-hero-copy {
  align-self: auto;
  padding-top: clamp(3.2rem, 5vw, 5.5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}
.event-hero-rich h1 {
  font-size: clamp(3.8rem, 6vw, 6.2rem);
  margin-bottom: .8rem;
}
.event-lead {
  max-width: 760px;
  margin: 0 0 1.6rem;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.55;
}
.event-hero-points {
  display: grid;
  gap: 0;
  max-width: 760px;
  margin: 1.7rem 0;
  border-bottom: 1px solid #a6b2a5;
}
.event-hero-points > span {
  padding: .72rem 0;
  border-top: 1px solid #a6b2a5;
  font: 500 14px/1.4 system-ui, sans-serif;
}
.event-hero-points > span::before {
  content: "↘";
  display: inline-block;
  width: 1.7rem;
  color: #637866;
}
.event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}
.event-capacity {
  margin-top: 1.5rem;
  color: #5e7060;
  font: 600 12px/1.45 system-ui, sans-serif;
  letter-spacing: .03em;
}
.event-hero-map {
  position: relative;
  margin: 0;
  min-height: 620px;
  overflow: hidden;
  background: #e8e3d7;
}
.event-hero-map img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 48% center;
  transform: scale(1.08);
}
.event-hero-map figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 260px;
  padding: .55rem .75rem;
  background: rgba(244,241,232,.9);
  color: #556355;
  font: 12px/1.4 system-ui, sans-serif;
}
.water-sequence {
  max-width: 900px !important;
  margin-top: 2rem !important;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: #5c6f5e;
  font: 600 clamp(.95rem, 1.5vw, 1.1rem)/1.7 system-ui, sans-serif !important;
}
.event-map-second {
  margin-top: -.55rem;
  color: #607064;
}
.event-map-copy p + p { margin-top: 1rem; }

.expert-profile {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1100px;
}
.expert-photo { margin: 0; }
.expert-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.expert-card h2 { margin-bottom: 1rem; }

.expert-link {
  position: relative;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.expert-link-dark { color: inherit; }
.expert-popover {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + .7rem);
  width: min(310px, 82vw);
  padding: .85rem 1rem;
  border: 1px solid #b9c2b7;
  background: #f7f4eb;
  color: #273027;
  box-shadow: 0 12px 28px rgba(31,42,33,.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, .35rem);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  font: 14px/1.45 Georgia, serif;
}
.expert-popover strong,
.expert-popover small {
  display: block;
}
.expert-popover strong {
  margin-bottom: .15rem;
  font: 500 1.3rem/1.1 "Cormorant Garamond", Georgia, serif;
}
.expert-popover small {
  margin-bottom: .55rem;
  color: #667466;
  font: 600 10px/1.35 system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.expert-link:hover .expert-popover,
.expert-link:focus-visible .expert-popover {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.event-program > div:last-child { max-width: 1060px; }
.event-program > div:last-child > h2 { margin-bottom: 3rem; }
.program-day {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.program-day:last-child { border-bottom: 1px solid var(--line); }
.program-day header > span {
  color: #617162;
  font: 600 11px/1.4 system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.program-day h3 {
  margin: .6rem 0 0;
  font: 500 clamp(2rem, 3vw, 3.15rem)/1 "Cormorant Garamond", Georgia, serif;
}
.program-steps {
  border-top: 1px solid var(--line);
}
.program-steps > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.program-steps time {
  padding-top: .2rem;
  color: #617162;
  font: 600 12px/1.4 system-ui, sans-serif;
}
.program-steps p {
  max-width: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}
.price-list {
  margin: 1.2rem 0 1.5rem;
  padding-left: 1.1rem;
  font-size: 16px;
  line-height: 1.65;
}
.practical-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1050px;
}
.practical-wide { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .event-hero-rich { grid-template-columns: 1fr; }
  .event-hero-map { min-height: 430px; }
  .event-hero-map img { min-height: 430px; }
  .expert-profile { grid-template-columns: 1fr; }
  .expert-photo { max-width: 680px; }
  .program-day { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 680px) {
  .place-hero-event { min-height: 720px; }
  .place-hero-event-content { padding: 5rem 1.4rem 4rem; }
  .homepage-event-subtitle { font-size: 1.55rem; }
  .event-hero-rich .event-hero-copy { padding: 3rem 1.4rem; }
  .event-hero-map { min-height: 360px; }
  .event-hero-map img { min-height: 360px; }
  .program-steps > div { grid-template-columns: 1fr; gap: .25rem; }
  .practical-grid-wide { grid-template-columns: 1fr; }
  .practical-wide { grid-column: auto; }
  .expert-popover { left: 0; transform: translate(0,.35rem); }
  .expert-link:hover .expert-popover,
  .expert-link:focus-visible .expert-popover { transform: translate(0,0); }
}


/* Jemné opravy po vizuální kontrole — 21. 10. 2026 */
.next-site .place-hero .homepage-event-cta {
  color: #263128;
  background: #f3efe3;
  border-color: #f3efe3 !important;
}
.next-site .place-hero .homepage-event-cta:hover {
  color: #263128;
  background: #fff;
}

.event-hero-map {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3eee2;
}
.event-hero-map img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: contain;
  object-position: center;
  transform: none;
  padding: clamp(.5rem, 1.2vw, 1rem);
}

.event-map-figure img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f3eee2;
}

.event-list-large li {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .event-hero-map img { min-height: 430px; }
}
@media (max-width: 680px) {
  .event-hero-map img { min-height: 360px; }
}


/* Poslední obrazové doladění Číst vodu — 21. 10. 2026 */
.event-hero-map {
  overflow: hidden;
  background: transparent;
}
.event-hero-map img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  padding: 0;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none;
}
.expert-profile {
  align-items: stretch;
}
.expert-photo {
  height: 100%;
  overflow: hidden;
}
.expert-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 52% center;
}
@media (max-width: 900px) {
  .expert-photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}


/* Přihláška Číst vodu */
.event-signup-inner { max-width: 900px; }
.signup-intro { max-width: 720px; }
.event-registration-form {
  max-width: 820px;
  margin-top: 2.4rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.4rem;
}
.form-grid-two {
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: 1.8rem;
}
.event-registration-form label > span,
.registration-options legend {
  display: block;
  margin-bottom: .45rem;
  color: #4d5d4f;
  font: 600 11px/1.4 system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.event-registration-form input[type="text"],
.event-registration-form input[type="email"],
.event-registration-form input[type="tel"],
.event-registration-form select,
.event-registration-form textarea {
  width: 100%;
  padding: .85rem 0 .7rem;
  border: 0;
  border-bottom: 1px solid #9da99d;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 17px/1.45 Georgia, "Times New Roman", serif;
}
.event-registration-form textarea {
  resize: vertical;
  min-height: 120px;
}
.event-registration-form input:focus,
.event-registration-form select:focus,
.event-registration-form textarea:focus {
  outline: 0;
  border-color: #385a43;
  box-shadow: 0 1px #385a43;
}
.registration-options {
  margin: 2rem 0 0;
  padding: 0;
  border: 0;
}
.registration-options legend { margin-bottom: .75rem; }
.registration-option {
  display: grid !important;
  grid-template-columns: 24px 1fr;
  gap: .85rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.registration-option:last-of-type { border-bottom: 1px solid var(--line); }
.registration-option input { margin-top: .25rem; }
.registration-option span {
  margin: 0 !important;
  color: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font: inherit !important;
}
.registration-option strong {
  display: block;
  font: 500 1.35rem/1.2 "Cormorant Garamond", Georgia, serif;
}
.registration-option small,
.form-grid label > small {
  display: block;
  margin-top: .28rem;
  color: #687568;
  font: 12px/1.45 system-ui, sans-serif;
}
.form-question { display: block; margin-top: 1.8rem; }
.form-consent {
  display: grid !important;
  grid-template-columns: 20px minmax(0,1fr);
  gap: .7rem;
  align-items: start;
  margin-top: 1.5rem;
}
.form-consent input { margin-top: .15rem; }
.form-consent span {
  margin: 0 !important;
  color: #5f6b60 !important;
  font: 13px/1.5 system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2rem;
}
.registration-submit {
  cursor: pointer;
  background: #344b39;
  color: #fff;
}
.registration-submit:hover { background: #24372a; color: #fff; }
.registration-submit:disabled { opacity: .55; cursor: wait; }
.form-note {
  margin: 0 !important;
  color: #687568;
  font: 12px/1.4 system-ui, sans-serif !important;
}
.form-status {
  min-height: 1.5em;
  margin-top: 1rem !important;
  font: 14px/1.45 system-ui, sans-serif !important;
}
.form-status[data-state="success"] { color: #31583c; }
.form-status[data-state="error"] { color: #8b3f34; }
.form-status[data-state="notice"] { color: #6b5b2f; }

@media (max-width: 760px) {
  .form-grid,
  .form-grid-two { grid-template-columns: 1fr; }
}


/* Čitelnost tmavého přihlašovacího bloku + pracovní pokus */
.event-signup {
  color: #f7f3e8;
}
.event-signup .eyebrow,
.event-signup .signup-intro,
.event-signup .form-note,
.event-signup .event-registration-form label > span,
.event-signup .registration-options legend,
.event-signup .registration-option small,
.event-signup .form-grid label > small,
.event-signup .form-consent span {
  color: rgba(247,243,232,.88) !important;
}
.event-signup .event-registration-form input[type="text"],
.event-signup .event-registration-form input[type="email"],
.event-signup .event-registration-form input[type="tel"],
.event-signup .event-registration-form select,
.event-signup .event-registration-form textarea {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.55);
  caret-color: #fff;
}
.event-signup .event-registration-form input::placeholder,
.event-signup .event-registration-form textarea::placeholder {
  color: rgba(255,255,255,.55);
}
.event-signup .event-registration-form select option {
  color: #292e27;
  background: #f3f0e8;
}
.event-signup .event-registration-form input:focus,
.event-signup .event-registration-form select:focus,
.event-signup .event-registration-form textarea:focus {
  border-color: #fff;
  box-shadow: 0 1px #fff;
}
.event-signup .registration-option {
  border-color: rgba(255,255,255,.35);
}
.event-signup .registration-option strong {
  color: #fff;
}
.event-signup input[type="radio"],
.event-signup input[type="checkbox"] {
  accent-color: #f3efe3;
}
.event-signup .registration-submit {
  background: #f3efe3;
  color: #263128;
  border-color: #f3efe3 !important;
}
.event-signup .registration-submit:hover {
  background: #fff;
  color: #263128;
}
.event-signup .form-status[data-state="success"] { color: #d7efd8; }
.event-signup .form-status[data-state="error"] { color: #ffd5ce; }
.event-signup .form-status[data-state="notice"] { color: #f3dfae; }

.event-map-section .event-map-figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
}


/* Výraznější volba varianty přihlášky — 23. 10. 2026 */
.event-signup .registration-option {
  position: relative;
  padding: 1rem .85rem;
  margin: 0 -.85rem;
  transition: background .16s ease, box-shadow .16s ease;
}
.event-signup .registration-option:has(input:checked) {
  background: rgba(247,243,232,.12);
  box-shadow: inset 3px 0 0 #f3efe3;
}
.event-signup .registration-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: .22rem 0 0;
  border: 2px solid rgba(247,243,232,.75);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-content: center;
}
.event-signup .registration-option input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform .12s ease;
  background: #f3efe3;
}
.event-signup .registration-option input[type="radio"]:checked {
  border-color: #f3efe3;
}
.event-signup .registration-option input[type="radio"]:checked::before {
  transform: scale(1);
}
.event-signup .registration-option:has(input:checked) strong {
  font-weight: 600;
}
.event-signup .registration-option:focus-within {
  outline: 1px solid rgba(247,243,232,.75);
  outline-offset: 3px;
}


/* Přihláška — souhlasy a odkazy */
.event-signup .form-consent a {
  color: #fff;
  text-decoration-color: rgba(255,255,255,.65);
  text-underline-offset: .18em;
}
.event-signup .form-consent a:hover {
  text-decoration-color: #fff;
}
.event-signup .form-consent-compact {
  margin-top: .8rem;
  max-width: 720px;
}
.event-signup .form-consent-compact span {
  font-size: 12px !important;
  color: rgba(247,243,232,.76) !important;
}

/* Společná sazba a levá osa — 26. října 2026. */
:root {
  --page-gutter: clamp(1.4rem, 7vw, 8rem);
  --section-label-size: 11px;
}
:is(.next-site, .denik-page-body) :is(.eyebrow, .section-no, .kicker, .state-label, .water-label, .topic-index, .topic-status),
:is(.next-site, .denik-page-body) .three-stages > div > span,
:is(.next-site, .denik-page-body) .program-day header > span,
:is(.next-site, .denik-page-body) .event-days article > span {
  font-family: system-ui, sans-serif;
  font-size: var(--section-label-size);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.denik-page-body .denik h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0;
  padding: 2rem var(--page-gutter);
  color: #667363;
  font: 400 12px/1.6 system-ui, sans-serif;
  text-align: left;
  opacity: 1;
}
.site-footer > * { margin: 0; }
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2rem;
}
.bio-hero-image img { object-position: center bottom; }

/* Kontakt: fotografie přes celou plochu; celý blok na ose patičky. */
body.contact-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #4d493f url("../images/misto/04-detail-ganesa.png") center / cover no-repeat fixed;
  color: #fff;
}
body.contact-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(20,17,13,.25), rgba(20,17,13,.06) 65%);
  pointer-events: none;
}
.contact-screen .site-header,
.contact-screen main,
.contact-screen .site-footer {
  position: relative;
  z-index: 1;
}
.contact-screen .site-header {
  background: linear-gradient(to bottom, rgba(0,0,0,.25), transparent);
  border-bottom-color: rgba(255,255,255,.35);
}
.contact-screen .site-mark,
.contact-screen .site-nav a,
.contact-screen .site-footer,
.contact-screen .site-footer a {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.contact-screen main {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
}
.contact-page {
  width: 100%;
  margin: 0;
  padding: 3rem var(--page-gutter) clamp(2.5rem, 6vh, 4.5rem);
}
.contact-copy {
  max-width: 40rem;
  text-shadow: 0 1px 7px rgba(0,0,0,.6);
}
.contact-copy .eyebrow {
  margin: 0 0 .85rem;
  color: #fff;
}
.contact-copy h1 {
  margin: 0 0 1rem;
  color: #fff;
  font: 400 clamp(2rem, 3vw, 2.75rem)/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.02em;
}
.contact-copy .contact-names {
  margin: 0 0 1.25rem;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}
.contact-details {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.contact-details a {
  color: #fff;
  text-decoration-color: rgba(255,255,255,.55);
  text-underline-offset: .18em;
}
.contact-screen .site-footer {
  background: linear-gradient(to top, rgba(0,0,0,.25), transparent);
}
@media (max-width: 680px) {
  .site-footer { flex-direction: column; align-items: flex-start; }
  body.contact-screen { background-attachment: scroll; background-position: 52% center; }
  .contact-copy h1 { font-size: 2.25rem; }
  .contact-copy .contact-names { font-size: 16px; }
}


/* Fotografie a kontakt na úvodní stránce. */
.opening > .place-opening-content { max-width: 1120px; }
.place-opening-photo { margin: 0 0 2.5rem; }
.place-opening-photo img { display: block; width: 100%; height: auto; }
.story-extra-photo { grid-column: 2; margin: 2rem 0 0; }
.story-extra-photo img { display: block; width: 100%; height: auto; }
.contact-home .feature-photo img { object-position: center; }
.contact-home .feature-copy a { overflow-wrap: anywhere; }
.photo-zoom { cursor: zoom-in; }
.photo-zoom:focus-visible { outline: 2px solid #52725b; outline-offset: 5px; }
.contact-photo-expand { position: absolute; right: var(--page-gutter); bottom: 1rem; color: #fff; background: rgba(0,0,0,.25); border: 1px solid #ffffff80; border-radius: 2rem; padding: .6rem .9rem; font: 12px/1.4 system-ui,sans-serif; }
.contact-page { position: relative; }
/* Native modal keeps focus inside, supports Escape and fills the viewport. */
.photo-viewer { position: fixed; inset: 0; margin: 0; padding: 56px 16px 16px; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; background: #111510f5; color: white; box-sizing: border-box; }
.photo-viewer[open] { display: flex; justify-content: center; align-items: center; }
.photo-viewer::backdrop { background: #111510; }
.photo-viewer-frame { position: relative; display: flex; margin: 0; max-width: 100%; }
.photo-viewer .photo-viewer-image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 72px); object-fit: contain; opacity: 1; border-radius: 0; }
.photo-viewer .photo-viewer-logo { position: absolute; left: clamp(10px,2vw,28px); top: clamp(10px,2vw,28px); width: clamp(42.5px,6vw,80px); max-width: 15%; height: auto; opacity: .95; filter: none; pointer-events: none; }
.photo-viewer-close { position: absolute; top: 8px; right: 12px; width: 44px; height: 44px; border: 1px solid #ffffff70; border-radius: 50%; background: #111510; color: white; font: 30px/1 system-ui,sans-serif; cursor: pointer; }
.photo-viewer-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  .story-extra-photo { grid-column: 1 / -1; }
  .contact-photo-expand { bottom: .4rem; }
}

/* Navigace článků má vlastní řádek přes obě obsahové osy. */
.page-section > .denik-nav { grid-column: 1 / -1; max-width: none; }
.denik-nav { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); width: 100%; gap: 1.5rem; }
.denik-nav .nav-left { grid-column: 1; grid-row: 1; justify-self: start; text-align: left; }
.denik-nav .nav-center { grid-column: 2; grid-row: 1; justify-self: center; text-align: center; }
.denik-nav .nav-right { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; }
@media (max-width: 650px) {
  .denik-nav { column-gap: .7rem; }
  .denik-nav .nav-kicker { font-size: 11px; }
  .denik-nav .nav-article-title { font-size: 14px; }
  .denik-nav .nav-home { font-size: 12px; }
}

/* Nenápadný odkaz na program přes úvodní video. */
.hero-program-link {
  position: absolute;
  z-index: 3;
  left: var(--page-gutter);
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .62rem .85rem;
  border: 1px solid rgba(243,239,227,.58);
  border-radius: 2rem;
  background: rgba(30,40,31,.42);
  color: #f3efe3;
  font: 600 10px/1.35 system-ui, sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.hero-program-link:hover,
.hero-program-link:focus-visible {
  background: rgba(243,239,227,.94);
  border-color: #f3efe3;
  color: #263128;
}
.hero-program-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .hero-program-link { left: 1.4rem; bottom: 1.1rem; }
}


/* Pozvánka mizí, když se objeví první popisek ve videu. */
.place-hero-event-content {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.15s ease, visibility 0s linear 0s;
}
.place-hero-event-content.is-caption-visible {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.15s ease, visibility 0s linear 1.15s;
}
@media (prefers-reduced-motion: reduce) {
  .place-hero-event-content,
  .place-hero-event-content.is-caption-visible { transition: none; }
}
