/* place.css — step 6.3: /places/[slug].
   The Infatuation's information order in Double Tap'd's own identity:
   breadcrumb, name, meta, address, recognition, actions, photo, verdict,
   story, details. Desktop: a sticky left rail (name, meta, address,
   pills, actions, mini map) with photo and story on the right. White
   base, ink text, red #c8321c, Cormorant Garamond headings (the guide
   titles' --font-display), Inter Tight body. Loaded only by place pages. */

.pl { padding-top: 1.25rem; }

/* ---- layout ------------------------------------------------------------ */
.pl-layout { display: flex; flex-direction: column; }
.pl-crumbs { order: 0; }
.pl-side { display: contents; }
.pl-rail { order: 1; }
.pl-main { order: 2; }
.pl-mapbox { order: 3; margin-top: 1.6rem; }
@media (min-width: 900px) {
  .pl-layout {
    display: grid;
    grid-template-columns: 21rem minmax(0, 1fr);
    grid-template-areas: "crumbs crumbs" "side main";
    column-gap: 3rem;
    align-items: start;
  }
  .pl-crumbs { grid-area: crumbs; }
  .pl-side { display: block; grid-area: side; position: sticky; top: 84px; }
  .pl-main { grid-area: main; min-width: 0; }
  .pl-mapbox { margin-top: 1.4rem; }
}

