/* The public page of a guide post (place_post.php). */
.place-post-page { background: var(--page-bg, #f5f5f5); padding: 96px 16px 48px; }
.place-post { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 24px; line-height: 2; overflow-wrap: anywhere; }
.place-post h1 { font-size: 1.75rem; font-weight: 700; line-height: 1.5; margin-bottom: 16px; }
.place-post h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 8px; }
.place-post p { margin-bottom: 14px; }
.place-post ul { list-style: disc; padding-inline-start: 20px; margin-bottom: 14px; }
.place-post figure { margin: 0 0 18px; }
.place-post figure img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; background: #eee; }
.place-post figcaption { font-size: .75rem; color: #6b7280; margin-top: 6px; }
.place-post-inline { margin: 6px 0 22px; }
.place-post-inline img { max-height: 520px; object-fit: contain; background: #f3f4f6; }
.place-post-inline figcaption { font-size: .85rem; text-align: center; }
.place-post-intro { font-size: 1.05rem; }
.place-post-facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: #f8fafc; border-radius: 12px; padding: 14px; margin-bottom: 18px; }
.place-post-facts dt { font-size: .8rem; color: #6b7280; }
.place-post-facts dd { font-weight: 500; margin: 0; }
.place-post-note { color: #374151; }
.place-post-soon { background: #f0f9ff; border-radius: 12px; padding: 12px 14px; color: #075985; }
.place-post-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.place-post-button { display: inline-block; background: #00ab6c; color: #fff; border-radius: 12px; padding: 8px 18px; font-weight: 500; }
.place-post-button-alt { background: #fff; color: #00ab6c; box-shadow: inset 0 0 0 1px #00ab6c; }
/* The public list (place_posts.php). */
.place-list { max-width: 1120px; margin: 0 auto; }
.place-list-head { margin-bottom: 18px; }
.place-list-head h1 { font-size: 1.75rem; font-weight: 700; line-height: 1.5; }
.place-list-head p { color: #6b7280; }
.place-list-cities, .place-list-pages { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.place-list-pages { justify-content: center; margin: 24px 0 0; }
.place-list-cities a, .place-list-pages a { background: #fff; border-radius: 999px; padding: 4px 14px; font-size: .875rem; box-shadow: inset 0 0 0 1px #e5e7eb; }
.place-list-cities a.is-active, .place-list-pages a.is-active { background: #00ab6c; color: #fff; box-shadow: none; }
.place-list-cities a small { font-size: .75rem; color: #9ca3af; }
.place-list-cities a.is-active small { color: rgba(255, 255, 255, .8); }
.place-list-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 6px; padding-inline-start: 14px; margin-bottom: 14px; box-shadow: inset 0 0 0 1px #e5e7eb; }
.place-list-search:focus-within { box-shadow: inset 0 0 0 2px #00ab6c; }
.place-list-search i { color: #9ca3af; }
.place-list-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 6px 0; font: inherit; }
.place-list-search button { background: #00ab6c; color: #fff; border-radius: 10px; padding: 6px 18px; font-weight: 500; }
.place-list-found { color: #6b7280; font-size: .875rem; margin: -6px 0 14px; }
.place-list-found a { color: #00ab6c; }
.place-list-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.place-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; transition: box-shadow .2s; }
.place-card:hover, .place-card:focus-visible { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); }
.place-card img, .place-card-nophoto { display: flex; align-items: center; justify-content: center; width: 100%; height: 170px; object-fit: cover; background: #eef2f6; color: #9ca3af; font-size: 2rem; }
.place-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; line-height: 1.8; overflow-wrap: anywhere; }
.place-card-body small { color: #6b7280; }
.place-card-body strong { font-size: 1.05rem; }
.place-card-body span { color: #4b5563; font-size: .875rem; }
.place-list-empty { background: #fff; border-radius: 16px; padding: 32px 16px; text-align: center; color: #6b7280; }
@media (max-width: 640px) {
    .place-post-page { padding: 80px 12px 32px; }
    .place-list-head h1 { font-size: 1.4rem; }
    .place-post { padding: 16px; }
    .place-post h1 { font-size: 1.4rem; }
}
