/* ==========================================================================
   ANAGNI DA GUSTARE — III EDIZIONE (09/10/2026)
   Style: Minimalist Black & White / Modern Sans-Serif
   Icons: Google Fonts Material Symbols Outlined
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --bg: #ffffff;
  --bg-subtle: #f6f6f6;
  --bg-card: #ffffff;
  --bg-hover: #f0f0f0;
  
  --text-main: #0a0a0a;
  --text-muted: #555555;
  --text-subtle: #888888;
  
  --border-light: #e5e5e5;
  --border-medium: #cccccc;
  --border-dark: #000000;
  
  --color-black: #000000;
  --color-white: #ffffff;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Helpers */
.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Google Fonts Icons — Material Symbols Outlined Setup
   ========================================================================== */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
  flex-shrink: 0;
}

/* Material Symbols modifiers */
.material-symbols-outlined.icon-xs {
  font-size: 14px;
}
.material-symbols-outlined.icon-sm {
  font-size: 16px;
}
.material-symbols-outlined.icon-md {
  font-size: 20px;
}
.material-symbols-outlined.icon-lg {
  font-size: 24px;
}
.material-symbols-outlined.icon-xl {
  font-size: 32px;
}
.material-symbols-outlined.icon-fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Button & Icon alignment */
.btn .material-symbols-outlined {
  font-size: 1.15em;
  line-height: 1;
}

.btn-sm .material-symbols-outlined {
  font-size: 1.1em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-primary:hover {
  background-color: #222222;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--color-black);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-black);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-sm);
  background-color: var(--color-black);
  color: var(--color-white);
}

.nav-btn:hover {
  background-color: transparent;
  color: var(--color-black);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 90px 0 80px 0;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border-dark);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.meta-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background-color: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

.meta-date-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-date {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1.3;
}

.meta-time {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-black);
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-subtitle {
  display: block;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.7;
  margin-top: 24px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* Minimalist Countdown */
.countdown-wrapper {
  padding: 24px 28px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  gap: 16px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--color-black);
}

.countdown-unit {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-top: 6px;
}

.countdown-separator {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--border-medium);
  margin-top: -12px;
}

/* ==========================================================================
   Hero Weather Confirmation Notice
   ========================================================================== */
.hero-weather-notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 580px;
  width: 100%;
  box-sizing: border-box;
}

.hero-weather-icon {
  font-size: 24px !important;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-weather-content {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-weather-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.hero-weather-badge {
  background: #16a34a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-block;
  line-height: 1.25;
}

.hero-weather-subtag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
}

.hero-weather-text {
  margin: 0;
  color: #166534;
  font-size: 0.86rem;
  line-height: 1.5;
}

.hero-weather-text strong {
  color: #14532d;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero-weather-notice {
    padding: 12px 14px;
    gap: 10px;
  }
}

/* ==========================================================================
   Calendar Save Button & Dropdown
   ========================================================================== */
.calendar-action-wrapper {
  margin-top: 16px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.calendar-btn-group {
  position: relative;
  display: inline-block;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  user-select: none;
  font-family: inherit;
}

.btn-calendar:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.btn-calendar:hover .cal-dropdown-arrow,
.btn-calendar:hover .material-symbols-outlined {
  color: #ffffff !important;
}

.calendar-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  background: #ffffff;
  border: 1.5px solid #000000;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
  min-width: 300px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.calendar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #000000;
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.calendar-dropdown-item:hover {
  background: var(--bg-subtle);
  transform: translateX(3px);
}

.calendar-dropdown-item .cal-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calendar-dropdown-item .cal-item-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.calendar-dropdown-item strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.3;
}

.calendar-dropdown-item small {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.calendar-feedback-msg {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-top: 8px;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Hero Slideshow Città di Anagni & Bottom Section
   ========================================================================== */
.hero-slideshow-container {
  margin-top: 32px;
  margin-bottom: 36px;
  border: 1px solid var(--border-dark);
  background-color: var(--color-black);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
  position: relative;
}

.hero-slideshow-frame {
  position: relative;
  width: 100%;
  height: clamp(340px, 48vw, 560px);
  overflow: hidden;
  background-color: #0b0d17;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.hero-slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide-overlay-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  z-index: 5;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.hero-slide-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.92) 100%);
  padding: 32px 20px 18px 20px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  z-index: 5;
}

.slide-caption-text {
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 780px;
  color: #f3f4f6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.slide-caption-text strong {
  color: #ffffff;
  font-weight: 700;
}

.slide-credit-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3px 8px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* Slideshow Navigation Arrows */
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}

.slideshow-arrow:hover,
.slideshow-arrow:focus-visible {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.08);
}

.slideshow-arrow-prev {
  left: 14px;
}

.slideshow-arrow-next {
  right: 14px;
}

/* Slideshow Footer: Dots & Counter */
.slideshow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: var(--bg);
  border-top: 1px solid var(--border-light);
}

.slideshow-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slideshow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.slideshow-dot.active {
  background: var(--color-black);
  width: 24px;
  border-radius: 5px;
}

.slideshow-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero-bottom-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.hero-bottom-actions .countdown-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.hero-bottom-actions .hero-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.hero-bottom-actions .hero-actions .btn {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-bordered {
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 48px;
  max-width: 800px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  border: 1px solid var(--border-light);
  padding: 28px;
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
}

.feature-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Sezione: Come Funziona in 3 Semplici Passi
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-black);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.step-card-featured {
  border: 2px solid var(--color-black);
  background: #ffffff;
  position: relative;
}

