/* ==========================================================================
   PRISMA FESTIVAL 2026 — MODERN WEB STYLESHEET
   Clean, Elegant, Fast & Responsive Single-Page Scroll Experience
   ========================================================================== */

:root {
  /* LIGHT ELEGANT / PEARL MARBLE THEME */
  --bg-page: #fcfbf9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --bg-card-elevated: #ffffff;
  --border-glass: rgba(226, 232, 240, 0.85);
  --border-subtle: rgba(203, 213, 225, 0.75);
  --border-gold: rgba(217, 119, 6, 0.45);
  
  --primary-navy: #0f2b5c;
  --primary-blue: #1e40af;
  --primary-indigo: #4338ca;
  --accent-violet: #6366f1;
  --accent-rose: #e11d48;
  --accent-gold: #d97706;
  --accent-gold-light: #b45309;
  
  --text-main: #0f172a;
  --text-heading: #0f2b5c;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --font-heading: 'Cinzel', 'Outfit', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(15, 43, 92, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 43, 92, 0.08);
  --shadow-glow: 0 12px 30px rgba(99, 102, 241, 0.12);
  --shadow-gold: 0 8px 24px rgba(217, 119, 6, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(220, 235, 255, 0.55) 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(255, 225, 235, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(245, 235, 255, 0.45) 0%, transparent 55%),
    linear-gradient(160deg, #fdfbf7 0%, #f6f3ec 50%, #f0ece3 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION (STICKY GLASS NAVBAR)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 43, 92, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  object-fit: cover;
  box-shadow: var(--shadow-gold);
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-admin-btn:hover {
  background: var(--accent-gold);
  color: #000;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle & Drawer */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-drawer,
.mobile-nav-backdrop {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 130px 0 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-pill.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
}

.badge-pill.purple {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.badge-pill.green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 3px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 60%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: #cbd5e1;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: var(--accent-gold);
  margin-bottom: 26px;
  background: rgba(245, 158, 11, 0.08);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: #000;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: rgba(30, 24, 60, 0.55);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PROGRAMMA UFFICIALE (TABS & TIMELINE)
   ========================================================================== */
.program-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-violet) 100%);
  color: #fff;
  border-color: var(--primary-violet);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

.tab-short {
  display: none;
}

.tab-full {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.day-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.day-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .day-grid {
    grid-template-columns: 1fr;
  }
}

.day-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.day-banner-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.day-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.day-banner-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 14px;
  background: rgba(12, 10, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: all 0.25s ease;
}

.day-banner-card:hover .day-banner-overlay {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.day-timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.day-header-info {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 18px;
}

.day-date-tag {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.day-headline {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #fff;
  margin-top: 4px;
  margin-bottom: 8px;
}

.day-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-list {
  list-style: none;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  padding-left: 36px;
  margin-bottom: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 3px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-purple);
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.timeline-text {
  font-size: 0.94rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.timeline-text strong {
  color: #fff;
}

/* ==========================================================================
   RELATORI & OSPITI (CARDS GRID CON FOTO REALI)
   ========================================================================== */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.speaker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.speaker-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.speaker-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.speaker-meta h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}

.speaker-meta .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  line-height: 1.3;
}

.speaker-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
}

/* ==========================================================================
   VIDEO SECTION (PLAYER INTEGRATI)
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.video-card:hover {
  border-color: var(--primary-violet);
  box-shadow: var(--shadow-glow);
}

.video-player-wrapper {
  position: relative;
  background: #000;
  border-bottom: 1px solid var(--border-glass);
}

.video-player-wrapper video {
  width: 100%;
  max-height: 240px;
  display: block;
  object-fit: cover;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-title i {
  color: var(--accent-pink);
}

.video-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SEZIONE EVENTI FUTURI: WORKS IN PROGRESS
   ========================================================================== */
.wip-box {
  background: linear-gradient(135deg, rgba(30, 20, 60, 0.7) 0%, rgba(20, 15, 45, 0.7) 100%);
  border: 2px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.wip-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--accent-gold);
  font-size: 2rem;
  box-shadow: var(--shadow-gold);
}

.wip-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wip-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 520px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.wip-social-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wip-social-note a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================================
   GALLERIA FOTOGRAFICA UFFICIALE: SLIDER INTERATTIVO
   ========================================================================== */
.photo-slider-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  position: relative;
}

.photo-slider-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.slider-stage {
  position: relative;
  width: 100%;
  height: clamp(260px, 58vh, 520px);
  background: #130f28;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.slider-bg-blur {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  opacity: 0.28;
  z-index: 1;
  pointer-events: none;
  transition: background-image 0.4s ease;
}

.slider-active-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, opacity 0.25s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.slider-stage:hover .slider-active-img {
  transform: scale(1.015);
}

.slider-badge-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(12, 10, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slider-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(12, 10, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.slider-stage:hover .slider-zoom-hint {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(12, 10, 26, 0.85);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-glass);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.slider-nav-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.slider-nav-btn.slider-prev {
  left: 12px;
}

.slider-nav-btn.slider-next {
  right: 12px;
}

/* Miniature (Thumbnail Strip) */
.slider-thumbs-container {
  overflow-x: auto;
  padding: 14px 2px 6px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) rgba(255, 255, 255, 0.05);
}

.slider-thumbs-container::-webkit-scrollbar {
  height: 6px;
}

.slider-thumbs-container::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 3px;
}

.slider-thumbs-track {
  display: flex;
  gap: 10px;
  min-width: max-content;
}

.thumb-item {
  width: 84px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all 0.2s ease;
  background: #000;
  flex-shrink: 0;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb-item.active {
  opacity: 1;
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  transform: scale(1.06);
}

/* Sottosezione Locandine */
.posters-section-head {
  text-align: center;
  margin: 50px 0 28px 0;
}

.posters-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 8px;
}

.posters-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.gallery-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  aspect-ratio: 16 / 10;
}

