/* ==========================================================================
   PartyNow — Redesign pagina Evento + Container (kit "A desktop / B mobile")
   Sorgente: design claude.ai "Scelta - A desktop, B mobile".
   Tutto scoped sotto .pn2 per non toccare header/footer/home globali.
   Desktop (>=861px) = Layout A (split editoriale). Mobile (<=860px) = Layout B
   (hero immersivo col colore accento + barra azione fissa).
   Accento = colore dominante evento (eventColor, parità con home) via --acc.
   ========================================================================== */

/* Sticky della colonna locandina (desktop): style.css mette overflow-x:hidden su
   html,body, che rompe position:sticky. Sulla pagina evento non c'è overflow
   orizzontale, quindi lo riportiamo a visible (forzato anche via JS per i browser
   che non supportano :has). */
html:has(body.event-detail-page), body.event-detail-page { overflow-x: visible; }

.pn2 {
    /* palette categorie (allineata a home-seo.css) */
    --pn-red: #F24B3F;
    --pn-yellow: #FECD3F;
    --pn-green: #5CCC6B;
    --pn-blue: #4A91F2;
    --pn-purple: #A44CCF;

    --pn-bg: #FFFFFF;
    --pn-bg-soft: #F9FAFB;
    --pn-ink: #0E0F13;
    --pn-ink-2: #5A6072;
    --pn-ink-3: #9AA0AE;
    --pn-line: #ECEDF1;
    --pn-heart-off: #C4C7D0;

    --pn-radius: 24px;
    --pn-font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --pn-display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

    /* accent per pagina — sovrascritto inline da JS (colore dominante evento) */
    --acc: var(--event-accent, var(--pn-red));
    --acc-rgb: 242, 75, 63;

    font-family: var(--pn-font);
    font-weight: 500;
    color: var(--pn-ink);
    background: var(--pn-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.4;
    display: block;
}
.pn2 * { box-sizing: border-box; }
.pn2 a { color: inherit; text-decoration: none; }
.pn2 img { display: block; max-width: 100%; }
.pn2 ul { list-style: none; margin: 0; padding: 0; }
.pn2 button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Accent per categoria (fallback se manca il colore dominante) */
.pn2[data-cat="club"],      .pn2 [data-cat="club"]      { --acc: var(--pn-red);    --acc-rgb: 242,75,63; }
.pn2[data-cat="concerti"],  .pn2 [data-cat="concerti"]  { --acc: var(--pn-blue);   --acc-rgb: 74,145,242; }
.pn2[data-cat="aperitivi"], .pn2 [data-cat="aperitivi"] { --acc: var(--pn-green);  --acc-rgb: 92,204,107; }
.pn2[data-cat="arte"],      .pn2 [data-cat="arte"]      { --acc: var(--pn-purple); --acc-rgb: 164,76,207; }
.pn2[data-cat="social"],    .pn2 [data-cat="social"]    { --acc: var(--pn-yellow); --acc-rgb: 254,205,63; }

/* ---------------- Typography helpers ---------------- */
.pn2 .pn-display { font-family: var(--pn-display); font-weight: 900; letter-spacing: -0.01em; line-height: .96; margin: 0; }
.pn2 .pn-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--acc); }

/* ---------------- Buttons ---------------- */
.pn2 .pn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--pn-font); font-weight: 800; font-size: 15px;
    border-radius: 999px; padding: 13px 22px; white-space: nowrap;
    transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.pn2 .pn-btn:active { transform: translateY(1px); }
.pn2 .pn-btn-primary { background: var(--acc); color: #fff; box-shadow: 0 8px 22px rgba(var(--acc-rgb), .30); }
.pn2 .pn-btn-primary:hover { box-shadow: 0 12px 30px rgba(var(--acc-rgb), .40); }
.pn2 .pn-btn-ghost { background: var(--pn-bg-soft); color: var(--pn-ink); border: 1px solid var(--pn-line); }
.pn2 .pn-btn-block { width: 100%; }
.pn2 .pn-btn[hidden] { display: none; }

/* ---------------- Poster (locandina verticale) ---------------- */
.pn2 .pn-poster {
    position: relative; overflow: hidden; border-radius: var(--pn-radius);
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 11px),
        radial-gradient(120% 80% at 30% 15%, color-mix(in srgb, var(--acc) 92%, #fff) 0%, var(--acc) 45%, color-mix(in srgb, var(--acc) 62%, #000) 100%);
    color: #fff; isolation: isolate;
}
.pn2 .pn-poster::after {
    content: attr(data-poster); position: absolute; left: 12px; bottom: 12px;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 10px; letter-spacing: .04em;
    color: rgba(255,255,255,.78); background: rgba(0,0,0,.22); padding: 4px 8px; border-radius: 6px;
    backdrop-filter: blur(2px); z-index: 2;
}
.pn2 .pn-poster.has-image::after { content: none; }
.pn2 .pn-poster-4x5 { aspect-ratio: 4 / 5; }
.pn2 .pn-poster-title {
    position: absolute; left: 20px; right: 20px; top: 44%; transform: translateY(-50%);
    font-family: var(--pn-display); font-weight: 900; text-transform: uppercase;
    font-size: clamp(30px, 7vw, 64px); line-height: .9; color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,.28); opacity: .96; z-index: 1;
}
.pn2 .poster-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    z-index: 1; cursor: zoom-in;
}
/* Con immagine reale: locandina INTERA a proporzione naturale (niente crop). */
.pn2 .pn-poster.has-image { aspect-ratio: auto; }
.pn2 .pn-poster.has-image .poster-img { position: relative; inset: auto; width: 100%; height: auto; }
.pn2 .pn-poster.has-image .pn-poster-title { display: none; }

