:root {
  --paper: #e7f1ff;
  --ink: #10233f;
  --muted: #3e5678;
  --sea: #1a66d6;
  --sea-deep: #0c2f6e;
  --foam: #d4e4fb;
  --olive: #2457b8;
  --wheat: #a67c3d;
  --line: rgba(16, 40, 92, 0.14);
  --white: #fffcf6;
  --wrap: 72rem;
  --display: "Outfit", "Source Sans 3", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #d7e6ff;
  background-image:
    radial-gradient(ellipse 78% 46% at -6% -12%, rgba(255, 214, 92, 0.55), transparent 56%),
    radial-gradient(ellipse 62% 42% at 108% -8%, rgba(90, 150, 240, 0.45), transparent 52%),
    linear-gradient(180deg, #f7fbff 0%, #e7f1ff 36%, #d4e4fb 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sea-deep);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), calc(100vw - 3.2rem));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(231, 241, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.brand img { width: 2.7rem; height: 2.7rem; animation: bob 4.6s ease-in-out infinite; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
}
.nav a[aria-current="page"] { color: var(--sea); }
.drop { position: relative; }
.drop-panel {
  position: absolute;
  top: calc(100% + 0.15rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: none;
  min-width: 16rem;
  padding: 0.4rem;
  background: var(--white);
  border-radius: 0.95rem;
  box-shadow: 0 14px 36px rgba(16, 36, 84, 0.16);
}
.drop-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0.7rem;
}
.drop:hover .drop-panel,
.drop:focus-within .drop-panel { display: grid; }
.drop.is-shut .drop-panel { display: none; }
.drop-panel a {
  display: block;
  padding: 0.42rem 0.75rem;
  border-radius: 0.55rem;
  white-space: nowrap;
}
.drop-panel a:hover,
.drop-panel a:focus-visible { background: #d4e4fb; }
.when {
  margin: 0;
  color: var(--sea);
  font-weight: 650;
  font-size: 0.98rem;
  white-space: nowrap;
}
.langs {
  display: flex;
  gap: 0.15rem;
  margin: 0;
}
.langs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.38rem;
  border-radius: 0.4rem;
}
.langs a[aria-current="true"] {
  color: var(--sea-deep);
  background: var(--white);
}

.entrance {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(92vh, 56rem);
  margin: 0;
  color: #fff;
  overflow: hidden;
}
.entrance > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform-origin: center 40%;
  animation: hall-drift 24s ease-in-out infinite alternate;
}
.entrance::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 52, 0.88) 0%, rgba(8, 20, 52, 0.28) 46%, rgba(8, 20, 52, 0.18) 100%);
}
.entrance-copy {
  position: relative;
  z-index: 1;
  padding: 5rem 0 2.2rem;
}
.entrance .kicker { color: #d6e6ff; }
.entrance h1 {
  color: #fff;
  max-width: 14ch;
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2.7rem, 6.4vw, 5.5rem);
  line-height: 0.98;
}
.entrance h1 span { display: block; color: #ffd15c; }
.entrance .lede { color: rgba(255, 255, 255, 0.92); }
.entrance .btn-line {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.entrance-credit {
  margin: 1.4rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: end;
  padding: 2.6rem 0 1.2rem;
}
.kicker {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--sea);
}
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.04em; }
.hero h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2.55rem, 6.2vw, 5.6rem);
  line-height: 0.98;
  font-weight: 650;
}
.hero h1 span {
  display: block;
  margin-top: 0.06em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--sea);
}
.lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--ink);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}
.btn-sea { background: var(--sea-deep); color: var(--white); }
.btn-line { border-color: var(--line); background: transparent; }
.frame {
  margin: 0;
  position: relative;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
}
.hero .frame { aspect-ratio: 5 / 4; }
.frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 252, 246, 0.92);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--muted);
}