.step-card-featured::before {
  content: 'CONSIGLIATO';
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 2px;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Numeri 01, 02, 03 con sfumatura di rubino da più chiaro a più scuro e leggera ombreggiatura */
.step-num {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  display: inline-block;
  background: linear-gradient(180deg, #f43f5e 0%, #be123c 50%, #881337 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #be123c;
  filter: drop-shadow(0 2px 4px rgba(136, 19, 55, 0.22));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.step-card:hover .step-num {
  transform: scale(1.05);
  filter: drop-shadow(0 3px 6px rgba(136, 19, 55, 0.32));
}

/* Sfumatura progressiva di rubino da più chiaro (01) a più scuro (03) */
.step-card-1 .step-num {
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 50%, #be123c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.22));
}

.step-card-2 .step-num {
  background: linear-gradient(180deg, #f43f5e 0%, #be123c 50%, #881337 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(190, 18, 60, 0.25));
}

.step-card-3 .step-num {
  background: linear-gradient(180deg, #e11d48 0%, #9f1239 50%, #58061a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(159, 18, 57, 0.3));
}

.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.step-icon-wrap .material-symbols-outlined {
  font-size: 22px;
}

.step-card:hover .step-icon-wrap {
  background: var(--color-black);
  color: var(--color-white);
}

.step-phase {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-black);
  margin-bottom: 12px;
}

.step-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 22px;
}

.step-text strong {
  color: var(--color-black);
  font-weight: 600;
}

.step-text em {
  font-style: normal;
  color: var(--color-black);
}

.step-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.step-btn:hover {
  gap: 12px;
  opacity: 0.75;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Steps Disclaimer (Tutela Minori) */
.steps-disclaimer {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-left: 4px solid #b91c1c;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.steps-disclaimer-icon {
  font-size: 24px !important;
  color: #b91c1c;
  flex-shrink: 0;
  margin-top: 1px;
}

.steps-disclaimer-content {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.55;
}

.steps-disclaimer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.steps-disclaimer-badge-alert {
  background: #b91c1c;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  line-height: 1.2;
}

.steps-disclaimer-subtag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
}

.steps-disclaimer-text {
  margin: 0;
  color: var(--text-muted);
}

.steps-disclaimer-text strong {
  color: var(--color-black);
  font-weight: 700;
}

@media (max-width: 600px) {
  .steps-disclaimer {
    padding: 14px 16px;
    gap: 12px;
  }
}

/* Info Strip */
.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid var(--border-dark);
  background-color: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.info-strip-item {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-strip-item:last-child {
  border-right: none;
}

.info-strip-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.info-strip-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

.info-strip-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.info-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.info-strip-link:hover {
  color: #cccccc;
}

/* ==========================================================================
   Map Section & Controls
   ========================================================================== */
.map-section {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.map-header-flex {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 100%;
}

.map-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.map-header-text {
  max-width: 760px;
}

.map-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-geolocate-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  background-color: var(--bg);
  border: 1px solid var(--border-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
}

.btn-geolocate-pill:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

@media (max-width: 640px) {
  .map-controls-row {
    width: 100%;
    display: flex;
  }
  .map-controls-row .btn-geolocate-pill {
    width: 100%;
    justify-content: center;
    padding: 9px 16px;
    font-size: 0.82rem;
  }
}

.map-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group-scroll-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Gradient fade indicators on the right edge so users intuitively see scrollability on mobile */
.filter-group-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 8px;
  width: 36px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--bg-subtle, #f5f5f5));
  pointer-events: none;
  opacity: 0.95;
}

@media (min-width: 1080px) {
  .filter-group-scroll-wrap::after {
    display: none;
  }
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 40px 8px 2px;
  background: transparent;
  border: none;
  width: 100%;
}

.filter-group::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1080px) {
  .filter-group {
    padding-right: 2px;
    flex-wrap: wrap;
  }
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  background-color: var(--bg);
  border: 1px solid var(--border-dark);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.filter-btn:hover {
  border-color: var(--color-black);
  background-color: var(--bg-subtle);
  color: var(--color-black);
}

.filter-btn.active {
  background-color: var(--color-black);
  color: #ffffff;
  border-color: var(--color-black);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.geo-notice {
  margin-bottom: 16px;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.geo-notice.hidden {
  display: none;
}

.map-container {
  position: relative;
  border: 1px solid var(--border-dark);
  background-color: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.leaflet-map-element {
  width: 100%;
  height: 580px;
  background: #ececec;
  z-index: 10;
}

/* Body lock when in fullscreen mode */
body.map-fullscreen-active {
  overflow: hidden !important;
  touch-action: none;
}

/* Fullscreen Mode State for .map-container */
.map-container.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  background-color: var(--bg) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.map-container.is-fullscreen .leaflet-map-element {
  flex: 1 1 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.map-container.is-fullscreen .map-legend {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.75rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  gap: 12px;
}

/* Floating Action Button inside Map */
.map-floating-action-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-dark);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-floating-action-btn:hover {
  background: var(--color-black);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.map-container.is-fullscreen .map-floating-action-btn {
  display: none !important;
}

/* Floating Close Button in Fullscreen Mode (Solo pulsante rapido galleggiante) */
.map-floating-close-btn {
  display: none;
  position: absolute;
  bottom: 56px;
  right: 16px;
  z-index: 1002;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: #000000;
  border: 2px solid #ffffff;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.map-floating-close-btn:hover {
  background: #222222;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}

.map-floating-close-btn:active {
  transform: translateY(0);
  background: #333333;
}

.map-container.is-fullscreen .map-floating-close-btn {
  display: inline-flex;
}

/* Fullscreen Topbar */
.map-fullscreen-topbar {
  display: none;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.map-container.is-fullscreen .map-fullscreen-topbar {
  display: flex !important;
  flex-direction: column !important;
}

.map-fs-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.map-fs-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.fs-badge {
  background: #000000;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 2px;
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fs-title-text {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-fs-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.fs-action-btn {
  padding: 6px 12px !important;
  font-size: 0.75rem !important;
  border-radius: 9999px !important;
  flex-shrink: 0 !important;
}

.map-fullscreen-topbar .filter-group-scroll-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.fs-filter-group {
  padding: 2px 2px 2px 2px !important;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.fs-filter-group .filter-btn {
  padding: 5px 11px;
  font-size: 0.76rem;
}

@media (max-width: 640px) {
  .fs-title-text {
    display: none;
  }
  .map-fullscreen-topbar {
    padding: 8px 10px !important;
  }
  .map-container.is-fullscreen .map-legend {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 10px;
    gap: 12px;
    white-space: nowrap;
    font-size: 0.72rem;
  }
  .map-container.is-fullscreen .map-legend::-webkit-scrollbar {
    display: none;
  }
}

/* Minimalist B&W Map desaturation filter */
.leaflet-tile-pane {
  filter: grayscale(100%) contrast(108%) brightness(98%);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 14px 20px;
  background-color: var(--bg);
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.legend-icon.restaurant-icon {
  background-color: #be123c;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #be123c;
}

.legend-icon.monument-icon {
  background-color: #000000;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #000000;
  border-radius: 4px;
}

.legend-icon.music-icon {
  background-color: #ea580c;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #ea580c;
}

.legend-icon.infopoint-icon {
  background-color: #16a34a;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #16a34a;
}

.legend-icon.parking-icon {
  background-color: #2563eb;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #2563eb;
  border-radius: 4px;
}

.legend-icon.user-icon {
  background-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 1px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0,0,0,0.15); }
  100% { box-shadow: 0 0 0 1px rgba(0,0,0,0.5); }
}

/* Custom Marker Styling */
.custom-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  z-index: 100;
}

.custom-pin .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}

.custom-pin:hover {
  transform: scale(1.18);
  z-index: 1000 !important;
}

/* Ristoranti: RUBINO */
.custom-pin.restaurant-pin,
.custom-pin:not(.monument-pin):not(.music-pin):not(.parking-pin):not(.infopoint-pin) {
  background: #be123c;
  box-shadow: 0 0 0 2px #be123c, 0 4px 14px rgba(190, 18, 60, 0.45);
}

.custom-pin.restaurant-pin:hover,
.custom-pin:not(.monument-pin):not(.music-pin):not(.parking-pin):not(.infopoint-pin):hover {
  box-shadow: 0 0 0 3px #be123c, 0 6px 18px rgba(190, 18, 60, 0.6);
}

/* Monumenti: mantieni il NERO */
.custom-pin.monument-pin {
  background: #000000;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 2px #000000, 0 4px 14px rgba(0, 0, 0, 0.45);
}

.custom-pin.monument-pin:hover {
  box-shadow: 0 0 0 3px #000000, 0 6px 18px rgba(0, 0, 0, 0.65);
}

/* Eventi Live: ARANCIONE */
.custom-pin.music-pin {
  background: #ea580c;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ea580c, 0 4px 14px rgba(234, 88, 12, 0.45);
}

.custom-pin.music-pin:hover {
  box-shadow: 0 0 0 3px #ea580c, 0 6px 18px rgba(234, 88, 12, 0.6);
}

/* Parcheggi: BLU */
.custom-pin.parking-pin {
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.05em;
  box-shadow: 0 0 0 2px #2563eb, 0 4px 14px rgba(37, 99, 235, 0.45);
}

.custom-pin.parking-pin:hover {
  box-shadow: 0 0 0 3px #2563eb, 0 6px 18px rgba(37, 99, 235, 0.6);
}

/* Info: VERDE */
.custom-pin.infopoint-pin {
  background: #16a34a;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #16a34a, 0 4px 14px rgba(22, 163, 74, 0.45);
}

.custom-pin.infopoint-pin:hover {
  box-shadow: 0 0 0 3px #16a34a, 0 6px 18px rgba(22, 163, 74, 0.6);
}

.user-marker-pin {
  width: 18px;
  height: 18px;
  background: #000000;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #000000;
}

/* Minimalist Popup styling */
.leaflet-popup-content-wrapper {
  background: var(--bg);
  color: var(--text-main);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0;
  font-family: var(--font-sans);
}

.leaflet-popup-content {
  margin: 0;
  line-height: 1.5;
}

.leaflet-popup-tip-container {
  display: none;
}

.map-popup-card {
  padding: 16px 18px;
  width: 280px;
}

.popup-img-wrap {
  width: 100%;
  height: 130px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background-color: #000000;
  border: 1px solid var(--border-light);
}

.popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(106%);
  display: block;
}

.popup-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid var(--border-dark);
  display: inline-block;
  margin-bottom: 8px;
}

.popup-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.popup-address {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.popup-dish {
  font-size: 0.84rem;
  background-color: var(--bg-subtle);
  border-left: 2px solid var(--color-black);
  padding: 6px 8px;
  margin-bottom: 14px;
}

.popup-dish-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-subtle);
  display: block;
}

.popup-dish-name {
  font-weight: 600;
  color: var(--color-black);
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   Restaurants Grid Section
   ========================================================================== */
.search-bar-wrap {
  margin-bottom: 32px;
}

.search-box {
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.92rem;
  color: var(--text-main);
  background: transparent;
}

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.rest-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.rest-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.rest-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #000000;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  position: relative;
  border: 1px solid var(--border-light);
}

.rest-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(106%);
  transition: transform 0.4s ease;
  display: block;
}

.rest-card:hover .rest-card-img {
  transform: scale(1.04);
}

.rest-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rest-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

.rest-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.restaurant-lodging-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1e40af;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  line-height: 1;
}

.restaurant-lodging-badge .icon-lodging {
  font-size: 15px;
  line-height: 1;
  color: #2563eb;
}

.restaurant-lodging-badge-popup {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e40af;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 3px;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
}

.restaurant-celiaci-badge,
.restaurant-glutenfree-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #166534;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.restaurant-celiaci-badge *,
.restaurant-glutenfree-badge *,
.restaurant-celiaci-badge-popup *,
.restaurant-glutenfree-badge-popup * {
  pointer-events: none;
}

.restaurant-celiaci-badge:hover,
.restaurant-celiaci-badge:focus-visible,
.restaurant-glutenfree-badge:hover,
.restaurant-glutenfree-badge:focus-visible {
  background-color: #dcfce7;
  border-color: #86efac;
  color: #14532d;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(22, 163, 74, 0.25);
}

.restaurant-celiaci-badge .icon-celiaci,
.restaurant-glutenfree-badge .icon-glutenfree {
  font-size: 15px;
  line-height: 1;
  color: #16a34a;
}

.restaurant-celiaci-badge-popup,
.restaurant-glutenfree-badge-popup {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #166534;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 3px;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.restaurant-celiaci-badge-popup:hover,
.restaurant-glutenfree-badge-popup:hover {
  background-color: #dcfce7;
  border-color: #86efac;
}

.btn-info-celiaci {
  /* supporta sia applicato su button autonomo che sul badge */
  cursor: pointer;
}

.rest-meta-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.rest-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.rest-phone {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.rest-phone a {
  color: var(--text-muted);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.rest-phone a:hover {
  color: var(--color-black);
}

.rest-dish-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.rest-dish-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rest-dish-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 4px;
}

.rest-dish-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.rest-wine-pairing {
  font-size: 0.8rem;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-medium);
  color: var(--text-muted);
}

.rest-wine-pairing strong {
  color: var(--color-black);
}

.rest-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.card-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ==========================================================================
   Monuments Grid Section
   ========================================================================== */
.monuments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.monument-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}

.monument-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.monument-card-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.monument-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(108%);
  transition: transform 0.45s ease, filter 0.45s ease;
  display: block;
}

.monument-card:hover .monument-card-img {
  transform: scale(1.04);
  filter: grayscale(80%) contrast(110%);
}

.monument-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.monument-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}

.monument-era {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.monument-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.monument-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.monument-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.monument-curiosity {
  background: var(--bg-subtle);
  border-left: 2px solid var(--color-black);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.monument-curiosity-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
  color: var(--text-subtle);
}

.monument-card-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.monument-card-actions .btn {
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.2;
  box-sizing: border-box;
  min-width: 0;
  white-space: nowrap;
  width: 100%;
}

.monument-card-actions .btn .material-symbols-outlined,
.monument-card-actions .monument-btn-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: middle;
}

.monument-card-actions .btn-navigate-monument {
  grid-column: 1 / -1;
  width: 100%;
}

@media (max-width: 640px) {
  .monuments-grid,
  .music-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .monument-card-body,
  .music-card-body {
    padding: 18px 16px 18px;
  }
}

/* ==========================================================================
   Live Music / Eventi Musicali Section
   ========================================================================== */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.music-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.music-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.music-card-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.music-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(106%);
  transition: transform 0.45s ease;
  display: block;
}

.music-card:hover .music-card-img {
  transform: scale(1.04);
}

.music-genre-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}

.music-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}