/* ---------------- Date pill + heart + share (app-like) ---------------- */
.pn2 .pn-pill {
    position: static; /* reset: home-seo.css usa .pn-pill{position:absolute} per le card home */
    top: auto; left: auto;
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px;
    border-radius: 20px; background: var(--acc); color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.18); font-size: 11px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase;
    white-space: nowrap;
}
.pn2 .pn-pill span { font-size: 11px; font-weight: 900; letter-spacing: .5px; }
.pn2 .pn-pill[hidden] { display: none; }
.pn2 .pn-pill svg { width: 14px; height: 14px; }
.pn2 .pn-round {
    width: 42px; height: 42px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center;
    justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.14); color: var(--pn-ink); transition: transform .12s ease, color .12s;
}
.pn2 .pn-round:hover { transform: scale(1.06); }
.pn2 .pn-round svg { width: 20px; height: 20px; }
.pn2 .pn-round.is-heart { color: var(--pn-heart-off); }
.pn2 .pn-round.is-heart.on { color: var(--pn-red); }
.pn2 .pn-round.is-heart.on svg { fill: var(--pn-red); }

/* ---------------- Meta chips ---------------- */
.pn2 .pn-metarow { display: flex; flex-wrap: wrap; gap: 10px; }
.pn2 .pn-metachip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
    border-radius: 999px; background: var(--pn-bg-soft); border: 1px solid var(--pn-line);
    font-size: 14px; font-weight: 700; color: var(--pn-ink);
}
.pn2 .pn-metachip svg { width: 16px; height: 16px; color: var(--acc); flex: 0 0 auto; }
.pn2 .pn-metachip.solid { background: var(--acc); border-color: var(--acc); color: #fff; }
.pn2 .pn-metachip.solid svg { color: #fff; }
.pn2 .pn-metachip[hidden] { display: none; }

/* ---------------- Info items ---------------- */
.pn2 .pn-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pn2 .pn-info {
    position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 16px;
    background: #fff; border: 1px solid var(--pn-line); border-radius: 18px;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.pn2 .pn-info[hidden] { display: none; }
.pn2 .pn-info.is-clickable { cursor: pointer; padding-right: 104px; }
.pn2 .pn-info.is-clickable:hover { border-color: rgba(var(--acc-rgb), .34); background: rgba(var(--acc-rgb), .025); }
.pn2 .pn-info.is-clickable:focus-visible { outline: 3px solid rgba(var(--acc-rgb), .24); outline-offset: 3px; }
.pn2 .pn-info-ic {
    width: 44px; height: 44px; min-width: 44px; border-radius: 999px; display: inline-flex; align-items: center;
    justify-content: center; background: rgba(var(--acc-rgb), .13); color: var(--acc);
}
.pn2 .pn-info-ic svg { width: 20px; height: 20px; }
.pn2 .pn-info .lbl { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pn-ink-3); }
.pn2 .pn-info .val { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; color: var(--pn-ink); line-height: 1.25; }
.pn2 .pn-info-est {
    display: inline-flex; width: fit-content; margin-top: 8px; padding: 3px 7px;
    border-radius: 999px; background: #ffb300; color: #fff;
    font-size: 9px; line-height: 1; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
}
.pn2 .pn-info-more {
    position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center;
    min-height: 24px; padding: 0 9px; border-radius: 999px;
    background: rgba(var(--acc-rgb), .11); border: 1px solid rgba(var(--acc-rgb), .18); color: var(--acc);
    font-size: 9px; line-height: 1; font-weight: 950; letter-spacing: .05em; text-transform: uppercase;
    pointer-events: none;
}

.pn-info-sheet-open { overflow: hidden; }
.pn-info-sheet {
    --acc: #f24b3f; --acc-rgb: 242,75,63;
    position: fixed; inset: 0; z-index: 2600; display: grid; align-items: end; justify-items: center;
    padding: 14px; font-family: var(--pn-body);
}
.pn-info-sheet__backdrop { position: absolute; inset: 0; border: 0; background: rgba(7, 10, 18, .36); cursor: pointer; }
.pn-info-sheet__panel {
    position: relative; width: min(500px, 100%); max-height: min(82vh, 700px); overflow: auto;
    border-radius: 26px 26px 22px 22px; background: #fff; box-shadow: 0 24px 70px rgba(12, 18, 30, .24);
}
.pn-info-sheet__handle { display: block; width: 42px; height: 5px; margin: 12px auto 8px; border-radius: 999px; background: #d9dce4; }
.pn-info-sheet__estimate {
    padding: 12px 18px; background: var(--acc); color: #fff; text-align: center;
    font-size: 14px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase;
}
.pn-info-sheet__body { position: relative; padding: 14px 16px 18px; }
.pn-info-sheet__close {
    position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border: 1px solid var(--pn-line);
    border-radius: 999px; background: #fff; color: var(--pn-ink); font-size: 20px; line-height: 1; font-weight: 800; cursor: pointer;
}
.pn-info-sheet__summary {
    display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: center;
    padding: 12px 42px 12px 12px; border: 1px solid var(--pn-line); border-radius: 18px; background: #fff;
}
.pn-info-sheet__summary-ic {
    width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--acc-rgb), .12); color: var(--acc);
}
.pn-info-sheet__summary-ic svg { width: 19px; height: 19px; }
.pn-info-sheet__label { display: block; color: var(--pn-ink-3); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pn-info-sheet__value { display: block; margin-top: 4px; color: var(--pn-ink); font-size: 19px; font-weight: 850; line-height: 1.1; }
.pn-info-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pn-info-sheet__chip {
    display: inline-flex; align-items: center; min-height: 34px; padding: 8px 12px;
    border-radius: 999px; border: 1px solid rgba(var(--acc-rgb), .22); background: rgba(var(--acc-rgb), .10);
    color: var(--acc); font-size: 14px; line-height: 1; font-weight: 850; white-space: nowrap;
}
.pn-info-sheet__detail { margin: 14px 2px 0; color: var(--pn-ink-2); font-size: 15px; line-height: 1.45; font-weight: 650; }
.pn-info-sheet__price {
    margin-top: 12px; padding: 13px; border-radius: 18px;
    border: 1px solid var(--pn-line); background: #f6f7f9;
}
.pn-info-sheet__price-title {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.pn-info-sheet__price-title > span {
    width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--acc-rgb), .12); color: var(--acc); flex: 0 0 auto;
}
.pn-info-sheet__price-title svg { width: 17px; height: 17px; }
.pn-info-sheet__price-title strong {
    color: var(--pn-ink); font-family: var(--pn-body); font-size: 16px; line-height: 1.1; font-weight: 900;
}
.pn-info-sheet__price-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.pn-price-step { display: grid; grid-template-columns: 8px 1fr; gap: 10px; align-items: start; }
.pn-price-step__dot {
    width: 7px; height: 7px; margin-top: 7px; border-radius: 999px; background: rgba(42, 52, 62, .7);
}
.pn-price-step__copy { min-width: 0; color: var(--pn-ink-2); font-size: 13px; line-height: 1.45; font-weight: 650; }
.pn-price-step__head {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px;
    color: var(--pn-ink); font-size: 14px; line-height: 1.25;
}
.pn-price-step__head strong { font-weight: 800; }
.pn-price-step__head span { font-weight: 900; }
.pn-price-step__copy p { margin: 2px 0 0; }
.pn-info-sheet__estimate-card {
    margin-top: 18px; padding: 16px; border-radius: 20px; border: 1px solid var(--pn-line);
    background: #fafafa;
}
.pn-info-sheet__estimate-title { display: flex; align-items: center; gap: 12px; }
.pn-info-sheet__estimate-title > span {
    width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--acc-rgb), .12); color: var(--acc); flex: 0 0 auto;
}
.pn-info-sheet__estimate-title svg { width: 24px; height: 24px; }
.pn-info-sheet__estimate-title strong { display: block; color: var(--pn-ink); font-size: 19px; font-weight: 950; line-height: 1; }
.pn-info-sheet__accuracy { display: block; margin-top: 5px; color: var(--pn-ink-3); font-size: 12px; font-weight: 850; }
.pn-info-sheet__lead { margin: 16px 0 0; color: var(--pn-ink); font-size: 16px; line-height: 1.35; font-weight: 850; }
.pn-info-sheet__muted { margin: 10px 0 0; color: var(--pn-ink-2); font-size: 14px; line-height: 1.5; font-weight: 600; }
.pn-info-sheet__recommend-title { display: block; margin-top: 17px; color: var(--pn-ink); font-size: 15px; font-weight: 950; }
.pn-info-sheet__recommend {
    display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; padding: 11px 12px;
    border-radius: 14px; background: #fff; border: 1px solid var(--pn-line);
}
.pn-info-sheet__recommend span {
    width: 25px; height: 25px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--acc-rgb), .13); color: var(--acc); font-size: 13px; font-weight: 950; flex: 0 0 auto;
}
.pn-info-sheet__recommend p { margin: 0; color: var(--pn-ink-2); font-size: 13px; line-height: 1.35; font-weight: 750; }
.pn-info-sheet__ok {
    display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin-top: 14px;
    border: 0; border-radius: 999px; background: var(--acc); color: #fff; font-size: 14px; font-weight: 850; cursor: pointer;
}

