[hidden] { display: none !important; }
.nav { gap: 16px; position: relative; }
.navlinks { align-items: center; gap: clamp(12px, 2vw, 26px); font-size: 14px; }
.nav-group > button, .languages button {
  background: transparent; border: 0; color: inherit; padding: 8px 0;
}
.nav-group > button::after { content: '⌄'; margin-inline-start: 6px; }
.nav-group > button[aria-expanded="true"] { color: var(--gold); }
.nav-panel {
  position: absolute; top: 100%; z-index: 1; min-width: 210px;
  display: grid; gap: 6px; padding: 14px; background: var(--panel);
  border: 1px solid #d6b47766; box-shadow: 0 14px 32px #0008;
}
.nav-panel a, .nav-panel button {
  display: block; text-align: left; padding: 10px 12px; border: 1px solid transparent;
  background: transparent; color: var(--light); font: inherit;
}
.nav-panel a:hover, .nav-panel button:hover { border-color: var(--gold); color: var(--gold); }
.nav-wide { right: 0; width: min(650px, 100%); grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nav-wide button { border-color: var(--line); background: var(--bg); }
.nav-wide .btn { grid-column: 1 / -1; border-color: #d6b47766; text-align: center; }
.languages { display: flex; gap: 7px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.languages button { padding: 8px 3px; }
.languages [aria-pressed="true"] { color: var(--gold); box-shadow: inset 0 -2px var(--gold); }
.event, #contact, #home { scroll-margin-top: 95px; }
@media (min-width: 821px) and (hover: hover) and (pointer: fine) {
  .navlinks { align-self: stretch; }
  .nav-group { display: flex; align-items: center; align-self: stretch; }
}
label { font-size: 14px; }
.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field input, .field select { font-size: 16px; min-height: 52px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 34px;
  background: #151512 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='m2 3 6 6 6-6' fill='none' stroke='%23d6b477' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.field option { background: var(--panel); color: var(--light); }
.field option:checked { background: var(--gold); color: var(--bg); }
#date { position: relative; }
#date::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; opacity: 0; cursor: pointer; }
#date { padding-right: 32px; background: #151512 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M2 4h14v12H2zM2 7h14M5 2v4m8-4v4' stroke='%23d6b477' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center; }
[aria-invalid="true"] { border-color: #ffab9f; }
#formError, .media-error { margin: 12px 0 0; color: #ffb5a6; }
.contactline b { margin: 4px 0 12px; }
.contactline a[href^="tel:"] { text-decoration: underline; text-underline-offset: 4px; }
.gallery-item span { position: absolute; inset: auto 0 0; background: #151512e8; color: var(--light); text-align: left; }
#galleryDialog img.zoomed { width: auto; max-width: none; max-height: none; cursor: zoom-out; }
#galleryDialog img { cursor: zoom-in; }
#galleryMedia { overflow: auto; max-height: 76vh; max-height: 76dvh; }
#menuDialog { width: min(760px, 94vw); height: min(90vh, 1100px); height: min(90dvh, 1100px); }
dialog .close { min-height: 40px; min-width: 40px; }
.menu-sheet { margin-top: 16px; padding: clamp(14px, 4vw, 32px); border: 1px solid #d6b47766; background: #171a14; }
.menu-sheet h4 { font: 25px var(--serif); color: var(--gold); margin: 0 0 14px; }
.menu-sheet dt { color: var(--gold); font-weight: bold; margin-top: 9px; }
.menu-sheet dd { margin: 0; }
.menu-sheet address { margin-top: 18px; font-style: normal; }
.menu-sheet a { text-decoration: underline; }
@media (max-width: 1000px) { .nav > .btn { display: none; } }
@media (max-width: 820px) {
  .nav { position: static; }
  .navlinks { gap: 6px; align-items: stretch; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow: auto; }
  .navlinks > a, .nav-group > button { display: block; text-align: left; width: 100%; padding: 10px 0; }
  .nav-panel { position: static; width: 100%; box-shadow: none; }
  .languages { margin-inline-start: auto; }
  .navtoggle { min-height: 44px; }
}
@media (max-width: 600px) {
  .fields, .nav-wide { grid-template-columns: 1fr; }
  .nav { gap: 8px; }
  .brand { gap: 7px; }
  .brand small { letter-spacing: .12em; }
  .mark { width: 30px; height: 30px; }
  .hero h1 { font-size: clamp(36px, 11vw, 53px); }
}
.halls { margin-top: 36px; }
.halls h3 { font: 30px var(--serif); margin: 0 0 16px; }
.hall-card { padding: 20px 24px; background: var(--panel); border: 1px solid var(--line); }
.hall-card h4 { font: 25px var(--serif); margin: 0 0 4px; }
.hall-card p { margin: 0; }
.hall-card strong { color: var(--gold); font: 30px var(--serif); }
.menu-options { display: grid; gap: 10px; }
.menu-option { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.menu-option .price { margin: 0; white-space: nowrap; }
#menuDialog[open] { display: flex; flex-direction: column; gap: 12px; }
.menu-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.menu-dialog-header h3 { margin: 0; overflow-wrap: anywhere; }
.menu-dialog-header .close { flex: 0 0 auto; }
#menuContent { flex: 1; min-height: 0; overflow: auto; }
#menuContent:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.menu-image { display: block; margin: 0 auto; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.menu-image.is-zoomed { width: max(200%, var(--menu-native-width)); max-width: none; max-height: none; margin: 0; }
.menu-dialog-actions { margin: 0; }
#menuContent .menu-sheet { margin-top: 0; }
#menuContent .media-error { margin: 0 0 12px; }
@media (max-width: 480px) {
  #menuDialog { padding: 12px; }
  .menu-dialog-header h3 { font-size: 22px; }
  .menu-dialog-actions .btn { padding-inline: 8px; }
}

.hero h1 { max-width: 680px; text-wrap: balance; }
.hero p { max-width: 560px; text-wrap: pretty; }
.hero .actions { align-items: center; gap: 16px; }
.hero .actions .btn { font-size: 1rem; padding: 8px 12px; }
.hero-halls-link { padding: 12px 0; color: var(--light); text-decoration: underline; text-underline-offset: 4px; }
.hero-halls-link:hover { color: var(--gold); }
#halls { scroll-margin-top: 96px; }
