nav .nav-route {
  color: #f2d794 !important;
  font-weight: 850;
  text-transform: uppercase;
}

nav .nav-parking {
  color: #69aef7 !important;
  font-weight: 900;
}

header .nav {
  gap: 14px;
}

header .brand {
  flex: 0 0 auto;
}

header nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(9px, 1vw, 17px);
  font-size: clamp(.76rem, .76vw, .86rem);
  white-space: nowrap;
}

header nav a[data-i18n="support"] {
  color: #a9edc2 !important;
  font-weight: 900;
  text-transform: uppercase;
}

header nav a[data-i18n="support"]:hover,
header nav a[data-i18n="support"]:focus-visible {
  color: #d9ffe7 !important;
}

header .langs {
  flex: 0 0 auto;
  max-width: none;
  flex-wrap: nowrap;
}

nav .nav-route:hover,
nav .nav-route:focus-visible {
  color: #fff1c7 !important;
}

nav .nav-parking:hover,
nav .nav-parking:focus-visible {
  color: #b8dcff !important;
}

.senate-patronage-open {
  cursor: zoom-in;
}

.senate-patronage-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5, 24, 17, .92);
  backdrop-filter: blur(6px);
}

.senate-patronage-lightbox.open {
  display: flex;
}

.senate-patronage-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(94vw, 780px);
  max-height: 94vh;
}

.senate-patronage-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 56px);
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.senate-patronage-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: rgba(23, 75, 53, .94);
  color: #fff;
  font: 700 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.senate-patronage-close:hover,
.senate-patronage-close:focus-visible {
  background: #1e6848;
  outline: 3px solid #efd79e;
  outline-offset: 3px;
}

.senate-patronage-caption {
  margin-top: 8px;
  color: #fff;
  font: 700 .95rem/1.3 Georgia, serif;
  text-align: center;
}

@media (min-width: 961px) and (max-width: 1120px) {
  header nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 17px;
    right: 17px;
    padding: 22px;
    background: var(--forest);
    border-radius: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: .9rem;
    white-space: normal;
  }

  header nav.open {
    display: flex;
  }

  header .mobile {
    display: block;
  }
}

.route-maps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 215px));
  gap: 18px;
  align-items: start;
  max-width: 448px;
  margin: 20px 0 8px;
}

.route-maps .kojetice-map {
  width: 100%;
  max-width: none;
  margin: 0;
}

.route-maps .kojetice-map a,
.route-maps .parking-map-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
  background: #eef1ec;
  box-shadow: 0 18px 44px rgba(23, 75, 53, .18);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.route-maps .kojetice-map a:hover,
.route-maps .kojetice-map a:focus-visible,
.route-maps .parking-map-open:hover,
.route-maps .parking-map-open:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(23, 75, 53, .24);
  outline: 3px solid rgba(24, 103, 183, .28);
  outline-offset: 3px;
}

.route-maps .kojetice-map img {
  display: block;
  width: 100%;
  height: 136px;
  object-fit: contain;
  background: #eef1ec;
}

.parking-map-open {
  appearance: none;
  font: inherit;
}

.parking-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 8, 13, .96);
  backdrop-filter: blur(5px);
}

.parking-lightbox.open {
  display: flex;
}

.parking-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.parking-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.parking-lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.parking-lightbox-close:hover,
.parking-lightbox-close:focus-visible {
  background: #fff;
  color: #174b35;
  outline: 3px solid #69aef7;
}

.parking-lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 12px;
  max-width: calc(100vw - 32px);
  padding: 7px 12px;
  transform: translateX(-50%);
  border-radius: 7px;
  background: rgba(0, 0, 0, .76);
  color: #fff;
  font-size: .92rem;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .route-maps {
    grid-template-columns: minmax(0, 215px);
    justify-content: center;
  }

  .parking-lightbox {
    padding: 8px;
  }

  .parking-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .parking-lightbox-caption {
    bottom: 8px;
    font-size: .8rem;
    white-space: normal;
  }
}

/* Compact anniversary message: keep it clear of Eliška's face. */
.hero-anniversary-link {
  width: 43%;
  max-width: 330px;
}

.hero-anniversary-link .anniversary-caption {
  width: 100%;
  max-width: 330px;
  white-space: normal;
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
  hyphens: auto;
  line-height: 1.14;
  letter-spacing: .02em;
  font-size: clamp(.72rem, 1vw, .9rem);
  padding: 8px 10px;
}

/* Fill the unused contact-column space without changing the adjacent card height. */
.contact-intro {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.contact-intro > p {
  margin-bottom: 0;
}

.contact-brand-logo-wrap {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 14px 0 0;
}

.contact-brand-logo {
  display: block;
  width: min(160px, 52%);
  height: auto;
  max-height: 160px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .contact-intro {
    height: auto;
  }

  .contact-brand-logo-wrap {
    padding: 24px 0 12px;
  }

  .contact-brand-logo {
    width: min(190px, 56vw);
    max-height: 190px;
  }
}

@media (max-width: 620px) {
  .hero-anniversary-link {
    left: 3%;
    width: 47%;
    max-width: 175px;
  }

  .hero-anniversary-link .anniversary-caption {
    max-width: 175px;
    padding: 6px 7px;
    font-size: .6rem;
    line-height: 1.1;
    letter-spacing: .012em;
  }
}
