/* ============================================================
   HOSTIFY PALERMO — Il quartiere
   Eredita i token. Testo in colonna di lettura; le foto sono opzionali:
   se un file manca la figura non viene stampata e il layout resta ordinato.
   ============================================================ */

.q-head {
  padding-top: clamp(7.5rem, 16vw, 10rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.q-head h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem);
  line-height: 1.12; letter-spacing: var(--track-display);
  margin-block: var(--sp-4); max-width: 20ch;
}
.q-head .lead { font-size: var(--t-lead); color: color-mix(in srgb, var(--ombra) 80%, transparent); max-width: 56ch; }

.q-indice { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0 0; }
.q-indice a {
  display: inline-flex; border: 1px solid var(--linea-forte); border-radius: var(--r-pill);
  padding: 0.5em 1em; font-size: var(--t-small); font-weight: 600;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.q-indice a:hover { background: rgba(21,48,43,0.05); border-color: var(--ombra); }

.q-body { max-width: 48rem; padding-bottom: clamp(3rem, 8vw, 6rem); }
.q-sezione { margin-top: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 6rem; }
.q-sezione h2 { font-size: var(--t-camera); line-height: var(--lh-snug); margin: 0 0 var(--sp-4); }
.q-sezione p { line-height: var(--lh-body); color: color-mix(in srgb, var(--ombra) 85%, transparent); margin: 0 0 var(--sp-4); }

.q-luogo { border-top: 1px solid var(--linea); padding-top: var(--sp-4); margin-top: var(--sp-4); }
.q-luogo h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25em 0.75em; font-size: 1.15rem; margin: 0 0 var(--sp-2); }
.q-luogo p:last-child { margin-bottom: 0; }
.q-tempo { font-family: var(--font-body); font-size: var(--t-small); font-weight: 600; color: var(--maiolica); }
.q-tempo::before { content: "· "; }

/* Foto: rapporto fisso 3:2 con ritaglio, così qualsiasi file sostitutivo entra senza scatti di layout */
.q-foto-gruppo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--sp-4); margin: var(--sp-5) 0; }
.q-foto { margin: 0; }
.q-foto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); background: var(--gesso-2); }

.q-cta { margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; }

/* Briciole di pane (stessi valori della scheda camera) */
.breadcrumb { display: flex; align-items: center; gap: 0.5em; font-size: var(--t-small); color: color-mix(in srgb, var(--ombra) 58%, transparent); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.breadcrumb a { color: var(--maiolica); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }
