/* Grid 5 colonne per Staff */
[class*="flex"] > .col-staff-5,
[class*="inlineFlex"] > .col-staff-5 {
  width: 20% !important; /* 5 colonne per riga */
}

/* Effetto Flip Orizzontale per Staff */
.staff-flip-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Mantiene proporzione quadrata */
  perspective: 1000px;
  overflow: hidden;
}

.staff-flip-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.box-about-staff:hover .staff-flip-inner {
  transform: rotateY(180deg);
}

.staff-flip-front,
.staff-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.staff-flip-front {
  z-index: 2;
}

.staff-flip-back {
  transform: rotateY(180deg);
}

.staff-flip-front img,
.staff-flip-back img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
}

.staff-details {
  background: #fff;
}

.staff-name-row {
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.staff-name {
  font-family: "Abril Fatface", serif !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: #183557 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  flex: 1;
}

.staff-linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 12px;
  flex-shrink: 0;
  margin-top: 2px; /* Leggermente sopra la baseline */
}

.staff-linkedin-icon svg {
  width: 100%;
  height: 100%;
  color: #183557;
}

.staff-linkedin-icon svg circle {
  stroke: #183557 !important;
  fill: transparent !important;
}

.staff-linkedin-icon svg text {
  fill: #183557 !important;
  color: #183557 !important;
}

.staff-linkedin-icon {
  color: #183557 !important;
}

.staff-role {
  font-family: "Akrobat", sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 300 !important;
  color: #5a8ba8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin: 0.3rem 0 0 0 !important;
  line-height: 1.5 !important;
}

.staff-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 0.5rem;
}

/* Responsive per tablet e mobile */

