/* Split-screen main menu inside the Elementor popup #84 (see scripts/patch-menu.py). */
#elementor-popup-modal-84 {
  --menu-bg: #f6f2ea;
  --menu-ink: #4b5a50;
  --menu-icon: #7d604c;
  --menu-muted: #6e6a62;
  --menu-line: #d9cfc0;
  --menu-green: #657c6a;
  --menu-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  background-color: rgba(28, 31, 28, .72);
}
#elementor-popup-modal-84 .dialog-message {
  width: min(1280px, 94vw);
  height: min(860px, 92vh);
  max-height: none;
  overflow: hidden;
}
#elementor-popup-modal-84 .dialog-widget-content {
  background: var(--menu-bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}
#elementor-popup-modal-84 .dialog-close-button {
  top: 28px;
  right: 28px;
  z-index: 3;
  font-size: 22px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
#elementor-popup-modal-84 .dialog-close-button:hover { color: #fff; opacity: .75; }
#elementor-popup-modal-84 .dialog-close-button svg { fill: currentColor; }
#elementor-popup-modal-84 .elementor-84 { width: 100%; height: 100%; }

.auerhahn-menu {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  width: 100%;
  height: 100%;
  font-family: "Sarabun", sans-serif;
  color: var(--menu-ink);
}

/* Left: navigation */
.auerhahn-menu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  padding: clamp(20px, 3.4vh, 36px) clamp(24px, 4vw, 64px) clamp(20px, 3.4vh, 36px);
  overflow-y: auto;
  background: var(--menu-bg);
}
.auerhahn-menu__sprig {
  position: absolute;
  left: -10px;
  bottom: -20px;
  width: 190px;
  height: auto;
  fill: none;
  stroke: #b8c0ad;
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: .7;
  pointer-events: none;
}
.auerhahn-menu__logo { position: relative; display: block; padding-bottom: clamp(12px, 2vh, 20px); }
.auerhahn-menu__logo img { display: block; width: clamp(140px, 13vw, 180px); height: auto; }
.auerhahn-menu__logo::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  border-bottom: 1px solid var(--menu-line);
}
.auerhahn-menu__nav { position: relative; width: 100%; max-width: 400px; margin-top: clamp(10px, 2vh, 22px); }
.auerhahn-menu ul { margin: 0; padding: 0; list-style: none; }
.auerhahn-menu a,
.auerhahn-menu summary { color: inherit; text-decoration: none; }

.auerhahn-menu__main > li > a,
.auerhahn-menu__main summary {
  display: grid;
  grid-template-columns: 34px 1fr 10px;
  align-items: center;
  gap: 0 30px;
  padding: clamp(4px, .8vh, 8px) 0;
  font-family: var(--menu-serif);
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.25;
  cursor: pointer;
}
.auerhahn-menu__main summary { list-style: none; }
.auerhahn-menu__main summary::-webkit-details-marker { display: none; }
.auerhahn-menu__main i { justify-self: center; font-size: 21px; color: var(--menu-icon); }
.auerhahn-menu__rings { justify-self: center; width: 30px; height: 20px; fill: none; stroke: var(--menu-icon); stroke-width: 2.6; }
.auerhahn-menu__chevron {
  width: 8px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: .7;
  transition: transform .2s ease;
}
.auerhahn-menu details[open] .auerhahn-menu__chevron { transform: rotate(90deg); }
.auerhahn-menu__main > li > a:hover span,
.auerhahn-menu__main summary:hover span { color: var(--menu-green); }
.auerhahn-menu__sub { padding: 0 0 8px 64px !important; }
.auerhahn-menu__sub a {
  display: block;
  padding: 4px 0;
  font-size: 16px;
  color: var(--menu-muted);
}
.auerhahn-menu__sub a:hover { color: var(--menu-green); }

