  .location-info-col .location-distances-title {
      margin-top: 1.2rem;
      margin-bottom: 0.5rem;
    }
  /* Fix order of location info elements on mobile */
  .location-info-col {
    display: flex;
    flex-direction: column;
  }
  .location-info-col .location-sub { order: 1; }
  .location-info-col .location-text { order: 2; }
  .location-info-col .location-distances-title { order: 3; }
  .location-info-col .distance-list { order: 4; }
/* === Cookies Banner === */
#cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: #000;
  color: #fff;
  padding: 1.2rem 1rem;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
  font-size: 1.08rem;
  line-height: 1.5;
}
/* #cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: #000;
  color: #fff;
  padding: 1.2rem 1rem;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
  font-size: 1.08rem;
  line-height: 1.5;
} */
#cookies-banner .cookies-banner-inner {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
#cookies-banner .cookies-banner-text {
  margin: 0;
  text-align: center;
}
#cookies-banner a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.18s, background 0.18s;
}
#cookies-banner a:hover {
  color: #000;
  background: #fff;
}
#cookies-accept {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 0.5rem 1.2rem;
  border-radius: 22px;
  font-weight: 700;
  transition: all .18s;
  cursor: pointer;
  font-size: 1.08rem;
}
#cookies-accept:hover {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}
@media (max-width: 700px) {
  #gmap,
  .map-wrap iframe {
    height: 275px !important;
    min-height: 0 !important;
    max-height: 275px !important;
    flex: none !important;
    width: 100% !important;
    display: block !important;
  }
  .map-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: none !important;
  }
}

#cookies-banner .cookies-banner-text {
  text-align: center;
}
#cookies-accept {
  width: 100%;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.nav.active .brand-link:hover .brand {
  color: #fff;
}

/* --- Mobile Documents Table --- */
@media (max-width: 768px) {
  /* Set map column height to match map on mobile */
  .location-map-col {
    height: 275px !important;
    min-height: 275px !important;
    max-height: 275px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .location-info-col .location-distances-title {
    margin-left: 1.2rem;
  }

  /* Lower map height on mobile */
  #gmap,
  .map-wrap iframe {
    height: 150px !important;
    min-height: 0;
  }
    .terms-section label[data-i18n="formTermsLabel"] {
      font-size: 0.8rem !important;
  }


  .info-list {
    white-space: normal !important;
    word-break: break-word !important;
    width: 100%;
    max-width: 100%;
  }
  #info .info-mobile-intro,
  #info .info-mobile-dropdowns {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #location .grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  #location .grid > .location-header { order: 2 !important; }
  #location .grid > .map-wrap { order: 1 !important; }
  #location .grid > .location-sub { order: 2 !important; }
  #location .grid > .location-text { order: 3 !important; }
  #location .grid > .location-distances-title { order: 4 !important; }
  #location .grid > .distance-list { order: 5 !important; }
  .docs-table {
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid #eee;
    background: #fff;
  }
  .docs-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.3rem;
    border-bottom: 1px solid #f2f2f2;
    min-height: 1.5rem;
    gap: 0.5rem;
  }
  .doc-title {
    flex: 1 1 0;
    font-weight: 500;
    line-height: 1.5rem;
    text-align: justify;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30ch;
    margin-right: 0.5rem;
  }
  .doc-action {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    height: 1.5rem;
    min-width: 56px;
    justify-content: flex-end;
  }
  .doc-action a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    text-decoration: none;
    color: inherit;
  }
  .doc-action img {
    width: 28px;
    height: 28px;
    display: block;
  }

  #location .grid > div > h3 {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  #location .location-text {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  #location .location-distances {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  #location .distance-list {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-bottom: 1.2rem;
  }

  #location .grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  #location .grid > div > h3 { order: 1; }
  #location .grid > .map-wrap { order: 2; }
  #location .grid > div > .location-text { order: 3; }
  #location .grid > div > .location-distances { order: 4; }
  #location .grid > div > .distance-list { order: 5; }

  .info-list {
    white-space: normal !important;
    word-break: break-word !important;
  }
}
@media (max-width: 768px) {

  #info .grid { display: none; }
  #info .info-mobile-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    padding: 0 0.7rem;
  }
  .info-mobile-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.7rem;
  }
  .info-image {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .info-mobile-intro {
    margin-bottom: 0.7rem;
  }
  .info-mobile-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .dropdown {
    border-radius: 8px;
    background: #f8f8f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #eee;
  }
  .dropdown-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1.08rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    outline: none;
    border-bottom: 1px solid #eee;
    background: #f8f8f8;
    transition: background 0.18s;
  }
  .dropdown-toggle[aria-expanded="true"] {
    background: #e0e0e0;
  }
  .dropdown-content {
    display: none;
    padding: 0.7rem 1rem 1rem 1rem;
    background: #fff;
    font-size: 1rem;
  }
  .dropdown-content.active {
    display: block;
  }

  .nav.active .brand-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 1.1rem 1rem 1.1rem 1rem;
    border-bottom: 1px solid #eee;
    width: 100%;
    background: #fff;
    text-align: left;
    font-size: inherit;
    transition: background-color 0.2s linear, color 0.2s linear;
  }
  .nav.active .brand-link:hover {
    background: #000;
    color: #fff;
  }
  .nav.active .brand-link .logo-stack {
    width: 32px;
    height: 32px;
    margin: 0;
    display: block;
    object-fit: contain;
  }

  .nav.active .brand-link .logo-stack img {
    display: inline-block;
    vertical-align: middle;
    height: 32px;
    width: auto;
  }
  .nav.active .brand-link .brand {
    font-weight: 700;
    font-size: 1.13rem;
    color: #000;
    display: flex;
    align-items: center;
    margin-left: 8px;
    height: 32px;
  }
}