.tide-wrap {
  position: relative;
  overflow: hidden;
  height: 3.2rem;
  color: var(--sea);
}
.tide {
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 100%;
  animation: tide 14s linear infinite;
}
@keyframes tide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.dates {
  background: var(--sea-deep);
  color: var(--white);
}
.dates-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 1.8rem 0;
}
.dates p { margin: 0; }
.dates .dayname {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.dates strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.25rem 0;
}
.dates .from { color: var(--foam); }
.free {
  align-self: center;
  border: 1px solid rgba(255, 252, 246, 0.35);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.marquee {
  position: relative;
  overflow: hidden;
  height: 3.4rem;
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  position: absolute;
  left: 0;
  top: 0.75rem;
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: tide 22s linear infinite;
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  color: var(--olive);
}
.marquee-track span::before {
  content: "·";
  margin-right: 1.5rem;
  color: var(--wheat);
  font-style: normal;
}

.stories {
  display: grid;
  gap: 4.5rem;
  padding: 4.5rem 0 1rem;
}
.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}
.story:nth-child(even) { grid-template-columns: 1.15fr 0.85fr; }
.story:nth-child(even) .frame { order: 2; }
.story .frame { aspect-ratio: 4 / 5; }
.story h2 {
  margin: 0.3rem 0 0.7rem;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
}
.story p { margin: 0; max-width: 36rem; font-size: 1.2rem; }
.eyebrow {
  margin: 0;
  color: var(--wheat);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.bleed {
  margin: 3rem 0 0;
  position: relative;
}
.bleed img {
  width: 100%;
  height: min(70vh, 42rem);
  object-fit: cover;
}
.bleed figcaption {
  position: absolute;
  left: max(1.2rem, calc((100% - var(--wrap)) / 2));
  bottom: 1.2rem;
  margin: 0;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(12, 32, 72, 0.45);
}

.preview { padding: 4.5rem 0 2rem; }
.preview h2 {
  margin: 0.25rem 0 1.4rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  max-width: 16ch;
}
.slot {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.slot time { color: var(--sea); font-weight: 700; }
.slot h3, .slot .title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.slot p { margin: 0; }
.slot .meta { margin-top: 0.15rem; color: var(--muted); font-size: 1rem; }
.slot .where { color: var(--muted); font-size: 0.95rem; }
a.slot:hover .title { color: var(--sea); }

.program-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0.9rem;
  align-items: start;
  margin-top: 0.8rem;
}
.track {
  border-radius: 1.2rem;
  padding: 0.95rem 1rem 0.35rem;
  min-width: 0;
}
.track-name {
  margin: 0 0 0.15rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.track-talk {
  background: var(--sea-deep);
  color: #f4f7fc;
}
.track-talk .track-name { color: #ffd15c; }
.track-talk .slot { border-top-color: rgba(255, 255, 255, 0.16); }
.track-talk time { color: #ffd15c; }
.track-talk h3 { color: #fff; font-size: 1.28rem; }
.track-talk .meta { color: #d5e4f8; }
.track-talk .opis { color: #f4f7fc; margin-top: 0.2rem; }
.track-stand {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 36, 84, 0.1);
}
.track-stand .track-name { color: var(--sea); }
.track-stand .slot {
  grid-template-columns: 7.2rem 1fr auto;
  align-items: start;
  border-top-color: rgba(16, 36, 84, 0.08);
}
.track-stand .opis {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
}
.track-stand .who {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.rp-link {
  justify-self: end;
  color: var(--sea-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: #d6e6ff;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}
a.rp-link:hover { background: #b7cff2; }
.place-plain {
  justify-self: end;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: sticky;
  top: 4.6rem;
  z-index: 5;
  background: rgba(231, 241, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.filters button {
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  min-height: 2.6rem;
  padding: 0.3rem 0.9rem;
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--sea-deep);
  color: var(--white);
  border-color: var(--sea-deep);
}
.day { padding-top: 2rem; }
.day header h2 {
  margin: 0.1rem 0 0.4rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}
.note { color: var(--muted); max-width: 40rem; }
.is-out { display: none; }

.tone-sea { --title: #1565c0; }
.tone-coral { --title: #d24532; }
.tone-gold { --title: #a16207; }
.tone-lime { --title: #1e3a8a; }
.tone-green { --title: #2d7a22; --sea: #2a7a28; }
.tone-blue { --title: #1a66b8; }
.tone-pink { --title: #a83278; }
.tone-wheat { --title: #8a5a12; }
.tone-terra { --title: #c45c28; }
.page-head { padding: 2.4rem 0 0.4rem; }
.page-head h1,
.profile h1,
.day header h2 {
  color: var(--title, #1565c0);
}
.page-head h1 {
  margin: 0.3rem 0 0.6rem;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1;
}
.page-head h1::after,
.profile h1::after {
  content: "";
  display: block;
  width: 3.6rem;
  height: 0.34rem;
  margin-top: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--title, #1565c0), #ffd15c);
}
.page-head .kicker,
.day header .kicker { color: var(--title, var(--sea)); }
.card h2,
.sheet h2,
.prose h2,
.band h2,
.card h3 { color: var(--title, #1565c0); }
.page-head p { max-width: 38rem; font-size: 1.22rem; margin: 0; }
.prize-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.prize-logos img {
  height: 4.4rem;
  width: auto;
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.35rem 0.6rem;
}

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0 3rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.3rem 1.35rem 1.4rem;
}
.card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}
.card p { margin: 0.3rem 0; }
.card a { color: var(--sea); }
.visit .wide { grid-column: 1 / -1; }
.hall {
  margin: 0;
  border-radius: 1.4rem;
  overflow: hidden;
}
.hall img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.leaflet-hero {
  width: min(var(--wrap), calc(100vw - 3.2rem));
  margin: 0 auto 0.4rem;
}
.leaflet-hero.portrait { width: min(32rem, calc(100vw - 3.2rem)); }
.leaflet-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.3rem;
}
.leaflet-hero figcaption {
  margin-top: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--title, #1565c0);
}
.card .shot { margin: 0 0 0.9rem; }
.card .shot img {
  width: 100%;
  display: block;
  border-radius: 0.9rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.card .shot.contain img {
  object-fit: contain;
  aspect-ratio: auto;
  background: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.45rem;
  padding-bottom: 3rem;
}
.gallery a {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--foam);
}
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.film {
  margin: 0.4rem 0 1.6rem;
  border-radius: 1.2rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sea-deep);
}
.film iframe { width: 100%; height: 100%; border: 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 72rem); }
.lightbox::backdrop { background: rgba(8, 20, 52, 0.88); }
.lightbox img { width: 100%; height: auto; border-radius: 0.6rem; }
.lightbox button {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 0.4rem 0 1.4rem;
}
.stats article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1rem 1rem;
}
.stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--title, var(--sea));
}
.shema {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.35fr;
  grid-template-areas:
    ". c a"
    ". b a"
    ". z1 z1"
    "d d z5";
  gap: 0.45rem;
  max-width: 38rem;
  margin: 0.6rem 0 1.6rem;
}
.shema div {
  background: #efe6d4;
  border-radius: 0.7rem;
  min-height: 4.2rem;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  padding: 0.6rem;
}
.shema-a { grid-area: a; background: var(--foam); min-height: 9rem; }
.shema-c { grid-area: c; }
.shema-b { grid-area: b; }
.shema-z1 { grid-area: z1; }
.shema-d { grid-area: d; }
.shema-z5 { grid-area: z5; }
.shema small { display: block; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; color: var(--sea); }

.exhibit {
  margin: 2rem 0 4rem;
  padding: 2rem;
  border-radius: 1.6rem;
  background: var(--foam);
}
.exhibit h2 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  max-width: 18ch;
}
.exhibit p { max-width: 38rem; font-size: 1.15rem; }

.foot {
  background: var(--sea-deep);
  color: var(--foam);
  padding: 2.2rem 0 2.4rem;
}
.foot a { color: var(--white); }
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.foot p { margin: 0.15rem 0; }
.foot .credit { opacity: 0.7; font-size: 0.92rem; margin-top: 1.2rem; }

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { animation: rise 0.8s ease forwards; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes bob {
  50% { transform: translateY(-3px); }
}
@keyframes hall-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1.14) translate3d(-2.2%, -1.4%, 0); }
}
@keyframes glow {
  50% { box-shadow: 0 0 0 7px rgba(255, 209, 92, 0.35); border-color: #ffd15c; }
}
.entrance-copy .kicker,
.entrance-copy h1,
.entrance-copy .lede,
.entrance-copy .actions,
.entrance-credit,
.dates p,
.jump a,
.rooms-home .room,
.page-head .kicker,
.page-head h1,
.page-head p,
.profile h1,
.visit .card,
.stats article,
.banners img {
  animation: rise 0.75s ease backwards;
}
.entrance-copy h1 { animation-delay: 0.1s; }
.entrance-copy .lede { animation-delay: 0.2s; }
.entrance-copy .actions { animation-delay: 0.32s; }
.entrance-credit { animation-delay: 0.44s; }
.dates p:nth-child(2) { animation-delay: 0.08s; }
.dates p:nth-child(3) { animation-delay: 0.16s; }
.dates .free { animation: rise 0.75s ease 0.24s backwards, glow 2.6s ease-in-out 1.1s infinite; }
.jump a:nth-child(2) { animation-delay: 0.04s; }
.jump a:nth-child(3) { animation-delay: 0.08s; }
.jump a:nth-child(4) { animation-delay: 0.12s; }
.jump a:nth-child(5) { animation-delay: 0.16s; }
.jump a:nth-child(6) { animation-delay: 0.2s; }
.jump a:nth-child(7) { animation-delay: 0.24s; }
.jump a:nth-child(8) { animation-delay: 0.28s; }
.jump a:nth-child(9) { animation-delay: 0.32s; }
.jump a:nth-child(10) { animation-delay: 0.36s; }
.jump a:nth-child(11) { animation-delay: 0.4s; }
.jump a:hover { transform: translateY(-3px); }
.rooms-home .room:nth-child(2) { animation-delay: 0.06s; }
.rooms-home .room:nth-child(3) { animation-delay: 0.12s; }
.rooms-home .room:nth-child(4) { animation-delay: 0.18s; }
.rooms-home .room:nth-child(5) { animation-delay: 0.24s; }
.rooms-home .room:nth-child(6) { animation-delay: 0.3s; }
.page-head h1, .profile h1 { animation-delay: 0.08s; }
.page-head p { animation-delay: 0.16s; }
.visit .card:nth-child(2) { animation-delay: 0.06s; }
.visit .card:nth-child(3) { animation-delay: 0.12s; }
.visit .card:nth-child(4) { animation-delay: 0.18s; }
.visit .card:nth-child(5) { animation-delay: 0.24s; }
.visit .card:nth-child(6) { animation-delay: 0.3s; }
.banners img:nth-child(3) { animation-delay: 0.12s; }
.gallery img { transition: transform 0.6s ease; }
.gallery a:hover img { transform: scale(1.05); }
.card, .jump a, .room { transition: transform 0.3s ease; }
.card:hover { transform: translateY(-4px); }

@media (max-width: 860px) {
  .hero, .story, .story:nth-child(even), .dates-inner, .visit, .offers {
    grid-template-columns: 1fr;
  }
  .map-canvas { height: 22rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero > *, .story > * { min-width: 0; }
  .hero h1, .entrance h1 { font-size: clamp(2.15rem, 9.2vw, 3.2rem); max-width: 100%; }
  .entrance { min-height: 78vh; }
  .lede { font-size: 1.12rem; }
  .nav { flex-wrap: wrap; row-gap: 0.35rem; }
  .story:nth-child(even) .frame { order: 0; }
  .dates-inner { gap: 1.1rem; }
  .free { justify-self: start; }
  .slot { grid-template-columns: 1fr auto; }
  .slot time { grid-column: 1 / -1; }
  .when { display: none; }
  .top-inner { flex-wrap: wrap; padding: 0.7rem 0; }
  .nav { width: 100%; margin-left: 0; justify-content: space-between; }
  .filters { top: 6.4rem; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .program-split { grid-template-columns: 1fr; }
  .track-stand .slot { grid-template-columns: 1fr auto; }
  .track-stand time { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .rooms { grid-template-columns: 1fr; }
  .room.size-2, .room.size-4 { grid-column: span 1; grid-row: span 1; }
  .room.size-2 { min-height: 8.5rem; }
  .room.size-4 { min-height: 11rem; }
}

.rooms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.75rem;
}
.rooms-home { margin-top: 1.4rem; }
.ad {
  grid-column: 1 / -1;
  margin: 0.2rem 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 36, 84, 0.12);
}
.ad img {
  width: 100%;
  height: auto;
  display: block;
}
.stand-link { color: inherit; text-decoration: none; }
.stand-link:hover .rp { text-decoration: underline; }
.room-go {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.plan-scroll { overflow-x: auto; margin: 0.4rem 0 1.4rem; }
.plan {
  position: relative;
  min-width: 40rem;
  background: #eef4ff;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}
.booth {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  background: #d6e6ff;
  box-shadow: inset 0 0 0 1px rgba(12, 32, 72, 0.35);
  scroll-margin: 6rem;
}
.booth.hue-0 { background: #1565c0; color: #fff; }
.booth.hue-1 { background: #ffb199; }
.booth.hue-2 { background: #ffd15c; }
.booth.hue-3 { background: #b7cdff; }
.booth.hue-4 { background: #8ec0ff; }
.booth.hue-5 { background: #f3a0d0; }
.booth.size-4.hue-0, .booth.size-4.hue-1, .booth.size-4.hue-2,
.booth.size-4.hue-3, .booth.size-4.hue-4, .booth.size-4.hue-5 { color: #fff; }
.booth.size-4.hue-1 { background: #d24532; }
.booth.size-4.hue-2 { background: #c47f08; }
.booth.size-4.hue-3 { background: #243e8c; }
.booth.size-4.hue-4 { background: #1a66b8; }
.booth.size-4.hue-5 { background: #a83278; }
.booth:hover, .booth:focus-visible {
  z-index: 3;
  outline: 3px solid var(--sea-deep);
  outline-offset: -3px;
}
.plan:has(.booth:target) .booth:not(:target) { opacity: 0.22; }
.booth:target,
.booth.size-4:target {
  z-index: 6;
  background: #ffe14a;
  color: #10233f;
  outline: 4px solid #10233f;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px #ffe14a;
}
.loose { list-style: none; padding: 0; margin: 0.4rem 0 2rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.loose a {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  color: var(--sea-deep);
  text-decoration: none;
  scroll-margin: 6rem;
}
.loose:has(a:target) a:not(:target) { opacity: 0.35; }
.loose a:target {
  background: #ffe14a;
  color: #10233f;
  border-color: #10233f;
  outline: 4px solid #10233f;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #ffe14a;
}
.spot {
  margin: 0.15rem 0 0.7rem;
  padding: 0.75rem 0.95rem;
  background: #ffe14a;
  color: #10233f;
  font-weight: 700;
  border-radius: 0.8rem;
  border: 3px solid #10233f;
}
.room {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  background: #9ec4f5;
  box-shadow: inset 0 7px 0 #1565c0;
  border: 0;
  border-radius: 1.15rem;
  padding: 1rem 1.05rem 1.15rem;
  min-width: 0;
}
.room.hue-1 { background: #ffb199; box-shadow: inset 0 7px 0 #d24532; }
.room.hue-2 { background: #ffd15c; box-shadow: inset 0 7px 0 #c47f08; }
.room.hue-3 { background: #b7cdff; box-shadow: inset 0 7px 0 #243e8c; }
.room.hue-4 { background: #8ec0ff; box-shadow: inset 0 7px 0 #1a66b8; }
.room.hue-5 { background: #f3a0d0; box-shadow: inset 0 7px 0 #a83278; }
.room.size-1 {
  background: #d6e6ff;
  box-shadow: inset 0 7px 0 #1565c0;
}
.room.size-2 { grid-column: span 2; }
.room.size-4 {
  grid-column: span 2;
  grid-row: span 2;
  color: #fff;
  padding: 1.25rem 1.3rem 1.4rem;
  box-shadow: none;
}
.room.size-4.hue-0 { background: #1565c0; }
.room.size-4.hue-1 { background: #d24532; }
.room.size-4.hue-2 { background: #c47f08; }
.room.size-4.hue-3 { background: #243e8c; }
.room.size-4.hue-4 { background: #1a66b8; }
.room.size-4.hue-5 { background: #a83278; }
.room:hover { transform: translateY(-2px); }
.room.size-4:hover { filter: brightness(1.08); }
.room h2, .room h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ink);
}
.room.size-2 h3 { font-size: 1.6rem; }
.room.size-4 h3 { font-size: clamp(1.7rem, 2.2vw, 2.25rem); color: #fff; }
.room p { margin: 0; color: #1c3050; font-size: 1rem; }
.room.size-4 p { color: rgba(255, 255, 255, 0.92); }
.stand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.room.size-4 .stand { color: rgba(255, 255, 255, 0.86); }
.rp {
  flex: 0 0 auto;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}
.room.size-4 .rp { background: #fff; color: var(--ink); }
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0.2rem;
}
.sizes li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.28rem 0.75rem 0.28rem 0.4rem;
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}
.sizes i {
  display: inline-block;
  height: 0.72rem;
  border-radius: 0.2rem;
  background: #d24532;
}
.sizes .s1 { width: 0.72rem; background: #1565c0; }
.sizes .s2 { width: 1.35rem; background: #c47f08; }
.sizes .s4 { width: 1.15rem; height: 1.15rem; background: #1a66b8; }
.profile.size-1 { box-shadow: inset 0 8px 0 #1565c0; }
.profile.hue-0 { box-shadow: inset 0 8px 0 #1565c0; }
.profile.hue-1 { box-shadow: inset 0 8px 0 #d24532; }
.profile.hue-2 { box-shadow: inset 0 8px 0 #c47f08; }
.profile.hue-3 { box-shadow: inset 0 8px 0 #243e8c; }
.profile.hue-4 { box-shadow: inset 0 8px 0 #1a66b8; }
.profile.hue-5 { box-shadow: inset 0 8px 0 #a83278; }
.find {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 1.2rem 0 1rem;
}
.find input {
  font: inherit;
  font-size: 1.05rem;
  flex: 1 1 16rem;
  min-height: 3rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.profile {
  max-width: 40rem;
  padding: 0.4rem 0 3rem;
}
.profile h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
}
.profile .about { font-size: 1.2rem; margin: 1rem 0; }
.profile .meta-list { margin: 0; padding: 0; list-style: none; }
.profile .meta-list li { margin: 0.25rem 0; }
.profile a { color: var(--sea); }

.banners { padding: 0.4rem 0 3rem; }
.banners img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.75rem;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 36, 84, 0.12);
}
.band { padding-top: 0.6rem; }
.band h2 {
  margin: 0.15rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0 2.6rem;
}
.jump a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-weight: 700;
  color: var(--sea-deep);
  text-decoration: none;
}
.leaflets { margin: 0.9rem 0 0; font-weight: 700; }
.leaflets a, .prose a, .sheet a { color: var(--sea); }
.prose, .sheet { padding-bottom: 3rem; }
.prose { max-width: 44rem; }
.sheet h2, .prose h2 {
  margin: 1.7rem 0 0.35rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}
.prose h3 { margin: 1.2rem 0 0.25rem; font-size: 1.25rem; }
.prose li, .sheet li { margin: 0.2rem 0; }
.map-canvas {
  height: min(70vh, 32rem);
  border-radius: 1.4rem;
  margin: 1rem 0 0.3rem;
  border: 1px solid var(--line);
}
.leaflet-container img, .leaflet-container canvas { max-width: none !important; }
.map-note { color: var(--muted); margin: 0.3rem 0 0; }
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.6rem;
}
.table-wrap { overflow-x: auto; margin: 1rem auto 2rem; }
.stays {
  width: max-content;
  max-width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
}
.stays th, .stays td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.stays th {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.foot-links, .social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0 0 1.15rem;
  font-weight: 700;
}
.foot-links a, .social a { text-decoration: none; }
.foot-links a:hover, .social a:hover { text-decoration: underline; }
.foot-label {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.sponsor-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.55rem 0 1.15rem;
  padding: 0;
  align-items: center;
}
.sponsor-row img {
  height: 2.15rem;
  width: auto;
  background: #fff;
  border-radius: 0.35rem;
  padding: 0.28rem 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal, .room:hover { opacity: 1; transform: none; }
}

/* Mreža razstavljavcev na manjših zaslonih. Mora biti za osnovnimi pravili .rooms in .room.size-*,
   sicer jih te povozijo in kartice ostanejo v štirih stolpcih. */
@media (max-width: 860px) {
  .rooms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rooms { grid-template-columns: 1fr; }
  .room.size-2, .room.size-4 { grid-column: span 1; grid-row: span 1; }
  .room.size-2 { min-height: 8.5rem; }
  .room.size-4 { min-height: 11rem; }
}

/* Telefon: jeziki v isti vrstici kot logotip, meni v drugi vrstici (namesto treh vrstic). */
@media (max-width: 860px) {
  .top-inner { row-gap: 0.45rem; column-gap: 0.75rem; padding: 0.55rem 0; min-height: 0; }
  .brand { order: 1; }
  .langs { order: 2; margin-left: auto; }
  .nav { order: 3; }
  .brand img { width: 2.3rem; height: 2.3rem; }
  .filters { top: 5.9rem; }
}

/* Telefon: podmeniji se ne odpirajo (na dotik bi ušli čez rob). Vse povezave so na straneh Obisk in Program. */
@media (max-width: 860px) {
  .drop-panel, .drop:hover .drop-panel, .drop:focus-within .drop-panel { display: none !important; }
}

/* --- WordPress prilagoditve --- */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.wp-block-post-content { margin: 0; }
/* Glava: WordPress jo zavije v <div class="wp-block-template-part">, ki je visok samo toliko kot glava,
   zato mora biti pripet ovoj in ne .top v njem. */
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 50; }
.wp-site-blocks > .wp-block-template-part:first-child > .top { position: relative; top: auto; }
body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 0; } }

/* Starejše strani iz urejevalnika (prijave, politika zasebnosti ...) */
.legacy { padding: 3.5rem 0 4rem; }
.legacy > h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; margin: 0 0 1.6rem; color: var(--title, var(--sea)); }
.legacy .wp-block-post-content { max-width: 46rem; font-size: 1.08rem; line-height: 1.65; }
.legacy .wp-block-post-content h2, .legacy .wp-block-post-content h3 { margin: 2rem 0 0.6rem; line-height: 1.1; }
.legacy .wp-block-post-content img { height: auto; border-radius: 14px; }
.legacy .wp-block-post-content a { color: var(--sea); }
.legacy .wp-block-post-content .alignwide, .legacy .wp-block-post-content .alignfull { max-width: none; }
.legacy input[type=text], .legacy input[type=email], .legacy input[type=tel], .legacy input[type=number],
.legacy input[type=date], .legacy select, .legacy textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); font: inherit; color: var(--ink);
}
.legacy input[type=submit], .legacy button {
  font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 0.8rem 1.4rem;
  background: var(--sea-deep); color: #fff; cursor: pointer;
}
.legacy .wpcf7 p { margin: 0 0 1rem; }

/* Pasica za piškotke (Complianz) v slogu strani */
#cmplz-cookiebanner-container .cmplz-cookiebanner, #cmplz-manage-consent .cmplz-manage-consent {
  --cmplz_banner_background_color: #fffcf6;
  --cmplz_banner_border_color: rgba(16, 40, 92, 0.14);
  --cmplz_banner_border_width: 1px;
  --cmplz_text_color: #10233f;
  --cmplz_hyperlink_color: #1a66d6;
  --cmplz_button_accept_background_color: #0c2f6e;
  --cmplz_button_accept_border_color: #0c2f6e;
  --cmplz_button_accept_text_color: #fff;
  --cmplz_button_deny_background_color: transparent;
  --cmplz_button_deny_border_color: rgba(16, 40, 92, 0.3);
  --cmplz_button_deny_text_color: #10233f;
  --cmplz_button_settings_background_color: transparent;
  --cmplz_button_settings_border_color: rgba(16, 40, 92, 0.3);
  --cmplz_button_settings_text_color: #10233f;
  --cmplz_button_border_radius: 999px;
  --cmplz_banner_border_radius: 18px;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-dismissed,
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-hidden { display: none !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom:not(.cmplz-dismissed):not(.cmplz-hidden) {
  left: 1rem !important; right: auto !important; bottom: 1rem !important; top: auto !important;
  transform: none !important;
  width: min(30rem, calc(100vw - 2rem)) !important; max-width: none !important;
  display: flex !important; flex-direction: column !important; align-items: stretch !important;
  padding: 1.1rem 1.25rem !important; gap: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 40px -18px rgba(12, 47, 110, 0.45) !important;
  grid-template-columns: 1fr !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message { margin: 0 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message p {
  font-size: 0.98rem !important; line-height: 1.45 !important; color: #10233f !important; text-align: left !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { grid-area: auto !important; width: auto !important; height: auto !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message p { margin: 0 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons {
  flex-direction: row !important; align-items: center !important; justify-content: flex-start !important;
  gap: 0.5rem !important; margin-top: 0.9rem !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
  font-family: inherit !important; font-weight: 700 !important; font-size: 0.95rem !important;
  min-width: 0 !important; width: auto !important; height: auto !important;
  padding: 0.6rem 1.3rem !important; border-radius: 999px !important;
  align-self: flex-start !important; flex: 0 0 auto !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: #0c2f6e !important; border-color: #0c2f6e !important; color: #fff !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: #1a66d6 !important; border-color: #1a66d6 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links a { color: #1a66d6 !important; }