/* Font Akrobat */
@font-face {
  font-family: "Akrobat";
  src: url("../assets/fonts/Akrobat-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akrobat";
  src: url("../assets/fonts/Akrobat-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Applicazione globale del font Akrobat */
body,
.slides {
  font-family: "Akrobat", sans-serif !important;
}

/* Animazione per lo spinner di caricamento */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 1440px) {
  .fix-12-12 {
    max-width: 1400px !important;
  }
  
  /* Rimuovi il limite di larghezza per le griglie di categorie (video e sottocategorie) */
  .work-cat-grid-container .fix-12-12,
  .archive-corporate .fix-12-12,
  .archive-advertising .fix-12-12 {
    max-width: none !important;
    width: 100% !important;
  }
}

@media (min-width: 1920px) {
  .fix-12-12 {
    max-width: 1800px !important;
  }
  
  /* Rimuovi il limite di larghezza per le griglie di categorie (video e sottocategorie) */
  .work-cat-grid-container .fix-12-12,
  .archive-corporate .fix-12-12,
  .archive-advertising .fix-12-12 {
    max-width: none !important;
    width: 100% !important;
  }
}
/* Rimuovi il limite di larghezza per tutte le griglie di categorie (video e sottocategorie) */
/* Applica a tutte le griglie, non solo nelle media query */
.slide[data-cid="slide-69-f84d9cbb"] .fix-12-12,
.slide[data-cid="slide-131-1a92382f"] .fix-12-12,
.work-cat-grid-container .fix-12-12 {
  max-width: none !important;
  width: 100% !important;
}

/* Rimuovi solo il padding laterale del container .wrap per le griglie di categorie e aggiungi 20px a destra e sinistra */
/* Mantieni il padding verticale originale dalle classi del template */
.slide[data-cid="slide-69-f84d9cbb"] .container .wrap,
.slide[data-cid="slide-131-1a92382f"] .container .wrap {
  padding-left: 20px !important;
  padding-right: 20px !important;
  /* Non sovrascrivere padding-top e padding-bottom, lascia che le classi del template le gestiscano */
}

.darkblue {
  background: #183557 !important;
  color: #fff !important;
}
.text-darkblue {
  color: #183557 !important;
}

/* Sezione video in evidenza nelle pagine sottocategoria (taxonomy-work-cat): sfondo tematico e video centrato */
.slide--featured-video {
  padding: 2rem 1.5rem 2.5rem;
}
.slide--featured-video .wrap--video-centered {
  text-align: center;
}
.slide--featured-video .wrap--video-centered .fromLeft {
  text-align: center;
}
/* Regista sotto titolo video in evidenza: stessa dimensione del titolo (h1.smallest), stesso font, peso light */
.slide--featured-video .taxonomy-featured-regista {
  font-size: 1.5rem;
  font-weight: 300;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}
.slide.whiteSlide .taxonomy-featured-regista {
  color: inherit;
}

/* Sottocategoria: distanziare le immagini correlate (LayoutTable / .content) dal video in evidenza */
.work-cat-grid-slide .content {
  padding-top: 20px;
}

/* Video guidato dall'altezza: altezza minima 600px, larghezza proporzionale 16:9 */
.video-responsive-wrapper--height-driven {
  position: relative;
  min-height: 600px;
  height: max(600px, min(70vh, calc(100vw * 9 / 16)));
  /* Larghezza proporzionale: almeno 600*16/9 quando altezza è 600, altrimenti 70vh*16/9, mai oltre 100% */
  width: min(max(calc(70vh * 16 / 9), calc(600px * 16 / 9)), 100%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
  overflow: hidden;
}
.video-responsive-wrapper--height-driven .video-responsive--fill {
  position: absolute;
  inset: 0;
  padding: 0 !important;
  height: 100% !important;
  width: 100%;
}
.video-responsive-wrapper--height-driven .video-responsive--fill iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Stili per slide con background e testo sovrapposto */
.slide-background {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent !important;
  border: 0px solid rgba(255, 255, 255, 0.7) !important;
}
button.slick-next.slick-arrow {
  right: 180px !important;
}
button.slick-prev.slick-arrow {
  left: 180px !important;
}

.slick-dots {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  text-align: center !important;
  z-index: 999 !important;
}
.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}
.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}
.slick-dots li button:before {
  content: "";
  display: inline-block;
  width: 12px !important;
  height: 12px !important;
  opacity: 1 !important;
  border: 2px solid #ffffff;
  background: transparent !important;
  border-radius: 50%;
  transition: 0.25s;

  position: absolute;
  top: 0;
  left: 0;
}
.slick-dots li.slick-active button:before {
  background-color: #ffffff !important;
  opacity: 0.75;
  color: white;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slide-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-category {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slide-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slide-button {
  display: inline-block;
  padding: 12px 30px;
  background: #183557;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.slide-button:hover {
  background: #0f2440;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */

.abril {
  font-family: "Abril Fatface", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
  letter-spacing: 0.022em;
  font-weight: 400 !important;
}
.lineheight-0 {
  line-height: 0px;
}
@media (min-width: 1240px) {
  .h1.largest,
  h1.largest {
    font-size: 90px !important;
  }
}
.button-home {
  font-size: 28px !important;
  padding: 16px 32px !important;
}
.button.button-home.large.flat.stroke.white:hover {
  background-color: white !important;
  color: #183557 !important;
}
nav.panel.top {
  padding: 0px 20px 0 5px;
}

/* Header sticky ridotto del 25%: logo e contenuti più compatti, voci di menu leggermente più grandi */
.panel.top .sections.desktop .left a svg,
.panel.top .sections.desktop .left svg {
  width: 99px !important;
  height: 99px !important;
}
.panel.top .sections.desktop {
  align-items: center !important;
  min-height: 0 !important;
}
.panel.top .sections.desktop .right {
  padding-top: 0 !important;
}

/* Home: più distanza dal margine superiore per le icone in alto a destra */
body.is-front-page .panel.top .sections.desktop,
body.home .panel.top .sections.desktop {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
body.is-front-page .panel.top .sections.desktop .right,
body.home .panel.top .sections.desktop .right {
  padding-top: 0.5rem !important;
}

.panel.top .sections .menu.uppercase li,
.panel.top .sections.desktop .menu.uppercase li {
  font-size: 18px !important;
}
.panel.top .sections.desktop ul.menu.trim li a {
  width: 28px !important;
  height: 28px !important;
}
.panel.top .sections.desktop .menu svg {
  width: 16px !important;
  height: 16px !important;
}
.panel.top .button.actionButton {
  height: 32px !important;
  width: 32px !important;
}
.panel.top .actionButton.popupTrigger a {
  height: 32px !important;
  width: 32px !important;
  padding: 4px !important;
}
.panel.top .button.actionButton svg {
  width: 28px !important;
  height: 28px !important;
}

.panel .sections > div.center {
  height: 20px !important;
}
.panel.border {
  border-bottom: 2px solid #183557 !important;
  background-color: white;
}
/* Logo scuro nelle pagine di sottocategoria (sfondo bianco) */
.panel.border .left svg,
.panel.border .left svg use[href*="#logo"] {
  fill: #183557 !important;
  color: #183557 !important;
}
.panel.top.panel.border .sections.desktop .left svg {
  width: 99px !important;
  height: 99px !important;
}
.panel.border .sections.compact .left svg,
.panel.border .sections.compact .left svg use[href*="#logo"] {
  fill: #183557 !important;
  color: #183557 !important;
}

/* Sottocategorie/desktop con testata bianca: icone (search, social) tutte scure */
.panel.top.panel.border .sections.desktop .menu.trim li a {
  border: 2px solid #183557 !important;
  background-color: transparent !important;
}
.panel.top.panel.border .sections.desktop .menu.trim svg,
.panel.top.panel.border .sections.desktop .menu.trim svg use {
  fill: #183557 !important;
  color: #183557 !important;
}
.panel.top.panel.border .actionButton.popupTrigger a {
  border: 2px solid #183557 !important;
  background-color: #fff !important;
}
.panel.top.panel.border .actionButton.popupTrigger svg {
  fill: #183557 !important;
}

/* Logo scuro nelle pagine taxonomy-work-cat (sottocategorie) */
.taxonomy-work-cat .panel .left svg,
.taxonomy-work-cat .panel .left svg use[href*="#logo"],
.taxonomy-work-cat .panel .sections.compact .left svg,
.taxonomy-work-cat .panel .sections.compact .left svg use[href*="#logo"] {
  fill: #183557 !important;
  color: #183557 !important;
}
.panel.white.border li.current_page_item {
  padding-bottom: 10px !important;
  border-bottom: 2px solid #183557 !important;
}

.button.actionButton {
  background-color: transparent !important;
  height: 42px !important;
  width: 42px !important;
  padding: 0px !important;
  border-radius: 0px !important;
}
.button.actionButton svg {
  width: 36px !important;
  height: 36px !important;
}
.actionButton.popupTrigger a {
  border: 2px solid #fff !important;
  background-color: #fff !important;
  height: 42px !important;
  width: 42px !important;
  border-radius: 100% !important;
  padding: 5px !important;
}
.actionButton.popupTrigger svg {
  fill: #183557 !important;
}
.slides.whiteSlide .actionButton.popupTrigger a {
  border: 2px solid #183557 !important;
  background-color: #183557 !important;
}
.slides.whiteSlide .actionButton.popupTrigger svg {
  fill: #fff !important;
}

/*
 * Popup ricerca: overlay scuro semitrasparente su tutta la pagina (il sito resta visibile); blu solo sul pannello .wrap.spaces.
 */
.popup[data-popup-id="search"] {
  background: rgba(0, 0, 0, 0.55) !important;
}
/* slides.css: .popup .content { position:absolute; height:100% } → fascia alta; qui solo card compatta centrata */
.popup[data-popup-id="search"] .content {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100vh - 2rem) !important;
  width: min(560px, calc(100vw - 2rem)) !important;
  max-width: 560px !important;
  overflow: visible !important;
  overflow-y: visible !important;
  background: transparent !important;
  display: block !important;
  padding: 2rem 1rem !important;
  box-sizing: border-box !important;
}
.popup[data-popup-id="search"] .content .container {
  background: transparent !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
}
.popup[data-popup-id="search"] .wrap.spaces {
  background-color: #183557 !important;
  background: #183557 !important;
  border-radius: 8px !important;
  padding: 2rem 1.5rem !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
}
/* slides.css .pad: sfondo bianco + padding 40px + ombra + radius → sembrano due riquadri; qui solo .wrap.spaces è il box blu */
.popup[data-popup-id="search"] .form-55,
.popup[data-popup-id="search"] .popupContent,
.popup[data-popup-id="search"] .form-55 .pad,
.popup[data-popup-id="search"] .pad {
  background: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.popup[data-popup-id="search"] .wrap p {
  margin: 0 0 1rem 0 !important;
}
.popup[data-popup-id="search"] .wrap p:first-child {
  margin-top: 0 !important;
}
.popup[data-popup-id="search"] .wrap p,
.popup[data-popup-id="search"] .wrap .opacity-8 {
  color: rgba(255, 255, 255, 0.95) !important;
  opacity: 1 !important;
}
.popup[data-popup-id="search"] input.square.wide,
.popup[data-popup-id="search"] #s {
  background: #ffffff !important;
  color: #183557 !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: none !important;
}
.popup[data-popup-id="search"] .form-55 .pad.selected,
.popup[data-popup-id="search"] form#searchform,
.popup[data-popup-id="search"] form.slides-form {
  text-align: center !important;
}
.popup[data-popup-id="search"] button.button[type="submit"],
.popup[data-popup-id="search"] #searchform .button {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  border-radius: 3px !important;
  padding: 12px 22px !important;
  margin-top: 1rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  background: #183557 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: opacity 0.2s !important;
}
.popup[data-popup-id="search"] button.button[type="submit"]:hover,
.popup[data-popup-id="search"] #searchform .button:hover {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  opacity: 0.92 !important;
}
.popup[data-popup-id="search"] .close svg,
.popup[data-popup-id="search"] .close svg use {
  fill: #ffffff !important;
}

.white .actionButton.sidebarTrigger svg {
  fill: #183557 !important;
}

.menu.uppercase li {
  font-size: 16px !important;
}
ul.menu.trim li a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 100%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slides.whiteSlide ul.menu.trim li a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 100%;
  border: 2px solid #183557;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel .sections .menu svg {
  width: 18px;
  height: 18px;
  vertical-align: bottom;
}

/* Icona del menu hamburger più grande */
.panel .sections .menu svg use[href*="#menu"] {
  width: 36px;
  height: 36px;
}
.panel .sections .menu li {
  margin: 0 5px !important;
}
.panel .sections .menu.uppercase li {
  margin: 0 15px !important;
}

nav.panel.top.fixed.js-editor-chosen.white .current-menu-item {
  padding-bottom: 10px !important;
  border-bottom: 2px solid #183557;
}
.slides.whiteSlide .menu.uppercase a.selected {
  border-bottom: 2px solid #183557;
}
.fade-6 .content {
  background: rgba(17, 17, 17, 0) !important;
}
.scroll .fullscreenSlider {
  min-height: 100vh;
}
.scroll .fullscreenSlider .slider .background {
  position: fixed !important;
}
.scroll .fullscreenSlider .slider > li {
  overflow-y: scroll;
}

.line {
  display: inline-block;
  position: relative;
}

.line:after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ffffff;
  width: 70%;
  transform: translateX(-50%);
  bottom: -9px;
  left: 50%;
}