/* ---------------- Section titles ---------------- */
.pn2 .pn-sec-title { font-family: var(--pn-display); font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; margin: 0 0 14px; }
.pn2 .pn-sec-title.underlined::after { content: ""; display: block; width: 34px; height: 4px; margin-top: 8px; border-radius: 2px; background: var(--acc); }

/* ---------------- Description ---------------- */
.pn2 .desc { font-size: 16px; line-height: 1.7; color: var(--pn-ink-2); font-weight: 500; }
.pn2 .desc p { margin: 0; }
.pn2 .desc p + p { margin-top: 14px; }
.pn2 .desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pn2 .desc-toggle { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--acc); }
.pn2 .desc-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.pn2 .desc-toggle.expanded svg { transform: rotate(180deg); }
.pn2 .desc-toggle[hidden] { display: none; }

/* ---------------- Map card ---------------- */
.pn2 .pn-map {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; text-align: left;
    border: 1px solid var(--pn-line); border-radius: 18px; background: #fff;
    transition: border-color .15s ease, box-shadow .2s ease;
}
.pn2 .pn-map:hover { border-color: color-mix(in srgb, var(--acc) 40%, var(--pn-line)); box-shadow: 0 8px 20px rgba(var(--acc-rgb), .10); }
.pn2 .pn-map .ic { width: 48px; height: 48px; min-width: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--acc-rgb), .13); color: var(--acc); }
.pn2 .pn-map .cp { flex: 1; min-width: 0; }
.pn2 .pn-map .cp strong { display: block; font-size: 16px; font-weight: 900; }
.pn2 .pn-map .cp span { display: block; margin-top: 3px; font-size: 13px; color: var(--pn-ink-2); font-weight: 600; }
.pn2 .pn-map .ic svg { width: 22px; height: 22px; }
.pn2 .pn-map .arw { color: var(--pn-ink-3); flex: 0 0 auto; width: 20px; height: 20px; }
/* card organizzatore non cliccabile (nessun profilo da aprire) */
.pn2 .pn-map.is-static { cursor: default; }
.pn2 .pn-map.is-static:hover { border-color: var(--pn-line); box-shadow: none; }
.pn2 .pn-map.is-static .arw { display: none; }

