:root {
  --bg: #111111;
  --text: #f4f0e8;
  --muted: #c8beb0;
  --accent: #f0b84b;
  --card: #1b1b1b;
  --line: #333333;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
}

/* Topbar homepage */

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.topbar-logo img {
  display: block;
  width: 190px;
  height: auto;
  background: #ffffff;
}

.topbar-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
}

.topbar-nav a:hover {
  color: var(--accent);
}

.nav-separator {
  opacity: .35;
}

/* Moving stripe */

.marquee {
  position: fixed;
  z-index: 19;
  top: 86px;
  left: 0;
  right: 0;
  height: 38px;
  overflow: hidden;
  background: #061a33;
  color: #f4f0e8;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  animation: marquee 55s linear infinite;
}

.marquee-track span::before {
  content: "•";
  margin-right: 18px;
  opacity: .5;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Shared header for subpages */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.logo {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 20px;
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Layout */

main {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Homepage hero */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 28px 90px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.65)),
    url("../../img/foto_cesta_do_kinskeho_zahrady2.jpg");
  background-size: cover;
  background-position: center top;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.65)),
    url("../../img/foto_cesta_do_kinskeho_zahrady2.jpg");
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%);
  opacity: var(--gray-opacity, 0);
  transition: opacity .1s linear;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(27px, 3.6vw, 46px);
  line-height: 1.08;
  font-weight: 700;
}

.hero-text {
  margin: 0 0 30px;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text);
  line-height: 1.5;
}

.hero-text div {
  margin-bottom: 4px;
}

.hero-text div:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-block;
  padding: 11px 18px;
  background: var(--accent);
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
}

.button:hover {
  filter: brightness(1.08);
}

/* Homepage sections */

.home-section {
  padding: 80px 28px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
#program {
  background:
    linear-gradient(rgba(17,17,17,.64), rgba(17,17,17,.72)),
    url("../../img/letni_kino_cesta-upscale-cb2.jpg");
  background-size: cover;
  background-position: center;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.home-section h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.home-links {
  padding: 40px 28px 60px;
}

.home-links p {
  margin: 0 0 10px;
  font-size: 20px;
}

.home-links a {
  text-decoration: none;
}

.more-link {
  margin-top: 36px;
  text-align: center;
}

.more-link a {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: .2s ease;
}

.more-link a:hover {
  color: #ffffff;
}

/* Subpages */

.page-intro {
  max-width: 960px;
  margin: 0 auto;
  padding: 150px 20px 40px;
}

.page-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
}

.page-intro p {
  color: var(--muted);
  font-size: 20px;
}

.page-intro {
  padding-top: 150px;
}

.content-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
}

.content-section p {
  max-width: 740px;
}

/* Program */

.program-list {
  display: grid;
  gap: 24px;
  padding-bottom: 60px;
}

.program-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.program-date strong {
  display: block;
  color: var(--accent);
}

.program-date span {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  font-weight: 700;
}

.program-content h2,
.program-content h3 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
}