.sidebar {
  max-width: 100% !important;
  width: 100% !important;
}
.sidebar .content {
  text-align: center !important;
  background-color: #183557 !important;
  opacity: 0.8 !important;
}
.sidebar ul.mainMenu,
.sidebar ul.social,
.sidebar ul.subMenu {
  text-transform: uppercase;
}
.sidebar .mainMenu li {
  font-size: 22px !important;
  letter-spacing: 0.022em;
}

.fullscreenSlider > .slider,
.fullscreenSlider > .slider > li {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

/* Riposizionamento delle frecce per farle rientrare nel layout */
.fullscreenSlider .side.sliderArrows {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  height: auto !important;
  z-index: 10 !important;
}

.fullscreenSlider .side.left.sliderArrows {
  left: calc(8% + 50px) !important;
}

.fullscreenSlider .side:not(.left).sliderArrows {
  right: calc(8% + 50px) !important;
}

/* Versione mobile per le frecce del slider */

/* Aumento dimensione delle frecce del 300% */
.fullscreenSlider .side.sliderArrows .sideArrow {
  width: 72px !important;
  height: 72px !important;
}

/* Fix per il fade che non copre completamente l'area */
.fade-6 {
  position: relative;
}

.fade-6:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.6);
  z-index: 1;
  pointer-events: none;
}