/* ---------------- Offer card ---------------- */
.pn2 .pn-offer { padding: 16px; border-radius: 18px; border: 1px solid rgba(var(--acc-rgb), .28); background: color-mix(in srgb, var(--acc) 7%, #fff); position: relative; }
.pn2 .pn-offer + .pn-offer { margin-top: 12px; }
.pn2 .pn-offer .badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgba(var(--acc-rgb), .16); color: var(--acc); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.pn2 .pn-offer strong { display: block; margin-top: 10px; font-size: 16px; font-weight: 900; }
.pn2 .pn-offer p { margin: 6px 0 0; font-size: 13px; color: var(--pn-ink-2); font-weight: 600; }
.pn2 .pn-offer .code { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .5px; }
.pn2 .pn-offer .code svg { width: 13px; height: 13px; }
.pn2 .pn-offer .lock { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 800; color: var(--pn-ink-3); }
.pn2 .pn-offer .lock svg { width: 15px; height: 15px; }

/* ---------------- Footer links (report / organizer) ---------------- */
.pn2 .pn-footlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 18px; margin-top: 30px; border-top: 1px solid var(--pn-line); }
.pn2 .pn-report { background: none; border: 0; color: var(--pn-ink-3); font-size: 15px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.pn2 .pn-report:hover { color: var(--pn-ink-2); }
.pn2 .pn-org { font-size: 15px; color: var(--pn-ink-3); font-weight: 700; }
.pn2 .pn-org strong { color: var(--pn-ink); font-weight: 900; }

/* ---------------- Night row (container lineup) ---------------- */
.pn2 .pn-night {
    display: flex; align-items: stretch; gap: 0; min-height: 116px; border-radius: 20px; overflow: hidden;
    background: var(--acc); color: #fff; box-shadow: 0 8px 22px rgba(var(--acc-rgb), .18);
    transition: transform .12s ease, box-shadow .2s ease;
}
.pn2 .pn-night:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(var(--acc-rgb), .26); }
.pn2 .pn-night .media { position: relative; width: 116px; min-width: 116px; overflow: hidden;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 10px),
        radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--acc) 88%, #fff), color-mix(in srgb, var(--acc) 65%, #000)); }