.music-band-name,
.music-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.music-stage-box {
  background-color: var(--bg-subtle);
  border-left: 2px solid var(--color-black);
  padding: 10px 12px;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.music-stage-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 2px;
}

.music-stage-title {
  font-weight: 700;
  color: var(--color-black);
}

.music-time-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.music-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.music-card-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.music-card-actions .btn {
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.2;
  box-sizing: border-box;
  min-width: 0;
  white-space: nowrap;
  width: 100%;
}

.music-card-actions .btn .material-symbols-outlined,
.music-card-actions .music-btn-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: middle;
}

.music-card-actions .btn-navigate-music {
  grid-column: 1 / -1;
  width: 100%;
}

/* ==========================================================================
   Parcheggi & Come Raggiungerci Section
   ========================================================================== */
.parking-directions-banner {
  background: var(--bg-subtle);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.parking-dir-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.parking-dir-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.parking-dir-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-black);
}

.parking-dir-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.parking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.parking-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.parking-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.parking-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.parking-type-badge {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.parking-capacity-badge {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.parking-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.parking-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.parking-connection-box {
  background-color: var(--bg-subtle);
  border-left: 3px solid var(--color-black);
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.parking-connection-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 3px;
}

.parking-connection-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.4;
}

.parking-notes {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.parking-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   Punti Informativi & Varchi Ritiro Calici
   ========================================================================== */
.infopoints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.infopoint-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.infopoint-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.infopoint-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.infopoint-type-badge {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.infopoint-hours-badge {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.infopoint-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.infopoint-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.infopoint-services-box {
  background-color: var(--bg-subtle);
  border-left: 3px solid var(--color-black);
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.infopoint-services-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 4px;
  display: block;
}

.infopoint-services-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.infopoint-phone {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.infopoint-phone a {
  color: var(--color-black);
  font-weight: 700;
  text-decoration: underline;
}

.infopoint-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ==========================================================================
   Footer & Institutional Patronage
   ========================================================================== */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--color-black);
}

.patronage-block {
  margin-bottom: 60px;
}

.patronage-header {
  margin-bottom: 36px;
  text-align: center;
}

.patronage-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 8px;
}

.patronage-title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.patronage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.patron-card {
  border: 1px solid var(--border-medium, #e2e8f0);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  background: #ffffff;
  color: #111827;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.patron-card:hover {
  border-color: #000000;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.patron-emblem {
  width: 100%;
  max-width: 160px;
  height: 70px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.patron-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.emblem-svg {
  width: 54px;
  height: 54px;
  color: #111827;
}

.patron-role {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
}

.patron-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #000000;
}

.patron-desc {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 12px;
}

/* Support dark footer if used inside footer */
.site-footer .patron-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0f0f0f;
  color: #ffffff;
}

.site-footer .patron-card:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: #161616;
}

.site-footer .patron-name {
  color: #ffffff;
}

.site-footer .patron-desc {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .patron-role {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .emblem-svg {
  color: #ffffff;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 40px;
}

/* Open Source & Voluntary Disclaimer Notice */
.footer-opensource-notice {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 3px solid #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
}

.notice-header {
  margin-bottom: 10px;
}

.notice-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.notice-pill-solid {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.notice-pill-border {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.notice-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand .f-title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  display: block;
}

.footer-brand .f-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 8px;
}

.footer-brand .f-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.meta-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.meta-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.meta-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.meta-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-main);
  z-index: 10;
}

.modal-close:hover {
  color: #000000;
  opacity: 0.7;
}

.modal-monument-img-wrap {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #000000;
  border: 1px solid var(--border-medium);
}

.modal-monument-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(108%);
  display: block;
}