/* Stili per slide con background e contenuto */
.slide-background {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-background .content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  width: 100%;
}

.slide-background .slide-button {
  display: inline-block;
  padding: 12px 30px;
  background: #183557;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 1rem;
}

.slide-background .slide-button:hover {
  background: #0f2440;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Overlay a tutto schermo */
.fullscreen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Video container */
.video-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.video-container iframe {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Fix specifico per il fullscreen slider */
.fullscreenSlider.fade-6 {
  position: relative;
}

/* hide side navigation for the fullscreen slider */
.slides .side {
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
}

.slides.firstSlide .side:not(.sliderArrows) {
  opacity: 0 !important;
  pointer-events: none;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

/* Slide 131 (#2) */
/* To restrict styles to the current slide, panel, or example use .slide[data-cid="slide-131-1a92382f"] */
.slide[data-cid="slide-131-1a92382f"] .box-131 {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide[data-cid="slide-131-1a92382f"] .box-131:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #2196f3;
  opacity: 0;
  transition: 0.15s;
}
.slide[data-cid="slide-131-1a92382f"] .box-131:hover {
  opacity: 1;
}
.slide[data-cid="slide-131-1a92382f"] .box-131:hover:after {
  opacity: 0.9;
}
.slide[data-cid="slide-131-1a92382f"] .box-131-inner {
  z-index: 1;
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-131-inner h3 {
  font-family: "Abril Fatface", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
  font-weight: 400;
  position: absolute;
  left: 20px;
  bottom: 20px;
  margin: 0;
  text-align: left;
}

.dot::after {
  content: "";
  display: inline-block;
  width: 12px !important;
  height: 12px !important;
  opacity: 1 !important;
  border: 2px solid #ffffff;
  background: transparent !important;
  border-radius: 50%;
  transition: 0.25s;
}

.dot:active:after,
.dot.selected:after {
  opacity: 1;
  -webkit-transform: scale(1) !important;
  transform: scale(1) !important;
  background-color: #ffffff !important;
}
.panel.bottom {
  bottom: 0 !important;
  padding: 0px !important;
}

.footer-class {
  background-color: #ffffff;
  border-top: 4px solid #183557;
  padding: 30px;
  color: #183557;
}

.panel.bottom .sections.desktop {
  padding: 30px;
}

.panel.bottom .sections.desktop li {
  margin: 0px !important;
  padding: 0 10px;
  border-right: 1px solid #ffffff;
}

.panel.bottom .sections.compact {
  background-color: #ffffff;
  border-top: 4px solid #183557;
  padding: 20px !important;
  height: 150px !important;
  align-items: baseline !important;
}

.panel.bottom .sections.compact p {
  margin-bottom: 0px !important;
}

.panel.bottom .sections.desktop li:last-child {
  border-right: none;
}
.panel.bottom .sections.desktop p {
  margin-bottom: 0 !important;
}
.panel.bottom .sections.desktop li a {
  padding: 0px !important;
}

.panel.bottom .sections.compact li {
  margin: 0px !important;
  padding: 0 10px;
  border-right: 0px solid #000000;
  display: block !important;
}

.slide[data-cid="slide-69-f84d9cbb"] .flex-69 [class*="col-"].selected {
  cursor: pointer;
  pointer-events: all;
}
.slide[data-cid="slide-69-f84d9cbb"] .flex-69 .box-69 {
  display: block;
  height: 280px !important;
  padding-bottom: 0%;
  position: relative;
  background-size: cover;
  color: #fff;
}
.slide[data-cid="slide-69-f84d9cbb"] .flex-69 .box-69.rounded {
  overflow: hidden;
  border-radius: 6px;
}
.slide[data-cid="slide-69-f84d9cbb"] .flex-69 .box-69:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px !important;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: 0.5s;
}
.slide[data-cid="slide-69-f84d9cbb"] .flex-69 .box-69 .cell-69 {
  outline: none;
  position: absolute;
  height: 280px !important;
  width: 100%;
  padding: 20px;
  z-index: 10;
  opacity: 1;
  transition: 0.5s;
  color: #fff;
  transform: translateY(0px);
}
.slide[data-cid="slide-69-f84d9cbb"] .flex-69 .box-69:hover {
  opacity: 1;
}
.slide[data-cid="slide-69-f84d9cbb"] .flex-69 .box-69:hover .cell-69 {
  opacity: 1;
  transform: translateY(0px);
}
.slide[data-cid="slide-69-f84d9cbb"] .flex-69 .box-69:hover:after {
  opacity: 0.8;
  background: #183557;
}

/* Example Background Vimeo (#7) - Video a schermo intero senza deformazioni (cover mode) */
.slides .slide .background.vimeo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.slides .slide .background.vimeo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  /* Le dimensioni vengono calcolate dinamicamente via JavaScript per mantenere l'aspect ratio */
  /* Il video copre sempre l'intero schermo, anche se parti vanno oltre i bordi */
  object-fit: cover;
  /* Rimuovi eventuali limiti di dimensione */
  max-width: none !important;
  max-height: none !important;
}

/* Assicura che il contenitore dello slider sia relativo per i dots assoluti */
.slick-slider {
  position: relative;
}

.social-101 {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid #183557;
  padding: 8px;
  border-radius: 50%;
}

a.social-101:hover {
  background-color: #183557 !important;
  svg {
    fill: #fff !important;
  }
}
.cell-33 {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.cell-33 .tabs {
  max-width: 100% !important;
}

.cell-33 .tabs li:first-child {
  border-radius: 0px !important;
}
.cell-33 .tabs li {
  font-size: 14px !important;
}

/* Slide 77 (#6) */
/* To restrict styles to the current slide, panel, or example use .slide[data-cid="slide-77-a710c96d"] */
.slide[data-cid="slide-77-a710c96d"] .box-77 {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.1);
  display: block;
  outline: none;
  margin: 10px 0;
  -webkit-backface-visibility: hidden;
}
.slide[data-cid="slide-77-a710c96d"] .box-77:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 1;
}
.slide[data-cid="slide-77-a710c96d"] .box-77 .thumbnail-77 {
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  position: relative;
}
.slide[data-cid="slide-77-a710c96d"] .box-77 .thumbnail-77 img {
  border-radius: 6px 6px 0 0;
  -webkit-backface-visibility: hidden;
  transition: 0.5s;
}
.slide[data-cid="slide-77-a710c96d"] .box-77 .thumbnail-77.video:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/svg/video-icon.svg") no-repeat;
  background-size: 54px;
  background-position: center center;
  transition: 0.35s;
}
.slide[data-cid="slide-77-a710c96d"] .box-77:hover .thumbnail-77.video:after {
  background-color: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}