.pn2 .pn-night .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pn2 .pn-night .datep { position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.34); font-size: 10px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; }
.pn2 .pn-night .datep svg { width: 12px; height: 12px; }
.pn2 .pn-night .cp { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.pn2 .pn-night .cat { font-size: 10px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; opacity: .82; }
.pn2 .pn-night .ttl { margin: 4px 0 0; font-size: 19px; font-weight: 900; line-height: 1.05; font-family: var(--pn-display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; }
.pn2 .pn-night .ven { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; font-weight: 700; opacity: .92; }
.pn2 .pn-night .ven svg { width: 13px; height: 13px; flex: 0 0 auto; }

/* Day header inside lineup */
.pn2 .pn-dayhead { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; font-size: 15px; font-weight: 900; }
.pn2 .pn-dayhead.spaced { margin-top: 18px; }
.pn2 .pn-dayhead .dot { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--acc-rgb), .13); color: var(--acc); }
.pn2 .pn-dayhead .dot svg { width: 14px; height: 14px; }

/* Event line-up / guests */
.pn2 .pn-artist {
    display: flex; align-items: center; gap: 13px; padding: 13px 14px;
    border-radius: 16px; border: 1px solid transparent; background: var(--pn-bg-soft);
}
.pn2 .pn-artist.is-headliner { border-color: rgba(var(--acc-rgb), .32); background: rgba(var(--acc-rgb), .06); }
.pn2 .pn-artist-avatar {
    width: 46px; height: 46px; min-width: 46px; border-radius: 999px; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--acc-rgb), .14); color: var(--acc); font-size: 13px; font-weight: 900;
}
.pn2 .pn-artist.is-headliner .pn-artist-avatar { width: 50px; height: 50px; min-width: 50px; }
.pn2 .pn-artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pn2 .pn-artist-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.pn2 .pn-artist-top { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.pn2 .pn-artist-top strong {
    min-width: 0; flex: 1; font-family: var(--pn-display); font-size: 21px;
    font-weight: 900; line-height: 1.02; color: var(--pn-ink); text-transform: uppercase;
}
.pn2 .pn-artist-top em {
    flex: 0 0 auto; margin-top: 1px; padding: 4px 8px; border-radius: 999px;
    background: var(--acc); color: #fff; font-style: normal; font-size: 9px;
    font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.pn2 .pn-artist-notes { color: var(--pn-ink-2); font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn2 .pn-artist-meta { color: var(--pn-ink-3); font-size: 12px; font-weight: 800; line-height: 1.35; }

/* ---------------- Venue row ---------------- */
.pn2 .pn-venue { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1px solid var(--pn-line); border-radius: 14px; background: var(--pn-bg-soft); }
.pn2 .pn-venue .ic { width: 34px; height: 34px; min-width: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--acc-rgb), .13); color: var(--acc); }
.pn2 .pn-venue .ic svg { width: 17px; height: 17px; }
.pn2 .pn-venue .cp strong { display: block; font-size: 14px; font-weight: 900; }
.pn2 .pn-venue .cp span { display: block; margin-top: 2px; font-size: 12px; color: var(--pn-ink-2); font-weight: 600; }

/* ==========================================================================
   LAYOUT — Desktop = A (split), Mobile = B (hero + actionbar)
   ========================================================================== */
.pn2 .wrap { max-width: 1120px; margin: 0 auto; padding: 0 30px; }
.pn2 .mob-only { display: none; }

/* breadcrumb */
.pn2 .crumbs { display: flex; align-items: center; gap: 8px; padding: 20px 0 0; font-size: 13px; font-weight: 700; color: var(--pn-ink-3); flex-wrap: wrap; }
.pn2 .crumbs a { cursor: pointer; }
.pn2 .crumbs a:hover { color: var(--acc); }
.pn2 .crumbs svg { width: 14px; height: 14px; }

/* split */
.pn2 .split { display: grid; grid-template-columns: 420px 1fr; gap: 48px; padding: 24px 0 60px; align-items: start; }
.pn2 .poster-col { position: sticky; top: 96px; }
.pn2 .poster-shell { position: relative; }
.pn2 .poster-shell .pn-poster { box-shadow: none; }
.pn2 .poster-tools { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 3; }
.pn2 .poster-tools .side { display: flex; gap: 10px; }
.pn2 .poster-under { margin-top: 14px; display: grid; gap: 10px; }
.pn2 .cta-note { margin: 4px 0 0; font-size: 11px; font-weight: 600; color: var(--pn-ink-3); text-align: center; line-height: 1.35; opacity: 1; }
.pn2 .cta-note[hidden] { display: none; }
.pn2 .appcta { gap: 9px; } .pn2 .appcta svg { width: 17px; height: 17px; }
.pn2 .sheet { padding-bottom: 360px; }

/* info head (desktop) */
.pn2 .info-head .title { font-size: clamp(44px, 5.6vw, 76px); text-transform: uppercase; margin: 8px 0 16px; }
.pn2 .lead { font-size: 18px; color: var(--pn-ink-2); font-weight: 600; max-width: 56ch; margin: 0 0 22px; line-height: 1.5; }
.pn2 .block { margin-top: 38px; }
.pn2 .block[hidden] { display: none; }
.pn2 .lineup { display: grid; gap: 12px; }
.pn2 .venues { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* MOBILE hero (B) — solo locandina + back. Classe .evhero per non collidere
   con lo .hero della home (style.css ha regole !important su .hero mobile). */
.pn2 .evhero { position: relative; min-height: 460px; height: auto; padding: 0; display: none; align-items: flex-end;
    background:
      radial-gradient(90% 120% at 72% 8%, color-mix(in srgb, var(--acc) 96%, #fff) 0%, var(--acc) 46%, color-mix(in srgb, var(--acc) 58%, #000) 100%);
    background-size: cover; background-position: center; overflow: hidden; }
.pn2 .evhero.has-image { background-image: var(--hero-img); }
.pn2 .evhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.30), rgba(0,0,0,0) 40%); }
.pn2 .hero-tools { position: absolute; z-index: 3; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; }
.pn2 .back {
    display: inline-flex; align-items: center; gap: 8px; color: var(--pn-ink); font-weight: 900; font-size: 14px;
    background: #fff; border: 1px solid rgba(14,15,19,.08); padding: 9px 16px; border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0,0,0,.16); cursor: pointer;
}
.pn2 .back svg { width: 18px; height: 18px; }

/* MOBILE: azioni condividi/salva flottanti + testata (titolo/luogo/data) — nascoste su desktop */
.pn2 .seam-actions { display: none; }

/* ---- Banner "Fa parte di <container>" (evento figlio) ---- */
.pn2 .pn-parentbanner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 20px; border-radius: 14px; background: rgba(var(--acc-rgb), .10); border: 1px solid rgba(var(--acc-rgb), .22); transition: box-shadow .2s ease; }
.pn2 .pn-parentbanner:hover { box-shadow: 0 8px 20px rgba(var(--acc-rgb), .14); }
.pn2 .pn-parentbanner[hidden] { display: none; }
.pn2 .pn-parentbanner__ic { width: 38px; height: 38px; min-width: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--acc); color: #fff; }
.pn2 .pn-parentbanner__ic svg { width: 20px; height: 20px; }
.pn2 .pn-parentbanner__cp { flex: 1; min-width: 0; }
.pn2 .pn-parentbanner__cp .k { display: block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pn-ink-3); }
.pn2 .pn-parentbanner__cp strong { display: block; font-size: 15px; font-weight: 900; color: var(--pn-ink); }
.pn2 .pn-parentbanner__arw { color: var(--acc); flex: 0 0 auto; }