/* ==========================================================================
   Expo Wineries Logo Showcase & Detail Modal Styles
   ========================================================================== */
.expo-logo-container {
  width: 100%;
  height: 160px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.expo-logo-container:hover {
  background: #fafafa;
}

.expo-logo-img {
  max-width: 82%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.expo-logo-container:hover .expo-logo-img {
  transform: scale(1.08);
}

.expo-logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-black);
}

.expo-logo-placeholder-emblem {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  background: #ffffff;
  color: #000000;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.expo-logo-container:hover .expo-logo-placeholder-emblem {
  transform: scale(1.08);
  background: #000000;
  color: #ffffff;
}

.expo-logo-badge-stand {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #000000;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.expo-logo-action-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: #000000;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.expo-logo-container:hover .expo-logo-action-badge {
  transform: translateY(-2px);
}

.modal-winery-logo-wrap {
  width: 100%;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
}

.modal-winery-logo {
  max-width: 260px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .leaflet-map-element {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 60px 0 50px 0;
  }

  .countdown-wrapper {
    width: 100%;
    padding: 18px;
  }

  .hero-bottom-actions {
    width: 100%;
  }

  .hero-bottom-actions .hero-actions .btn {
    white-space: normal;
    font-size: 0.88rem;
    padding: 13px 14px;
  }

  .calendar-action-wrapper,
  .calendar-btn-group,
  .btn-calendar {
    width: 100%;
  }

  .btn-calendar {
    justify-content: center;
  }

  .calendar-dropdown-menu {
    width: 100%;
    min-width: 0;
  }

  .countdown-grid {
    gap: 8px;
    justify-content: space-between;
  }

  .countdown-item {
    min-width: 48px;
  }

  .countdown-value {
    font-size: 1.7rem;
  }

  .card-action-row {
    grid-template-columns: 1fr;
  }

  .map-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .map-controls-row {
    width: 100%;
  }

  .btn-geolocate-pill {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  .leaflet-map-element {
    height: 380px;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Welcome Origin Banner / Sheet (Statistiche Provenienza Territoriale)
   ========================================================================== */
.origin-banner-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 2500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.origin-banner-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.origin-banner-card {
  background: var(--bg);
  border: 1px solid var(--border-dark);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px 24px 28px 24px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.origin-banner-overlay.active .origin-banner-card {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .origin-banner-overlay {
    align-items: center;
    padding: 20px;
  }
  .origin-banner-card {
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-dark);
    max-height: 85vh;
    transform: translateY(20px) scale(0.98);
  }
  .origin-banner-overlay.active .origin-banner-card {
    transform: translateY(0) scale(1);
  }
}

.origin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.origin-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: #000;
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
}

.origin-btn-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-main);
  padding: 0 4px;
  transition: opacity 0.2s ease;
}