.gallery-card-modern:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.gallery-card-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card-modern .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   SPONSOR & PARTNER
   ========================================================================== */
.partners-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.partner-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.partner-chip:hover {
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #080612;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px 0;
  text-align: center;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  margin-bottom: 16px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 24px;
}

/* ==========================================================================
   LIGHTBOX MODAL POTENZIATO (CON NAVIGAZIONE & COUNTER)
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 2, 10, 0.94);
  backdrop-filter: blur(16px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 88vh;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.85);
  border: 1.5px solid var(--accent-gold);
  transition: transform 0.25s ease;
}

.lightbox-bottom-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}

.lightbox-counter {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.lightbox-caption {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2010;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.8);
  color: #fff;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 10, 26, 0.75);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2005;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-50%) scale(1.12);
}

.lightbox-nav-btn.lightbox-prev {
  left: 20px;
}

.lightbox-nav-btn.lightbox-next {
  right: 20px;
}

/* ==========================================================================
   OTTIMIZZAZIONE MOBILE & TABLET COMPLETA
   ========================================================================== */
@media (max-width: 900px) {
  .day-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lightbox-nav-btn.lightbox-prev {
    left: 10px;
  }
  .lightbox-nav-btn.lightbox-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .site-nav {
    padding: 10px 0;
  }

  .nav-title {
    font-size: 1.05rem;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
  }

  .nav-admin-btn span {
    display: none; /* Solo icona su mobile per non affollare la barra */
  }

  .nav-admin-btn {
    padding: 8px 12px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .nav-links {
    display: none !important;
  }

  /* Mobile Nav Drawer (Slide-Over Panel) */
  .mobile-nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: #1a1538;
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.85);
    z-index: 99999;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 20px 20px 30px 20px;
  }

  .mobile-nav-drawer.open {
    transform: translateX(0);
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 2, 10, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 18px;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-nav-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:active {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #ef4444;
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    margin: 0;
    padding: 0;
  }

  .mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
  }

  .mobile-nav-list li a i {
    color: var(--accent-gold);
    width: 22px;
    text-align: center;
    font-size: 1.05rem;
  }

  .mobile-nav-list li a:active,
  .mobile-nav-list li a:hover,
  .mobile-nav-list li a.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-violet);
    color: #fff;
    transform: translateX(4px);
  }

  .mobile-nav-footer {
    padding-top: 18px;
    border-top: 1px solid var(--border-glass);
    margin-top: 16px;
  }

  /* Container & Global Spacing */
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 45px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 95px 0 50px 0;
    min-height: auto;
  }

  .hero-badge-container {
    gap: 8px;
    margin-bottom: 16px;
  }

  .badge-pill {
    font-size: 0.74rem;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .hero-location {
    font-size: 0.82rem;
    padding: 8px 14px;
    margin-bottom: 20px;
    line-height: 1.35;
    text-align: center;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group a {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    min-height: 48px;
    font-size: 0.92rem;
  }

  /* Program Tabs on Mobile: 3 Colonne Perfette Senza Tagli */
  .program-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 20px;
    width: 100%;
    overflow: visible;
  }

  .tab-btn {
    width: 100%;
    min-width: 0;
    padding: 11px 4px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-md);
    white-space: nowrap;
    box-shadow: none;
  }

  .tab-short {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .tab-full {
    display: none;
  }

  .day-banner-card {
    border-radius: var(--radius-md);
    background: #110d28;
    overflow: hidden;
  }

  .day-banner-img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
  }

  .day-header-info h3 {
    font-size: 1.25rem;
  }

  .day-header-info p {
    font-size: 0.88rem;
  }

  .timeline-item {
    padding: 12px 14px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-badge {
    font-size: 0.74rem;
    padding: 3px 8px;
  }

  .timeline-text {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  /* Relatori & Ospiti on Mobile */
  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .speaker-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .speaker-top {
    gap: 14px;
    margin-bottom: 12px;
  }

  .speaker-avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .speaker-meta h4 {
    font-size: 1.05rem;
  }

  .speaker-meta .role {
    font-size: 0.78rem;
  }

  .speaker-bio {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Video Promo on Mobile */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-card {
    border-radius: var(--radius-md);
  }

  .video-player-wrapper video {
    width: 100%;
    max-height: 210px;
    aspect-ratio: 16 / 9;
  }

  .video-info {
    padding: 14px 16px;
  }

  .video-title {
    font-size: 0.98rem;
  }

  .video-desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* Eventi Futuri (WIP) on Mobile */
  .wip-box {
    padding: 32px 18px;
    border-radius: var(--radius-md);
  }

  .wip-icon-circle {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .wip-title {
    font-size: 1.35rem;
  }

  .wip-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* Photo Slider on Mobile */
  .photo-slider-wrapper {
    padding: 12px;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
  }

  .slider-stage {
    height: clamp(220px, 45vh, 320px);
    border-radius: var(--radius-sm);
  }

  .slider-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    background: rgba(12, 10, 26, 0.9);
  }

  .slider-nav-btn.slider-prev {
    left: 8px;
  }

  .slider-nav-btn.slider-next {
    right: 8px;
  }

  .slider-badge-counter {
    top: 10px;
    left: 10px;
    font-size: 0.74rem;
    padding: 4px 10px;
  }

  .slider-zoom-hint {
    bottom: 10px;
    right: 10px;
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .thumb-item {
    width: 68px;
    height: 46px;
  }

  .gallery-grid-modern {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Lightbox on Mobile */
  .lightbox-modal {
    padding: 10px;
  }

  .lightbox-img {
    max-width: 96vw;
    max-height: 72vh;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
  }

  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .lightbox-nav-btn.lightbox-prev {
    left: 8px;
  }

  .lightbox-nav-btn.lightbox-next {
    right: 8px;
  }

  /* Partner on Mobile */
  .partner-pills {
    gap: 8px;
  }

  .partner-pill {
    font-size: 0.8rem;
    padding: 7px 14px;
  }

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-col h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Admin handled in admin.css */
}

/* ==========================================================================
   STILI NUOVE LOCANDINE & DEPLIANT SECTION
   ========================================================================== */
.posters-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.poster-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.poster-preview-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.25);
}

.poster-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(244, 114, 182, 0.3));
  border: 1px solid rgba(244, 114, 182, 0.4);
  color: var(--accent-gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.poster-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.poster-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.poster-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-poster-view {
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  color: #fff !important;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-poster-view:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-poster-fb {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent-gold) !important;
  text-align: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-poster-fb:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}

/* DEPLIANT FEATURE BOX */
.depliant-box-wrapper {
  margin-top: 30px;
}

.depliant-feature-card {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(124, 58, 237, 0.3));
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 20px;
  padding: 35px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .depliant-feature-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.depliant-icon-wrap {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.35);
}

.depliant-badge {
  display: inline-block;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.depliant-text-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
}

.depliant-text-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.depliant-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-depliant-interactive {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}
.btn-depliant-interactive:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.btn-depliant-pdf {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}
.btn-depliant-pdf:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}