/* ---- Testata evento (tipologia → titolo → luogo → data stile app) ---- */
.pn2 .sheet-head { display: block; margin: 0 0 6px; }
.pn2 .sh-title { font-size: clamp(44px, 5.4vw, 74px); text-transform: uppercase; margin: 6px 0 0; line-height: .96; }
.pn2 .sh-loc { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--pn-ink-2); }
.pn2 .sh-loc svg { width: 19px; height: 19px; color: var(--acc); flex: 0 0 auto; }
.pn2 .sh-date-actions { display: block; }
.pn2 .sh-date { margin-top: 16px; }
.pn2 .sh-weekday { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pn-ink-2); }
.pn2 .sh-weekday[hidden] { display: none; }
.pn2 .sh-datebig { display: block; margin-top: 3px; font-family: var(--pn-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); color: var(--pn-ink); line-height: 1.05; }

/* Salva + Condividi: due pulsanti che si dividono la larghezza, sotto la data */
.pn2 .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.pn2 .sheet-act {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 14px; border-radius: 14px; border: 1px solid var(--pn-line);
    background: var(--pn-bg-soft); color: var(--pn-ink);
    font-family: var(--pn-font); font-weight: 800; font-size: 14px; cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pn2 .sheet-act svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--acc); }
.pn2 .sheet-act:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--pn-line)); background: rgba(var(--acc-rgb), .06); }
.pn2 .sheet-act.btn-like.on { border-color: var(--acc); background: rgba(var(--acc-rgb), .10); color: var(--acc); }
.pn2 .sheet-act.btn-like.on svg { fill: var(--acc); }
.pn2 .sheet-act.btn-like,
.pn2 .sheet-act.btn-share {
    width: auto;
    height: auto;
    min-height: 60px;
    box-shadow: none;
    transform: none;
}
@media (max-width: 420px) {
    .pn2 .sheet-act span { font-size: 13px; }
    .pn2 .sheet-act { padding: 12px 8px; }
}