.origin-btn-close:hover {
  opacity: 0.6;
}

.origin-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: #000;
}

.origin-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.origin-macro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .origin-macro-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.origin-choice-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: 6px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.origin-choice-btn:hover {
  border-color: #000000;
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.choice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.choice-info {
  display: flex;
  flex-direction: column;
}

.choice-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
}

.choice-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.2;
}

.origin-quick-section {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.quick-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.quick-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-pill-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.origin-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
}

.origin-privacy-text {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.origin-btn-skip {
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.origin-btn-skip:hover {
  background: var(--bg-subtle);
  color: #000000;
  border-color: #000000;
}

/* International Notice */
.origin-intl-notice {
  background: #000000;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Predictive Municipality Search */
.origin-search-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.origin-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.origin-search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.origin-search-input {
  width: 100%;
  padding: 11px 36px 11px 38px;
  border: 1.5px solid var(--border-medium);
  border-radius: 6px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  color: #000000;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.origin-search-input:focus {
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.origin-search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.origin-search-clear:hover {
  color: #000000;
}

.origin-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
}

.search-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s ease;
}

.search-item-row:last-child {
  border-bottom: none;
}

.search-item-row:hover {
  background: var(--bg-subtle);
}

.search-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #000000;
}

.search-item-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 12px;
  background: var(--bg-subtle);
  color: var(--text-subtle);
  border: 1px solid var(--border-light);
}

.search-item-ring {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Toast Welcome Notification */
.origin-welcome-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #000000;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.origin-welcome-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   Parallax Atmosphere Banner & Effects
   ========================================================================== */
.parallax-banner {
  position: relative;
  overflow: hidden;
  height: clamp(280px, 34vw, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  background-color: #0b0d17;
}

.parallax-banner-bg {
  position: absolute;
  top: -25%;
  left: 0;
  width: 100%;
  height: 150%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  filter: contrast(108%) brightness(92%);
}

.parallax-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 13, 23, 0.72) 0%,
    rgba(11, 13, 23, 0.45) 50%,
    rgba(11, 13, 23, 0.8) 100%
  );
  z-index: 1;
}

