/* =====================================================================
   SP-LIST — pagine elenco v2 (artisti; poi locali, servizi, band)
   Direzione "C · Intento" della tela Claude Design "Strummers — Pagine elenco".
   Richiede: sp-core.css (token, .sp-btn, .sp-tag, .sp-avatar, .sp-notice, ...)
   Tutto sotto .sp-list: nessuna collisione con i CSS esistenti.
   ===================================================================== */

.sp-list {
  --sp-bg: #f4efe6; --sp-surface: #fff; --sp-surface-2: #f4efe6; --sp-border: #ece6dc; --sp-border-strong: #ced4da;
  --sp-text: #293241; --sp-muted: #5c636a; --sp-accent-text: #9e1440; --sp-notice-bg: #fdebf1;
  min-height: 60vh; padding-bottom: var(--sp-space-8);
}
.sp-list a:not([class]) { color: var(--sp-accent-text); font-weight: 700; }
.sp-list [hidden] { display: none !important; }

/* ---------- Testata scura con la frase ---------- */
.sp-find {
  position: relative; isolation: isolate; overflow: hidden;
  background: #0b0b0f; color: #f4efe6;
  --sp-focus: #ff4d7d;
}
.sp-find__art {
  position: absolute; z-index: -2; right: 2%; bottom: 0; height: 100%; width: auto; max-width: 46%;
  object-fit: contain; object-position: 100% 100%; pointer-events: none;
}
.sp-find::before { /* alone rosa dietro l'illustrazione */
  content: ""; position: absolute; z-index: -3; inset: 0;
  background: radial-gradient(40% 60% at 82% 70%, rgba(231, 28, 91, .35), rgba(231, 28, 91, 0) 70%);
}
.sp-find::after { /* il testo resta leggibile sopra l'illustrazione */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #0b0b0f 45%, rgba(11, 11, 15, .55) 70%, rgba(11, 11, 15, .1) 100%);
}
.sp-find__in { display: flex; flex-direction: column; gap: var(--sp-space-5); padding-block: 3rem 2.75rem; max-width: 50rem; }
.sp-find .sp-eyebrow { color: #ff4d7d; }
.sp-find__title { font-size: clamp(2.5rem, 6vw, 4rem); line-height: .95; font-weight: 900; letter-spacing: -.03em; }

.sp-sentence { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 800; line-height: 1.2; }
.sp-slot { position: relative; display: inline-flex; align-items: center; max-width: 100%; }
.sp-slot select, .sp-slot input {
  appearance: none; -webkit-appearance: none; max-width: 100%;
  min-height: 3.25rem; padding: 0 2.875rem 0 1rem; border-radius: var(--sp-radius-s);
  background: #17161d; border: 2px solid #4a4556; color: #fff;
  font: 800 clamp(1.125rem, 2.2vw, 1.5rem)/1.1 var(--sp-font); cursor: pointer;
}
.sp-slot input { padding-right: 1rem; cursor: text; width: var(--sp-chars, 14rem); max-width: 100%; } /* --sp-chars: dal PHP, sulla lunghezza del comune */
.sp-slot input::placeholder { color: #a9a3b5; font-weight: 700; }
.sp-slot select option, .sp-slot select optgroup { color: #293241; background: #fff; font-size: 1rem; font-weight: 600; }
.sp-slot:hover select, .sp-slot:hover input, .sp-slot select:focus-visible, .sp-slot input:focus-visible { border-color: #ff4d7d; }
.sp-slot .sp-icon { position: absolute; right: .75rem; color: #ff4d7d; pointer-events: none; }
.sp-sentence .sp-btn { min-height: 3.25rem; }
.sp-btn--dark { background: transparent; border-color: #4a4556; color: #f4efe6; }
.sp-btn--dark:hover { border-color: #ff4d7d; color: #fff; }

.sp-quick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--sp-fs-s); font-weight: 700; color: #a9a3b5; }
.sp-list .sp-quick a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 .875rem; border-radius: var(--sp-radius-pill);
  border: 1px solid #4a4556; color: #f4efe6; text-decoration: none; }
.sp-list .sp-quick a:hover { border-color: #ff4d7d; color: #fff; }

/* ---------- Barra sotto la testata ---------- */
.sp-list__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-space-4); flex-wrap: wrap; margin-top: var(--sp-space-6); }
.sp-tabs { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border-radius: var(--sp-radius-s); background: var(--sp-surface); border: 1px solid var(--sp-border); }
.sp-list .sp-tabs a { min-height: 2.5rem; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: .5625rem;
  text-decoration: none; font-weight: 700; font-size: .9375rem; color: var(--sp-muted); }
.sp-list .sp-tabs a:hover { color: var(--sp-text); }
.sp-list .sp-tabs a[aria-current="page"] { background: var(--sp-text); color: #fff; }
.sp-list__summary { font-size: var(--sp-fs-s); font-weight: 700; color: var(--sp-muted); }

/* ---------- Sezioni ---------- */
.sp-sec { margin-top: 2.5rem; }
.sp-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-space-4); flex-wrap: wrap; margin-bottom: .875rem; }
.sp-sec__title { font-size: clamp(1.375rem, 2.6vw, 1.625rem); font-weight: 900; letter-spacing: -.02em; display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; }
.sp-sec__title .sp-count { background: var(--sp-surface); font-size: var(--sp-fs-xs); letter-spacing: 0; }
.sp-namefind { display: flex; align-items: center; gap: .375rem; background: var(--sp-surface); border: 1px solid var(--sp-border-strong);
  border-radius: var(--sp-radius-s); padding: 0 .25rem 0 .75rem; min-height: 2.875rem; }
.sp-namefind input { border: 0; background: transparent; min-height: 2.5rem; width: 13rem; font: 600 var(--sp-fs-s) var(--sp-font); color: var(--sp-text); }
.sp-namefind input:focus-visible { outline: none; }
.sp-namefind:focus-within { outline: 3px solid var(--sp-focus); outline-offset: 2px; }
.sp-namefind .sp-icon { color: var(--sp-muted); width: 1.125rem; height: 1.125rem; }

/* ---------- Card artista ---------- */
.sp-acards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.sp-acard { display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: 1.125rem; border-radius: var(--sp-radius);
  background: var(--sp-surface); border: 1px solid var(--sp-border); box-shadow: var(--sp-shadow); }
.sp-acard__top { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.sp-acard .sp-avatar { --sp-avatar-size: 3.5rem; border-width: 0; }
.sp-avatar--art { background: radial-gradient(circle at 50% 80%, #E71C5B 0%, #2a1020 85%); object-fit: cover; object-position: 50% 15%; }
.sp-acard__name { display: block; font-size: 1.0625rem; font-weight: 800; line-height: 1.2; color: var(--sp-text); text-decoration: none; overflow-wrap: anywhere; }
.sp-acard__name:hover { text-decoration: underline; }
.sp-acard__name::after { content: ""; position: absolute; inset: 0; } /* tutta la card è cliccabile... */
.sp-acard { position: relative; }
.sp-acard__acts { position: relative; z-index: 1; display: flex; gap: .5rem; margin-top: auto; } /* ...tranne i pulsanti */
.sp-acard__acts { flex-wrap: wrap; }
.sp-acard__acts .sp-btn { flex: 1 1 auto; white-space: nowrap; }
.sp-acard__meta { display: block; font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-muted); }
.sp-acard__why { font-size: var(--sp-fs-s); background: var(--sp-surface-2); border-radius: var(--sp-radius-s); padding: .625rem .75rem; }
.sp-acard__why strong { color: var(--sp-accent-text); }
.sp-acard__far { font-size: var(--sp-fs-xs); font-weight: 700; color: #7a4300; }
.sp-acard .sp-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.sp-acard .sp-btn[aria-pressed="true"] { background: var(--sp-surface-2); }

/* ---------- Strisce di profili piccoli (band, nuovi iscritti) ---------- */
.sp-strip { list-style: none; margin: 0; padding: 0 0 .375rem; display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x proximity; }
.sp-strip > li { flex: 0 0 auto; scroll-snap-align: start; }
.sp-mini { display: flex; align-items: center; gap: .625rem; min-height: 4rem; width: 15rem; padding: .625rem .75rem;
  border-radius: .875rem; background: var(--sp-surface); border: 1px solid var(--sp-border); color: var(--sp-text); text-decoration: none; }
.sp-mini:hover b { text-decoration: underline; }
.sp-mini .sp-avatar { --sp-avatar-size: 2.5rem; border-width: 0; }
.sp-mini b { display: block; font-size: var(--sp-fs-s); font-weight: 800; line-height: 1.2; }
.sp-mini small { display: block; font-size: .75rem; color: var(--sp-muted); font-weight: 600; }

/* ---------- Stato vuoto, paginazione ---------- */
.sp-list .sp-notice { flex-wrap: wrap; }
.sp-list .sp-notice__body { min-width: 14rem; }
.sp-notice__acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.sp-alert-inline { margin-top: var(--sp-space-4); padding: .75rem 1rem; border-radius: var(--sp-radius-s); background: #fff3dc; color: #7a4300; font-weight: 700; font-size: var(--sp-fs-s); }

.sp-pager { display: flex; align-items: center; justify-content: center; gap: var(--sp-space-3); margin-top: var(--sp-space-5); flex-wrap: wrap; }

/* ---------- Card locale / servizio ---------- */
.sp-pcards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.sp-pcard { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--sp-radius);
  background: var(--sp-surface); border: 1px solid var(--sp-border); box-shadow: var(--sp-shadow); }
.sp-pcard__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #9e1440, #17161d); display: flex; align-items: center; justify-content: center; }
.sp-pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-pcard__media .sp-status { position: absolute; top: .75rem; left: .75rem; }
.sp-pcard__initials { color: #fff; font-weight: 900; font-size: 2.75rem; letter-spacing: -.02em; }
.sp-pcard__body { display: flex; flex-direction: column; gap: .75rem; padding: 1rem 1.125rem 1.125rem; flex: 1; }
.sp-pcard__bio { font-size: var(--sp-fs-s); color: var(--sp-muted); }
.sp-pcard__offers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .375rem; font-size: var(--sp-fs-s); }
.sp-pcard__offers li { display: flex; justify-content: space-between; gap: .625rem; padding-top: .375rem; border-top: 1px solid var(--sp-border); }
.sp-pcard__offers b { color: var(--sp-accent-text); white-space: nowrap; }
.sp-pcard .sp-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.sp-acard__why--pink { background: var(--sp-notice-bg); }
.sp-avatar--square { border-radius: .875rem; }
.sp-pcard .sp-avatar { --sp-avatar-size: 3.5rem; border-width: 0; }

/* ---------- Categorie (link a pillola) ---------- */
.sp-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-space-4); }
.sp-list .sp-cats a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: var(--sp-radius-s);
  background: var(--sp-surface); border: 1px solid var(--sp-border); color: var(--sp-text); font-weight: 800; font-size: .9375rem; text-decoration: none; }
.sp-list .sp-cats a:hover { border-color: var(--sp-pink); }
.sp-list .sp-cats a small { font-weight: 700; color: var(--sp-muted); }
.sp-list .sp-cats a[aria-current="true"] { background: var(--sp-text); border-color: var(--sp-text); color: #fff; }
.sp-list .sp-cats a[aria-current="true"] small { color: #d9dde3; }

.sp-notice--big { padding: var(--sp-space-6); }

/* ---------- Band: una card per ogni posto libero ---------- */
.sp-wcards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.sp-wcard { display: flex; flex-direction: column; gap: .625rem; min-width: 0; padding: 1.25rem; border-radius: var(--sp-radius);
  background: var(--sp-surface); border: 1px solid var(--sp-border); box-shadow: var(--sp-shadow); }
.sp-wcard__need { font-size: var(--sp-fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-accent-text); }
.sp-wcard__big { font-size: 1.875rem; line-height: 1; font-weight: 900; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sp-wcard__meta { font-size: var(--sp-fs-s); color: var(--sp-muted); font-weight: 600; }
.sp-list .sp-wcard__band { display: flex; align-items: center; gap: .625rem; padding-top: .75rem; border-top: 1px solid var(--sp-border); color: var(--sp-text); text-decoration: none; min-width: 0; }
.sp-wcard__band:hover b { text-decoration: underline; }
.sp-wcard__band .sp-avatar { --sp-avatar-size: 2.75rem; border-width: 0; }
.sp-wcard__band b { display: block; font-size: .9375rem; line-height: 1.2; }
.sp-wcard__band small { display: block; font-size: .75rem; color: var(--sp-muted); font-weight: 600; }
.sp-wcard .sp-btn { margin-top: auto; }
.sp-avatar--free { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--sp-pink-strong); border: 2px dashed var(--sp-pink) !important; font-weight: 900; }
.sp-avatar--more { display: inline-flex; align-items: center; justify-content: center; background: var(--sp-surface-2); color: var(--sp-text); font-weight: 800; font-size: .75rem; }
.sp-wcard .sp-avatars .sp-avatar { border-color: #fff; }
.sp-mini--band { width: 17rem; }

/* ---------- Telefono ---------- */
@media (max-width: 47.99rem) {
  .sp-find__art { opacity: .35; max-width: 70%; }
  .sp-find::after { background: linear-gradient(180deg, rgba(11, 11, 15, .6), #0b0b0f 70%); }
  .sp-sentence { font-size: 1.125rem; }
  .sp-slot, .sp-slot select, .sp-slot input { width: 100%; max-width: 100%; }
  .sp-sentence > span { flex-basis: 100%; margin-bottom: -.25rem; }
  .sp-sentence .sp-btn { flex: 1; }
  .sp-namefind, .sp-namefind input { width: 100%; }
}

@media (forced-colors: active) {
  .sp-slot select, .sp-slot input, .sp-acard, .sp-pcard, .sp-mini, .sp-list .sp-tabs a, .sp-list .sp-cats a { border: 1px solid CanvasText; }
  .sp-find::before, .sp-find::after { display: none; }
}

/* =====================================================================
   ANNUNCI v2 — bacheca (announcements-list.php), direzione A — 27/11/2026
   ===================================================================== */
.sp-list .sp-sentence [hidden] { display: none; }
.sp-annchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.sp-list .sp-annchips a { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; padding: 0 .875rem; border: 1px solid #4a4556; border-radius: var(--sp-radius-pill); color: #f4efe6; font-size: var(--sp-fs-s); font-weight: 700; text-decoration: none; }
.sp-list .sp-annchips a:hover { border-color: #ff4d7d; }
.sp-list .sp-annchips a[aria-current] { background: #f4efe6; border-color: #f4efe6; color: #0b0b0f; }
.sp-annchips small { font-size: var(--sp-fs-xs); font-weight: 800; opacity: .75; }

.sp-adgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.sp-adcard { display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: 1.125rem; background: #fff; border: 1px solid var(--sp-border); border-radius: 1.125rem; box-shadow: 0 2px 8px rgba(41, 50, 65, .06); }
.sp-adcard__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.sp-adcard__type { display: inline-flex; padding: .25rem .625rem; border-radius: var(--sp-radius-pill); background: #fdebf1; color: var(--sp-pink-deep); font-size: var(--sp-fs-xs); font-weight: 800; }
.sp-adcard__km { display: inline-flex; align-items: center; gap: .25rem; font-size: var(--sp-fs-xs); font-weight: 700; color: var(--sp-muted); }
.sp-adcard__km .sp-icon { width: 1rem; height: 1rem; }
.sp-list a.sp-adcard__t { font-size: 1.1875rem; font-weight: 900; line-height: 1.2; letter-spacing: -.01em; color: var(--sp-text); text-decoration: none; overflow-wrap: anywhere; }
.sp-list a.sp-adcard__t:hover { color: var(--sp-pink-deep); text-decoration: underline; }
.sp-adcard__x { margin: 0; font-size: .9375rem; color: #3f4652; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sp-adcard__seek { margin: 0; padding: .5rem .625rem; border-radius: .625rem; background: var(--sp-bg, #f4efe6); font-size: .875rem; font-weight: 700; }
.sp-adcard__seek strong { color: var(--sp-pink-deep); }
.sp-adcard__tags { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0; }
.sp-adcard__who { display: flex; align-items: center; gap: .625rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid #f0ebe2; }
.sp-adcard__who .sp-avatar { --sp-avatar-size: 2.5rem; border-width: 0; }
.sp-adcard__by { flex: 1; min-width: 0; }
.sp-adcard__by b { display: block; font-size: .875rem; font-weight: 800; line-height: 1.2; }
.sp-adcard__by small { display: block; font-size: var(--sp-fs-xs); color: var(--sp-muted); font-weight: 600; }
.sp-adcard__who .sp-btn { white-space: nowrap; }
.sp-adcard--new { justify-content: center; align-items: flex-start; border: 1.5px dashed #ff4d7d; background: #fdebf1; box-shadow: none; }
.sp-adcard--new b { font-size: 1.125rem; }
.sp-adcard--new span:not(.sp-notice__icon) { font-size: .9375rem; color: var(--sp-muted); }
.sp-list .sp-pager { display: flex; justify-content: center; align-items: center; gap: .75rem; margin-top: var(--sp-space-5); font-size: var(--sp-fs-s); color: var(--sp-muted); }

/* =====================================================================
   CHERRIES v2 — home, ricerca e articoli (direzione "A · Rivista", 28/11/2026)
   File: it/cherries/index.php, search.php, src/includes/cherries/*.php
   ===================================================================== */
.sp-cher { padding-bottom: 4rem; }
.sp-cher-cover__title a, .sp-cher-item__title a, .sp-cher-top li a, .sp-cher-mast__name a, .sp-cher-tags a, .sp-cher-pager > a { color: inherit; font-weight: inherit; }
.sp-cher__meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-muted); }
.sp-cher__meta b { color: var(--sp-text); font-weight: 800; }

/* Testata */
.sp-cher-mast { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; padding: 1.75rem 0 1.25rem; border-bottom: 1px solid #ded6c8; }
.sp .sp-cher-mast__name { margin: 0; }
.sp-cher-mast__name a { display: flex; align-items: center; gap: .875rem; text-decoration: none; }
.sp-cher-mast__ch { width: 2.75rem; height: 2.75rem; flex: none; }
.sp-cher-mast__name b { display: block; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.sp-cher-mast__name small { display: block; margin-top: .25rem; font-size: var(--sp-fs-s); font-weight: 700; color: var(--sp-muted); }
.sp-cher-search { display: flex; align-items: center; gap: .5rem; padding: .25rem .25rem .25rem .875rem; border: 2px solid #ded6c8; border-radius: var(--sp-radius-pill); background: #fff; min-width: min(100%, 22rem); color: var(--sp-muted); }
.sp-cher-search:focus-within { border-color: var(--sp-pink-strong); }
.sp-cher-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 var(--sp-fs-s)/1.2 var(--sp-font); color: var(--sp-text); min-height: 2.5rem; }
.sp-cher-search .sp-btn { flex: none; }

/* Copertina */
.sp-cher-cover { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; padding: 2rem 0 2.5rem; border-bottom: 3px solid var(--sp-text); }
.sp-cher-cover__img { display: block; border-radius: .375rem; overflow: hidden; background: #293241; aspect-ratio: 4 / 3; }
.sp-cher-cover__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-cher-cover__txt { display: flex; flex-direction: column; gap: .875rem; align-items: flex-start; }
.sp .sp-cher-cover__title { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.02; font-weight: 900; letter-spacing: -.03em; }
.sp-cher-cover__title a { text-decoration: none; }
.sp-cher-cover__title a:hover { color: var(--sp-pink-deep); }
.sp .sp-cher-cover__ex { font-size: clamp(1rem, 1.6vw, 1.1875rem); line-height: 1.55; color: #3b4454; }

/* Elenco + colonna a lato */
.sp-cher-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; margin-top: 2.25rem; align-items: start; }
.sp-cher-grid--full { grid-template-columns: minmax(0, 1fr); }
.sp-cher-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
.sp-cher-feed--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-cher-item { display: flex; flex-direction: column; gap: .5rem; }
.sp-cher-item__img { display: block; border-radius: .375rem; overflow: hidden; background: #293241; aspect-ratio: 3 / 2; }
.sp-cher-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.sp-cher-item:hover .sp-cher-item__img img { transform: scale(1.03); }
.sp .sp-cher-item__title { font-size: 1.25rem; line-height: 1.22; font-weight: 900; letter-spacing: -.01em; margin-top: .25rem; }
.sp-cher-item__title a { text-decoration: none; }
.sp-cher-item__title a:hover { color: var(--sp-pink-deep); }
.sp-cher-side { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 1rem; }
.sp-cher-top { background: #fff; border-radius: .375rem; padding: 1.25rem 1.375rem; border-top: 6px solid var(--sp-pink-strong); }
.sp .sp-cher-top h2 { font-size: var(--sp-fs-s); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sp-cher-top ol { list-style: none; margin: .25rem 0 0; padding: 0; }
.sp-cher-top li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid #ece6dc; }
.sp-cher-top li:last-child { border-bottom: 0; }
.sp-cher-top li span { font-size: 1.75rem; font-weight: 900; line-height: 1; color: var(--sp-pink-strong); }
.sp-cher-top li a { font-size: .9375rem; font-weight: 800; line-height: 1.3; text-decoration: none; }
.sp-cher-top li a:hover { color: var(--sp-pink-deep); }
.sp-cher-box { background: #fff; border: 1px solid #ece6dc; border-radius: var(--sp-radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .625rem; align-items: flex-start; }
.sp .sp-cher-box h2 { font-size: 1.25rem; font-weight: 900; line-height: 1.2; }
.sp .sp-cher-box p:not(.sp-eyebrow) { font-size: var(--sp-fs-s); color: var(--sp-muted); }
.sp .sp-cher-pageh { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.02em; margin: 2rem 0 1.25rem; }
.sp-cher-pageh span { color: var(--sp-muted); font-weight: 700; }
.sp-cher-pager { display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.sp-cher-pager > a:not(.sp-btn), .sp-cher-pager__on { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; font-weight: 800; text-decoration: none; background: #fff; border: 2px solid #ded6c8; }
.sp-cher-pager > a:not(.sp-btn):hover { border-color: var(--sp-pink-strong); }
.sp-cher-pager__on { background: var(--sp-text); border-color: var(--sp-text); color: #fff; }
.sp-cher-empty { margin: 2rem 0; padding: 1.5rem; border-radius: var(--sp-radius); border: 1.5px dashed var(--sp-pink-soft); background: #fdebf1; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; font-weight: 700; }
.sp .sp-cher-hint { margin: -.5rem 0 1.25rem; color: var(--sp-muted); font-weight: 600; }
.sp .sp-cher-back { margin-top: 2rem; font-weight: 800; }
.sp-cher-back a { color: var(--sp-pink-deep); text-decoration: none; }

/* Articolo */
.sp-cher-crumbs { max-width: 48.75rem; margin: 1.5rem auto 0; padding: 0 var(--sp-gutter); display: flex; gap: .5rem; font-size: var(--sp-fs-xs); font-weight: 700; color: var(--sp-muted); overflow: hidden; white-space: nowrap; }
.sp-cher-crumbs a { color: var(--sp-pink-deep); }
.sp-cher-crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sp-cher-art__head { max-width: 48.75rem; margin: 0 auto; padding: 1.75rem var(--sp-gutter) 0; }
.sp .sp-cher-art__title { font-size: clamp(2rem, 5.2vw, 3.375rem); line-height: 1.04; font-weight: 900; letter-spacing: -.03em; margin-top: .75rem; }
.sp .sp-cher-art__sub { font-size: clamp(1.0625rem, 2vw, 1.3125rem); line-height: 1.5; color: #3b4454; margin-top: 1rem; }
.sp-cher-art__by { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.375rem; padding: .75rem 0; border-top: 1px solid #ded6c8; border-bottom: 1px solid #ded6c8; }
.sp-cher-art__by .sp-cher__meta { font-size: var(--sp-fs-s); }
.sp-cher-art__hero { max-width: 62.5rem; margin: 1.75rem auto 0; padding: 0 var(--sp-gutter); }
.sp-cher-art__hero img { width: 100%; height: auto; max-height: min(75vh, 36rem); object-fit: cover; border-radius: .5rem; background: #293241; }
.sp-cher-art__hero figcaption { max-width: 45rem; margin: .5rem auto 0; font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-muted); }

/* Testo: colonna di lettura ~70 caratteri */
.sp-cher-art__body { max-width: 42.5rem; margin: 2rem auto 0; padding: 0 var(--sp-gutter); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.75; color: #222a36; overflow-wrap: break-word; }
.sp .sp-cher-art__body p { margin: 0 0 1.15em; }
/* capolettera solo se il testo non comincia con una riga in grassetto ("2 dicembre 1976. Londra.") */
.sp .sp-cher-art__body > p:first-child { display: flow-root; }
.sp .sp-cher-art__body > p:first-child:not(:has(> b:first-child, > strong:first-child))::first-letter { float: left; font-size: 4.6em; line-height: .82; font-weight: 900; color: var(--sp-pink-strong); padding: .08em .12em 0 0; }
.sp .sp-cher-art__body h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; font-weight: 900; letter-spacing: -.02em; margin: 2.25rem 0 .75rem; }
.sp .sp-cher-art__body h3 { font-size: clamp(1.1875rem, 2.2vw, 1.375rem); line-height: 1.3; font-weight: 800; margin: 1.75rem 0 .5rem; }
.sp-cher-art__body a { color: var(--sp-pink-deep); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.sp-cher-art__body ul, .sp-cher-art__body ol { margin: 0 0 1.15em; padding-left: 1.25em; }
.sp-cher-art__body li { margin-bottom: .35em; }
.sp-cher-art__body blockquote, .sp-cher-art__body .pull-quote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 6px solid var(--sp-pink-strong); font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.35; font-weight: 800; color: var(--sp-text); }
.sp-cher-art__body img { width: 100%; height: auto; border-radius: .5rem; margin: 1.75rem 0 .5rem; background: #293241; }
.sp-cher-art__body .article-inline-image { margin-bottom: 1.75rem; }
.sp .sp-cher-art__body .article-image-caption { font-size: var(--sp-fs-xs); line-height: 1.4; font-weight: 600; color: var(--sp-muted); margin: 0 0 1.75rem; }
.sp-cher-art__body hr, .sp-cher-art__body .article-separator { border: 0; height: 0; margin: 2.5rem auto; text-align: center; overflow: visible; }
.sp-cher-art__body hr::before { content: "· · ·"; font-weight: 900; letter-spacing: .5em; color: var(--sp-pink-strong); }
.sp-cher-art__body .article-video { position: relative; aspect-ratio: 16 / 9; margin: 1.75rem 0; border-radius: .5rem; overflow: hidden; background: #111; }
.sp-cher-art__body .article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-cher-art__body .article-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .625rem; margin: 1.75rem 0 .5rem; }
.sp-cher-art__body .gallery-item { aspect-ratio: 4 / 3; border-radius: .375rem; overflow: hidden; }
.sp-cher-art__body .gallery-item img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }

/* Fine articolo */
.sp-cher-join { max-width: 46.25rem; margin: 2.75rem auto 0; padding: 1.5rem 1.75rem; border-radius: var(--sp-radius); background: var(--sp-text); color: #f4efe6; display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sp .sp-cher-join h2 { font-size: 1.375rem; font-weight: 900; }
.sp .sp-cher-join p { color: #c9c2b6; font-size: .9375rem; margin-top: .25rem; max-width: 32rem; }
.sp-cher-join a.sp-btn { color: #fff; }
.sp-cher-art__foot { max-width: 46.25rem; margin: 1.5rem auto 0; padding: 0 var(--sp-gutter); display: flex; flex-direction: column; gap: 1rem; }
.sp-cher-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .375rem; }
.sp-cher-tags a { display: inline-flex; align-items: center; min-height: 2rem; padding: 0 .75rem; border-radius: var(--sp-radius-pill); background: #fff; border: 1px solid #ece6dc; font-size: var(--sp-fs-xs); font-weight: 700; text-decoration: none; }
.sp-cher-tags a:hover { border-color: var(--sp-pink-strong); }
.sp-cher-share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: var(--sp-fs-s); font-weight: 700; color: var(--sp-muted); }
.sp-cher-share > span { margin-right: .25rem; }
.sp-cher-rel { max-width: 62.5rem; margin: 3rem auto 0; padding: 0 var(--sp-gutter); }
.sp-cher-rel__h { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.sp .sp-cher-rel__h h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.sp-cher-rel__h a { display: inline-flex; align-items: center; gap: .375rem; font-weight: 800; color: var(--sp-pink-deep); text-decoration: none; white-space: nowrap; min-height: 2.75rem; }

@media (max-width: 61.99rem) {
  .sp-cher-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-cher-side { position: static; }
  .sp-cher-feed--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47.99rem) {
  .sp-cher-mast { padding-top: 1.25rem; }
  .sp-cher-search { width: 100%; }
  .sp-cher-cover { grid-template-columns: minmax(0, 1fr); padding-top: 1.25rem; }
  .sp-cher-feed, .sp-cher-feed--3 { grid-template-columns: minmax(0, 1fr); }
  .sp-cher-art__body .article-gallery { grid-template-columns: minmax(0, 1fr); }
  .sp-cher-join { margin-inline: var(--sp-gutter); }
  .sp-cher-art__hero { padding: 0; }
  .sp-cher-art__hero img { border-radius: 0; }
}
