/* Server-rendered fallback styles. Scoped to .lpw-wp to avoid theme bleed. */
.lpw-wp { font-family: inherit; color: #0F172A; }
.lpw-wp * { box-sizing: border-box; }
.lpw-wp-header h2 { margin: 0 0 4px; font-size: 1.5rem; line-height: 1.2; }
.lpw-wp-updated { color: #6b7280; font-size: 0.85rem; margin: 0 0 16px; }
.lpw-wp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .lpw-wp-list { grid-template-columns: 1fr 1fr; } }
.lpw-wp-card {
  border: 1px solid rgba(17,24,39,.10); border-radius: 16px; padding: 16px;
  background: #fff; box-shadow: 0 4px 14px rgba(17,24,39,.06);
  display: grid; gap: 8px;
}
.lpw-wp-photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.lpw-wp-title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.lpw-wp-title a { color: #0F172A; text-decoration: none; }
.lpw-wp-title a:hover { text-decoration: underline; }
.lpw-wp-meta { color: #6b7280; font-size: 0.85rem; margin: 0; }
.lpw-wp-meta a { color: #14304B; text-decoration: none; }
.lpw-wp-meta a:hover { text-decoration: underline; }
.lpw-wp-rating { color: #d6202a; letter-spacing: 1px; margin-right: 4px; }
.lpw-wp-summary { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.lpw-wp-quote {
  margin: 0; font-size: 0.9rem; line-height: 1.5;
  background: #f8fafc; border-left: 3px solid #d6202a;
  padding: 8px 10px; border-radius: 6px;
}
.lpw-wp-broad { margin: 0; font-size: 0.8rem; color: #6b7280; }
.lpw-wp-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(214,32,42,.1); color: #d6202a;
}
.lpw-wp-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.lpw-wp-pagination a {
  padding: 6px 12px; border: 1px solid rgba(17,24,39,.10); border-radius: 25px;
  font-size: 0.85rem; color: #111827; text-decoration: none;
}
.lpw-wp-pagination a.is-current { background: #d6202a; color: #fff; border-color: #d6202a; }

/* Server-rendered detail buttons — match hydrated 25px pill style. */
.lpw-wp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.lpw-wp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: 25px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: 1px solid rgba(20,48,75,.18); color: #14304B; background: #fff;
}
.lpw-wp-btn-primary, .lpw-wp-btn--book { background: #d6202a; color: #fff; border-color: #d6202a; }
.lpw-wp-btn-secondary { background: #14304B; color: #fff; border-color: #14304B; }
.lpw-wp-btn-call, .lpw-wp-btn--call { background: #14304B; color: #fff; border-color: #14304B; border-radius: 25px; }
.lpw-wp-btn-back, .lpw-wp-btn--back { background: #ffffff; color: #000000; border: 1px solid #000000; border-radius: 25px; }
.lpw-wp-btn-back:hover, .lpw-wp-btn--back:hover { background: #f5f5f5; color: #000000; }
.lpw-wp-subtitle { margin: 4px 0 8px; font-size: 13px; color: #5b6470; font-weight: 500; }
.lpw-wp-back { display: inline-block; margin-bottom: 8px; color: #14304B; text-decoration: none; font-weight: 600; }
.lpw-wp-empty, .lpw-wp-error {
  border: 1px dashed rgba(17,24,39,.15); padding: 28px; border-radius: 16px;
  text-align: center; color: #6b7280;
}
.lpw-wp-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
/* Hydrated pages should show the map area first. The crawlable PHP list stays
   present for SEO/no-JS but is visually tucked away once JS hydration is on. */
.lpw-wp-hydrate-target { display: block; min-height: 600px; }
.lpw-wp-loading {
  min-height: 600px; display: grid; place-items: center;
  border: 1px solid rgba(20,48,75,.12); border-radius: 16px;
  color: #5B6470; background: #f8fafc;
}
.lpw-wp--hydrating .lpw-wp-fallback {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.lpw-wp:not(.lpw-wp--hydrating) .lpw-wp-hydrate-target { display: none; }
