:root{
      --brand:#ea2768;
      --accent:#e91e63;
      --ink:#111;
      --muted:#6b7280;
      --card:#fff;
      --bg:#fafafa;
      --ring:rgba(234,39,104,.2);
      --shadow:0 10px 25px rgba(17,24,39,.08);
      --radius:16px;
    }
    *{box-sizing:border-box}
    html,body{margin:0}
    body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink)}

    /* ===== Header (uguale al tuo) ===== */
    header{
      position:fixed; top:0; left:0; right:0; height:75px; background:var(--brand);
      z-index:1000; box-shadow:0 2px 4px rgba(0,0,0,.1);
      display:flex; align-items:center; justify-content:center;
    }
    .logo-text-center a{
      text-decoration:none; font-stretch:extra-condensed; font-size:40px; font-weight:700; color:#fff;
      text-shadow:2px 2px 0 #f57ca5,2px -2px 0 #f57ca5,-2px 2px 0 #f57ca5,-2px -2px 0 #f57ca5,2px 0 0 #f57ca5,0 2px 0 #f57ca5,-2px 0 0 #f57ca5,0 -2px 0 #f57ca5;
    }
    .hamburger{
  position:fixed;top:20px;left:18px;width:34px;height:22px;
  display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;z-index:210
}
.hamburger span{display:block;height:3px;background:#fff;border-radius:4px;transition:.35s}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}

/* Side menu */
.side-menu ul{ padding-left:0 }
.side-menu li{ list-style:none; }
.side-menu{
  position:fixed;top:0;left:-100%;width:280px;height:100%;
  background:rgba(20,20,20,.85);backdrop-filter:blur(10px);
  padding:84px 22px 30px;z-index:205;transition:left .4s ease
}
.side-menu.show{left:0}
.side-menu .menu-header h2{color:#ff4081;margin:0 0 4px;font-size:22px}
.side-menu .menu-header p{color:#bbb;margin:0 0 18px;font-size:13px}
.side-menu a:hover{color:#ff7aa9}

.side-menu.show {
  left: 0;
  opacity: 1;
}

.side-menu .menu-header h2 {
  color: #ff4081;
  margin: 0;
  font-size: 24px;
  letter-spacing: 1px;
}
.side-menu .menu-header p {
  color: #bbb;
  margin-top: 4px;
  font-size: 13px;
}

/* --- Link --- */
.side-menu a:hover {
  color: #ff4081;
  transform: translateX(4px);
}
.logo-text-center a{
  color:#fff;font-size:34px;font-weight:700;letter-spacing:.3px;text-decoration:none;
  text-shadow:1px 1px 0 #f57ca5
}
.hamburger{
  position:fixed;top:20px;left:18px;width:34px;height:22px;
  display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;z-index:210
}
.hamburger span{display:block;height:3px;background:#fff;border-radius:4px;transition:.35s}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}

  .carousel-sq {
    --gap: 16px;
    --cardSize: clamp(180px, 24vw, 320px); /* uguale logica visiva alle anteprime della griglia */
    position: relative;
    padding: 6px 46px; /* spazio per bottoni */
  }
  .carousel-toolbar {
    display: flex; align-items: center; gap: 12px; margin: 6px 0 10px;
  }
  .carousel-track {
    display: flex;
    gap: var(--gap);
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }
  .csq-item {
    flex: 0 0 var(--cardSize);
    width: var(--cardSize);
    aspect-ratio: 1 / 1;           /* QUADRATA come le anteprime */
    border-radius: 12px;
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    user-select: none;
  }
  .csq-item img,
  .csq-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
  }
  .csq-overlay {
    position: absolute; inset: 0;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-weight:600; font-size:16px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 100%);
    opacity: 0; transition: opacity .25s ease;
  }
  .csq-item:hover .csq-overlay { opacity: 1; }

  .csq-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 999px; border: 0;
    background: rgba(0,0,0,.55); color: #fff; cursor: pointer; z-index: 2;
    display:grid; place-items:center;
  }
  .csq-btn:hover { background: rgba(0,0,0,.7); }
  .csq-btn.prev { left: 4px; }
  .csq-btn.next { right: 4px; }

  /* Modalità riordino */
  .reorder-on .csq-item { cursor: grab; }
  .reorder-on .csq-item:active { cursor: grabbing; }
  .csq-item[aria-grabbed="true"] { outline: 2px dashed #2563eb; outline-offset: -2px; }

  /* Dots (opzionali) */
  .csq-dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
  .csq-dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; border: 0; }
  .csq-dot.active { background: #2563eb; }


  .logo-text-center a {
  margin-top: 25px !important;
  text-decoration: none;
  font-stretch: extra-condensed;
  font-size: 40px;
  font-weight: bold;
  color: #FFF !important;
  text-shadow: 2px 2px 0 #f57ca5, 2px -2px 0 #f57ca5, -2px 2px 0 #f57ca5, -2px -2px 0 #f57ca5, 2px 0px 0 #f57ca5, 0px 2px 0 #f57ca5, -2px 0px 0 #f57ca5, 0px -2px 0 #f57ca5;
}

.logo-text-center {
  margin: auto;
  width: 250px;
  padding-top: 11px;
}

/* ===== Footer ===== */
    footer{ text-align:center; padding:26px 10px 40px; color:#777; font-size:13px }

/* ========== BASE ========== */
:root{
  --brand:#ea2768;
  --brand-2:#e91e63;
  --text:#111;
  --muted:#777;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:#fff;overflow-x:hidden}
a{color:var(--brand-2);text-decoration:none}

/* Transizioni pagina (pager) */
body{transition:transform .6s ease, opacity .4s ease}
body.slide-up{transform:translateY(-100%);opacity:.85}
body.slide-down{transform:translateY(100%);opacity:.85}

/* ========== HEADER + HAMBURGER ========== */
header{
  position:fixed;top:0;left:0;width:100%;height:72px;background:var(--brand);
  display:flex;align-items:center;justify-content:center;z-index:200;
  box-shadow:0 2px 4px rgba(0,0,0,.1)
}
.hamburger{
  position:fixed;top:20px;left:18px;width:34px;height:22px;
  display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;z-index:210
}
.hamburger span{display:block;height:3px;background:#fff;border-radius:4px;transition:.35s}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}

/* Side menu */
.side-menu ul{ padding-left:0 }
.side-menu li{ list-style:none; }
.side-menu{
  position:fixed;top:0;left:-100%;width:280px;height:100%;
  background:rgba(20,20,20,.85);backdrop-filter:blur(10px);
  padding:84px 22px 30px;z-index:205;transition:left .4s ease
}
.side-menu.show{left:0}
.side-menu .menu-header h2{color:#ff4081;margin:0 0 4px;font-size:22px}
.side-menu .menu-header p{color:#bbb;margin:0 0 18px;font-size:13px}
.side-menu a{
  display:block;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);
  padding:10px 0;font-size:16px
}
.side-menu a:hover{color:#ff7aa9}

/* ========== LAYOUT DESKTOP ========== */
.page{
  max-width:1200px;margin:92px auto 60px;padding:0 16px;display:grid;
  grid-template-columns: minmax(0,1fr) 380px;gap:28px
}

/* Colonna media (verticale) */
.media-col{
  min-height:70vh;display:flex;align-items:center;justify-content:center
}
.media-box{
  position:relative;width:100%;max-width:820px;margin:0 auto;border-radius:14px;overflow:hidden;
  background:#000; /* per bande laterali eleganti */
}
.media-box img,
.media-box video{
  width:100%;height:87vh;object-fit:contain;display:block;background:#000;
  -webkit-user-select:none;user-select:none;border-radius:14px
}
/* overlay play/pause */
.video-overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  pointer-events:none /* solo il bottone prende i click */;
}
.video-toggle-btn{
  width:84px;height:84px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.92);box-shadow:0 10px 30px rgba(0,0,0,.35);
  display:grid;place-items:center;transition:transform .15s ease;pointer-events:auto
}
.video-toggle-btn:active{transform:scale(.96)}
.icon-play{width:0;height:0;border-left:28px solid var(--brand);border-top:18px solid transparent;border-bottom:18px solid transparent;margin-left:6px}
.icon-pause{display:grid;grid-auto-flow:column;gap:8px}
.icon-pause span{width:10px;height:32px;background:var(--brand);border-radius:2px}
.media-box.playing .video-overlay{background:linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,.12))}

/* Colonna descrizione (sticky) */
.info-col{position:relative}
.info-card{
  position:sticky;top:92px;border:1px solid #eee;border-radius:14px;padding:18px 18px 12px;background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.05)
}
.info-card h1{font-size:22px;margin:6px 0 10px}
.info-card .meta{color:var(--muted);font-size:13px;margin-bottom:10px}
.info-card .desc{max-height:44vh;overflow:auto;line-height:1.55}
.info-card .desc::-webkit-scrollbar{width:8px}
.info-card .desc::-webkit-scrollbar-thumb{background:#ddd;border-radius:10px}

/* Share + contatti sotto descrizione */
.actions{
  margin-top:14px;border-top:1px solid #efefef;padding-top:12px;display:grid;gap:10px
}
.share-row, .cta-row{display:flex;flex-wrap:wrap;gap:8px}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--brand-2);color:#fff;border-radius:999px;padding:9px 14px;font-weight:600;font-size:14px;
  border:1px solid rgba(0,0,0,.05);box-shadow:0 8px 18px rgba(0,0,0,.15);transition:.2s
}
.btn:hover{filter:saturate(1.05) brightness(1.02);transform:translateY(-1px)}
.btn--ghost{background:rgba(233,30,99,.1);color:var(--brand-2);border:1px solid rgba(233,30,99,.3);box-shadow:none}

/* ========== MOBILE/TABLET ========== */
.mobile-toolbar{
  position:fixed;top:82px;left:0;right:0;display:none;gap:8px;z-index:190;
  padding:10px 12px;justify-content:center
}
.mobile-toolbar .btn{padding:8px 12px;font-size:13px}

/* Overlay descrizione mobile */
.overlay-fullscreen{
  position:fixed;inset:0;background:rgba(255,255,255,.9);backdrop-filter:blur(6px);
  display:none;align-items:flex-start;justify-content:center;z-index:300;overflow:auto
}
.overlay-fullscreen.show{display:flex}
.overlay-panel{
  width:min(900px,92%);background:#fff;border:1px solid #eee;border-radius:16px;margin:92px 0 24px;
  padding:18px 16px 16px;box-shadow:0 14px 40px rgba(0,0,0,.12)
}
.overlay-close{
  position:sticky;top:10px;float:right;font-size:34px;line-height:1;color:var(--brand);cursor:pointer
}

/* Pager dots + frecce (sempre visibili) */
.nav-indicator{
  position:fixed;right:12px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px;z-index:180
}
.dot{width:8px;height:8px;border-radius:50%;background:rgba(0,0,0,.2)}
.dot.active{background:var(--brand-2);transform:scale(1.15)}
.nav-buttons{
  position:fixed;right:26px;bottom:46%;display:flex;flex-direction:column;gap:8px;z-index:185
}
.nav-btn{
  width:42px;height:42px;border-radius:50%;border:0;background:var(--brand-2);color:#fff;font-weight:700;cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.25)
}

/* Responsivo */
@media (max-width: 1024px){
  .page{grid-template-columns:1fr}
  .info-col{display:none}          /* sidebar nascosta su tablet/mobile */
  .mobile-toolbar{display:flex}
  .media-box img,.media-box video{height:78vh}
}
@media (max-width: 640px){
  .logo-text-center a{font-size:28px}
  .media-box img,.media-box video{height:76vh}
}

.logo-text-center a {
    margin-top: 25px !important;
    text-decoration: none;
    font-stretch: extra-condensed;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    color: #FFF !important;
    text-shadow: 2px 2px 0 #f57ca5, 2px -2px 0 #f57ca5, -2px 2px 0 #f57ca5, -2px -2px 0 #f57ca5, 2px 0px 0 #f57ca5, 0px 2px 0 #f57ca5, -2px 0px 0 #f57ca5, 0px -2px 0 #f57ca5;
}

.carousel-track a {
  color: var(--brand-2);
  text-decoration: none;
  background: white;
  padding: 10px;
  border-radius: 23px;
  border: 2px solid;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  border-color: #cc5492;
  text-align: center;
}