.program-meta {
  margin: 0 0 14px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.tags span {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

/* Minimal tags */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.tag-en {
  background: #204b73;
}

.tag-de {
  background: #34513a;
}

.tag-debate {
  background: #5b2a36;
}

.tag-cycle {
  background: #725418;
}

.tag-guest {
  background: #4a3b63;
}

/* Collapsible descriptions */

.program-description {
  margin-top: 18px;
}

.description-text {
  max-height: 7.5em;
  overflow: hidden;
  transition: max-height .25s ease;
}

.description-text.expanded {
  max-height: 200em;
}

.description-toggle {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.description-toggle:hover {
  color: #fff;
}

.program-note {
  color: var(--accent);
  font-weight: 700;
}
/* Partners */

.partners-section {
  padding: 50px 28px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(17,17,17,.58), rgba(17,17,17,.68)),
    url("../../img/letni_kino_divaci.jpg");
  background-size: cover;
  background-position: center;
}

.partners-strip {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.partners-title {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  white-space: nowrap;
}

.partners-divider-inline {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,.25);
  margin: 0 8px;
}

.partners-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.partners-strip img {
  height: 42px;
  width: auto;
  max-width: none;
  display: block;
}
.partners-break {
  flex: 0 0 100%;
  width: 100%;
  height: 0;
}

/* Footer */

.site-footer {
  padding: 30px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

/* Mobile */

@media (max-width: 700px) {
  .topbar {
    position: absolute;
    display: block;
    min-height: 0;
    padding: 14px 20px;
  }

  .topbar-logo img {
    width: 160px;
  }

  .topbar-nav {
    margin-top: 14px;
    gap: 14px;
  }

  .topbar-nav a {
    font-size: 15px;
  }

.marquee {
  position: fixed;
  z-index: 19;
  top: 86px;
  left: 0;
  right: 0;
  height: 38px;
  background: #061a33;
}

  .hero {
    min-height: 720px;
    padding: 200px 20px 70px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 19px;
  }

  .home-section {
    padding: 56px 20px;
  }

  .program-card {
    display: block;
  }

  .program-date {
    margin-bottom: 18px;
  }

  .site-header {
    display: block;
  }

  .site-nav {
    margin-top: 16px;
  }

  .partners-section {
    padding: 36px 20px;
  }

.partners-strip {
  gap: 14px;
}

.partners-strip img {
  max-height: 36px;
}
  .partners-row {
    gap: 14px;
  }

  .partners-title {
    width: 100%;
    min-width: 0;
  }

  .partners-row img {
    height: 36px;
  }
}
.weather-frame {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.map-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;

  background: #f3c52b;
  color: #111;
  border: 2px solid #f3c52b;
  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;
  line-height: 1;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.map-button:hover {
  background: transparent;
  color: #f3c52b;
  transform: translateY(-2px);
}

.map-button:focus-visible {
  outline: 3px solid rgba(243, 197, 43, 0.45);
  outline-offset: 3px;
}
.history-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 70px;
}

.history-header {
  margin-bottom: 40px;
}

.history-header h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.history-intro {
  color: var(--muted);
  font-size: 20px;
}

.history-year {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.history-year h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.history-year-content p {
  max-width: 760px;
}

/* Weather */
.weather-banner {
    margin: 20px 0 28px;
    padding: 18px 24px;

    background: #061a33;
    color: #f4f0e8;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}
.closing-photo {
  margin-top: 60px;
}

.closing-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.weather-banner strong {
    color: var(--accent);
}
.program-ticket-button {
  margin: 8px 0 18px;
}

.home-description {
  margin-top: 10px;
}
.notice-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.72);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    padding:20px;
}

.notice-modal{
    background:#fff;
    color:#111;
    max-width:560px;
    width:100%;
    border-radius:18px;
    padding:34px;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    animation:noticeAppear .25s ease;
}

.notice-modal h2{
    margin:0 0 18px;
}

.notice-modal p{
    margin:0 0 24px;
    line-height:1.6;
}

.notice-close{
    position:absolute;
    right:18px;
    top:14px;
    border:none;
    background:none;
    font-size:34px;
    cursor:pointer;
    color:#777;
}

.notice-close:hover{
    color:#000;
}

@keyframes noticeAppear{
    from{
        opacity:0;
        transform:translateY(15px) scale(.97);
    }
    to{
        opacity:1;
        transform:none;
    }
}
.program-page {
  position: relative;
  background: #111;
}

.program-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      rgba(17,17,17,.45),
      rgba(17,17,17,.55)
    ),
    url("../../img/letni_kino_cesta-upscale-cb.jpg") center center / cover no-repeat;
}
/* Tag fixes */

.tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 18px 0 16px !important;
}

.tags .tag {
  display: inline-flex !important;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
body {
  background:
    linear-gradient(rgba(17,17,17,.64), rgba(17,17,17,.72)),
    url("../../img/letni_kino_cesta-upscale-cb2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.notice-ok {
    margin-top: 12px;
}