/* Accessible HU / EN / DE / SK navigation without changing master layout. */
.site-header .lang-switch a.lang-chip {
  text-decoration:none;
  cursor:pointer;
}
.site-header .lang-switch a.lang-chip:focus-visible,
.main-nav .mobile-language-options a:focus-visible {
  outline:2px solid #d6b47b;
  outline-offset:3px;
}
.mobile-language-options {display:none;}
@media (max-width:930px) {
  .main-nav .mobile-language-options {
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    border-top:1px solid rgba(215,180,116,.25);
    margin-top:12px;
    padding-top:20px;
  }
  .main-nav .mobile-language-options a.lang-chip {
    display:grid;
    place-items:center;
    border:1px solid rgba(215,180,116,.34);
    border-radius:3px;
    width:42px;
    min-width:42px;
    height:38px;
    padding:0;
    font-size:.75rem;
    letter-spacing:.09em;
    color:#d8c7a6;
    background:transparent;
  }
  .main-nav .mobile-language-options a.lang-chip.active {
    color:#07180f;
    background:#d6b47b;
    font-weight:700;
  }
  .main-nav .mobile-language-options a.lang-chip:after {display:none}
}

/* Narrow desktop navigation: make room for the longest DE/SK labels. */
@media (min-width:931px) and (max-width:1050px) {
  .site-header .container {
    grid-template-columns:minmax(215px,1fr) auto minmax(140px,1fr);
    gap:12px;
  }
  .site-header .main-nav {gap:5px}
  .site-header .main-nav > a {font-size:.65rem}
}
/* Long compound words in German must wrap inside their editorial columns. */
@media (max-width:400px) {
  .timeline-item {grid-template-columns:44px minmax(0,1fr)}
  .timeline-item > div:not(.timeline-marker) {min-width:0;overflow-wrap:anywhere}
  .section-header h2 {overflow-wrap:anywhere}
}


/* Responsive business-scope content adjustment for the longer Slovak HERO.
   Preserve the master composition; add clearance from the 3D logo at tablet widths. */
@media (min-width:621px) and (max-width:930px) {
  html[lang="sk"] body[data-page="home"] .hero h1 {font-size:50px;}
  html[lang="sk"] body[data-page="home"] .vb-hero-emblem {top:14%;}
}


/* Tight 621–700px transition: keep the emblem above longer multi-language titles. */
@media (min-width:621px) and (max-width:700px) {
  html :is(.hero,.page-hero) .vb-hero-emblem {top:10%;}
}
