/* =====================================================
   MANIFESTO SLIDER – CITICULTURE 2026 (aggiornato)
   ===================================================== */

.swiper-wrapper {
margin-top: 60px;
}

/* -------------------------
   VARIABILI
   ------------------------- */
:root {
  --manifesto-green: #0f3b3a;
  --manifesto-green-soft: #5f6f6d;
  --manifesto-green-muted: #6f8f8c;
  --manifesto-orange: #f07c00;

  --bullet-inactive: #cfdedd;
  --bullet-active: #f07c00;
}

/* -------------------------
   SEZIONE
   ------------------------- */


@media screen and (min-width: 1200px) {
  .manifesto-section {
    padding-left: 9rem;
  }
  .manifesto-section {
    background: #ffffff;
    padding: 0 0 6rem var(--padding-container);   /* padding left spostato sullo slider */
    overflow: hidden;
  }
}

@media screen and (min-width: 1400px) {
  .manifesto-section {
    padding-left: var(--padding-container);
  }
  .manifesto-section {
    background: #ffffff;
    padding: 0 0 6rem var(--padding-container);   /* padding left spostato sullo slider */
    overflow: hidden;
  }
}

/* -------------------------
   HEADER
   ------------------------- */
.manifesto-header {
  margin-bottom: 2rem;
}

.manifesto-eyebrow {
  display: block;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.manifesto-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--manifesto-green);
  max-width: 720px;
  margin: 0;
  font-weight: bold;
}

/* -------------------------
   LINEA ARANCIONE (divider della sezione)
   ------------------------- */
.manifesto-divider {
  width: 100%;
  height: 1px;
  margin: rem 0 4rem;
}

/* -------------------------
   SLIDER WRAPPER
   ------------------------- */
.manifesto-slider {
  position: relative;
  /* spazio riservato a linea + pallini che scorrono */
  /* ✅ impaginazione richiesta per lo slider */
  padding-right: 0;
  overflow: hidden;
}

/* linea arancione “sopra” lo slider (overlay) */
.manifesto-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;                 /* centrata nell’area di padding-top */
  height: 1px;
  background: var(--manifesto-orange);
  pointer-events: none;
  z-index: 1;
}

/* Swiper base */
.swiper-wrapper {
  display: flex !important;
  will-change: transform;
}

/* -------------------------
   SLIDE
   ------------------------- */
.manifesto-slide {
  position: relative;
  max-width: 600px;
  width: 600px;               /* per slidesPerView:'auto' */
}

/* ✅ pallino che scorre con la slide (agganciato alla card) */
.manifesto-slide::before {
    content: '';
    position: absolute;
    top: -51px;
    left: 0;
    width: 16px;
    height: 16px;
    background: var(--manifesto-orange);
    border-radius: 50%;
    z-index: 2;
}

/* evidenziazione leggera del pallino della slide attiva */
.swiper-slide-active.manifesto-slide::before {
  background: var(--manifesto-orange);
  transform: scale(1.05);
}

/* -------------------------
   CONTENUTO SLIDE
   ------------------------- */
.manifesto-number {
  font-size: 80px;
  font-weight: 600;
  color: var(--green);
  opacity: 0.4;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.manifesto-item-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--manifesto-green);
  margin-bottom: 0.75rem;
}

.manifesto-item-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--manifesto-green-soft);
  max-width: 48ch;
}

/* ===== Pagination bullets come in Figma ===== */
.swiper-pagination {
  position: static;        /* già usato */
  margin-top: 2.5rem;
  text-align: center;
}

/* bullet inattivi: tondi, grigio */
.swiper-pagination-bullet {
  width: 10px;             /* diametro del tondo */
  height: 10px;
  margin: 0 6px;           /* spaziatura tra i dots */
  background: #cfdedd;     /* grigio chiaro */
  opacity: 1;              /* pieno, senza trasparenza */
  border-radius: 50%;
  transition: width .18s ease, background-color .18s ease, border-radius .18s ease;
}

/* bullet attivo: verde e allungato */
.swiper-pagination-bullet-active {
  width: 30px;             /* lunghezza "pillola" */
  height: 10px;            /* stesso spessore del tondo */
  background: #0f3b3a;     /* verde brand */
  border-radius: 9999px;   /* pillola */
}

/* (opzionale) enfatizza il focus via tastiera */
.swiper-pagination-bullet:focus-visible {
  outline: 2px dashed #0f3b3a;
  outline-offset: 3px;
}

/* -------------------------
   RESPONSIVE
   ------------------------- */
@media (max-width: 1200px) {
  .manifesto-slider {
    padding-left: 10rem;
  }
}

@media (max-width: 992px) {
  .manifesto-slider {
    padding-left: 4rem;
  }

}

@media (max-width: 768px) {
  .manifesto-slider {
    padding-left: 2rem;
  }

  .manifesto-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .manifesto-slider {
    padding-left: 0rem;
  }

  .manifesto-divider {
    margin-bottom: 0rem;
  }
}

/* -------------------------
   ACCESSIBILITÀ
   ------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* ===== Pagination bullets come in Figma ===== */
.swiper-pagination {
  position: static;        /* già usato */
  margin-top: 2.5rem;
  text-align: center;
  margin-left: -7.5rem;   /* centrare i bullets rispetto alla linea */
}

/* bullet inattivi: tondi, grigio */
.swiper-pagination-bullet {
  width: 13px;             /* diametro del tondo */
  height: 13px;
  margin: 0 6px !important;           /* spaziatura tra i dots */
  background: #cfdedd;     /* grigio chiaro */
  opacity: 1;              /* pieno, senza trasparenza */
  border-radius: 50%;
  transition: width .18s ease, background-color .18s ease, border-radius .18s ease;
}

/* bullet attivo: verde e allungato */
.swiper-pagination-bullet-active {
  width: 58px;             /* lunghezza "pillola" */
  height: 13px;            /* stesso spessore del tondo */
  background: #0f3b3a;     /* verde brand */
  border-radius: 9999px;   /* pillola */
}

/* (opzionale) enfatizza il focus via tastiera */
.swiper-pagination-bullet:focus-visible {
  outline: 2px dashed #0f3b3a;
  outline-offset: 3px;
}
