/* Tarjetas de listas Top 10 con foto (plantilla reutilizable) */
.place-list:has(.place-card) { display: grid; gap: 1.4rem; }
.place-list li { margin: 0; }
article.place.place-card { padding: 0; overflow: hidden; border-radius: 20px; border: 0;
  background: #fff; box-shadow: 0 10px 30px rgba(21,32,51,.10); position: relative;
  border-top: 6px solid hsl(var(--h) 70% 50%); transition: transform .25s ease, box-shadow .25s ease; }
article.place-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(21,32,51,.16); }
.pc-top { position: relative; }
.pc-media { margin: 0; position: relative; background: hsl(var(--h) 45% 88%); }
.pc-media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.pc-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.pc-zoom:hover img, .pc-zoom:focus-visible img { transform: scale(1.04); }
.pc-media figcaption { position: absolute; right: .5rem; bottom: .5rem; max-width: 85%; font-size: .78rem; line-height: 1.3;
  color: #fff; background: rgba(10,14,22,.62); padding: .25rem .55rem; border-radius: 999px; }
.pc-ph { aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(135deg, hsl(var(--h) 75% 62%), hsl(calc(var(--h) + 50) 70% 48%)); }
.pc-ph span { font-size: 4.5rem; font-weight: 800; color: rgba(255,255,255,.85); text-shadow: 0 4px 18px rgba(0,0,0,.18); }
.pc-rank { position: absolute; left: .9rem; top: .9rem; min-width: 3.1rem; height: 3.1rem; padding: 0 .6rem; border-radius: 999px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; color: #fff;
  background: hsl(var(--h) 72% 42%); box-shadow: 0 6px 18px rgba(0,0,0,.25); border: 3px solid #fff; }
.pc-body { padding: 1.1rem 1.3rem 1.3rem; }
.pc-body h3 { font-size: 1.4rem; line-height: 1.25; margin: .1rem 0 .4rem; }
.pc-body h3 .num { color: hsl(var(--h) 72% 38%); }
.pc-tag { display: inline-block; margin: 0 0 .3rem; font-size: .85rem; font-weight: 700; letter-spacing: .02em;
  color: hsl(var(--h) 70% 28%); background: hsl(var(--h) 80% 92%); padding: .15rem .65rem; border-radius: 999px; }
.place-card .btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.place-card .btn { border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; }
.chip { font: inherit; font-size: .95rem; padding: .45rem 1rem; border-radius: 999px; cursor: pointer;
  border: 2px solid #152033; background: #fff; color: #152033; transition: background .2s, color .2s; min-height: 44px; }
.chip[aria-pressed="true"] { background: #152033; color: #fff; }
.place-list li.pc-hidden { display: none; }
@media (min-width: 900px) {
  article.place-card { display: grid; grid-template-columns: minmax(0, 46%) 1fr; }
  .pc-top { align-self: start; position: sticky; top: 1rem; padding: 1rem 0 1rem 1rem; }
  .pc-top .pc-media, .pc-top .pc-zoom { border-radius: 14px; overflow: hidden; }
  .pc-top .pc-rank { left: 1.6rem; top: 1.6rem; }
}
.pc-reveal { opacity: 0; transform: translateY(18px); }
.pc-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (prefers-reduced-motion: reduce) {
  .pc-reveal { opacity: 1; transform: none; }
  article.place-card, .pc-media img { transition: none; }
}
dialog.pc-lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1000px); width: 100%; }
dialog.pc-lightbox::backdrop { background: rgba(8,12,20,.88); }
.pc-lb-inner { position: relative; }
.pc-lb-inner img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 14px; background: #111; }
.pc-lb-cap { color: #fff; margin: .6rem .2rem 0; font-size: 1rem; }
.pc-lb-cap small { display: block; opacity: .8; }
.pc-lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.92); font-size: 1.6rem; cursor: pointer; }
.pc-lb-prev { left: .5rem; } .pc-lb-next { right: .5rem; }
.pc-lb-close { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.92); font-size: 1.4rem; cursor: pointer; }
@media (min-width: 900px) { article.place-card.pc-nomedia { display: block; } }
.pc-media figcaption a { color: #fff; text-decoration: none; }
.pc-media figcaption a:hover { text-decoration: underline; }
.pc-kind { position: absolute; right: .6rem; top: .6rem; font-size: .78rem; font-weight: 700; color: #152033;
  background: rgba(255,255,255,.92); padding: .2rem .6rem; border-radius: 999px; }
