/* Modello unico del luogo: componenti e identità dei cataloghi esistenti. */
.sight-detail-page .sights-breadcrumb { display:flex; flex-wrap:wrap; gap:6px 10px; font-size:12px; margin-bottom:26px; color:var(--green); }
.sight-detail-page .sights-breadcrumb a { text-decoration:underline; text-underline-offset:3px; }
.sight-detail-page .sight-heading { margin-bottom:24px; }
.sight-detail-page .sight-heading h1 { font-size:clamp(36px,5vw,60px); line-height:1.1; margin:0 0 12px; }
.sight-detail-page .sight-location { font-size:14px; color:var(--green); margin:0 0 12px; }
.sight-detail-page .sight-hero { margin:0 0 36px; }
.sight-detail-page .sight-hero > img { width:100%; height:auto; aspect-ratio:16 / 9; max-height:400px; object-fit:cover; object-position:50% 15%; border-radius:16px; }
.sight-detail-page .sight-hero figcaption { font-size:11px; color:#625f56; margin-top:10px; line-height:1.6; }
.sight-detail-page .sight-hero figcaption a { text-decoration:underline; text-underline-offset:3px; }
.sight-detail-page .sight-story { max-width:880px; margin-inline:auto; }
.sight-detail-page .sight-introduction { font-size:19px; line-height:1.7; color:var(--ink); margin-bottom:36px; }
.sight-detail-page .sight-story-section { margin-top:36px; }
.sight-detail-page h2 { font-size:32px; line-height:1.2; margin-bottom:18px; }
.sight-detail-page .sight-story-section > p { font-size:16px; line-height:1.8; }
.sight-detail-page .sight-story-item { padding:18px 22px; background:var(--cream); border-radius:13px; margin-bottom:12px; }
.sight-detail-page .sight-story-item h3 { font-size:20px; line-height:1.3; margin-bottom:8px; }
.sight-detail-page .sight-story-item p { font-size:15px; line-height:1.7; margin-bottom:0; }
.sight-detail-page .sight-map-section { margin-top:48px; border-top:1px solid var(--line); padding-top:30px; }
.sight-detail-page .sight-map-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.sight-detail-page .sight-map-heading h2 { max-width:660px; }
.sight-detail-page .sight-map-section > p { font-size:13px; max-width:850px; }
.sight-detail-page .sight-map { width:100%; height:460px; border:1px solid var(--line); border-radius:16px; background:var(--cream); isolation:isolate; z-index:0; }
.sight-detail-page .leaflet-container { font-family:Manrope,Arial,sans-serif; }
.sight-detail-page .leaflet-popup-content { font-size:13px; line-height:1.6; }
.sight-detail-page .sight-map-legend { display:flex; flex-wrap:wrap; gap:12px 22px; font-size:12px; margin:20px 0 14px; }
.sight-detail-page .sight-map-legend span { display:flex; align-items:center; gap:8px; }
.sight-detail-page .sight-map-legend span::before { content:""; display:inline-block; width:13px; height:13px; border-radius:50%; border:2px solid #fff; outline:1px solid var(--line); }
.sight-detail-page .sight-legend-main::before { background:var(--ink); }
.sight-detail-page .sight-legend-nearby::before { background:var(--green); }
.sight-detail-page .sight-marker { border:0; background:transparent; }
.sight-detail-page .sight-marker span { display:grid; place-items:center; width:28px; height:28px; margin:4px; border:3px solid #fff; border-radius:50%; background:var(--green); color:#fff; box-shadow:0 2px 7px #302d2833; font:600 12px/1 Manrope,Arial,sans-serif; }
.sight-detail-page .sight-marker-main span { width:36px; height:36px; margin:0; background:var(--ink); font-size:14px; }
.sight-detail-page .sight-map-status,.sight-detail-page .sight-map-provider { font-size:12px; color:#625f56; margin:12px 0 0; }
.sight-detail-page .sight-map-provider a { text-decoration:underline; }
.sight-detail-page .sight-nearby { margin-top:36px; }
.sight-detail-page .sight-nearby > p { font-size:14px; }
.sight-detail-page .sight-nearby-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.sight-detail-page .sight-nearby-grid:has(> :last-child:nth-child(2)) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.sight-detail-page .sight-nearby-grid:has(> :only-child) { grid-template-columns:minmax(0,1fr); max-width:560px; }
.sight-detail-page .sight-nearby-card { min-width:0; padding:22px; border:1px solid var(--line); border-radius:15px; background:#fffdfb; }
.sight-detail-page .sight-nearby-card h3 { font-size:23px; line-height:1.3; margin-bottom:12px; }
.sight-detail-page .sight-nearby-card > p:last-child { font-size:14px; line-height:1.7; margin-bottom:0; }
.sight-detail-page .sight-back { margin-top:32px; }
.sight-detail-page .sight-back .button { white-space:normal; }
.sight-detail-page [hidden] { display:none!important; }
@media(max-width:900px) {
  .sight-detail-page .sight-map-heading { align-items:flex-start; flex-direction:column; gap:8px; margin-bottom:18px; }
  .sight-detail-page .sight-nearby-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:580px) {
  .sight-detail-page .sight-hero { margin-bottom:24px; }
  .sight-detail-page .sight-hero > img { aspect-ratio:auto; max-height:none; }
  .sight-detail-page .sight-introduction { font-size:17px; line-height:1.7; }
  .sight-detail-page h2 { font-size:27px; }
  .sight-detail-page .sight-story-item { padding:17px; }
  .sight-detail-page .sight-map { height:340px; }
  .sight-detail-page .sight-map-section { margin-top:32px; }
  .sight-detail-page .sight-nearby-grid,.sight-detail-page .sight-nearby-grid:has(> :last-child:nth-child(2)) { grid-template-columns:minmax(0,1fr); }
  .sight-detail-page .sight-nearby-card { padding:18px; }
}

/* Stessi limiti del modello originale anche per i ritagli della libreria. */
.sight-detail-page .sight-hero > svg { display:block; width:100%; aspect-ratio:16/9; max-height:400px; border-radius:16px; }
.sight-detail-page .sight-secondary { margin:18px 0; }
.sight-detail-page .sight-secondary > img,.sight-detail-page .sight-secondary > svg { display:block; width:100%; max-height:400px; object-fit:cover; border-radius:16px; }
.sight-detail-page .sight-secondary figcaption { font-size:12px; }
.sight-detail-page .sight-back { display:flex; flex-wrap:wrap; gap:12px; }
