/* Small replacements for the original theme's JavaScript-controlled layout. */
html { min-height: 100%; }
body { min-height: 100vh; color: #333; background: #555 var(--page-background) center center / cover fixed no-repeat; }
body.home-page { background-position: center; }
header .bg-header, .header-inner, .logo-container, #mainlogo .inner { height: 80px; }
.header-inner { display: flex; align-items: center; }
.logo-container { display: flex; align-items: center; }
#mainlogo .inner { display: flex; align-items: center; }
.menu-container { flex: 1; }
.lang-switch, #wpml-selector { display: none; }
.de-menu { font-size: 11px; height: auto; }
.de-menu li > a { padding-top: 25px; padding-bottom: 25px; }
.de-menu a[aria-current="page"] { background: #64483e; }
#content-wrapper { margin-top: 140px; }
#main-content:focus { outline: none; }
#menu-btn { border: 1px solid #fff7; border-radius: 3px; padding: 8px 12px; background: #513d32; color: white; font: inherit; min-height: 44px; }
#menu-btn::before { content: none; }
#mobile-menu-container { display: none; }
.no-script-nav { display: none; }
#mobile-menu-container.is-open { display: block; left: 0; }
#mobile-menu-container .inner { padding-top: 80px; }
body.menu-open { overflow: hidden; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 2000; padding: 12px; background: white; color: #513d32; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #ca9a54; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; padding: 0 15px; margin: 0 0 40px; }
#gallery > li { width: auto; float: none; list-style: none; padding: 0; margin: 0; }
#gallery > li[hidden] { display: none; }
#gallery .pic_hover { position: relative; }
#gallery .image { display: block; }
#gallery img { display: block; width: 100%; height: 245px; object-fit: cover; }
#gallery .info { background: rgba(255,255,255,.9); padding: 12px 16px; }
#gallery h4 { margin: 0; font-size: 18px; }
#filters { margin-bottom: 24px; }
#filters a { display: inline-block; min-height: 44px; }
#filters a[aria-current="page"], #filters a[aria-current="true"] { background: #513d32; color: white; }
.page-inner table { min-width: 230px; margin: 16px auto; text-align: left; }
.page-inner th { padding: 8px 10px; font-weight: 600; white-space: nowrap; }
.page-inner .col-md-6 .col-md-6 { width: 100%; margin-left: 0; padding: 0; }
.location-card { background: rgba(255,255,255,.9); border-radius: 3px; overflow: hidden; }
.location-card > iframe { display: block; width: 100%; height: 360px; margin: 0; border: 0; }
.location-card > div { padding: 24px 30px 30px; }
.location-card h1 { margin-top: 0; font-size: 26px; }
.map-link { display: inline-block; padding: 12px 18px; }
.sb a { overflow-wrap: anywhere; }
#photo-viewer { width: min(1100px, 96vw); max-width: 96vw; max-height: 96vh; background: #151515; color: white; border: 0; padding: 48px 55px 20px; }
#photo-viewer::backdrop { background: #000d; }
#photo-viewer figure { margin: 0; }
#photo-viewer img { display: block; max-width: 100%; max-height: 75vh; width: auto; height: auto; margin: auto; }
#photo-viewer figcaption { padding: 12px 0 0; text-align: center; }
#photo-viewer button { position: absolute; background: transparent; border: 0; color: white; min-width: 44px; min-height: 44px; font-size: 36px; }
.viewer-close { top: 0; right: 4px; }
.viewer-prev { left: 4px; top: 45%; }
.viewer-next { right: 4px; top: 45%; }
@media (max-width: 991px) {
  body { padding-top: 80px; }
  header { position: fixed !important; top: 0; left: 0; margin-top: 0; height: 80px; background: #513d32; }
  header .container { width: 100%; }
  header .logo-container { width: auto; }
  header #mainlogo { position: static; }
  header #mainlogo .inner { padding-left: 0; }
  #mainlogo img { max-width: min(65vw, 260px); height: auto; }
  .menu-container { display: none; }
  #menu-btn { display: none; top: 18px; right: 18px; }
  .js-enabled #menu-btn { display: block; }
  .no-script-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px; background: #513d32; }
  .no-script-nav a { color: white; padding: 10px; }
  #content-wrapper { margin-top: 30px; }
  #gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb.inner { margin-top: 24px; }
}
@media (max-width: 575px) {
  #gallery { grid-template-columns: 1fr; gap: 20px; }
  #gallery img { height: 260px; }
  .page-inner { padding: 22px; }
  #filters ul { padding: 0; }
  #filters li { margin-bottom: 6px; }
  #footer .social-icon-footer, #footer .text { text-align: center; }
  #photo-viewer { padding-left: 40px; padding-right: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
