/* Pagina esperienza: restyling leggero, novembre 2026.
   Tutto è dentro .esp, così non tocca Bootstrap né il resto del sito. */

@font-face {
  font-family: "Archivo Expanded";
  src: url("../font/Archivo/archivo-expanded-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "Host Grotesk"; src: url("../font/HostGrotesk/HostGrotesk-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../font/HostGrotesk/HostGrotesk-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../font/HostGrotesk/HostGrotesk-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../font/HostGrotesk/HostGrotesk-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

.esp {
  --red: #FB0047; --yellow: #F5FF00; --ink: #161515; --ink-2: #5f5f5f; --line: #E7E7E7; --soft: #F4F4F3;
  --display: "Archivo Expanded", system-ui, sans-serif; --body: "Host Grotesk", system-ui, sans-serif;
  --r-xl: 28px; --r-lg: 22px; --r-md: 14px;
  font-family: var(--body); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
.esp *, .esp *::before, .esp *::after { box-sizing: border-box; }
.esp img { display: block; max-width: 100%; }
.esp a { color: inherit; }
.esp p { margin: 0; }
.esp h1, .esp h2 { margin: 0; color: inherit; }
.esp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .esp-wrap { padding: 0 40px; } }
.esp-display { font-family: var(--display); font-weight: 900; letter-spacing: -0.025em; line-height: 1.02; }
.esp svg.esp-i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.esp-site { background: #fff; border-bottom: 1px solid var(--line); }
.esp-site .esp-wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.esp-site .esp-logo img { height: 24px; width: auto; }
.esp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-weight: 800; font-size: 16px; text-decoration: none; border-radius: 99px; border: 0; cursor: pointer; white-space: nowrap; }
.esp-btn-dark { background: var(--ink); color: #fff !important; height: 40px; padding: 0 18px; font-size: 14px; }
.esp-btn-red { background: var(--red); color: #fff !important; height: 54px; padding: 0 30px; }
.esp-btn-red:hover { filter: brightness(.95); }
.esp-btn-ghost { background: rgba(255,255,255,.16); color: #fff; height: 54px; width: 54px; padding: 0; backdrop-filter: blur(6px); }
.esp-btn-ghost:hover { background: rgba(255,255,255,.26); }

/* Apertura: foto grande con angoli arrotondati, contenuti centrati */
.esp-hero { padding: 16px 0 0; }
@media (min-width: 768px) { .esp-hero { padding: 24px 0 0; } }
.esp-cover { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 540px; display: flex; align-items: flex-end; justify-content: center; background: #333; color: #fff; text-align: center; }
@media (min-width: 900px) { .esp-cover { min-height: 600px; } }
.esp-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Esperienza privata: copertina sfocata come nella pagina precedente */
.esp-cover-private > img { filter: blur(22px); transform: scale(1.12); }
.esp-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.78) 100%); }
.esp-cover-in { position: relative; z-index: 1; padding: 40px 20px 36px; max-width: 860px; width: 100%; }
.esp-credit { position: absolute; right: 16px; top: 14px; z-index: 1; font-size: 12px; color: rgba(255,255,255,.8); }
.esp-credit a { color: #fff; }
.esp-host { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; margin-bottom: 18px; color: #fff !important; }
.esp-host img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.esp-host-n { margin-top: 10px; font-weight: 800; font-size: 16px; display: flex; gap: 10px; align-items: center; }
.esp-host-u { font-size: 14px; opacity: .9; margin-top: 2px; }
.esp-rock { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.18); padding: 2px 9px 2px 7px; border-radius: 99px; }
.esp-rock svg.esp-i { width: 15px; height: 15px; stroke-width: 2; }
.esp-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.esp-tags li { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.esp-tags li.main { background: var(--red); }
.esp h1.esp-title { font-size: clamp(28px, 5vw, 50px); margin: 0 0 16px; overflow-wrap: break-word; text-wrap: balance; }
.esp-when { font-size: 18px; font-weight: 700; margin: 0 0 4px !important; }
.esp-where { font-size: 16px; margin: 0 0 24px !important; opacity: .92; }
.esp-cta { display: flex; gap: 10px; justify-content: center; }
.esp-lock { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; background: rgba(255,255,255,.18); padding: 8px 14px; border-radius: 99px; margin-bottom: 24px; font-size: 15px; }

/* Fascia informazioni sotto la foto */
.esp-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 22px 0 0; }
.esp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: var(--soft); font-size: 16px; }
.esp-pill strong { font-weight: 800; }
.esp-pill.full { background: var(--ink); color: #fff; }
.esp-pill.ended { color: var(--ink-2); }
.esp-faces { display: flex; align-items: center; }
.esp-faces img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -8px; }
.esp-faces img:first-child { margin-left: 0; }
.esp-pill.full .esp-faces img { border-color: var(--ink); }

/* Dettagli: due colonne */
.esp-details { padding: 48px 0 32px; }
@media (min-width: 900px) { .esp-details { padding: 64px 0 40px; } }
.esp-details .esp-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .esp-details .esp-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.esp h2.esp-h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 18px; }
.esp-desc p { margin: 0 0 14px; max-width: 62ch; overflow-wrap: anywhere; }
.esp-desc a { text-decoration: underline; }
.esp-block + .esp-block { margin-top: 40px; }
.esp-private { padding: 22px; border-radius: var(--r-lg); background: var(--soft); color: var(--ink-2); }
.esp #map { height: 300px; border-radius: var(--r-lg); overflow: hidden; z-index: 1; }
.esp .tiles-grey { filter: grayscale(1) contrast(.9) brightness(1.05); }
.esp-addr { font-size: 15px; color: var(--ink-2); margin: 10px 0 0 !important; }
.esp-meteo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 520px) { .esp-meteo { grid-template-columns: repeat(6, 1fr); } }
.esp-meteo div { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px 6px; text-align: center; font-size: 13px; color: var(--ink-2); }
.esp-meteo div.on { border-color: var(--red); color: var(--ink); box-shadow: inset 0 0 0 1px var(--red); }
.esp-meteo b { display: block; color: var(--ink); font-size: 15px; }
.esp-meteo svg { width: 26px; height: 26px; margin: 6px auto; display: block; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.esp-meteo .d { font-weight: 700; color: var(--ink); }
.esp-muted { font-size: 14px; color: var(--ink-2); margin: 8px 0 0 !important; }

/* Correlate: card a foto piena con angoli arrotondati */
.esp-more { padding: 24px 0 56px; }
.esp-more-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.esp-arrows { display: none; gap: 8px; }
@media (min-width: 900px) { .esp-arrows { display: flex; } }
.esp-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.esp-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.esp-cards::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .esp-cards { grid-auto-columns: 42%; } }
@media (min-width: 1000px) { .esp-cards { grid-auto-columns: calc((100% - 42px) / 4); } }
.esp-card { scroll-snap-align: start; text-decoration: none; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4.2; color: #fff !important; display: flex; flex-direction: column; justify-content: space-between; background: #333; }
.esp-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.esp-card:hover > img { transform: scale(1.04); }
.esp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 38%, rgba(0,0,0,.72) 62%, rgba(0,0,0,.9) 100%); }
.esp-card-top, .esp-card-bot { position: relative; z-index: 1; padding: 16px; }
.esp-card-who { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.2; }
.esp-card-who small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
.esp-card-who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.esp-card-tt { font-family: var(--display); font-weight: 900; letter-spacing: -.01em; font-size: 19px; line-height: 1.12; margin: 0 0 8px; text-shadow: 0 1px 14px rgba(0,0,0,.45); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.esp-card-dt { font-size: 14px; font-weight: 700; }
.esp-card-pl { font-size: 14px; opacity: .9; }
.esp-card .esp-faces { margin-top: 10px; }
.esp-card .esp-faces img { border-color: rgba(0,0,0,.4); }
.esp-card .esp-faces span { font-size: 13px; margin-left: 8px; }
.esp-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.esp-card-tags span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.2); }
.esp-card-tags span:first-child { background: var(--red); }

/* Chiusura */
.esp-final { padding: 8px 0 56px; }
.esp-final-box { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 44px 24px; text-align: center; }
.esp-final-box h2 { margin-bottom: 10px !important; }
.esp-final-box p { color: #cfcfcf; margin: 0 0 24px !important; }
.esp-stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.esp-stores img { height: 48px; width: auto; }
.esp-footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.esp-footer .esp-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.esp-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.esp-footer a { text-decoration: none; }

/* Barra fissa su telefono */
.esp-sticky { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; z-index: 1000; transform: translateY(110%); transition: transform .25s; }
.esp-sticky.show { transform: none; }
.esp-sticky .esp-btn-red { flex: 1; height: 50px; }
@media (min-width: 900px) { .esp-sticky { display: none; } }
@media (max-width: 899px) { .esp { padding-bottom: 76px; } }