/* ==========================================================================
   PRISMA 2026 — LIGHT PEARL / EDITORIAL THEME OVERRIDES
   Matches New Official Locandine & Identical Twin Logos
   ========================================================================== */

/* Navbar Brand & Twin Logos */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logos-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.nav-logo-divider {
  width: 1px;
  height: 24px;
  background: rgba(203, 213, 225, 0.8);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  background: linear-gradient(135deg, #0f2b5c 0%, #1e40af 50%, #6b21a8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  line-height: 1.1 !important;
}

.nav-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #6366f1;
  text-transform: uppercase;
}

.nav-links a {
  color: #334155 !important;
  font-weight: 600 !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0f2b5c !important;
}

.nav-links a::after {
  background: linear-gradient(90deg, #1e40af, #6366f1) !important;
}

.nav-admin-btn {
  background: rgba(15, 43, 92, 0.06) !important;
  border: 1px solid rgba(15, 43, 92, 0.18) !important;
  color: #0f2b5c !important;
}
.nav-admin-btn:hover {
  background: #0f2b5c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 43, 92, 0.25) !important;
}

/* Hero Section */
.hero-title {
  background: linear-gradient(135deg, #0f2b5c 0%, #1e40af 45%, #6b21a8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-subtitle {
  color: #334155 !important;
  font-weight: 600 !important;
}

.hero-description {
  color: #475569 !important;
}

.hero-location {
  color: #0f2b5c !important;
  background: rgba(15, 43, 92, 0.05) !important;
  border: 1px solid rgba(15, 43, 92, 0.12) !important;
  font-weight: 700 !important;
}

.badge-pill.gold {
  background: rgba(217, 119, 6, 0.1) !important;
  color: #b45309 !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
}

.badge-pill.purple {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #4338ca !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.badge-pill.green {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* Section Headers */
.section-tag {
  color: #6366f1 !important;
}

.section-title {
  color: #0f2b5c !important;
}

.section-desc {
  color: #64748b !important;
}

.section-alt {
  background: rgba(248, 250, 252, 0.75) !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* Cards & Components */
.speaker-card,
.day-timeline-card,
.day-banner-card,
.video-card,
.gallery-card-modern,
.partner-chip,
.upcoming-wip-card,
.depliant-feature-card,
.poster-showcase-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 4px 18px rgba(15, 43, 92, 0.06) !important;
}

.speaker-card:hover,
.day-banner-card:hover,
.video-card:hover,
.poster-showcase-card:hover {
  background: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.14) !important;
  transform: translateY(-4px);
}

.speaker-meta h4 {
  color: #0f2b5c !important;
  font-weight: 800 !important;
}

.speaker-meta .role {
  color: #d97706 !important;
  font-weight: 700 !important;
}

.speaker-bio {
  color: #475569 !important;
}

/* Speaker Avatar - Scontornato senza riquadro */
.speaker-avatar {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 10px rgba(15, 43, 92, 0.12));
}

/* Timeline items */
.timeline-item-title {
  color: #0f2b5c !important;
  font-weight: 700 !important;
}

.timeline-item-time {
  color: #e11d48 !important;
  font-weight: 800 !important;
}

.timeline-item-desc {
  color: #475569 !important;
}

.program-tab-btn {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
}

.program-tab-btn.active,
.program-tab-btn:hover {
  background: #0f2b5c !important;
  color: #ffffff !important;
  border-color: #0f2b5c !important;
}

/* Video info */
.video-title {
  color: #0f2b5c !important;
}

.video-desc {
  color: #64748b !important;
}

/* Partner chips */
.partner-chip {
  color: #1e293b !important;
  font-weight: 600 !important;
}
.partner-chip:hover {
  background: #0f2b5c !important;
  color: #ffffff !important;
  border-color: #0f2b5c !important;
}

/* Footer */
.site-footer {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-top: 1px solid #1e293b !important;
}

.footer-logos-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.footer-logo-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}

