/* Public pages share the application's type, colours and permanent navigation. */
.guest-browsing #primary-navigation {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-inline: max(4px, calc((100vw - 800px) / 2));
}
#primary-navigation a {
  text-decoration: none;
}
#primary-navigation [aria-current="page"] {
  color: var(--wine-dark);
  background: #efe7dc;
  font-weight: 600;
}
#selection-introduction {
  display: none;
}
.guest-browsing
  .named-by-navigation:not(.personal-journal)
  #selection-introduction {
  display: block;
}
.selection-introduction {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.selection-introduction summary {
  color: var(--wine);
  cursor: pointer;
  padding-block: 6px;
}
.selection-introduction p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.65;
}
.selection-introduction a {
  color: var(--wine);
  text-underline-offset: 3px;
}
.map-add {
  position: absolute;
  z-index: 800;
  left: 14px;
  bottom: 32px;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ffffff50;
  color: #fff;
  background: var(--wine);
  box-shadow: 0 3px 14px #342a2830;
  font-size: 30px;
  line-height: 1;
  touch-action: manipulation;
}
.map-add:hover {
  background: var(--wine-dark);
}
.leaflet-marker-icon.restaurant-map-marker {
  pointer-events: none;
}
.restaurant-map-marker .rating-marker {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  left: 28px;
  top: 36px;
}
.restaurant-map-marker:focus-visible {
  outline: none;
}
.restaurant-map-marker:focus-visible .rating-marker {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
#atlas .leaflet-top .leaflet-control-zoom {
  margin-top: 12px !important;
}
.example-bookmark svg {
  width: 24px;
  height: 24px;
}
/* The list-only state retains creation even when the map is folded away. */
body:has(#atlas:not([data-map-split="0"])) #quick-add {
  display: none;
}
#guest-page {
  height: calc(100dvh - var(--shell-height) - var(--nav-height));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.guest-feature {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
.feature-demonstration {
  background: #f1e9dd;
  padding: 20px max(24px, calc((100vw - 640px) / 2));
  min-width: 0;
}
.feature-demonstration header {
  max-width: 540px;
  margin: 0 auto 18px;
}
.feature-demonstration .eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
}
.feature-demonstration h1 {
  font:
    500 clamp(31px, 4vw, 44px)/1.02 "Cormorant Garamond",
    Georgia,
    serif;
  color: var(--wine);
  margin: 8px 0 0;
  letter-spacing: -0.025em;
}
.example-label {
  display: block;
  max-width: 540px;
  margin: 0 auto 8px;
  font-size: 11px;
  line-height: 1.4;
  color: #70675d;
}
.preview-entry {
  max-width: 540px;
  margin-inline: auto;
  padding: 18px 20px;
  background: #fffdf8;
  border: 1px solid #dcd1c1;
  border-radius: 6px;
  box-shadow: 0 8px 24px #4f3c2607;
  position: relative;
}
.preview-entry h2 {
  font:
    500 29px/1.05 "Cormorant Garamond",
    Georgia,
    serif;
  color: var(--wine);
  margin: 12px 0 6px;
}
.preview-entry p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.preview-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.example-score {
  color: var(--wine);
  font:
    500 27px/1 Georgia,
    serif;
  white-space: nowrap;
}
.example-score small {
  font:
    11px "DM Sans",
    sans-serif;
}
.preview-place {
  color: var(--muted);
}
.example-note {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 10px;
}
.example-note .eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
}
.example-note p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.2;
}
.example-dish {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
  font-size: 12px;
}
.example-dish span:last-child {
  color: var(--muted);
}
.example-tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  margin-top: 18px;
  font-size: 12px;
}
.example-bookmark {
  float: right;
  color: var(--wine);
  font-size: 27px;
}
.example-art {
  display: block;
  width: 100%;
  height: 100px;
  color: #866448;
  background: #ebe1d2;
  border-radius: 3px;
  margin-bottom: 18px;
}
.collection-art {
  height: 70px;
}
.example-addresses {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.album-example small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 12px;
}
.feature-invitation {
  padding: 24px 24px 28px;
  display: flex;
  align-items: center;
}
.feature-copy {
  max-width: 540px;
  margin-inline: auto;
  width: 100%;
}
.feature-level {
  font-size: 12px;
  color: var(--muted);
}
.feature-copy h2 {
  font:
    500 30px/1.05 "Cormorant Garamond",
    Georgia,
    serif;
  color: var(--wine);
  margin: 10px 0 14px;
}
.feature-copy > p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 18px;
}
.feature-copy ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.feature-copy li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.feature-copy li::before {
  content: "·";
  position: absolute;
  left: 3px;
  color: var(--wine);
  font-weight: bold;
}
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.feature-actions button {
  min-height: 46px;
  font-size: 14px;
}
.feature-copy .feature-footnote {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
}
.feature-details {
  margin-block: 4px 8px;
  border-top: 1px solid var(--line);
}
.feature-details summary {
  min-height: 44px;
  display: list-item;
  align-content: center;
  cursor: pointer;
  color: var(--wine);
  font-size: 13px;
}
.feature-details ul {
  margin-block: 8px 18px;
}
.feature-explore {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--wine);
  font-size: 14px;
  text-underline-offset: 4px;
}
.membership-request {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
@media (orientation: landscape) and (min-width: 800px) {
  .example-art {
    height: 145px;
  }
  .guest-feature {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .feature-demonstration {
    padding: 36px clamp(24px, 4vw, 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .feature-demonstration header,
  .example-label,
  .preview-entry {
    width: 100%;
  }
  .feature-invitation {
    padding: 40px clamp(28px, 4vw, 70px);
  }
}
@media (max-width: 380px) {
  .feature-demonstration,
  .feature-invitation {
    padding-inline: 20px;
  }
  .preview-entry {
    padding: 18px;
  }
  .feature-actions .primary {
    width: 100%;
  }
}