.slide[data-cid="slide-77-a710c96d"] .box-77 .author-77 {
  border-top: 1px solid #ebebeb;
}
.slide[data-cid="slide-77-a710c96d"] .box-77 .avatar-77 {
  position: absolute;
  top: 18px;
  left: 0;
}
.slide[data-cid="slide-77-a710c96d"] .details-77 {
  padding: 20px 18px 15px;
  background: #ffffff;
  border-radius: 0 0 6px 0;
}
.slide[data-cid="slide-77-a710c96d"] .details-77 .cell {
  text-align: left;
}

/* Fix per la barra admin di WordPress che copre l'header */
body.admin-bar .panel.top {
  top: 32px !important;
}

/* Fix per sub-menu: nascondi di default e mostra solo al hover/click */
.menu--shylock .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 8px 0;
  margin-top: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
  pointer-events: none;
  list-style: none;
  display: block !important;
  flex-direction: column !important;
}

.border .menu--shylock .sub-menu {
  background: rgba(255, 255, 255, 0.9);
}

.menu--shylock .menu-item.has-submenu {
  position: relative;
}

.menu--shylock .menu-item.has-submenu:hover .sub-menu,
.menu--shylock .menu-item.has-submenu:focus-within .sub-menu,
.menu--shylock .menu-item.has-submenu.active .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.menu--shylock .sub-menu li {
  margin: 0 !important;
  padding: 0;
  display: block !important;
  width: 100% !important;
  float: none !important;
}

/* Forza il sub-menu a essere verticale, sovrascrivendo le regole del menu principale */
.panel .sections .menu--shylock .sub-menu li {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
}

.menu--shylock .sub-menu .menu__link {
  display: block;
  padding: 6px 15px;
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: none;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  transition: color 0.2s ease;
  margin: 0 !important;
  letter-spacing: 0.125em !important;
  text-align: left !important;
}

.border .menu--shylock .sub-menu .menu__link {
  color: rgba(24, 53, 87, 1) !important;
}

.menu--shylock .sub-menu .menu__link:hover,
.menu--shylock .sub-menu .menu__link:focus {
  background-color: transparent;
  color: rgba(255, 255, 255, 1) !important;
  opacity: 0.8;
}

.border .menu--shylock .sub-menu .menu__link:hover,
.border .menu--shylock .sub-menu .menu__link:focus {
  color: rgba(24, 53, 87, 1) !important;
  opacity: 0.8;
}

.menu--shylock .sub-menu .menu__link::before,
.menu--shylock .sub-menu .menu__link::after {
  display: none;
}

/* Mobile: mostra sub-menu al click */

/* Stile per il pulsante Ajax Load More - in linea con i bottoni del tema */
.alm-btn-wrap {
  text-align: center;
  margin: 40px 0;
  padding: 20px 0;
}