.parallax-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px;
}

.parallax-banner-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

.parallax-banner-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.parallax-banner-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.step-num {
  will-change: transform;
  transition: transform 0.15s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image.parallax-img,
  .parallax-banner-bg,
  .step-num {
    transform: none !important;
  }
}

/* ==========================================================================
   Expo Vini: Esposizione Logo Aziendale & Scheda Produttore
   ========================================================================== */
.expo-logo-container {
  height: 180px;
  min-height: 180px;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 22px 38px 22px; /* Area di sicurezza: i badge superiore e inferiore non coprono mai il logo */
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.expo-logo-container:hover {
  background: #fbfbfb;
}

.expo-logo-container:focus-visible {
  outline: 2px solid #000000;
  outline-offset: -2px;
}

.expo-logo-container:hover .expo-logo-img {
  transform: scale(1.05);
}

.expo-logo-container:hover .expo-logo-action-badge {
  background: #000000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.expo-logo-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  margin: 0 auto;
}

.expo-logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  max-height: 100%;
  max-width: 100%;
}

.expo-logo-placeholder-emblem {
  font-size: 2.6rem !important;
  color: #000000;
  display: inline-block;
}

.expo-logo-placeholder-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expo-logo-badge-stand {
  position: absolute;
  top: 10px;
  left: 12px;
  background: #000000;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.expo-logo-action-badge {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* Modal Winery Logo Presentation */
.modal-winery-logo-wrap {
  width: 100%;
  height: 180px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.modal-winery-logo {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ==========================================================================
   Expo Mobile Responsive Layout (Impostazione Verticale per Smartphone)
   ========================================================================== */
@media (max-width: 768px) {
  #expoWineriesGrid,
  #expoHomeWineriesGrid,
  .expo-wineries-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .expo-home-card,
  .expo-winery-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .expo-logo-container {
    height: 165px;
    min-height: 165px;
    padding: 42px 18px 36px 18px;
  }

  .expo-logo-img {
    max-height: 100%;
    max-width: 100%;
  }

  .modal-winery-logo-wrap {
    height: 150px;
    padding: 16px;
    margin-bottom: 16px;
  }

  .modal-winery-logo {
    max-height: 100%;
    max-width: 100%;
  }

  .expo-unified-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 18px !important;
    gap: 14px !important;
  }

  .expo-pillars-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .expo-logo-container {
    height: 155px;
    min-height: 155px;
    padding: 40px 14px 34px 14px;
  }

  .expo-card-action-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .expo-card-action-row .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   Accessibilità & Info Disabili
   ========================================================================== */
.accessibility-banner {
  background: var(--bg-card);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.accessibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.accessibility-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.accessibility-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-black);
}

.accessibility-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.accessibility-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accessibility-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-black);
  margin: 0;
  line-height: 1.3;
}

.accessibility-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.accessibility-card-desc strong {
  color: var(--color-black);
}

.accessibility-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .accessibility-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Fix iOS Safari per modale Info Celiaci */
#modalCeliaciBackdrop {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 99999 !important;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
}

#modalCeliaciBackdrop.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#modalCeliaciWindow {
  -webkit-overflow-scrolling: touch;
  margin: auto;
  max-height: 85vh;
}

/* ==========================================================================
   SEZIONE: PARLANO DI NOI (CAROSELLO RASSEGNA STAMPA & CITAZIONI)
   ========================================================================== */
.section-press {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.press-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.press-carousel-track-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 2px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.press-carousel-track-container:active {
  cursor: grabbing;
}

.press-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Larghezza card definita dinamicamente da --press-items-per-view (3, 4 o 5) */
.press-card-slide {
  flex: 0 0 calc((100% - (var(--press-items-per-view, 3) - 1) * 20px) / var(--press-items-per-view, 3));
  min-width: 0;
  display: flex;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .press-card-slide {
    flex: 0 0 calc((100% - (min(var(--press-items-per-view, 3), 3) - 1) * 20px) / min(var(--press-items-per-view, 3), 3));
  }
}

@media (max-width: 992px) {
  .press-card-slide {
    flex: 0 0 calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 640px) {
  .press-card-slide {
    flex: 0 0 100% !important;
  }
}

.press-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 22px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
}

.press-card-inner:hover {
  border-color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.press-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 8px;
}

.press-source-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.press-source-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.press-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #000000;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 3px;
  align-self: flex-start;
}

.press-quote-icon {
  font-size: 32px;
  color: #000000;
  opacity: 0.15;
  line-height: 1;
  flex-shrink: 0;
}

.press-quote-text {
  margin: 0 0 14px 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-main);
  font-style: italic;
  font-weight: 500;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.press-headline {
  margin: 0 0 14px 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.press-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: auto;
  gap: 8px;
  flex-wrap: wrap;
}

.press-date {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.press-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.press-link:hover {
  opacity: 0.7;
}

.press-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 5;
  color: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.press-nav-btn:hover:not(:disabled) {
  background: #000000;
  color: #ffffff;
  transform: scale(1.06);
}

.press-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.press-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.press-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-medium);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.press-dot.active {
  width: 26px;
  border-radius: 4px;
  background: #000000;
}