.modal-img-loader {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.0);
  z-index: 1500; /* loader sits above placeholder but below controls */
}
.modal-img-content {
  position: relative;
}

/* Loading wrapper: shows a centered 16:9 box with semi-transparent black behind the loader GIF */
.modal-img-content .modal-loading-wrap {
  position: absolute;
  inset: 0;
  display: none; /* shown only when .loading is present on modal-img-content */
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2100;
}
.modal-img-content.loading .modal-loading-wrap {
  display: flex;
}
.modal-loading-box {
  width: 100%;
  max-width: calc(1100px - 20px);
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.3); /* 30% opacity black */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.modal-loading-box {
  position: relative; /* allow absolute-positioned controls inside the loading box */
}
.modal-loading-box .modal-img-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  z-index: 2120;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.modal-loading-box img { width:48px; height:48px; display:block; }

.card-img-wrap:has(.frame-icon:hover) ~ .slider-clickable-area,
.card-img-wrap:has(.frame-icon:focus) ~ .slider-clickable-area {
  pointer-events: none !important;
}

section, .section, [id] {
  scroll-margin-top: 90px;
}

* { box-sizing: border-box; margin:0; padding:0; }
html,body { height:100%; }
body {
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#0b0b0b;
  background:#ffffff;
  line-height:1.6;
  font-size: 1.13rem;
  -webkit-font-smoothing:antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container { max-width:1100px; margin:0 auto; padding:0 1rem; }
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  min-height: 76px;
}