.footer-title {
  color: #ffffff !important;
}

.footer-links a {
  color: #94a3b8 !important;
}
.footer-links a:hover {
  color: #ffffff !important;
}

/* Buttons */
.btn-primary-glow {
  background: linear-gradient(135deg, #0f2b5c 0%, #1e40af 50%, #6366f1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(15, 43, 92, 0.25) !important;
}

.btn-secondary-glass {
  background: #ffffff !important;
  color: #0f2b5c !important;
  border: 1px solid rgba(15, 43, 92, 0.2) !important;
  box-shadow: 0 2px 8px rgba(15, 43, 92, 0.06) !important;
}
.btn-secondary-glass:hover {
  background: rgba(15, 43, 92, 0.05) !important;
  border-color: #0f2b5c !important;
}


/* ==========================================================================
   ULTRA-POLISHED EDITORIAL THEME - FIX ILLEGIBILITÀ & SOVRAPPOSIZIONI
   ========================================================================== */

/* 1. NAVBAR PERFETTAMENTE SPAZIATA E ANTI-OVERLAP */
.site-nav {
  height: auto !important;
  min-height: 76px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 14px rgba(15, 43, 92, 0.08) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 76px !important;
  padding: 0 20px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  gap: 16px !important;
}

.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  margin-right: 15px !important;
}

.nav-logos-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.nav-logo {
  height: 48px !important;
  width: auto !important;
  max-width: 90px !important;
  object-fit: contain !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-logo-divider {
  width: 1.5px !important;
  height: 30px !important;
  background: rgba(203, 213, 225, 0.9) !important;
}

.nav-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.nav-title {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  color: #0f2b5c !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  line-height: 1.1 !important;
}

.nav-subtitle {
  font-size: 0.62rem !important;
  letter-spacing: 0.18em !important;
  font-weight: 700 !important;
  color: #4338ca !important;
  text-transform: uppercase !important;
}

/* Nav Links anti-sovrapposizione */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  list-style: none !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links a {
  text-decoration: none !important;
  color: #1e293b !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 6px 4px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0f2b5c !important;
}

.nav-links a.active {
  border-bottom: 2.5px solid #0f2b5c !important;
}

.nav-links a::after {
  display: none !important;
}

/* Pulsante Gestione Sito */
.nav-admin-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f2b5c !important;
  padding: 7px 14px !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.nav-admin-btn:hover {
  background: #0f2b5c !important;
  color: #ffffff !important;
}

/* 2. PROGRAM TABS (Massima leggibilità) */
.program-tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-bottom: 35px !important;
}

.tab-btn {
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  color: #334155 !important;
  padding: 12px 28px !important;
  border-radius: 30px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 2px 8px rgba(15, 43, 92, 0.05) !important;
  transition: all 0.2s ease !important;
}

.tab-btn:hover {
  border-color: #0f2b5c !important;
  color: #0f2b5c !important;
  background: #f8fafc !important;
}

.tab-btn.active {
  background: #0f2b5c !important;
  border-color: #0f2b5c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 43, 92, 0.25) !important;
}

/* 3. PROGRAM TIMELINE & HEADLINE (Testo scuro chiarissimo su bianco) */
.day-timeline-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 18px !important;
  padding: 32px 30px !important;
  box-shadow: 0 6px 20px rgba(15, 43, 92, 0.06) !important;
}

.day-header-info {
  border-bottom: 2px solid #e2e8f0 !important;
  padding-bottom: 16px !important;
  margin-bottom: 22px !important;
}

.day-date-tag {
  color: #b45309 !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em !important;
}

.day-headline {
  font-family: var(--font-heading) !important;
  color: #0f2b5c !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  margin: 6px 0 !important;
}

.day-desc {
  color: #475569 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.timeline-list::before {
  background: #cbd5e1 !important;
}

.timeline-dot {
  background: #0f2b5c !important;
  border: 3px solid #e2e8f0 !important;
}

.timeline-text {
  color: #1e293b !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.timeline-text strong {
  color: #0f2b5c !important;
  font-weight: 800 !important;
}

/* 4. DAY BANNER CARD (Locandine Nuove 2026) */
.day-banner-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(15, 43, 92, 0.06) !important;
  cursor: pointer !important;
}

.day-banner-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.day-banner-overlay {
  background: rgba(15, 43, 92, 0.9) !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 6px 14px !important;
}

/* 5. SEZIONE LOCANDINE GRID */
.posters-showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px !important;
}

.poster-preview-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 16px rgba(15, 43, 92, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.2s ease !important;
}

