html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family: "Segoe UI", Arial, sans-serif; }
section { scroll-margin-top: 110px; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}
.video-replacement {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 8px 20px -8px #9c9c9c;
}
.local-map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}
.local-map-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.local-map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.16));
}
.local-map-overlay {
  position: relative;
  z-index: 2;
  max-width: 590px;
  padding: clamp(2rem, 6vw, 5rem);
  color: #fff;
}
.local-map-overlay h3, .local-map-overlay p { color: #fff; }
.local-map-overlay p { margin: 1rem 0 1.5rem; }
.footer-legal-info {
  width: min(900px, 100%);
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  text-align: left;
  position: relative;
  z-index: 1;
}
.footer-legal-info h3 { margin: 0 0 1rem; text-align: center; }
.footer-legal-info p { margin: .35rem 0; overflow-wrap: anywhere; }
.footer-legal-info .legal-sample-note { margin-top: 1rem; font-size: .85em; opacity: .78; }
#labjegyzet .nav-wrapper a { color: inherit; }
#labjegyzet .content-wrapper { position: relative; z-index: 1; }
#gallery-contact-form .alert { margin-bottom: 1rem; }
.navbar-toggler { position: relative; z-index: 1002; }
.navbar-toggler .hamburger span { background-color: #111 !important; }
.navbar-collapse { z-index: 1001; }
.tabs-wrapper { max-width: 100%; overflow-x: auto; }
.nav-tabs { flex-wrap: nowrap; min-width: max-content; }
@media (max-width: 991px) {
  .navbar-toggler { display: flex !important; align-items: center; justify-content: center; }
  .navbar-toggler .hamburger { display: block !important; width: 30px; height: 23px; }
  .navbar-collapse { background: #f5f5f5; padding: 1rem; max-height: calc(100vh - 110px); overflow-y: auto; border-radius: 0 0 1rem 1rem; }
  .navbar-collapse:not(.show):not(.collapsing) { display: none !important; }
  .navbar-collapse.show, .navbar-collapse.collapsing { display: block !important; }
  .navbar-buttons .btn { width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
  .local-map-card { min-height: 390px; }
  .local-map-card::after { background: rgba(0,0,0,.62); }
  .local-map-overlay { max-width: none; text-align: center; }
}
@media (max-width: 767px) {
  .hero-section, .section-title, .mbr-section-title, .mbr-text, h1, h2, h3, h4 {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }
  .footer-legal-info { padding: 1rem; }
  .cid-vrwhPKSFqj .content-wrapper .nav-wrapper .list { flex-direction: column; }
  .local-map-card { min-height: 440px; }
}