.auerhahn-menu__secondary {
  margin-top: clamp(10px, 1.6vh, 18px) !important;
  padding-top: clamp(8px, 1.4vh, 16px) !important;
  border-top: 1px solid var(--menu-line);
}
.auerhahn-menu__secondary a {
  display: grid;
  grid-template-columns: 34px 1fr 10px;
  align-items: center;
  gap: 0 20px;
  padding: clamp(2px, .45vh, 5px) 0;
  font-size: 17px;
  color: var(--menu-muted);
}
.auerhahn-menu__secondary i { justify-self: center; font-size: 15px; color: var(--menu-muted); }
.auerhahn-menu__secondary a:hover span { color: var(--menu-green); }

.auerhahn-menu__actions {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  margin-top: auto;
  padding-top: clamp(16px, 2.6vh, 28px);
}
.auerhahn-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--menu-icon);
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--menu-ink) !important;
  transition: background-color .2s ease, color .2s ease;
}
.auerhahn-menu__button:hover { background: #fff; }
.auerhahn-menu__button i { font-size: 17px; color: var(--menu-icon); }
.auerhahn-menu__button--primary { border-color: var(--menu-green); background: var(--menu-green); color: #fff !important; }
.auerhahn-menu__button--primary i { color: #fff; }
.auerhahn-menu__button--primary:hover { background: #56695a; }

/* Right: image */
.auerhahn-menu__visual { position: relative; min-height: 0; overflow: hidden; background: #3b3a33; }
.auerhahn-menu__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.auerhahn-menu__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 18, 14, .62) 0%, rgba(20, 18, 14, .28) 55%, rgba(20, 18, 14, .08) 100%);
}
.auerhahn-menu__claim { position: absolute; z-index: 2; top: 18%; left: 8%; right: 8%; color: #fff; }
.auerhahn-menu__script {
  margin: 0;
  font-family: "Alex Brush", cursive;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.08;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.auerhahn-menu__eyebrow {
  max-width: 220px;
  margin: 26px 0 0;
  font-size: 15px;
  letter-spacing: .2em;
  line-height: 1.75;
  text-transform: uppercase;
}
.auerhahn-menu__eyebrow::before {
  content: "";
  display: block;
  width: 60px;
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .75);
}

@media (max-width: 900px) {
  #elementor-popup-modal-84 .dialog-message { width: 100vw; height: 100dvh; }
  #elementor-popup-modal-84 .dialog-close-button { top: 18px; right: 18px; color: var(--menu-ink); text-shadow: none; }
  #elementor-popup-modal-84 .dialog-close-button:hover { color: var(--menu-ink); }
  .auerhahn-menu { grid-template-columns: 1fr; }
  .auerhahn-menu__visual { display: none; }
  .auerhahn-menu__panel { padding: 28px 20px 24px; }
}
@media (max-width: 420px) {
  .auerhahn-menu__actions { grid-template-columns: 1fr; }
  .auerhahn-menu__main > li > a,
  .auerhahn-menu__main summary { gap: 0 18px; }
}

/* Current page: exact page ("page") or the section a subpage belongs to ("location"). */
.auerhahn-menu [aria-current],
.auerhahn-menu summary.is-current { position: relative; color: var(--menu-green); }
.auerhahn-menu__main [aria-current] span,
.auerhahn-menu__main summary.is-current span { font-weight: 600; }
.auerhahn-menu__main > li > [aria-current]::before,
.auerhahn-menu__main summary.is-current::before,
.auerhahn-menu__secondary [aria-current]::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 3px;
  height: 1.1em;
  transform: translateY(-50%);
  background: var(--menu-green);
}
.auerhahn-menu__main > li > [aria-current] i,
.auerhahn-menu__main summary.is-current i,
.auerhahn-menu__secondary [aria-current] i { color: var(--menu-green); }
.auerhahn-menu__main summary.is-current .auerhahn-menu__rings { stroke: var(--menu-green); }
.auerhahn-menu__sub [aria-current] { font-weight: 600; }
.auerhahn-menu__sub [aria-current]::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--menu-green);
}