/* --- HEADER LAYOUT --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
}

.header-bar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 6px;
  transition: background-color 0.45s cubic-bezier(.4,0,.2,1.1), color 0.45s cubic-bezier(.4,0,.2,1.1);
}

.brand-link .brand {
  transition: color 0.45s cubic-bezier(.4,0,.2,1.1);
}

.brand-link:hover {
  background-color: #000;
  color: #fff;
}


.logo-stack {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-block;
  margin-right: 4px;
}
.logo {
  position: absolute;
  top: 0; left: 0;
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: opacity 0.2s linear;
  pointer-events: none;
}


.logo-white { opacity: 1; z-index: 2; transition-delay: 0s; }
.logo-black { opacity: 0; z-index: 1; transition-delay: 0s; }


.brand-link:hover .logo-white {
  opacity: 0;
  transition-delay: 0s;
}
.brand-link:hover .logo-black {
  opacity: 1;
  transition-delay: 0s;
}

.brand-link:hover .logo-white {
  opacity: 0;
}
.brand-link:hover .logo-black {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-mobile-brand {
  display: none;
}

@media (max-width: 768px) {
  .nav-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid #eee;
    width: 100%;
    background: #fff;
  }
  .nav-mobile-brand .logo-stack {
    width: 32px;
    height: 32px;
    margin-right: 6px;
  }
  .nav-mobile-brand .brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: #000;
  }
  .nav a {
    margin-top: 0;
  }
}

.nav a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  padding: 10px 10px;
  border-radius: 6px;
  transition: background-color 0.2s linear, color 0.2s linear;
}

.nav a:hover {
  background: #000;
  color: #fff;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag {
  width: 28px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.flag:hover {
  transform: scale(1.1);
}

/* HERO */
.hero { padding-top:110px; padding-bottom:2.5rem; }
.hero-title {
  font-size: 2.7rem;
  margin-top: 2.2rem;
  margin-bottom: 3.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  font-weight: 700;
  text-align: center;
}
.hero-inner { display:flex; gap:2rem; align-items:center; justify-content:center; flex-direction:column; }

main { flex: 1; }

/* Slider style */
.slider {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
  position: relative;
  left: 0;
  right: 0;
  box-sizing: border-box;
}

.slider .prev, .slider .next {
  z-index: 30;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider .prev { left: 10px; }
.slider .next { right: 10px; }
.slider .slider-clickable-area {
  z-index: 10;
}
.slides { width:100%; }
.slide {
  display: block;
  opacity: 0;
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  transition: opacity 0.5s;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  z-index: 2;
}

.slider-clickable-area {
  position: absolute;
  top: 0;
  width: calc(50%);
  height: 100%;
  z-index: 5;
  cursor: pointer;
  background: transparent;
  pointer-events: auto;
}
.slider-clickable-left {
  left: -40px;
  width: calc(17%);
}
.slider-clickable-center { 
  left: calc(17%);
  width: calc(66%);
}
.slider-clickable-right {
  right: -40px;
  width: calc(17%);
}

.card {
  background:#ffffff;
  border-radius:14px;
  padding:2rem;
  box-shadow: 0 10px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
  text-align:center;
  min-width:374px;
  max-width:749px;
  margin:0 auto;
}
.card-meta { font-size:0.95rem; margin-bottom:0.6rem; color:#222; }
.card-img {
  width:100%;
  height:464px;
  object-fit:cover;
  border-radius:12px;
  display:block;
  position:relative;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 464px;
}

.frame-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
}

.card-img-wrap {
  position: relative;
}
.frame-icon:hover {
  background: #f0f0f0;
  transition: background 0.18s;
}

/* Mobile frame-icon optimizations */
@media (max-width: 768px) {
  .frame-icon {
    width: 44px;
    height: 44px;
    right: 12px;
    bottom: 12px;
    background: rgba(255,255,255,0.95);
    touch-action: manipulation;
  }
  
  .frame-icon:active {
    background: #e0e0e0;
    transform: scale(0.95);
  }
}

/* Modal image viewer */
.modal-img-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.2s;
  padding: 20px;
  box-sizing: border-box;
}
.modal-img-viewer.hidden {
  display: none;
}
.modal-img-content {
  position: relative;
  /* allow the modal to expand to the viewport width but limit to hero max width minus 20px */
  width: 100vw;
  max-width: calc(1100px - 20px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder: reserve fixed space so layout doesn't jump while loading */
.modal-img-placeholder {
  /* The placeholder no longer acts as a hoarder background — it simply wraps the image.
     We keep it for DOM structure only; image fills this area. */
  width: 100%;
  max-width: 100%;
  max-height: 80vh;
  display: block;
  position: relative;
  overflow: visible;
  background: transparent !important;
  border: none;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Image lives absolutely inside the placeholder and is contained by it */
.modal-img-placeholder img#modalImg {
  display: block !important;
  width: 100%;
  height: auto;
  object-fit: cover; /* fill the area while maintaining aspect — will crop if necessary */
  border-radius: 12px; /* rounded image as requested */
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 2000;
}

/* Loader and image visibility controlled by placeholder state */
.modal-img-placeholder.loading #modalImgLoader { display:flex !important; }
.modal-img-placeholder.loading #modalImg { display:none !important; }
.modal-img-placeholder.loaded #modalImg { display:block !important; }
.modal-img-placeholder:not(.loading) #modalImgLoader { display:none !important; }

/* Loader overlays the placeholder without changing its size */
.modal-img-placeholder #modalImgLoader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* keep transparent background so underlying overlay is visible */
  z-index: 2100;
  pointer-events: none; /* loader doesn't block button clicks if buttons are above */
}

/* ensure loader gif is centered within the inner area */
.modal-img-placeholder #modalImgLoader img { width:48px; height:48px; display:block; }

/* Ensure modal content and controls are visible above all page content */
.modal-img-viewer { z-index: 99999; }
.modal-img-content { z-index: 100000; pointer-events: auto; }
.modal-img-placeholder .modal-nav-btn, .modal-img-placeholder .modal-img-close { pointer-events: auto; }

/* Navigation buttons live inside the placeholder and are pinned relative to it */
.modal-img-content .modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  color: #111;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200; /* above image */
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.modal-img-placeholder .modal-nav-btn:hover {
  background: #f4f4f4;
}
.modal-img-content .modal-nav-prev { left: 12px; }
.modal-img-content .modal-nav-next { right: 12px; }

/* Close button pinned to top-right inside placeholder */
.modal-img-placeholder .modal-img-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.95);
  color: #111;
  border-radius: 50%;
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.28);
  cursor: pointer;
}
.modal-img-placeholder .modal-img-close:hover { background: #f4f4f4; }

/* Ensure .hidden always hides modal (strong rule) and remove temporary emergency overrides */
.modal-img-viewer.hidden { display: none !important; }

/* Mobile optimizations */
@media (max-width: 768px) {
  .modal-img-viewer { padding: 10px; }
  .modal-img-content { max-width: 100vw; max-height: 100vh; }
  /* On narrow screens prefer a taller aspect (4:3) */
  .modal-img-placeholder { width: 96%; min-height: 200px; --modal-aspect-ratio: 4 / 3; }
  .modal-img-placeholder .modal-nav-btn { width: 40px; height: 40px; font-size: 16px; }
  .modal-img-placeholder .modal-nav-prev { left: 8px; }
  .modal-img-placeholder .modal-nav-next { right: 8px; }
}


body.modal-open {
  overflow: hidden !important;
}
.card-bottom {
  height: 50px;
  width: 100%;
}

.prev, .next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:#000;
  color:#fff;
  width:40px;
  height:40px;
  border-radius:50%;
  font-size:18px;
  cursor:pointer;
  z-index: 10;
}
.prev { left:-54px; }
.next { right:-54px; }