@media (max-width: 640px) {
  .press-nav-btn {
    width: 36px;
    height: 36px;
  }
  .press-carousel-wrapper {
    gap: 8px;
  }
  .press-card-inner {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   Live News Ticker Bar (Striscia Orizzontale Avvisi Live)
   ========================================================================== */
.live-ticker-bar {
  position: sticky;
  top: 72px;
  z-index: 990;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  user-select: none;
}

.live-ticker-inner {
  display: flex;
  align-items: center;
  height: 42px;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
  gap: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Badge indicatore a sinistra */
.live-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.live-ticker-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: tickerPulse 1.4s ease-in-out infinite;
}

@keyframes tickerPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Contenitore e traccia scorrevole */
.live-ticker-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.live-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeTick 24s linear infinite;
}

/* Pausa automatica su hover e active/touch */
.live-ticker-bar:hover .live-ticker-track,
.live-ticker-bar:active .live-ticker-track {
  animation-play-state: paused;
}

@keyframes marqueeTick {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.live-ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0 16px;
}

.live-ticker-sep {
  display: inline-block;
  width: 50px;
  flex-shrink: 0;
}

/* Pulsante di chiusura discreto */
.live-ticker-close {
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.live-ticker-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.15);
}

/* TEMI GRAFICI */
/* 1. Tema Festival (Bordeaux & Oro) - Default */
.live-ticker-bar.theme-festival {
  background: linear-gradient(90deg, #5b0011 0%, #780016 50%, #5b0011 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 215, 0, 0.35);
}
.live-ticker-bar.theme-festival .live-ticker-badge {
  background: #ffde59;
  color: #4a000f;
}
.live-ticker-bar.theme-festival .live-ticker-pulse {
  background: #d97706;
}

/* 2. Tema Urgente (Rosso Segnalazione) */
.live-ticker-bar.theme-urgent {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #991b1b 100%);
  color: #ffffff;
  border-bottom: 1px solid #7f1d1d;
}
.live-ticker-bar.theme-urgent .live-ticker-badge {
  background: #ffffff;
  color: #b91c1c;
}
.live-ticker-bar.theme-urgent .live-ticker-pulse {
  background: #dc2626;
}

/* 3. Tema Info & Servizio (Blu Notte) */
.live-ticker-bar.theme-info {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f8fafc;
  border-bottom: 1px solid #334155;
}
.live-ticker-bar.theme-info .live-ticker-badge {
  background: #38bdf8;
  color: #0f172a;
}
.live-ticker-bar.theme-info .live-ticker-pulse {
  background: #0284c7;
}

/* 4. Tema Positivo / Apertura (Verde Smeraldo) */
.live-ticker-bar.theme-success {
  background: linear-gradient(90deg, #064e3b 0%, #047857 50%, #064e3b 100%);
  color: #ffffff;
  border-bottom: 1px solid #059669;
}
.live-ticker-bar.theme-success .live-ticker-badge {
  background: #6ee7b7;
  color: #064e3b;
}
.live-ticker-bar.theme-success .live-ticker-pulse {
  background: #059669;
}

/* OPZIONI VELOCITÀ DI SCORRIMENTO */
.live-ticker-bar.speed-very-slow .live-ticker-track {
  animation-duration: 50s;
}
.live-ticker-bar.speed-slow .live-ticker-track {
  animation-duration: 38s;
}
.live-ticker-bar.speed-normal .live-ticker-track {
  animation-duration: 24s;
}
.live-ticker-bar.speed-fast .live-ticker-track {
  animation-duration: 15s;
}

@media (max-width: 640px) {
  .live-ticker-inner {
    height: 38px;
    padding: 0 10px;
    gap: 8px;
  }
  .live-ticker-badge {
    padding: 3px 7px;
    font-size: 0.65rem;
  }
  .live-ticker-item {
    font-size: 0.78rem;
    padding: 0 10px;
  }
}

/* ==========================================================================
   Live Push Toast Notifications (In-App Instant Broadcast)
   ========================================================================== */
#livePushToastContainer {
  position: fixed;
  top: 86px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.push-toast {
  pointer-events: auto;
  position: relative;
  border-radius: 14px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32), 0 2px 10px rgba(0, 0, 0, 0.18);
  animation: pushSlideInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
  user-select: none;
  cursor: pointer;
}

.push-toast.hiding {
  animation: pushSlideOutUp 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes pushSlideInDown {
  0% {
    opacity: 0;
    transform: translateY(-24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pushSlideOutUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
  }
}

.push-toast-inner {
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.push-toast-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
}

.push-toast-icon-wrap .material-symbols-outlined {
  font-size: 22px;
}

.push-toast-content {
  flex: 1;
  min-width: 0;
}

.push-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.push-toast-app-name {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.push-toast-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  animation: tickerPulse 1.2s ease-in-out infinite;
}

.push-toast-close {
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  padding: 4px;
  margin: -4px -4px 0 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.push-toast-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
}

.push-toast-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  color: #ffffff;
}

.push-toast-body {
  font-size: 0.83rem;
  line-height: 1.35;
  color: #f1f5f9;
}

.push-toast-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease;
}

.push-toast-action-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.push-toast-native-optin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.push-toast-native-optin:hover {
  background: rgba(0, 0, 0, 0.4);
}

.push-toast-progressbar {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.push-toast-progress-fill {
  height: 100%;
  background: #ffffff;
  width: 100%;
  animation: pushToastProgress 10s linear forwards;
}

.push-toast:hover .push-toast-progress-fill {
  animation-play-state: paused;
}

@keyframes pushToastProgress {
  0% { width: 100%; }
  100% { width: 0%; }
}

/* Temi Colore Toast */
.push-toast.push-theme-festival {
  background: linear-gradient(135deg, #45000c 0%, #660013 50%, #45000c 100%);
  border-left: 5px solid #ffde59;
}
.push-toast.push-theme-festival .push-toast-pulse { background: #ffde59; }
.push-toast.push-theme-festival .push-toast-icon-wrap { background: rgba(255, 222, 89, 0.25); color: #ffde59; }
.push-toast.push-theme-festival .push-toast-app-name { color: #ffde59; }

.push-toast.push-theme-urgent {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 50%, #7f1d1d 100%);
  border-left: 5px solid #fca5a5;
}
.push-toast.push-theme-urgent .push-toast-pulse { background: #ffffff; }
.push-toast.push-theme-urgent .push-toast-icon-wrap { background: rgba(255, 255, 255, 0.25); color: #ffffff; }
.push-toast.push-theme-urgent .push-toast-app-name { color: #fecaca; }

.push-toast.push-theme-info {
  background: linear-gradient(135deg, #090d16 0%, #172554 50%, #090d16 100%);
  border-left: 5px solid #38bdf8;
}
.push-toast.push-theme-info .push-toast-pulse { background: #38bdf8; }
.push-toast.push-theme-info .push-toast-icon-wrap { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.push-toast.push-theme-info .push-toast-app-name { color: #38bdf8; }

.push-toast.push-theme-success {
  background: linear-gradient(135deg, #022c22 0%, #065f46 50%, #022c22 100%);
  border-left: 5px solid #34d399;
}
.push-toast.push-theme-success .push-toast-pulse { background: #34d399; }
.push-toast.push-theme-success .push-toast-icon-wrap { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.push-toast.push-theme-success .push-toast-app-name { color: #6ee7b7; }

.push-toast.push-theme-warning {
  background: linear-gradient(135deg, #451a03 0%, #78350f 50%, #451a03 100%);
  border-left: 5px solid #fbbf24;
}
.push-toast.push-theme-warning .push-toast-pulse { background: #fbbf24; }
.push-toast.push-theme-warning .push-toast-icon-wrap { background: rgba(251, 191, 36, 0.25); color: #fbbf24; }
.push-toast.push-theme-warning .push-toast-app-name { color: #fde047; }

@media (max-width: 640px) {
  #livePushToastContainer {
    top: 14px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
  .push-toast-inner {
    padding: 12px 14px;
    gap: 10px;
  }
  .push-toast-icon-wrap {
    width: 36px;
    height: 36px;
  }
  .push-toast-title {
    font-size: 0.88rem;
  }
  .push-toast-body {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   PAGINA SINGOLA RISTORANTE (SCHEDA SPECIFICA)
   ========================================================================== */
.restaurant-breadcrumb-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.breadcrumb-link:hover {
  color: var(--color-black);
}
.breadcrumb-sep {
  color: var(--border-medium);
}
.breadcrumb-current {
  color: var(--color-black);
  font-weight: 700;
}

.restaurant-detail-section {
  padding: clamp(32px, 5vw, 60px) 0 80px 0;
}
.restaurant-detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.restaurant-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.restaurant-pill-tag {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.restaurant-pill-official {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.restaurant-pill-lodging {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.restaurant-pill-gluten {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.restaurant-page-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-black);
  margin: 0 0 16px 0;
}

.restaurant-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-main);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-icon {
  font-size: 18px;
  color: var(--text-muted);
}
.meta-link {
  color: var(--color-black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Spotlight Card del Piatto */
.dish-spotlight-card {
  background: var(--bg-card);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3.5vw, 36px);
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 28px;
}
.dish-spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #be123c;
  margin-bottom: 12px;
}
.dish-spotlight-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-black);
  margin: 0 0 14px 0;
}
.dish-spotlight-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0 0 24px 0;
  white-space: pre-line;
}

/* Wine Pairing Box */
.wine-pairing-box {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  border-left: 4px solid #be123c;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.wine-pairing-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #be123c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.25);
}
.wine-pairing-icon-wrap .material-symbols-outlined {
  font-size: 22px;
}
.wine-pairing-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wine-pairing-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #be123c;
}
.wine-pairing-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #881337;
  line-height: 1.3;
}
.wine-pairing-hint {
  font-size: 0.78rem;
  color: #9f1239;
  opacity: 0.85;
}

/* Gluten Free Disclaimer Box */
.gluten-free-card {
  margin-top: 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.gluten-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #166534;
  margin-bottom: 6px;
}
.icon-gluten {
  color: #16a34a;
  font-size: 18px;
}
.gluten-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #14532d;
  margin: 0;
}

/* Actions Hub */
.restaurant-actions-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.restaurant-actions-bar .btn {
  padding: 13px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  justify-content: center;
  gap: 8px;
}
.action-btn-nav {
  background: #be123c !important;
  border-color: #be123c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(190, 18, 60, 0.35);
}
.action-btn-nav:hover {
  background: #9f1239 !important;
  border-color: #9f1239 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(190, 18, 60, 0.5);
}

/* Right Aside Photo & Info */
.restaurant-detail-aside {
  position: sticky;
  top: 90px;
}
.restaurant-photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-subtle);
}
.restaurant-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-wrap:hover .restaurant-detail-img {
  transform: scale(1.04);
}
.photo-caption-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.placeholder-icon {
  font-size: 48px;
  opacity: 0.4;
}
.photo-info-box {
  padding: 24px;
}
.photo-info-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--color-black);
}
.photo-info-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.parking-tip-box {
  margin-top: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-main);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* Pager Navigation (Prev / All / Next) */
.restaurant-pager-nav {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pager-btn {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  max-width: 280px;
}
.pager-btn:hover {
  border-color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.pager-direction {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.pager-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pager-next {
  text-align: right;
}
.pager-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-black);
  padding: 10px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.pager-all-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
}

@media (max-width: 992px) {
  .restaurant-detail-grid {
    grid-template-columns: 1fr;
  }
  .restaurant-detail-aside {
    position: static;
  }
}
@media (max-width: 640px) {
  .restaurant-actions-bar {
    grid-template-columns: 1fr;
  }
  .restaurant-pager-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .pager-btn {
    max-width: none;
  }
  .pager-all-btn {
    justify-content: center;
    order: 3;
  }
}