/* actionbar fissa (solo mobile) */
.pn2 .actionbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.94); border-top: 1px solid var(--pn-line); backdrop-filter: blur(16px); display: none; }
.pn2 .actionbar .in { padding: 10px 16px; display: flex; align-items: center; gap: 26px; }
.pn2 .actionbar .price { flex: 0 0 auto; font-family: var(--pn-display); font-weight: 900; font-size: 24px; white-space: nowrap; }
.pn2 .actionbar .price small { font-size: 13px; font-family: var(--pn-font); color: var(--pn-ink-3); font-weight: 700; }
.pn2 .actionbar .price[hidden] { display: none; }
.pn2 .actionbar .cta-group { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.pn2 .actionbar .cta-primary { width: 100%; min-width: 0; min-height: 56px; padding-left: 18px; padding-right: 18px; }

/* loading skeleton */
@keyframes pn-skeleton-shimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}
.pn2[aria-busy="true"] {
    --acc: #E7EAF0;
    --acc-rgb: 231,234,240;
}
.pn2[aria-busy="true"] .evhero,
.pn2[aria-busy="true"] .pn-poster {
    background:
        linear-gradient(90deg, #eef0f4 0%, #f8f9fb 42%, #eef0f4 82%);
    background-size: 220% 100%;
    animation: pn-skeleton-shimmer 1.2s ease-in-out infinite;
}
.pn2[aria-busy="true"] .evhero.has-image {
    background:
        linear-gradient(90deg, #eef0f4 0%, #f8f9fb 42%, #eef0f4 82%);
    background-size: 220% 100%;
}
.pn2[aria-busy="true"] .poster-img { opacity: 0; }
.pn2[aria-busy="true"] .pn-eyebrow,
.pn2[aria-busy="true"] .sh-title,
.pn2[aria-busy="true"] .sh-loc span,
.pn2[aria-busy="true"] .sh-datebig,
.pn2[aria-busy="true"] .pn-sec-title,
.pn2[aria-busy="true"] .pn-info .lbl,
.pn2[aria-busy="true"] .pn-info .val,
.pn2[aria-busy="true"] .desc {
    color: transparent !important;
    border-radius: 10px;
    background: linear-gradient(90deg, #eef0f4 0%, #f8f9fb 42%, #eef0f4 82%);
    background-size: 220% 100%;
    animation: pn-skeleton-shimmer 1.2s ease-in-out infinite;
}
.pn2[aria-busy="true"] .pn-eyebrow { display: block; width: 78px; height: 18px; }
.pn2[aria-busy="true"] .sh-title { width: min(92%, 460px); min-height: 82px; }
.pn2[aria-busy="true"] .sh-loc { gap: 10px; }
.pn2[aria-busy="true"] .sh-loc svg { opacity: 0; }
.pn2[aria-busy="true"] .sh-loc span { display: block; width: 150px; height: 22px; }
.pn2[aria-busy="true"] .sh-datebig { width: 190px; height: 34px; }
.pn2[aria-busy="true"] .sheet-act { opacity: .45; pointer-events: none; }
.pn2[aria-busy="true"] .pn-sec-title { width: 210px; height: 38px; }
.pn2[aria-busy="true"] .pn-sec-title::after { opacity: 0; }
.pn2[aria-busy="true"] .pn-info {
    min-height: 92px;
    border-color: #edf0f4;
    background: #fff;
}
.pn2[aria-busy="true"] .pn-info-ic {
    color: transparent;
    background: linear-gradient(90deg, #eef0f4 0%, #f8f9fb 42%, #eef0f4 82%);
    background-size: 220% 100%;
    animation: pn-skeleton-shimmer 1.2s ease-in-out infinite;
}
.pn2[aria-busy="true"] .pn-info .lbl { display: block; width: 72px; height: 15px; }
.pn2[aria-busy="true"] .pn-info .val { width: 118px; height: 22px; }
.pn2[aria-busy="true"] .desc { width: 100%; height: 96px; }
.pn2[aria-busy="true"] .pn-map,
.pn2[aria-busy="true"] #pn-offers-block,
.pn2[aria-busy="true"] #pn-venues-block,
.pn2[aria-busy="true"] #pn-organizer-block,
.pn2[aria-busy="true"] .pn-footlinks {
    display: none;
}
@media (prefers-reduced-motion: reduce) {
    .pn2[aria-busy="true"] .evhero,
    .pn2[aria-busy="true"] .pn-poster,
    .pn2[aria-busy="true"] .pn-eyebrow,
    .pn2[aria-busy="true"] .sh-title,
    .pn2[aria-busy="true"] .sh-loc span,
    .pn2[aria-busy="true"] .sh-datebig,
    .pn2[aria-busy="true"] .pn-sec-title,
    .pn2[aria-busy="true"] .pn-info .lbl,
    .pn2[aria-busy="true"] .pn-info .val,
    .pn2[aria-busy="true"] .desc,
    .pn2[aria-busy="true"] .pn-info-ic {
        animation: none;
    }
}

/* ---------- BREAKPOINT: passa a Layout B ---------- */
@media (max-width: 860px) {
    .pn2 .desk-only { display: none !important; }
    .pn2 .mob-only { display: block; }
    .pn2 .evhero { display: flex; }
    .pn2 .actionbar { display: block; }
    .pn2 .wrap { padding: 0; }
    .pn2 .crumbs { display: none; }
    .pn2 .split { display: block; padding: 0; }
    .pn2 .sheet { position: relative; z-index: 4; margin-top: -34px; background: #fff; border-radius: 30px 30px 0 0; padding: 28px 28px 40px; }
    .pn2 .info-head { display: none; }
    .pn2 .pn-info-grid { grid-template-columns: 1fr; }
    .pn2 .pn-info.is-clickable { padding-right: 96px; }
    .pn2 .pn-info-more { right: 13px; }
    .pn-info-sheet { padding: 10px; }
    .pn-info-sheet__panel { width: min(500px, 100%); border-radius: 25px 25px 21px 21px; }
    .pn-info-sheet__body { padding: 13px 13px 16px; }
    .pn-info-sheet__close { top: 15px; right: 15px; width: 30px; height: 30px; font-size: 20px; }
    .pn-info-sheet__summary { grid-template-columns: 40px 1fr; gap: 10px; padding: 11px 40px 11px 11px; }
    .pn-info-sheet__summary-ic { width: 38px; height: 38px; }
    .pn-info-sheet__summary-ic svg { width: 18px; height: 18px; }
    .pn-info-sheet__value { font-size: 18px; }
    .pn-info-sheet__price { padding: 12px; }
    .pn-info-sheet__price-title > span { width: 32px; height: 32px; }
    .pn-info-sheet__price-title strong { font-size: 15px; }
    .pn-price-step__copy { font-size: 12.5px; font-weight: 650; }
    .pn-price-step__head { font-size: 13.5px; }
    .pn2 .venues { grid-template-columns: 1fr; }
    .pn2 .block:first-of-type { margin-top: 28px; }

    /* hero = solo locandina (nessun testo sopra), un filo più bassa */
    .pn2 .evhero { min-height: 420px; }

    /* testata dentro il contenitore bianco: azioni compatte vicino alla data */
    .pn2 .sheet-head { position: relative; margin: 0 0 18px; padding-right: 76px; }
    .pn2 .sh-title { font-size: clamp(30px, 8.6vw, 48px); }
    .pn2 .sh-loc { font-size: 15px; margin-top: 10px; }
    .pn2 .sh-loc svg { width: 17px; height: 17px; }
    .pn2 .sh-date-actions { display: block; margin-top: 14px; }
    .pn2 .sh-date { min-width: 0; margin-top: 0; }
    .pn2 .sh-datebig { font-size: 24px; }
    .pn2 .sheet-actions {
        position: absolute;
        right: 0;
        top: 4px;
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 10px;
        margin-top: 0;
    }
    .pn2 .sheet-actions .sheet-act,
    .pn2 .sheet-actions .sheet-act.btn-like,
    .pn2 .sheet-actions .sheet-act.btn-share {
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        border-radius: 999px;
        background: rgba(var(--acc-rgb), .11);
        border-color: rgba(var(--acc-rgb), .24);
        box-shadow: none;
        color: var(--acc);
    }
    .pn2 .sheet-act span { display: none; }
    .pn2 .sheet-act svg { width: 25px; height: 25px; color: var(--acc); }
    /* il banner "fa parte di" non deve stare sotto i tondi-cucitura */
    .pn2 .pn-parentbanner { margin-top: 2px; }
}

/* Su desktop la barra azione mobile e l'hero non esistono mai */
@media (min-width: 861px) {
    .pn2 .actionbar, .pn2 .evhero { display: none !important; }
    .pn2 .sheet-head { position: relative; padding-right: 164px; }
    .pn2 .sheet-actions {
        position: absolute;
        top: 4px;
        right: 0;
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        margin-top: 0;
    }
    .pn2 .sheet-actions .sheet-act,
    .pn2 .sheet-actions .sheet-act.btn-like,
    .pn2 .sheet-actions .sheet-act.btn-share {
        width: 68px;
        height: 68px;
        min-height: 68px;
        padding: 0;
        border-radius: 999px;
        background: rgba(var(--acc-rgb), .10);
        border-color: rgba(var(--acc-rgb), .24);
        color: var(--acc);
        box-shadow: none;
    }
    .pn2 .sheet-act span { display: none; }
    .pn2 .sheet-act svg { width: 29px; height: 29px; color: var(--acc); }
}
