/* Più spazio sopra e sotto il footer */
footer.footer {
    padding-top: 100px !important;
    padding-bottom: 200px !important;
}
footer.footer {
    margin-top: 20px !important;
}

/* 2. Rimuove il glitch (duplicati colorati del titolo) */
.page-header .inner h2::before,
.page-header .inner h2::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

/* 3. Titolo: via movimento, più piccolo e sobrio */
.page-header .inner h2 {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  text-shadow: none !important;
  font-style: normal !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;  /* prima era 8em */
  font-weight: 400 !important;                      /* prima era 800 */
  letter-spacing: .01em !important;
  line-height: 1.15 !important;
  color: #e8e8e8 !important;
}
/* Nasconde nome file e contatore nel lightbox */
.lb-dataContainer,
.lb-data,
.lb-caption,
.lb-number {
  display: none !important;
}
/* Sostituisce "Case details" con "Explore" sulle card */
.works ul li figure figcaption a {
  font-size: 0;
}

.works ul li figure figcaption a::after {
  content: "Explore";
  font-size: 12px;
  color: #fff;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}
.page-id-51 .wpb-content-wrapper {
  max-width: 900px;
  margin: 0 auto !important;
}
/* Footer più delicato e piccolo, coerente con gli header */
footer.footer,
footer.footer p,
footer.footer a,
footer.footer span {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  color: #b9b9b9 !important;
  opacity: 0.9 !important;
}

footer.footer h1,
footer.footer h2,
footer.footer h3 {
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: #e8e8e8 !important;
}

footer.footer a:hover {
  opacity: 1 !important;
}
.jp-relatedposts,
#jp-relatedposts,
.related-posts {
  display: none !important;
}
.header .slider::before,
.header .slider::after,
.swiper-slide::before,
.swiper-slide::after {
  background: none !important;
}
section.content-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 10px !important;    /* rimetti lo spazio sopra */
    padding-bottom: 10px !important; /* e sotto, se serve */
}
/* Solo sulla pagina Home: link Instagram e Vimeo sempre sottolineati */
body.page-id-1763 a[href*="instagram.com"],
body.page-id-1763 a[href*="vimeo.com"] {
    text-decoration: underline !important;
}
/* ===== MENU A SCHERMO INTERO (Unicord) ===== */

/* Voci di menu: più piccole e sottili, stesso font */
.navigation-menu #menu-main-menu li a {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Blocco contatti sotto: niente grassetto, piccolo */
.navigation-menu address {
  font-weight: 400 !important;
  font-style: normal;
  font-size: 0.5rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Link social dentro i contatti: sottolineati + hover */
.navigation-menu address a {
  display: inline-block;
  margin-right: 14px;
  font-size: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  color: inherit;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.navigation-menu address a:hover {
  opacity: 0.6;
}
/* Rimuove l'overlay con le righe bianche dall'header */
.page-header::before,
.page-header::after,
.page-header .inner::before,
.page-header .inner::after {
  background-image: none !important;
  display: none !important;
}

/* Se il pattern è uno sfondo diretto sull'header */
.page-header,
.page-header .inner {
  background-image: none !important;
}
/* Torna a colori: annulla il blend mode del tema */
.video-bg video,
.page-header video {
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}
/* Elimina lo spazio nero sotto l'header */
.single-portfolio-2502 main {
  margin-top: 0 !important;
}

/* 3. Video a colori (rimuovi il filtro grayscale) */
.single-portfolio .video-bg video {
  filter: none !important;
}