:root {
  --ink: #24242d;
  --muted: #5c6470;
  --paper: #ffffff;
  --line: #d9dde3;
  --red: #d65f5f;
  --gold: #e1b727;
  --green: #1d6c5e;
  --blue: #0b83c5;
  --nav: #2f2f38;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.65;
  background: linear-gradient(180deg, #d6edf5 0%, #8ac6db 48%, #13506d 100%);
  background-attachment: fixed;
}

a {
  color: #0c5b7f;
  font-weight: 600;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav);
  color: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
}

.site-title {
  flex: 1;
  color: #fff;
  font-size: clamp(1.25rem, 2.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  line-height: 1.14;
  max-width: 820px;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wide {
  width: clamp(150px, 22vw, 245px);
}

.logo-small {
  width: 52px;
}

.logo-medium {
  width: 68px;
}

.menu-toggle {
  display: none;
  margin: 0 auto 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  padding: 8px 14px;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 12px 14px;
}

.site-nav a {
  border-radius: 6px;
  padding: 8px 11px;
  color: #fff;
  font-size: 0.96rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  background: #13506d;
  color: #e7eef3;
}

.page-shell {
  width: min(900px, calc(100% - 28px));
  margin: 24px auto;
}

.page-section {
  display: none;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 36px);
  background: var(--paper);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.page-section.active {
  display: block;
}

h1 {
  margin: 0 0 20px;
  color: #123a5a;
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.22;
  text-align: center;
}

.home-title {
  margin-bottom: 24px;
  text-align: center;
}

.home-title-logo {
  display: block;
  width: clamp(150px, 22vw, 245px);
  height: auto;
  margin: 0 auto 16px;
}

.home-title h1 {
  margin-bottom: 10px;
}

.home-title h1 span {
  display: block;
  margin-top: 6px;
  color: #164b75;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 600;
}

.home-date {
  margin: 0;
  color: #123a5a;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.28;
}

h2 {
  margin: 28px 0 10px;
  color: var(--blue);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.25;
}

h3 {
  margin: 18px 0 8px;
}

p {
  margin: 14px 0;
}

ul,
ol {
  padding-left: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

tr:nth-child(even) {
  background: #f6f8fa;
}

.center-text {
  text-align: center;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 22px 0;
}

.logo-strip img {
  max-height: 105px;
  width: auto;
}

.home-partner-logo {
  max-width: min(520px, 100%);
  max-height: 150px;
  object-fit: contain;
}

.center-media {
  display: flex;
  justify-content: center;
  margin: 18px 0;
}

.sponsors {
  max-width: 680px;
}

.poster {
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(36, 36, 45, 0.14);
}

.flyer-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  align-items: start;
  gap: 18px;
  margin: 18px 0;
}

.building {
  max-width: 780px;
  border-radius: 6px;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.venue-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 28px;
  margin: 26px 0 20px;
}

.venue-overview h2 {
  margin-top: 0;
}

.venue-overview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(36, 36, 45, 0.16);
}

.venue-region {
  margin: 30px 0 26px;
  padding: 26px 0 6px;
  border-top: 1px solid rgba(18, 58, 90, 0.18);
  border-bottom: 1px solid rgba(18, 58, 90, 0.18);
}

.venue-region h2 {
  margin-top: 0;
}

.venue-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.venue-region-grid article {
  padding-top: 12px;
  border-top: 3px solid #1e5f8a;
}

.venue-region-grid h3 {
  margin-top: 0;
  color: #123a5a;
}

.venue-region-grid p {
  color: var(--muted);
}

.tatra-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.55fr);
  gap: 12px;
  margin: 24px 0 18px;
}

.tatra-gallery figure {
  margin: 0;
}

.tatra-gallery-main {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #eef4f7;
}

.tatra-gallery-main img,
.tatra-gallery-strip img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.tatra-gallery-main img {
  height: 100%;
  min-height: 360px;
}

.tatra-gallery-main figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(8, 28, 44, 0.82), rgba(8, 28, 44, 0));
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.55;
}

.tatra-gallery-strip {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tatra-gallery-strip img {
  height: 100%;
  min-height: 112px;
  border-radius: 8px;
}

.venue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}

.venue-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(18, 58, 90, 0.22);
  border-radius: 4px;
  background: #f7fafc;
  color: #123a5a;
  font-weight: 700;
  text-decoration: none;
}