.hero-copy {
  text-align: center;
  margin-top: 1.2rem;
  width: 100%;
  max-width: min(700px, 80%);
  font-size: 1.18rem;
}
.lead {
  width: 100%;
  margin: 0 auto 1.2rem;
  color: #333;
  text-align: center;
  font-size: 1.25rem;
}
.hero-buttons { display:flex; gap:0.6rem; justify-content:center; margin-top: 1.5rem; width: 100%; }
.btn {
  display:flex; justify-content: center; align-items: center; gap: 15px; padding:0.5rem 1rem; border-radius:22px; border:1px solid #000; text-decoration:none; color:#000; font-weight:700;
  transition: all .18s ease;
  background:#000; color:#fff;
}
.btn:hover { background:#fff; color:#000; border:1px solid #000; }

.section { padding:4.5rem 0; }

main > section.section {
  margin-bottom: 4.5rem;
}
.section-title {
  font-size: 2.7rem; 
  margin-bottom: 1.8rem;
  padding-top: 1.125rem; 
  padding-bottom: 1.125rem;
  font-weight: 700;
}


/* Location section grid columns for map and info */
.section-grid .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.location-map-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.map-wrap {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.map-wrap iframe,
#gmap {
  flex: 1 1 0;
  height: 100%;
  min-height: 340px;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  display: block;
}

.location-info-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}
.location-sub {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}
.location-text {
  margin-bottom: 0.2rem;
  margin-top: 0;
  text-align: justify;
}
.location-distances-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  margin-top: 0.4rem;
}
.distance-list {
  display: flex;
  flex-direction: column;
  gap: 0.01rem;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .section-grid .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .location-info-col {
    margin-top: 1.5rem;
  }
  .location-map-col,
  .map-wrap,
  .map-wrap iframe,
  #gmap {
    height: 340px !important;
    min-height: 0;
  }
}

