/* Place pages (/cities, /pole-dance/lisbon …), rendered on the server by app/seo.py. Builds on style.css tokens.
   No script runs on these pages, so everything here works with JavaScript off. */
.place-page { background: var(--bg); --tabbar-h: 0px; --on-fern: #d5e6da; }
.place-page .pp-top { position: static; background: var(--brand-800); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; gap: var(--s5); }
.place-page .pp-top .brand { color: #fff; }
.place-page .pp-top .pp-nav { position: static; display: flex; flex-wrap: wrap; gap: var(--s1); height: auto; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.place-page .pp-nav a { color: var(--on-fern); font-weight: 600; text-decoration: none; padding: 9px 14px; border-radius: var(--r-md); }
.place-page .pp-nav a:hover { background: rgb(255 255 255 / .08); color: #fff; }
.place-page :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.place-page .pp-top :focus-visible { outline-color: #fff; }

.pp { max-width: 960px; padding-top: var(--s5); padding-bottom: 64px; }
.pp section { margin-top: var(--s10); }
.pp h2 { margin-bottom: var(--s4); }

.pp-crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin: 0 0 var(--s6); padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.pp-crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 var(--s2) 1px 0; border: solid var(--subtle); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }  /* a drawn chevron, not a glyph */
.pp-crumbs a { color: var(--brand-600); text-decoration: none; }
.pp-crumbs a:hover { text-decoration: underline; }

/* The page title in a white panel: the app's Read surfaces put their title on the ground, not on a dark slab. */
.pp-hero { padding: var(--s8) var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.pp-hero h1 { max-width: 22ch; margin-bottom: var(--s2); }
.pp-where { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin-bottom: var(--s4); }
.pp-hero h1 + .pp-lead { margin-top: var(--s4); }
.pp-lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--muted); max-width: 46em; margin-bottom: var(--s6); }
.pp-actions { margin: 0; }
/* The one primary action, as the app's .primary */
.pp-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s5); border: 1px solid var(--brand-800); border-radius: var(--r-md); background: var(--brand-800); color: #fff;
  font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .15s; }
.pp-btn:hover { background: var(--brand-700); }
.pp-btn:active { transform: translateY(1px); }

.pp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); margin: 0; padding: 0; list-style: none; }
.pp-card { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.pp-card h3 { margin-bottom: var(--s1); }
.pp-card h3 a { color: var(--text); text-decoration: none; }
.pp-card h3 a:hover { text-decoration: underline; }
.pp-card p { margin-bottom: var(--s2); }
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-chips span { padding: 3px 10px; border-radius: var(--r-sm); background: var(--surface-2); font-size: var(--fs-sm); font-weight: 600; }
.pp-facts { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

.pp-empty { padding: var(--s6); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }

.pp-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: 0; padding: 0; list-style: none; }
.pp-links li { padding: 8px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-strong); }
.pp-links li:hover { border-color: var(--brand-600); background: var(--brand-50); }
.pp-links a { font-weight: 700; color: var(--brand-600); text-decoration: none; }
.pp-links a:hover { text-decoration: underline; }
.pp-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.pp-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.pp-cities li { padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 16px; }
.pp-cities li:target { border-color: var(--brand-600); box-shadow: 0 0 0 2px var(--brand-600); }
.pp-sub { display: block; margin-top: var(--s1); font-size: var(--fs-sm); }

.pp-browse { margin-top: var(--s10); color: var(--muted); }
.pp-foot { padding: var(--s6) max(4vw, 16px) var(--s10); border-top: 1px solid var(--line); }
.pp-foot nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); max-width: 960px; margin: 0 auto; }
.pp-foot a { color: var(--muted); padding: 6px 0; }

@media (max-width: 560px) {
  .place-page .pp-top { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .pp-hero { padding: var(--s6) var(--s4); }
  .pp-btn { width: 100%; justify-content: center; text-align: center; white-space: normal; padding: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) { .pp-btn { transition: none; } }
.pp-hero > :last-child { margin-bottom: 0; }
@media (max-width: 560px) { .place-page .pp-top .pp-nav { margin-left: -14px; } }