.poster-preview-card:hover {
  transform: translateY(-4px) !important;
  border-color: #0f2b5c !important;
  box-shadow: 0 8px 24px rgba(15, 43, 92, 0.1) !important;
}

.poster-card-badge {
  display: inline-block !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #0f2b5c !important;
  background: rgba(15, 43, 92, 0.08) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  width: fit-content !important;
}

.poster-card-body h3 {
  font-family: var(--font-heading) !important;
  color: #0f2b5c !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}

.poster-card-body p {
  color: #475569 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin-bottom: 18px !important;
}

.poster-card-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.btn-poster-view {
  background: #0f2b5c !important;
  color: #ffffff !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.btn-poster-view:hover {
  background: #1e40af !important;
}

.btn-poster-fb {
  background: #f1f5f9 !important;
  color: #1877f2 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.btn-poster-fb:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
}

/* 6. DEPLIANT CARD */
.depliant-feature-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 36px 32px !important;
  display: flex !important;
  gap: 28px !important;
  align-items: center !important;
  box-shadow: 0 6px 24px rgba(15, 43, 92, 0.06) !important;
}

.depliant-icon-wrap {
  width: 76px !important;
  height: 76px !important;
  border-radius: 16px !important;
  background: rgba(15, 43, 92, 0.08) !important;
  color: #0f2b5c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;
  flex-shrink: 0 !important;
}