/* ---- breadcrumb --------------------------------------------------------- */
.pl-crumbs {
  font: 600 0.8rem/1.4 var(--font-sans); letter-spacing: 0.02em;
  text-transform: lowercase; color: var(--ink-muted, #6f6a61);
  margin: 0 0 1rem;
}
.pl-crumbs a { color: inherit; text-decoration: none; }
.pl-crumbs a:hover { color: #c8321c; text-decoration: underline; }
.pl-crumbs .sep { margin: 0 0.45rem; opacity: 0.6; }

/* ---- rail --------------------------------------------------------------- */
.pl-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.4rem); line-height: 1.04;
  margin: 0;
}
@media (min-width: 900px) { .pl-name { font-size: 2.6rem; } }
.pl-meta {
  margin: 0.55rem 0 0; font-size: 1.02rem; color: var(--ink-soft, #55534c);
}
.pl-address { margin: 0.35rem 0 0; font-size: 0.98rem; }
.pl-address a { color: var(--ink-soft, #55534c); text-decoration: none; }
.pl-address a:hover { color: #c8321c; text-decoration: underline; }

.pl-closed {
  margin: 1.2rem 0 0; padding: 0.9rem 1.1rem; border-radius: 14px;
  background: #f7f4ee; border: 1.5px solid rgba(33, 29, 25, 0.2);
}
.pl-closed strong { text-transform: lowercase; }
.pl-closed a { color: #c8321c; font-weight: 600; }

.pl-tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pl-tags li {
  padding: 0.28rem 0.7rem; font-size: 0.82rem; border: 1px solid rgba(33, 29, 25, 0.25);
  border-radius: 999px;
}
.pl-tags a { color: inherit; text-decoration: none; }
.pl-tags a:hover { color: #c8321c; }

.pl-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 0; }
.pl-note { display: inline-flex; align-items: center; min-height: 46px; font: 600 0.92rem/1 var(--font-sans); text-transform: lowercase; color: #6f6a5e; }
.pl-btn {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: 0.6rem 1.2rem; border-radius: 999px; cursor: pointer;
  font: 600 0.92rem/1 var(--font-sans); text-transform: lowercase;
  text-decoration: none; border: 1.5px solid #211d19; color: #211d19; background: #fff;
}
.pl-btn-primary { background: #c8321c; border-color: #c8321c; color: #fff; }
.pl-btn:hover { border-color: #c8321c; color: #c8321c; }
.pl-btn-primary:hover { color: #fff; filter: brightness(1.07); }

/* ---- main column ---------------------------------------------------------- */
.pl-hero { margin: 1.4rem 0 0; }
@media (min-width: 900px) { .pl-main .pl-hero { margin-top: 0; } }
.pl-hero img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; border-radius: 18px;
}
.pl-hero figcaption {
  margin-top: 0.4rem; font-size: 0.78rem; color: var(--ink-muted, #6f6a61);
}
.pl-mono {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10; border-radius: 18px;
  background: #f7f4ee; border: 1.5px solid rgba(33, 29, 25, 0.14);
  font-family: var(--font-display); font-weight: 500; font-size: 5rem; color: #c8321c;
}
/* On phones the monogram tile shrinks to a slim band so the story
   comes up first; the full tile stays on desktop. */
@media (max-width: 899px) {
  .pl-mono { aspect-ratio: auto; height: 84px; font-size: 2.4rem; }
}

.pl-verdict {
  margin: 1.2rem 0 0; padding-left: 0.9rem; border-left: 3px solid #c8321c;
  font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.25;
}
.pl-story { margin: 1.3rem 0 0; font-size: 1.08rem; line-height: 1.65; max-width: 44rem; }
.pl-story p { margin: 0 0 1em; }
.pl-story p:last-child { margin-bottom: 0; }
.pl-read { margin: 1.1rem 0 0; max-width: 44rem; font-weight: 600; }
.pl-read a { color: #c8321c; }

/* ---- details + guides ------------------------------------------------------ */
.pl-details { margin: 2.2rem 0 0; max-width: 44rem; }
.pl-details h2, .pl-guides h2 {
  font: 600 0.78rem/1.2 var(--font-sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted, #6f6a61); margin: 0 0 0.7rem;
}
.pl-facts { display: grid; gap: 0.55rem; margin: 0; }
.pl-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.6rem; }
.pl-facts dt {
  font: 600 0.78rem/1.5 var(--font-sans); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted, #6f6a61);
}
.pl-facts dd { margin: 0; line-height: 1.5; }
@media (max-width: 640px) { .pl-facts div { grid-template-columns: 1fr; gap: 0; } }
.pl-badge {
  display: inline-block; margin-top: 0.9rem; padding: 0.32rem 0.75rem;
  border: 1.5px solid #c8321c; border-radius: 999px; color: #c8321c;
  font: 600 0.82rem/1.3 var(--font-sans); text-transform: lowercase;
}
.pl-guides { margin: 2rem 0 0; max-width: 44rem; }
.pl-guides ul { margin: 0; padding-left: 1.1rem; }
.pl-guides li { margin: 0.25rem 0; }
.pl-guides a { color: #c8321c; }

/* ---- mini map (PlaceMap.tsx) ---------------------------------------------- */
.pm-mapwrap { position: relative; border-radius: 18px; }
.pm-map {
  /* Sized like the guide and neighborhood maps (52vh, 320px floor), with a
     taller floor here so it is never smaller than the old 280px box. */
  width: 100%; height: 52vh; min-height: 360px; max-height: 560px;
  border-radius: 18px; overflow: hidden;
  background: #f7f4ee; box-shadow: 0 10px 34px rgba(33, 29, 25, 0.13);
}
@media (max-width: 899px) { .pm-map { min-height: 320px; max-height: 460px; } }
.pm-map .maplibregl-ctrl-attrib {
  font-size: 10px; background: rgba(255, 255, 255, 0.82); color: #57534a;
}
.pm-map .maplibregl-ctrl-attrib a { color: #57534a; }
.pm-map .maplibregl-ctrl-top-right { margin: 6px 6px 0 0; }
.pm-map .maplibregl-ctrl-group {
  background: #fff; border: 1.5px solid #211d19; border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(33, 29, 25, 0.16);
}
.pm-map .maplibregl-ctrl-group button { width: 36px; height: 36px; background: #fff; }
.pm-map .maplibregl-ctrl-group button + button { border-top: 1px solid rgba(33, 29, 25, 0.16); }
.pm-map .maplibregl-ctrl-group button:hover { background: #f7f4ee; }
.pm-map .maplibregl-ctrl-group button:focus-visible { outline: 2.5px solid #c8321c; outline-offset: -2.5px; }
.pm-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.4rem;
  background: #f7f4ee; border-radius: 18px; text-align: center; padding: 1rem;
}
.pm-placeholder-label { font: 600 0.85rem/1 var(--font-sans); text-transform: lowercase; color: var(--ink-muted, #6f6a61); }
.pm-placeholder-attr { font-size: 0.68rem; color: var(--ink-muted, #6f6a61); }
.pm-open {
  /* Top left, clear of the zoom buttons (top right) and the attribution
     (bottom right). Square-cornered, not a pill (brand rule). */
  position: absolute; left: 12px; top: 12px; z-index: 5;
  font: 600 0.8rem/1 var(--font-sans); text-transform: lowercase; text-decoration: none;
  color: #fff; background: #211d19; border-radius: 6px; padding: 0.6rem 0.95rem;
  box-shadow: 0 4px 16px rgba(33, 29, 25, 0.3);
}
.pm-open { border: none; cursor: pointer; }
.pm-open:hover { background: #c8321c; }
/* Expanded view: the same map, full screen over the page (no navigation). */
.pm-mapwrap.is-expanded {
  position: fixed; inset: 0; z-index: 10000; border-radius: 0;
  padding: clamp(10px, 3vw, 36px); background: rgba(33, 29, 25, 0.6);
}
html.pm-big-open .pl-side { z-index: 10000; }
.pm-mapwrap.is-expanded .pm-map { height: 100%; min-height: 0; max-height: none; }
.pm-mapwrap.is-expanded .pm-open { left: calc(clamp(10px, 3vw, 36px) + 12px); top: calc(clamp(10px, 3vw, 36px) + 12px); }

.pl :focus-visible, .pm-open:focus-visible {
  outline: 2.5px solid #c8321c; outline-offset: 2px;
}
/* Know before you go (2026-11-22) */
.pl-order{margin-top:1.4rem}
.pl-order h3{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;font-family:var(--font-sans);font-weight:500;color:var(--ink-muted,#5e584f);margin:0 0 .5rem}
.pl-order ul{margin:0;padding:0;list-style:none;display:grid;gap:.35rem}
.pl-order li{padding-left:1.1rem;position:relative}
.pl-order li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:#c8321c}
.pl-checked{margin-top:1.2rem;font-size:.8rem;color:var(--ink-muted,#5e584f)}

/* ---- price tooltip: what $–$$$$ means per person ------------------------ */
.pl-price { position: relative; display: inline-block; }
.pl-price-btn {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0;
  cursor: help; text-decoration: underline dotted rgba(33, 29, 25, 0.45);
  text-underline-offset: 0.2em;
}
.pl-price-btn:focus-visible { outline: 2px solid #c8321c; outline-offset: 2px; }
.pl-price-tip {
  position: absolute; left: 0; top: calc(100% + 0.2rem); z-index: 5;
  white-space: nowrap; padding: 0.45rem 0.7rem;
  font: 500 0.85rem/1.2 var(--font-sans); color: #fff; background: #211d19;
  visibility: hidden; opacity: 0; transition: opacity 0.15s ease;
  pointer-events: none;
}
@media (hover: hover) { .pl-price:hover .pl-price-tip { visibility: visible; opacity: 1; } }
.pl-price-btn:focus-visible + .pl-price-tip,
.pl-price.is-open .pl-price-tip { visibility: visible; opacity: 1; }