.alm-btn-wrap .alm-load-more-btn {
  display: inline-block;
  padding: 14px 22px;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  background-color: transparent !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  font-family: "Akrobat", sans-serif;
}

.alm-btn-wrap .alm-load-more-btn:hover,
.alm-btn-wrap .alm-load-more-btn:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 3px 9px rgba(0, 0, 0, 0.15);
  transform: translateY(0px);
}

.alm-btn-wrap .alm-load-more-btn:active {
  background-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 3px 6px 0 rgba(17, 17, 17, 0.1), 0 0px 10px 0 rgba(17, 17, 17, 0.1), 0 1px 4px -1px rgba(17, 17, 17, 0.1);
  transform: translateY(2px);
}

.alm-btn-wrap .alm-load-more-btn:disabled,
.alm-btn-wrap .alm-load-more-btn.done {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Stile per il pulsante su slide bianche */
.slide.whiteSlide .alm-btn-wrap .alm-load-more-btn {
  color: #183557 !important;
  border-color: #183557 !important;
}

.slide.whiteSlide .alm-btn-wrap .alm-load-more-btn:hover,
.slide.whiteSlide .alm-btn-wrap .alm-load-more-btn:focus {
  background-color: rgba(24, 53, 87, 0.1) !important;
  color: #183557 !important;
  border-color: #183557 !important;
}

.slide.whiteSlide .alm-btn-wrap .alm-load-more-btn:active {
  background-color: rgba(24, 53, 87, 0.2) !important;
}

/* Link sull’intera card della griglia work-cat (sottocategoria e single): tutta l’immagine è cliccabile */
.work-cat-grid-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.work-cat-grid-item-link:hover {
  color: inherit;
}

/* Assicura che le immagini di sfondo nei box-69 riempiano completamente lo spazio senza distorsioni */
.box-69[style*="background-image"],
.work-cat-grid-container .box-69[style*="background-image"],
.slide[data-cid="slide-69-f84d9cbb"] .box-69[style*="background-image"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Regista in anteprime (griglia sottocategoria, More videos): dimensione maggiore per leggibilità, font light */
.box-69 .work-cat-grid-item-regista,
.slide[data-cid="slide-69-f84d9cbb"] .box-69 .work-cat-grid-item-regista {
  margin-top: 0.25rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  font-size: 1.35rem;
  font-weight: 300;
  font-family: inherit;
  opacity: 0.95;
}

/* Regista in pagina singola work: stessa dimensione del titolo (h1.abril.smaller), stesso font Abril Fatface, peso light */
.single-work-regista {
  font-size: 2.5rem;
  font-weight: 300;
  font-family: "Abril Fatface", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  letter-spacing: 0.022em;
  opacity: 0.95;
  color: inherit;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Pagina risultati di ricerca: una colonna, player compatti centrati */
.search-results-main {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem 3rem;
}
.search-results-header {
  margin-bottom: 2rem;
}
.search-results-header .page-title {
  font-size: 1.5rem;
}
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.search-result-item {
  margin-bottom: 0;
}
.search-result-work {
  border-bottom: 1px solid rgba(24, 53, 87, 0.15);
  padding-bottom: 2.5rem;
}
.search-result-work:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.search-result-work-title {
  display: block !important;
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.search-result-work-title a {
  text-decoration: none !important;
  color: #fff;
}
.search-result-work-title a:hover {
  text-decoration: none !important;
  color: #fff;
}
.search-result-work-player {
  margin: 0 0 0.75rem;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.search-result-player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #eee;
}
.search-result-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.search-result-work-link {
  margin: 0;
  font-size: 0.9rem;
}
.search-result-work-link a {
  color: #fff;
  text-decoration: none;
}
.search-result-work-link a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Navigazione risultati di ricerca: solo frecce */
.search-results-nav .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}
.search-results-nav .nav-previous a,
.search-results-nav .nav-next a {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.search-results-nav .nav-previous a:hover,
.search-results-nav .nav-next a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Modale risultati di ricerca (con close X) */
.search-results-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
.search-results-modal.search-results-modal--open {
  visibility: visible;
  opacity: 1;
}
.search-results-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
.search-results-modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  background: #183557;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.search-results-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.search-results-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}
.search-results-modal-body {
  padding: 2rem 2rem 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 4rem);
  color: #fff;
}
.search-results-modal-body .search-results-header .page-title {
  color: #fff;
  padding-right: 2.5rem;
}
.search-results-modal-body .search-results-nav .nav-previous a,
.search-results-modal-body .search-results-nav .nav-next a {
  color: #fff;
}

/*
 * Modale ricerca (sfondo blu #183557): MORE VIDEOS — riempimento blu, testo e bordo bianchi, nessuna ombra.
 */
.search-results-modal-body p.search-results-modal-load-more {
  text-align: center;
}
.search-results-modal-body p.search-results-modal-load-more .button {
  display: inline-block;
  border-radius: 3px;
  padding: 12px 20px;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  outline: none;
  background: #183557 !important;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.search-results-modal-body p.search-results-modal-load-more .button:hover:not(:disabled),
.search-results-modal-body p.search-results-modal-load-more .button:focus:not(:disabled) {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  opacity: 0.92;
}
.search-results-modal-body p.search-results-modal-load-more .button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.search-results-modal-loading {
  margin: 0;
  color: #fff;
  opacity: 0.9;
}

/*
 * Pagina ricerca search.php (slide bianca): MORE VIDEOS — sfondo bianco, testo e bordo #183557, nessuna ombra.
 */
section[data-cid="slide-search-results"] .search-page-load-more-wrap .button.search-page-load-more-btn,
section[data-cid="slide-search-results"] .search-page-load-more-wrap .button,
.search-results-main .search-page-load-more-wrap .button {
  display: inline-block;
  border-radius: 3px;
  padding: 12px 20px !important;
  color: #183557 !important;
  border: 2px solid #183557 !important;
  outline: none;
  background: #ffffff !important;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
section[data-cid="slide-search-results"] .search-page-load-more-wrap .button:hover:not(:disabled),
section[data-cid="slide-search-results"] .search-page-load-more-wrap .button:focus:not(:disabled),
.search-results-main .search-page-load-more-wrap .button:hover:not(:disabled),
.search-results-main .search-page-load-more-wrap .button:focus:not(:disabled) {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  opacity: 0.92;
}
section[data-cid="slide-search-results"] .search-page-load-more-wrap .button:disabled,
.search-results-main .search-page-load-more-wrap .button:disabled {
  opacity: 0.75;
  cursor: wait;
}

/*
 * Griglie work-cat / singolo work / archivio works (slide bianca): MORE VIDEOS — sfondo bianco, testo e bordo #183557.
 */
.work-cat-grid-slide p.text-center .button,
.work-cat-grid-slide #work-cat-load-more,
.work-cat-grid-slide #single-work-load-more,
#works-archive-load-more {
  display: inline-block;
  border-radius: 3px;
  padding: 12px 20px !important;
  color: #183557 !important;
  border: 2px solid #183557 !important;
  outline: none;
  background: #ffffff !important;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.work-cat-grid-slide p.text-center .button:hover:not(:disabled),
.work-cat-grid-slide p.text-center .button:focus:not(:disabled),
.work-cat-grid-slide #work-cat-load-more:hover:not(:disabled),
.work-cat-grid-slide #work-cat-load-more:focus:not(:disabled),
.work-cat-grid-slide #single-work-load-more:hover:not(:disabled),
.work-cat-grid-slide #single-work-load-more:focus:not(:disabled),
#works-archive-load-more:hover:not(:disabled),
#works-archive-load-more:focus:not(:disabled) {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  opacity: 0.92;
}
.work-cat-grid-slide #work-cat-load-more:disabled,
.work-cat-grid-slide #single-work-load-more:disabled,
#works-archive-load-more:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* ---------- Pagina About: sezioni sotto il team ---------- */
.about-services .about-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 3rem 0;
  gap: 2rem;
}
.about-services-col {
  flex: 1 1 22%;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0 0.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-services-col .about-services-title,
.about-services-col .about-services-list {
  text-align: center;
}
.about-services-col .about-services-list li {
  text-align: center;
}
.about-services-icon {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.about-services-icon::before,
.about-services-icon::after {
  display: none !important;
  content: none !important;
}
.about-services-icon img {
  position: relative;
  width: 140px;
  height: 140px;
  object-fit: contain;
  opacity: 0.95;
  background: transparent !important;
}
.about-services-icon svg {
  width: 100%;
  height: 100%;
}
.about-services-title {
  font-family: "Akrobat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem 0;
  color: #fff;
  line-height: 1.25;
}
.about-services-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 2rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  font-weight: 400;
}
.about-services-list li {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-weight: 400;
}

/* Showcase: una sola immagine grande + CTA centrale */
.about-showcase {
  background: #f0f0f0;
  padding: 0;
}
.about-showcase-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.about-showcase-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 70vh;
  min-height: 280px;
}
.about-showcase-image img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}
.about-showcase-placeholder {
  width: 100%;
  min-height: 280px;
  background: #183557;
  opacity: 0.3;
}
.about-showcase-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.about-showcase-cta-box {
  pointer-events: auto;
  background: transparent;
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 60vw;
  width: 100%;
}
/* Logo grande bianco (doppio su desktop) */
.about-showcase-cta-box .about-showcase-logo {
  display: block;
  width: 240px;
  height: 240px;
  margin: 0 auto 1.5rem;
  color: #fff;
  fill: #fff;
}
.about-showcase-cta-box .about-showcase-logo use {
  fill: #fff;
}
/* Claim: font molto grande, occupa ~60% larghezza pagina */
.about-showcase-cta-title {
  font-size: clamp(3rem, 4.5vw, 5rem);
  margin: 0 0 2.5rem 0;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}
/* Bottone SCRIVICI ~30% più grande */
.about-showcase-cta-button {
  display: inline-block;
  padding: 1rem 2.6rem;
  text-decoration: none;
  background: #fff;
  color: #183557 !important;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 2px;
  border: 2px solid #fff;
  transition: opacity 0.2s, background 0.2s;
}
.about-showcase-cta-button:hover {
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.95);
  color: #183557 !important;
}

/* Ethos: testo centrato su sfondo blu, almeno 70% larghezza, centrato in verticale */
.about-ethos {
  display: flex;
  align-items: center;
  min-height: 280px;
  padding: 3rem 2rem;
}
.about-ethos .content {
  width: 100%;
}
.about-ethos-text {
  margin: 0 auto;
  max-width: 70%;
  font-size: 2.2rem;
  line-height: 1.7;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Fascia Contact a larghezza piena (senza distanziatori laterali, come vecchio sito) */
section[data-cid="slide-contact"] .content {
  overflow-x: hidden;
}
section[data-cid="slide-contact"] .container .wrap {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
section[data-cid="slide-contact"] .container .wrap .margin-bottom-4 {
  margin-bottom: 1rem !important;
}
.contact-fullwidth-row {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(-50vw + 50%);
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 6rem;
  box-sizing: border-box;
}
.contact-fullwidth-row .contact-page-layout {
  padding-left: 0;
  padding-right: 0;
}

/* Pagina Contact: tre sedi a sinistra (in colonna), mappa a destra */
.contact-desktop-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}
.contact-mobile-layout {
  display: none !important;
}
.contact-left {
  flex: 0 1 36%;
  min-width: 260px;
  max-width: 420px;
  padding: 0;
  box-sizing: border-box;
}
.contact-right {
  flex: 1 1 55%;
  min-width: 300px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.contact-sedi-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-sede {
  margin-bottom: 0.5rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  box-sizing: border-box;
}
.contact-sede:hover {
  background-color: rgba(24, 53, 87, 0.06);
}
.contact-sede.is-selected {
  background-color: rgba(24, 53, 87, 0.1);
}
.contact-sede:last-of-type {
  margin-bottom: 0;
}
.contact-sede:focus {
  outline: 2px solid #183557;
  outline-offset: 2px;
}
.contact-sede-city {
  margin: 0 0 0.35rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: #183557;
  letter-spacing: 0.02em;
}
.contact-sede-address {
  font-size: 0.9rem;
  line-height: 1.25;
  color: #333;
  white-space: pre-line;
  margin: 0;
}
.contact-global {
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  border: none;
  box-sizing: border-box;
}
.contact-global p {
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
.contact-global p:last-child {
  margin-bottom: 0;
}
.contact-label {
  font-size: 0.75rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 0.05rem;
}
.contact-global p a {
  display: block;
  margin-top: 0.1rem;
}
.contact-global a {
  color: #183557;
  text-decoration: none;
}
.contact-global a:hover {
  text-decoration: underline;
}
/* Colonna destra: mappa statica (riempie tutta l'altezza) */
.contact-main-map-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 420px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: #e8e8e8;
}
.contact-main-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* ---------- Pagina News (finanziamento / trasparenza) ---------- */
/* Sfondo bianco su tutta la pagina News (desktop e mobile) */
body.page-news,
html body.page-news {
  background: #fff !important;
  background-color: #fff !important;
}
body.page-news .slides,
body.page-news .slides .slide,
body.page-news .content,
body.page-news .content .container,
body.page-news .content .wrap,
body.page-news section[data-cid="slide-news"],
section[data-cid="slide-news"] {
  background: #fff !important;
  background-color: #fff !important;
}
section[data-cid="slide-news"] .content,
section[data-cid="slide-news"] .container,
section[data-cid="slide-news"] .container .wrap,
section[data-cid="slide-news"] .news-page-inner {
  background: #fff !important;
  background-color: #fff !important;
}
/* Testo scuro su sfondo bianco nella pagina News */
body.page-news .news-page-inner,
section[data-cid="slide-news"] .news-page-inner {
  color: #183557 !important;
}
section[data-cid="slide-news"] h1,
section[data-cid="slide-news"] h2,
section[data-cid="slide-news"] .news-article-body,
section[data-cid="slide-news"] .news-article-body p,
section[data-cid="slide-news"] .news-article-list,
section[data-cid="slide-news"] .news-article-figures,
section[data-cid="slide-news"] .news-smartfin-link {
  color: #183557 !important;
}

/* Box contenuto: larghezza limitata, centrato */
.news-page-inner {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.news-article--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.news-article-title {
  color: inherit;
  font-size: 1.75rem;
}
.news-article-body {
  color: inherit;
  line-height: 1.7;
  font-size: 1.25rem;
}
.news-article-body p {
  margin-bottom: 1.35rem;
}
.news-article-list {
  margin: 1.35rem 0 1.35rem 1.5rem;
  padding-left: 1.35rem;
  font-size: 1.25rem;
}
.news-article-list li {
  margin-bottom: 0.9rem;
  list-style: disc;
}
.news-article-figures {
  padding: 1.35rem 0;
  font-size: 1.25rem;
}
.news-article-figures p {
  margin-bottom: 0.5rem;
}
.news-article-logos-institutional {
  text-align: center;
}
.news-logo-institutional {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.news-logo-placeholder {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  padding: 1rem;
  border: 1px dashed #ccc;
  border-radius: 4px;
}
.news-article-thanks {
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.news-smartfin-logo-wrap {
  display: inline-block;
  margin-top: 0.75rem;
  margin-bottom: 80px;
}
.news-logo-smartfin {
  max-width: 200px;
  height: auto;
  vertical-align: middle;
}
.news-smartfin-link {
  color: inherit;
  text-decoration: underline;
}
.news-smartfin-link:hover {
  opacity: 0.85;
}