.venue-links a:hover,
.venue-links a:focus {
  border-color: #1e5f8a;
  background: #edf5f9;
}

.venue-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.venue-facts div {
  border-top: 3px solid #1e5f8a;
  padding-top: 12px;
}

.venue-facts strong,
.venue-facts span {
  display: block;
}

.venue-facts strong {
  color: var(--ink);
  margin-bottom: 6px;
}

.venue-facts span {
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 8px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.map-card {
  margin: 28px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f7fafc;
  box-shadow: 0 8px 22px rgba(36, 36, 45, 0.14);
}

.map-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #123a5a, #1e5f8a 48%, #6fa9c9);
  color: #fff;
  font-size: 0.96rem;
  text-align: center;
}

.map-route-line {
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.78);
}

.map-route-line::before,
.map-route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.map-route-line::before {
  left: -1px;
}

.map-route-line::after {
  right: -1px;
}

.map-card iframe {
  width: 100%;
  height: min(62vw, 520px);
  min-height: 360px;
  border: 0;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 300px);
  align-items: start;
  gap: 24px;
}

.split img {
  border-radius: 6px;
}

.icon-art {
  max-width: 110px;
  margin: 0 auto;
}

.topics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: start;
  gap: 32px;
  margin-top: 22px;
}

.topics-side-visual {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 28px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.topic-grid li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--topic-color, var(--ink));
  font-weight: 600;
}

.topic-grid li:nth-child(1) {
  --topic-color: #2b93bc;
}

.topic-grid li:nth-child(2) {
  --topic-color: #2789b5;
}

.topic-grid li:nth-child(3) {
  --topic-color: #237faf;
}

.topic-grid li:nth-child(4) {
  --topic-color: #2076a8;
}

.topic-grid li:nth-child(5) {
  --topic-color: #1d6da1;
}

.topic-grid li:nth-child(6) {
  --topic-color: #1b649a;
}

.topic-grid li:nth-child(7) {
  --topic-color: #195b93;
}

.topic-grid li:nth-child(8) {
  --topic-color: #17538c;
}

.topic-grid li:nth-child(9) {
  --topic-color: #164b85;
}

.topic-grid li:nth-child(10) {
  --topic-color: #15447f;
}

.topic-grid li:nth-child(11) {
  --topic-color: #153d78;
}

.topic-grid li:nth-child(12) {
  --topic-color: #153872;
}

.topic-grid li:nth-child(13) {
  --topic-color: #16346c;
}

.topic-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  color: var(--topic-color, var(--nav));
  border: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 800;
}

.programme-images {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.programme-images img {
  width: min(720px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.notice-box {
  max-width: 680px;
  margin: 28px auto 4px;
  padding: 8px 0;
  background: transparent;
  text-align: center;
}

.notice-box h2 {
  margin-top: 0;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.speaker-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfd;
}

.speaker-grid h2 {
  margin-top: 0;
  font-size: 1.18rem;
}

.tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.tab-button {
  flex: 1;
  border: 0;
  padding: 12px;
  background: #eef1f4;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tab-button.active {
  background: #13506d;
  color: #fff;
}

.tab-panel {
  display: none;
  border: 1px solid var(--line);
  border-top: 0;
  padding: 16px;
}

.tab-panel.active {
  display: block;
}

.site-footer {
  margin-top: 30px;
  padding: 18px;
  background: var(--nav);
  color: #fff;
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: var(--gold);
}

@media (max-width: 760px) {
  .brand-row {
    gap: 10px;
    padding: 10px 12px;
  }

  .logo-wide {
    width: 118px;
  }

  .logo-small {
    width: 38px;
  }

  .logo-medium {
    width: 50px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    padding: 0 14px 14px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .split,
  .speaker-grid,
  .venue-overview,
  .venue-region-grid,
  .tatra-gallery,
  .venue-facts,
  .topics-layout,
  .topic-grid,
  .photo-grid,
  .flyer-preview {
    grid-template-columns: 1fr;
  }

  .topics-side-visual {
    max-height: 440px;
  }

  .tatra-gallery-main img {
    min-height: 260px;
  }

  .tatra-gallery-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .map-card-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-route-line {
    width: 90px;
    justify-self: center;
  }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  th,
  td {
    border-bottom: 1px solid var(--line);
  }
}
