/* LewesLive readable controls, simplified map page and mobile burger menu */
.ll-v2 button,
.ll-v2 select,
.ll-v2 input,
.ll-v2 textarea,
.ll-v2 .place-meta a,
.ll-v2 .place-meta button,
.ll-v2 .directory-meta a,
.ll-v2 .directory-meta span,
.ll-v2 .map-place-actions a,
.ll-v2 .map-place-actions button,
.ll-v2 .delivery-badge {
  color: #101916;
  background: #fffdf8;
  border-color: rgba(16,25,22,0.22);
}

.ll-v2 button:hover,
.ll-v2 button:focus-visible,
.ll-v2 a:focus-visible,
.ll-v2 .place-meta a:hover,
.ll-v2 .place-meta button:hover,
.ll-v2 .directory-meta a:hover,
.ll-v2 .map-place-actions a:hover,
.ll-v2 .map-place-actions button:hover {
  outline: 3px solid rgba(226,170,66,0.55);
  outline-offset: 2px;
}

.ll-v2 .ll-button,
.ll-v2 .ll-link-row a,
.ll-v2 .ll-link-row button,
.ll-v2 .map-place-actions a:first-child,
.ll-v2 .place-meta button,
.ll-v2 .place-meta a:first-child {
  background: #101916;
  color: #fffaf0;
  border-color: #101916;
}

.ll-v2 .ll-nav a[aria-current="page"],
.ll-v2 .ll-nav a:hover,
.ll-v2 .ll-nav a:focus-visible {
  background: #101916;
  color: #fffaf0;
}

.ll-v2 .ll-calendar-filter button[aria-pressed="true"] {
  background: #101916;
  color: #fffaf0;
}

.ll-menu-toggle {
  display: none;
  width: 48px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(16,25,22,0.18);
  background: #fffdf8;
  color: #101916;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  flex: 0 0 auto;
}

.ll-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.ll-menu-open .ll-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ll-menu-open .ll-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.ll-menu-open .ll-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.ll-map-page #illustrated-map-toggle {
  display: none !important;
}

.ll-map-page .map-stage {
  display: grid;
  grid-template-rows: minmax(520px, 72svh) auto;
  gap: 14px;
}

.ll-map-page #map {
  min-height: 520px;
}

.ll-map-page .map-place-card {
  position: static !important;
  width: 100% !important;
  max-height: none !important;
  overflow: visible;
  box-shadow: 0 18px 42px rgba(16,25,22,0.12);
}

.ll-map-page .map-place-card[hidden] {
  display: none !important;
}

.ll-map-page .map-place-visual,
.ll-map-page .map-place-kicker,
.ll-map-page .map-place-source,
.ll-map-page .map-place-status {
  display: block;
}

.ll-map-page .map-place-close {
  float: right;
}

@media (max-width: 900px) {
  .ll-header__inner,
  .ll-map-page .ll-header__inner {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: min(96%, 1180px) !important;
    min-height: 112px !important;
    padding: 10px 0 !important;
  }

  .ll-logo,
  .ll-map-page .ll-logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .ll-logo img,
  .ll-map-page .ll-logo img {
    width: min(78vw, 510px) !important;
    max-width: 100% !important;
    max-height: 104px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .ll-menu-toggle {
    display: inline-flex !important;
    margin-left: auto !important;
    order: 2 !important;
  }

  .ll-nav,
  .ll-map-page .ll-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none !important;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(16,25,22,0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 52px rgba(16,25,22,0.18);
    z-index: 1000;
  }

  html.ll-menu-open .ll-nav,
  body.ll-menu-open .ll-nav,
  .ll-header.ll-menu-open .ll-nav,
  .ll-header__inner.ll-menu-open .ll-nav,
  .ll-menu-open .ll-nav {
    display: grid !important;
  }

  .ll-nav a {
    display: flex !important;
    justify-content: center;
    min-height: 44px;
    align-items: center;
    border-radius: 12px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .ll-header__inner,
  .ll-map-page .ll-header__inner {
    min-height: 104px !important;
    padding: 8px 0 !important;
  }

  .ll-logo img,
  .ll-map-page .ll-logo img {
    width: min(78vw, 450px) !important;
    max-height: 96px !important;
  }

  .ll-menu-toggle {
    width: 46px;
    height: 44px;
  }

  .ll-map-page .map-stage {
    grid-template-rows: minmax(440px, 60svh) auto;
  }
  .ll-map-page #map {
    min-height: 440px;
  }
}