.depliant-badge {
  color: #b45309 !important;
  background: rgba(217, 119, 6, 0.1) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.depliant-text-content h3 {
  font-family: var(--font-heading) !important;
  color: #0f2b5c !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin: 8px 0 !important;
}

.depliant-text-content p {
  color: #475569 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

.btn-depliant-interactive {
  background: #0f2b5c !important;
  color: #ffffff !important;
  padding: 11px 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-depliant-interactive:hover {
  background: #1e40af !important;
}

.btn-depliant-pdf {
  background: #f1f5f9 !important;
  color: #e11d48 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 11px 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-depliant-pdf:hover {
  background: #e11d48 !important;
  color: #ffffff !important;
  border-color: #e11d48 !important;
}

/* Responsività su schermi medi (laptop/tablet) */
@media (max-width: 1150px) {
  .nav-links {
    gap: 8px !important;
  }
  .nav-links a {
    font-size: 0.82rem !important;
  }
  .nav-brand-text {
    display: none !important;
  }
}


/* ==========================================================================
   POSTERS VISUAL SHOWCASE GRID (Anteprima reale delle locandine)
   ========================================================================== */

.posters-visual-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
  gap: 30px !important;
  margin-top: 20px !important;
}

.poster-visual-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(15, 43, 92, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.25s ease !important;
}

.poster-visual-card:hover {
  transform: translateY(-5px) !important;
  border-color: #0f2b5c !important;
  box-shadow: 0 12px 30px rgba(15, 43, 92, 0.12) !important;
}

.poster-visual-thumb {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  background: #f1f5f9 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.poster-visual-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  transition: transform 0.35s ease !important;
}

.poster-visual-thumb:hover img {
  transform: scale(1.04) !important;
}

.poster-zoom-overlay {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  background: rgba(15, 43, 92, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  pointer-events: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.poster-visual-info {
  padding: 22px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
}

.poster-visual-badge {
  display: inline-block !important;
  background: rgba(15, 43, 92, 0.08) !important;
  color: #0f2b5c !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  margin-bottom: 10px !important;
  width: fit-content !important;
}

.poster-visual-info h3 {
  font-family: var(--font-heading) !important;
  color: #0f2b5c !important;
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 8px !important;
}

.poster-visual-info p {
  color: #475569 !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  margin-bottom: 20px !important;
}

.poster-action-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.btn-visual-hd {
  background: #0f2b5c !important;
  color: #ffffff !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}
.btn-visual-hd:hover {
  background: #1e40af !important;
}

.btn-visual-fb {
  background: #f1f5f9 !important;
  color: #1877f2 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}
.btn-visual-fb:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
}

@media (max-width: 768px) {
  .posters-visual-grid {
    grid-template-columns: 1fr !important;
  }
  .poster-action-buttons {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   SEZIONE ISTITUZIONALE: COLLETTIVO CULTURALE (PILLARS & STATUTO)
   ========================================================================== */

.assoc-overview-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  margin-top: 20px !important;
}

.assoc-pillar-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  padding: 28px 24px !important;
  box-shadow: 0 4px 16px rgba(15, 43, 92, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.25s ease !important;
}

.assoc-pillar-card:hover {
  transform: translateY(-4px) !important;
  border-color: #0f2b5c !important;
  box-shadow: 0 10px 24px rgba(15, 43, 92, 0.1) !important;
}

.assoc-pillar-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  background: rgba(15, 43, 92, 0.08) !important;
  color: #0f2b5c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  margin-bottom: 16px !important;
}

.assoc-pillar-card h3 {
  font-family: var(--font-heading) !important;
  color: #0f2b5c !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

.assoc-pillar-card p {
  color: #475569 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}


/* Quick Actions under Program Locandina Banner */
.day-banner-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.day-poster-quick-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.btn-poster-action-hd {
  background: #0f2b5c !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}
.btn-poster-action-hd:hover {
  background: #1e40af !important;
}

.btn-poster-action-fb {
  background: #f1f5f9 !important;
  color: #1877f2 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}
.btn-poster-action-fb:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
}

@media (max-width: 768px) {
  .day-poster-quick-actions {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   VALORIZZAZIONE LOGHI GEMELLI (HERO & NAVBAR)
   ========================================================================== */

/* 1. NAVBAR LOGHI */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  text-decoration: none !important;
}

.nav-logos-group {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.nav-logo {
  height: 52px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(15, 43, 92, 0.08)) !important;
  transition: transform 0.2s ease !important;
}

.nav-logo:hover {
  transform: scale(1.05) !important;
}

.nav-logo-divider {
  width: 1.5px !important;
  height: 32px !important;
  background: rgba(15, 43, 92, 0.2) !important;
}

.nav-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.nav-title {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.8px !important;
  color: #0f2b5c !important;
  line-height: 1.1 !important;
}

.nav-subtitle {
  font-size: 0.65rem !important;
  letter-spacing: 0.22em !important;
  font-weight: 800 !important;
  color: #6366f1 !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
}

/* 2. PRESTIGE TWIN LOGOS SHOWCASE NELLA HERO */
.hero-twin-logos-showcase {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 32px !important;
  margin-bottom: 24px !important;
  padding: 10px 0 !important;
}

.hero-logo-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  padding: 14px 22px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  box-shadow: 0 8px 24px rgba(15, 43, 92, 0.07) !important;
  transition: all 0.25s ease !important;
}

.hero-logo-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(15, 43, 92, 0.12) !important;
  border-color: #0f2b5c !important;
}

.hero-showcase-logo {
  height: 90px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.hero-logos-center-badge {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

.hero-edition-pill {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.15em !important;
  color: #0f2b5c !important;
  background: rgba(15, 43, 92, 0.08) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
}

.hero-logos-v-divider {
  width: 2px !important;
  height: 40px !important;
  background: linear-gradient(180deg, rgba(15, 43, 92, 0.3) 0%, rgba(99, 102, 241, 0.4) 100%) !important;
}

@media (max-width: 768px) {
  .hero-twin-logos-showcase {
    gap: 14px !important;
  }
  .hero-showcase-logo {
    height: 60px !important;
  }
  .hero-logo-box {
    padding: 10px 14px !important;
  }
}


/* ==========================================================================
   WHATSAPP INTEGRATION (CHIEDI INFO SU WHATSAPP)
   ========================================================================== */

/* 1. Pulsante Flottante Fisso in basso a destra */
.whatsapp-floating-btn {
  position: fixed !important;
  bottom: 26px !important;
  right: 26px !important;
  z-index: 9999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 40px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.whatsapp-floating-btn i {
  font-size: 1.55rem !important;
  line-height: 1 !important;
}

.whatsapp-floating-btn .wa-text-pill {
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
}

.whatsapp-floating-btn:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6) !important;
  color: #ffffff !important;
}

/* 2. Pulsante WhatsApp nella Hero */
.btn-whatsapp-hero {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  padding: 13px 24px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-whatsapp-hero:hover {
  background: #1eb956 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5) !important;
  color: #ffffff !important;
}

@media (max-width: 600px) {
  .whatsapp-floating-btn {
    bottom: 20px !important;
    right: 20px !important;
    padding: 12px 14px !important;
  }
}


/* ==========================================================================
   PROSSIMI EVENTI & INIZIATIVE (STILE EDITORIALE BIANCO & BLU NAVY)
   ========================================================================== */

.upcoming-showcase-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 22px !important;
  padding: 45px 36px !important;
  text-align: center !important;
  box-shadow: 0 8px 28px rgba(15, 43, 92, 0.06) !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}

.upcoming-top-badge {
  margin-bottom: 20px !important;
}

.upcoming-edition-tag {
  display: inline-block !important;
  background: rgba(15, 43, 92, 0.08) !important;
  color: #0f2b5c !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
}

.upcoming-icon-wrap {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: rgba(15, 43, 92, 0.06) !important;
  color: #0f2b5c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.8rem !important;
  margin: 0 auto 18px auto !important;
}

.upcoming-title {
  font-family: var(--font-heading) !important;
  color: #0f2b5c !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
  letter-spacing: 0.5px !important;
}

.upcoming-lead {
  color: #475569 !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  max-width: 650px !important;
  margin: 0 auto 32px auto !important;
}

.upcoming-highlights-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 34px !important;
}

.upcoming-mini-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 18px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.upcoming-mini-card:hover {
  transform: translateY(-3px) !important;
  border-color: #0f2b5c !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 43, 92, 0.08) !important;
}

.upcoming-mini-card i {
  font-size: 1.4rem !important;
  color: #0f2b5c !important;
  margin-bottom: 4px !important;
}

.upcoming-mini-card h4 {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #0f2b5c !important;
}

.upcoming-mini-card span {
  font-size: 0.78rem !important;
  color: #64748b !important;
}

.upcoming-action-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.btn-upcoming-propose {
  background: #25D366 !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.2s ease !important;
}
.btn-upcoming-propose:hover {
  background: #1eb956 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
  color: #ffffff !important;
}

.btn-upcoming-fb {
  background: #f1f5f9 !important;
  color: #1877f2 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
}
.btn-upcoming-fb:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
}

@media (max-width: 650px) {
  .upcoming-highlights-row {
    grid-template-columns: 1fr !important;
  }
}


/* Prossimi Eventi: Tasti Chiedi Info, Instagram, Facebook */
.btn-upcoming-wa {
  background: #25D366 !important;
  color: #ffffff !important;
  padding: 11px 22px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.2s ease !important;
}
.btn-upcoming-wa:hover {
  background: #1eb956 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
  color: #ffffff !important;
}

.btn-upcoming-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  padding: 11px 22px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.28) !important;
  transition: all 0.2s ease !important;
}
.btn-upcoming-ig:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45) !important;
  color: #ffffff !important;
}

.btn-upcoming-fb {
  background: #1877f2 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 11px 22px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.28) !important;
  transition: all 0.2s ease !important;
}
.btn-upcoming-fb:hover {
  background: #0d6efd !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45) !important;
  color: #ffffff !important;
}


/* ==========================================================================
   PERFECT MOBILE EXPERIENCE (SMARTPHONE & TABLET)
   ========================================================================== */

@media (max-width: 900px) {
  /* 1. Header & Navbar Mobile */
  .site-nav {
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 !important;
  }

  .nav-container {
    height: 68px !important;
    padding: 0 16px !important;
  }

  .nav-brand-text {
    display: none !important; /* Su mobile nascondi testo lungo per fare spazio al menu */
  }

  .nav-logos-group {
    gap: 8px !important;
  }

  .nav-logo {
    height: 42px !important;
    max-width: 75px !important;
  }

  .nav-logo-divider {
    height: 24px !important;
  }

  .nav-admin-btn {
    display: none !important; /* Si trova dentro il drawer menu laterale */
  }

  .mobile-nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: #0f2b5c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1.3rem !important;
    box-shadow: 0 2px 10px rgba(15, 43, 92, 0.2) !important;
    cursor: pointer !important;
  }

  .nav-links {
    display: none !important;
  }

  /* 2. Mobile Drawer Menu (Menu a tendina laterale elegante) */
  .mobile-nav-drawer {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: min(85vw, 340px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    border-left: 1px solid #cbd5e1 !important;
    box-shadow: -8px 0 30px rgba(15, 43, 92, 0.2) !important;
    z-index: 2000 !important;
    flex-direction: column !important;
    padding: 24px 20px !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .mobile-nav-drawer.open {
    transform: translateX(0) !important;
  }

  .mobile-nav-backdrop {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 1999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .mobile-nav-backdrop.open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mobile-nav-close {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f2b5c !important;
    border-radius: 8px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .mobile-nav-list li a {
    color: #0f2b5c !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
  }

  .mobile-nav-list li a:hover,
  .mobile-nav-list li a:active {
    background: #f1f5f9 !important;
    color: #1e40af !important;
  }

  .mobile-nav-list li a i {
    color: #0f2b5c !important;
    width: 24px !important;
  }

  /* 3. Hero Section su Mobile */
  .hero {
    padding: 95px 0 45px 0 !important;
    min-height: auto !important;
  }

  .hero-twin-logos-showcase {
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .hero-showcase-logo {
    height: 54px !important;
  }

  .hero-logo-box {
    padding: 8px 14px !important;
    border-radius: 14px !important;
  }

  .hero-edition-pill {
    font-size: 0.64rem !important;
    padding: 3px 8px !important;
  }

  .hero-logos-v-divider {
    height: 28px !important;
  }

  .hero-title {
    font-size: 2.3rem !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
    margin-bottom: 16px !important;
  }

  .hero-location {
    font-size: 0.85rem !important;
    padding: 8px 14px !important;
  }

  .hero-description {
    font-size: 0.92rem !important;
    padding: 0 4px !important;
    line-height: 1.6 !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-cta-group a {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
  }

  /* 4. Programma su Mobile */
  .program-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
  }

  .tab-btn {
    padding: 10px 8px !important;
    font-size: 0.84rem !important;
    justify-content: center !important;
    border-radius: 12px !important;
  }

  .tab-btn .tab-short {
    display: inline-block !important;
  }
  .tab-btn .tab-full {
    display: none !important;
  }

  .day-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .day-timeline-card {
    padding: 22px 18px !important;
  }

  .day-headline {
    font-size: 1.25rem !important;
  }

  .timeline-item {
    padding-left: 28px !important;
    margin-bottom: 16px !important;
  }

  .timeline-dot {
    width: 14px !important;
    height: 14px !important;
    left: 2px !important;
    top: 5px !important;
  }

  .timeline-text {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  /* 5. Relatori & Ospiti su Mobile */
  .speakers-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .speaker-card {
    padding: 18px !important;
  }

  .speaker-avatar {
    width: 60px !important;
    height: 60px !important;
  }

  /* 6. Associazione & Depliant su Mobile */
  .assoc-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .depliant-feature-card {
    flex-direction: column !important;
    padding: 24px 18px !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .depliant-buttons-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .depliant-buttons-row a {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 7. Prossimi Eventi su Mobile */
  .upcoming-showcase-box {
    padding: 28px 18px !important;
  }

  .upcoming-title {
    font-size: 1.45rem !important;
  }

  .upcoming-highlights-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .upcoming-action-row {
    flex-direction: column !important;
    width: 100% !important;
  }

  .upcoming-action-row a {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* ==========================================================================
   ENHANCED ART & CULTURE PALETTE, LOGOS & TABS STYLING
   ========================================================================== */

/* Navbar Brand & Discreet Lock */
.nav-logos-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: transparent !important;
}

.nav-logo {
  height: 52px !important;
  width: auto !important;
  max-width: 95px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.08)) !important;
  transition: transform 0.25s ease !important;
}

.nav-logo:hover {
  transform: scale(1.06) !important;
}

.nav-logo-divider {
  width: 1.5px !important;
  height: 32px !important;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.2) 0%, rgba(217, 119, 6, 0.4) 50%, rgba(99, 102, 241, 0.2) 100%) !important;
}

.nav-title {
  font-family: var(--font-heading) !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  letter-spacing: 2.2px !important;
  color: #0d1e3a !important;
  line-height: 1.1 !important;
}

.nav-subtitle {
  font-size: 0.68rem !important;
  letter-spacing: 2px !important;
  font-weight: 700 !important;
  color: #5551ff !important;
  text-transform: uppercase !important;
}

/* Discreet Lock Icon Button */
.nav-lock-mini {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  opacity: 0.65;
}

.nav-lock-mini:hover {
  color: #3b82f6 !important;
  opacity: 1;
  background: rgba(59, 130, 246, 0.1) !important;
  transform: scale(1.1);
}

/* Footer Logos Enhancement */
.footer-logos-group {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  background: transparent !important;
}

.footer-logo {
  height: 58px !important;
  width: auto !important;
  max-width: 110px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25)) !important;
  transition: transform 0.25s ease !important;
}

.footer-logo:hover {
  transform: scale(1.08) !important;
}

.footer-logo-divider {
  width: 1.5px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.25) !important;
}

.footer-title {
  font-family: var(--font-heading) !important;
  font-size: 1.6rem !important;
  letter-spacing: 2.5px !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* Multimedia Section: Tabs Selector (Foto / Video) */
.media-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 auto 36px auto;
  padding: 6px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 9999px;
  width: fit-content;
  box-shadow: 0 8px 24px rgba(15, 43, 92, 0.06);
}

.media-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #475569;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-tab-btn i {
  font-size: 1.1rem;
}

.media-tab-btn:hover {
  color: #0f2b5c;
  background: rgba(241, 245, 249, 0.8);
}

.media-tab-btn.active {
  background: linear-gradient(135deg, #0f2b5c 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 43, 92, 0.25);
}

.media-tab-btn.active i {
  color: #fbbf24;
}

.media-tab-panel {
  animation: fadeInMedia 0.35s ease-out;
}

@keyframes fadeInMedia {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Atmospheric Artistic Backgrounds for Sections */
/* Arricchimento cromatico raffinato: toni d'arte, luce prismatica, perla calda e sfumature indaco */
body {
  background-color: #f7f6f2 !important;
  background-image: 
    radial-gradient(ellipse at 15% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(244, 63, 94, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 85%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
    linear-gradient(175deg, #faf8f5 0%, #f4f0e8 35%, #edf2f7 70%, #f5f3ef 100%) !important;
  background-attachment: fixed !important;
}

/* Hero Section Artistic Atmosphere */
.hero-section {
  position: relative !important;
  background: linear-gradient(160deg, #fbf9f5 0%, #f5eedf 30%, #e8eef8 70%, #f3edf8 100%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.hero-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: 
    radial-gradient(circle at 75% 25%, rgba(217, 119, 6, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 25% 75%, rgba(99, 102, 241, 0.08) 0%, transparent 45%) !important;
  pointer-events: none !important;
}

/* Alternanza sezioni con armonia cromatica d'ispirazione artistica */
.section {
  position: relative;
}

.section-alt {
  background: linear-gradient(160deg, rgba(241, 245, 249, 0.7) 0%, rgba(238, 242, 255, 0.5) 50%, rgba(254, 243, 199, 0.3) 100%) !important;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.section-multimedia {
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.9) 0%, rgba(238, 242, 255, 0.6) 40%, rgba(253, 242, 248, 0.5) 100%) !important;
  padding: 80px 0 !important;
}

/* Cards & Elements Artistic Polish */
.card, .speaker-card, .event-card, .visual-poster-card, .photo-slider-wrapper {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 10px 30px rgba(15, 43, 92, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  border-radius: 16px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.card:hover, .speaker-card:hover, .visual-poster-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(15, 43, 92, 0.12), 0 4px 12px rgba(99, 102, 241, 0.08) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
}

/* Section Tags */
.section-tag {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(217, 119, 6, 0.12) 100%) !important;
  color: #1e3a8a !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
}

.section-title {
  font-family: var(--font-heading) !important;
  color: #0f2b5c !important;
  font-size: 2.3rem !important;
  letter-spacing: 0.5px !important;
}


/* ==========================================================================
   OTTIMIZZAZIONE PULSANTE WHATSAPP SU MOBILE & CON IL DRAWER APERTO
   ========================================================================== */
@media (max-width: 600px) {
  .whatsapp-floating-btn {
    bottom: 16px !important;
    right: 16px !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    z-index: 100 !important; /* Non deve mai stare sopra il menu drawer o il gestionale */
  }

  .whatsapp-floating-btn i {
    font-size: 1.3rem !important;
  }
}

/* Quando il drawer menu o il pannello admin sono aperti, nascondi il pulsante whatsapp */
body.mobile-menu-open .whatsapp-floating-btn,
body.modal-open .whatsapp-floating-btn {
  display: none !important;
}
