/* ==========================================================================
   Etta Walk Up — pagine speciali (FASE 6)
   Tromsø, Capodanno in Abruzzo, Mercatini in Trentino, Halloween.
   Stessa scheda delle escursioni (contenuti presi da booking), con un tema
   di colori e decorazioni proprio per ogni evento.
   ========================================================================== */

body[data-special="tromso"] {
  --v5-copper: #0f766e; --v5-copper-dark: #0b5c56; --v5-night: #0b2e3c; --v5-deep: #123f50;
  --v5-choc: #1d4b5c; --v5-blush: #a7dcd5; --v5-taupe: #4f7480; --v5-cream: #f2f7f8;
  --v5-sand: #e1eef0; --v5-line: #cfe1e5; --v5-ink: #14313c;
  --sp6-glow-1: rgba(45, 212, 191, .34); --sp6-glow-2: rgba(129, 140, 248, .26); --sp6-glow-3: rgba(16, 185, 129, .18);
}
body[data-special="capodanno"] {
  --v5-copper: #9a6b12; --v5-copper-dark: #7c5509; --v5-night: #1d2547; --v5-deep: #283361;
  --v5-choc: #34406e; --v5-blush: #e9d39b; --v5-taupe: #6c6a7d; --v5-cream: #f8f5ee;
  --v5-sand: #efe8d8; --v5-line: #e3dac4; --v5-ink: #1f2440;
  --sp6-glow-1: rgba(234, 179, 8, .30); --sp6-glow-2: rgba(99, 102, 241, .20); --sp6-glow-3: rgba(244, 114, 182, .14);
}
body[data-special="mercatini"] {
  --v5-copper: #b42323; --v5-copper-dark: #911b1b; --v5-night: #173d2a; --v5-deep: #1f5136;
  --v5-choc: #2c5a40; --v5-blush: #f0c4bd; --v5-taupe: #6f6a5e; --v5-cream: #f8f4ec;
  --v5-sand: #efe7d9; --v5-line: #e3d8c5; --v5-ink: #1f2b22;
  --sp6-glow-1: rgba(220, 38, 38, .20); --sp6-glow-2: rgba(22, 101, 52, .22); --sp6-glow-3: rgba(234, 179, 8, .18);
}
body[data-special="halloween"] {
  --v5-copper: #c2410c; --v5-copper-dark: #9a3412; --v5-night: #2e1a3d; --v5-deep: #3d2352;
  --v5-choc: #4a2c61; --v5-blush: #f5c9a8; --v5-taupe: #75657f; --v5-cream: #f8f3ef;
  --v5-sand: #efe5e0; --v5-line: #e3d6d0; --v5-ink: #2a1c33;
  --sp6-glow-1: rgba(234, 88, 12, .26); --sp6-glow-2: rgba(126, 34, 206, .22); --sp6-glow-3: rgba(250, 204, 21, .14);
}

body[data-special] { background-color: var(--v5-cream) !important; }

/* Hero: sfondo chiaro a tema con bagliori colorati (aurora, fuochi, luci di Natale…). */
body[data-special] #detail-hero.detail-hero--v5 {
  background:
    radial-gradient(60% 70% at 12% 8%, var(--sp6-glow-1), transparent 70%),
    radial-gradient(55% 60% at 92% 18%, var(--sp6-glow-2), transparent 70%),
    radial-gradient(70% 60% at 60% 110%, var(--sp6-glow-3), transparent 70%),
    var(--v5-sand) !important;
  border-bottom: 0 !important;
}
body[data-special] #detail-hero.detail-hero--v5::before { opacity: .12 !important; }
body[data-special] #detail-hero.detail-hero--v5::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .55) 55%) !important;
}
/* Motivo decorativo leggero sul fondo della hero. */
body[data-special] #detail-hero .hv5 { position: relative; }
body[data-special] #detail-hero .hv5::before {
  content: "";
  position: absolute;
  inset: -40px -60px auto auto;
  width: 260px;
  height: 260px;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  background: var(--sp6-motif) center / contain no-repeat;
}
body[data-special="tromso"] { --sp6-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%230f766e' stroke-width='1.4' stroke-linecap='round' opacity='.55'%3E%3Cg transform='translate(50 50)'%3E%3Cpath id='a' d='M0-38V38M0-26l-8-8M0-26l8-8M0 26l-8 8M0 26l8 8'/%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E"); }
body[data-special="capodanno"] { --sp6-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%239a6b12' stroke-width='1.4' stroke-linecap='round' opacity='.55'%3E%3Cg transform='translate(50 50)'%3E%3Cpath d='M0-12V-40M0 12V40M-12 0H-40M12 0H40M8-8l20-20M-8 8l-20 20M8 8l20 20M-8-8l-20-20'/%3E%3Ccircle r='4'/%3E%3C/g%3E%3C/svg%3E"); }
body[data-special="mercatini"] { --sp6-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23173d2a' stroke-width='1.4' stroke-linejoin='round' opacity='.45'%3E%3Cpath d='M50 8 L70 38 H60 L78 62 H64 L84 88 H16 L36 62 H22 L40 38 H30 Z'/%3E%3Cpath d='M46 88v8h8v-8'/%3E%3Ccircle cx='50' cy='6' r='3' stroke='%23b42323'/%3E%3C/svg%3E"); }
body[data-special="halloween"] { --sp6-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23c2410c' stroke-width='1.4' stroke-linejoin='round' opacity='.55'%3E%3Cpath d='M64 14a36 36 0 1 0 22 52A30 30 0 1 1 64 14z'/%3E%3Cpath d='M20 30l4 4M30 18l2 5M16 46h5' stroke='%232e1a3d'/%3E%3C/svg%3E"); }

/* Etichetta del viaggio speciale sopra il titolo. */
.sp6-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--v5-night);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}
body[data-special] .hv5__status { background: var(--v5-copper) !important; color: #fff !important; }
body[data-special] #detail-hero .hv5__title { color: var(--v5-night) !important; }

/* Sezioni del corpo: titoletti e dettagli nel colore del tema. */
body[data-special] .detail-story,
body[data-special] .multiday-intro-card,
body[data-special] .tech-panel,
body[data-special] .detail-panels > * { border-color: var(--v5-line) !important; }
body[data-special] .detail-subnav { background: rgba(255, 255, 255, .92) !important; }
body[data-special] .detail-subnav a.is-active,
body[data-special] .detail-subnav a[aria-current="true"] { background: var(--v5-night) !important; color: #fff !important; border-color: var(--v5-night) !important; }
body[data-special] .cta:not(.cta--soldout),
body[data-special] .hv5__actions .cta:not(.cta--soldout),
body[data-special] .v5-stickybar .cta { background: var(--v5-copper) !important; border-color: var(--v5-copper) !important; color: #fff !important; }
body[data-special] .cta:not(.cta--soldout):hover { background: var(--v5-copper-dark) !important; }