/* Map */
.map-wrap iframe { width:100%; height:340px; border:1px solid #eee; border-radius:8px; display:block; }

/* Info */
.info-image {
  max-width: 100%;
  display: block;
  margin-bottom: 1.2rem;
  margin-top: -8.5rem;
  margin-left: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .info-image {
    margin-top: 0;
  }
}
.justified { text-align:justify; }

.location-text { margin-bottom: 1.5rem; margin-top: 1.5rem; }
.location-distances { margin-bottom: 0.75rem; margin-top: 1.5rem; }
.distance-list { display: flex; flex-direction: column; gap: 0.5rem; }
.distance-list div { font-size: 1rem; }

.docs-table li { list-style: none; margin-bottom: 0.3rem; padding-left: 0; }

li { white-space: pre; }

/* Documents table */
.docs-table { list-style:none; margin:0; padding:0; display:block; border-top:1px solid #eee; }
.docs-row {
  display:grid;
  grid-template-columns: 1fr auto;
  gap:1rem;
  align-items:center;
  padding:0.8rem 0;
  border-bottom:1px solid #f2f2f2;
  min-height: 1.5rem;
}
.doc-title { font-weight:500; line-height: 1.5rem; }
.doc-action { display:flex; gap:0.6rem; align-items:center; height: 1.5rem; }
.doc-action a { text-decoration: none; color: inherit; display: flex; align-items: center; height: 100%; }
.doc-action a:hover { text-decoration: none; }
.doc-action img { width:28px; height:28px; display:block; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: 1fr 360px; gap:2rem; align-items:start; }
@media (max-width:980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-wrap form { display:flex; flex-direction:column; gap:0.3rem; }
.contact-form-wrap label { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-form-wrap input, .contact-form-wrap textarea {
  border:1px solid #000; padding:0.6rem; border-radius:6px; font-size:1rem;
  width: 100%;
  margin-bottom: 0.4rem;
  resize: none;
}
.contact-form-wrap textarea {
  resize: vertical;
  height: 120px;
  min-height: 120px;
  max-height: 300px;
}

.form-bottom {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.terms-section {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 0 0.4rem 0;
  font-size: 1rem;
}

.terms-section input[type="checkbox"] {
  margin: 0 0.18em 0 0;
  transform: scale(1.05);
  accent-color: #000;
  vertical-align: middle;
  width: auto;
  min-width: 1.1em;
  max-width: 1.1em;
}

.terms-section label {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  margin: 0 !important;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  flex: 1;
}

.submit-section {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.btn-submit {
  background:#000; 
  color:#fff; 
  border:1px solid #000; 
  padding:0.6rem; 
  border-radius:6px; 
  font-size:1rem;
  font-weight:700; 
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0.4rem;
}

.btn-submit:hover:not(:disabled) { 
  background:#fff; 
  color:#000; 
  border:1px solid #000; 
}

.btn-submit:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  border: 1px solid #ccc;
  width: 100%;
}

.btn-submit:disabled:hover {
  background: #ccc;
  color: #666;
  border: 1px solid #ccc;
}

.terms-inline { 
  display:flex; 
  align-items:flex-start; 
  margin-top:0.2rem; 
  justify-content: flex-start;
}
.terms-inline input[type="checkbox"] { 
  transform:scale(1.05);
  accent-color: #000;
  flex-shrink: 0;
  margin-top: 0.1rem;
  margin-right: 0.25rem;
}
.terms-inline label {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  line-height: 1.4;
  white-space: nowrap;
}

.contact-icon { width: 20px; height: 20px; display: inline; margin-right: 8px; vertical-align: middle; }

.status { margin-top:0.5rem; font-weight:600; color:green; }

/* Footer */
.footer { background:#000; color:#fff; padding:1.2rem 0; margin-top:2rem; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.footer-left { display:flex; align-items:center; gap:0.6rem; text-decoration:none; color:#fff; }
.footer-logo { width:30px; height:30px; object-fit:contain; }
.footer-title { font-weight:700; font-size:0.95rem; }
.footer-right a { color:#fff; opacity:0.9; margin-left:1rem; text-decoration:none; }
.footer-right a:hover { text-decoration:underline; }

@media (max-width:700px) {
  .hero-title { font-size:1.5rem; }
  .prev { left:5px; } .next { right:5px; }
  .main-nav ul { gap:0.6rem; font-size:0.9rem; }
}

.unARub-basic-dialog-element--content {
  margin-top: 50% !important;
  color: #222;
  background: #fff;
  max-width: 280px;
  word-break: break-word;
}

.info-list {
  display: block !important;
  list-style: disc inside !important;
  margin-left: 1.5em !important;
  padding-left: 0 !important;
}
.info-list li {
  display: list-item !important;
  list-style-type: disc !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}


/* === DSZM MOBILE FIX v4  === */

@media (max-width: 768px) {

  body {
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-x: hidden;
  }

  .container {
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }

  /* --- HEADER + HAMBURGER --- */
  header {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .header-bar {
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
  }

  .hamburger span {
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #eee;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 2000;
  }

  .nav.active {
    max-height: 90vh;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 1.1rem 1.3rem;
    font-size: 1.05rem;
    color: #000;
    text-align: left;
    border-bottom: 1px solid #f3f3f3;
    text-decoration: none;
  }

  .nav a:hover {
    background: #000;
    color: #fff;
  }

  .nav::-webkit-scrollbar {
    width: 6px;
  }
  .nav::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 3px;
  }

  /* --- HERO --- */
  .hero {
    padding-top: 100px;
    text-align: center;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin: 1rem 0 1.5rem;
    font-weight: 800;
  }

  .lead,
  .hero-copy {
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 600px;
  }

  .card {
    min-width: auto;
    max-width: 100%;
    padding: 1rem;
    margin: 0 auto;
  }

  .card-img,
  .card-img-wrap {
    width: 100%;
    height: auto;
  }

  /* --- LOKÁCIÓ --- */
  #location {
    padding: 2rem 1rem;
  }

  #location .grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 1rem;
  }

  #location .section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  #location .map-wrap {
    display: block !important;
    width: 100%;
    margin-bottom: 1rem;
  }

  #location .location-text,
  #location .location-distances {
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 0.8rem;
  }

  #location .distance-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-left: 0.5rem;
  }

  /* --- INFO --- */
  #info {
    padding: 2rem 1rem;
  }

  #info .grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 1.2rem;
  }

  #info .section-title {
    font-size: 1.9rem;
    text-align: left;
  }

  #info .info-image {
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto 1rem;
  }

  #info p,
  #info li,
  #info ul,
  #info .justified {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: justify;
    line-height: 1.55;
    font-size: 0.95rem;
    max-width: 95%;
    margin: 0 auto;
  }

  #info ul {
    list-style-type: disc;
    padding-left: 1.2rem;
  }

  /* --- DOKUMENTUMOK --- */
  #docs {
    padding: 2rem 1rem;
  }

  .docs-table {
    width: 100%;
    display: block;
  }

  .docs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.3rem;
    border-bottom: 1px solid #eee;
  }

  .doc-title {
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .doc-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .doc-action a + a {
    display: none !important;
  }

  .doc-action img {
    width: 28px;
    height: 28px;
  }

  /* --- KAPCSOLAT --- */
  #contact {
    padding: 2rem 1rem;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    text-align: left;
  }

  .contact-form-wrap,
  .contact-info {
    width: 100%;
    max-width: 500px;
  }

  .contact-form-wrap input,
  .contact-form-wrap textarea {
    font-size: 0.95rem;
  }

  /* --- FOOTER --- */
  .footer {
    background: #000;
    color: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
  }

  .footer a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
  }

  .footer a:hover {
    text-decoration: underline;
  }
}
