/* Book – testo normale */
@font-face{
  font-family: 'Futura';
  src: url('fonts/futura-book-webfont.woff2') format('woff2'),
       url('fonts/futura-book-webfont.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold – titoli */
@font-face{
  font-family: 'Futura';
  src: url('fonts/futura-bold-webfont.woff2') format('woff2'),
       url('/wp-content/uploads/…/futura-bold-webfont.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Light – se serve davvero */
@font-face{
  font-family: 'Futura';
  src: url('fonts/futurabt-light-webfont.woff2') format('woff2'),
       url('fonts/futurabt-light-webfont.woff')  format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}



/* Reset */
body, html{overflow-x: hidden; scroll-behavior: smooth; font-family: "Futura", serif;
 line-height: 1.2; font-size: 16px; color: #000; box-sizing: border-box;margin: 0;padding: 0;}*,*:before,*:after{ box-sizing: border-box; }h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0 0 1rem 0;padding: 0;}ol,ul{padding-left: 20px;line-height: 1.5;}img{height: auto;}h1{font-size: 4rem;} h2{font-size: 3rem;} h3{font-size: 2rem;} h4{font-size: 1rem;} h5{font-size: 0.8rem;} h6{font-size: 0.6rem;}a{text-decoration:none; color: #c55100;}

/* ! Grid System */
.grid { margin: 0 auto; padding: 0 15px; display: flex; flex-flow: row; flex-wrap: wrap; z-index: 2;}
.grid-swiper { margin: 0 auto; padding: 0 15px; width: 100%; display: flex; flex-flow: row; flex-wrap: wrap;}
.grid--center{justify-content: center;}
.col{ flex: 1;}

.wrapper{width: 100%;padding: 0 3%;overflow: hidden; position: relative;}

/* Stile di base: wrapper nascosto e spostato in basso */
.wrapper {
  opacity: 0;                   /* completamente trasparente */
  transform: translateY(20px);  /* spostato di 20px in basso */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Stile quando viene aggiunta la classe .load */
.wrapper.load {
  opacity: 1;                   /* completamente visibile */
  transform: translateY(0);     /* posizione iniziale */
}

/* Stile filtri opere */

.ufg-filters-1 .active-filter, .ufg-filters-1 .ufg-parent-filter-button {
    border-radius: 50px;
}

.ufg-filters-3 .active-filter, .ufg-filters-3 .ufg-parent-filter-button {
    border-radius: 50px;
}

[class*='col-'] { position: relative;padding: 0 15px;}

.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-50{ width: 50%; }
.col-60{ width: 60%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-85{ width: 85%; }
.col-90{ width: 90%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {
  .tab-20 { width: 20%; }
  .tab-25 { width: 25%; }
  .tab-33 { width: 33.33%; }
  .tab-50 { width: 50%; }
  .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
  [class*='col-'] { width: 100%;}
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }
}

.alignwide {
  margin: auto;
  max-width: 1200px;
  width: 100%;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  position: relative;
}


/* ! Helpers  */
.mt-0{margin-top: 0 }
.mt-1{margin-top: 10px}
.mt-2{margin-top: 20px}
.mt-3{margin-top: 40px}
.mt-4{margin-top: 100px }
.mt-5{margin-top: 200px }

.mb-0{margin-bottom: 0}
.mb-1{margin-bottom: 10px}
.mb-2{margin-bottom: 20px}
.mb-3{margin-bottom: 40px}
.mb-4{margin-bottom: 100px}

.p-0{padding: 0}
.p-1{padding: 10px}
.p-2{padding: 20px}
.p-3{padding: 40px}
.p-4{padding: 100px}

.pt-1{padding-top: 10px;}
.pt-3{padding-top: 20px;}
.pt-3{padding-top: 40px;}
.pt-4{padding-top: 15vh;}

.pb-1{padding-bottom: 10px;}
.pb-2{padding-bottom: 20px;}
.pb-3{padding-bottom: 40px;}
.pb-4{padding-bottom: 15vh;}


.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.img-res { width: 100%; height: auto; margin-bottom: 20px;vertical-align: middle;}
.img-round { border-radius:50%; }
.z-index {position: relative; z-index: 999;}

.wp-social-link a {
	background: #212529;
    border-radius: 50%;
}

.wp-block-list {
  list-style: none;
  padding-left: 0;
}

.wp-block-list li {
  position: relative;
  padding-left: 28px;
}

.wp-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23f2f2f2%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M8%200a8%208%200%201%201%200%2016A8%208%200%200%201%208%200M4.5%207.5a.5.5%200%200%200%200%201h5.793l-2.147%202.146a.5.5%200%200%200%20.708.708l3-3a.5.5%200%200%200%200-.708l-3-3a.5.5%200%201%200-.708.708L10.293%207.5z%22/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet.swiper-pagination-bullet-active {
    background: #fbd103!important;
    opacity: var(--wp--custom--carousel-block--pagination-bullet-active-opacity, 1);
}

.link-con-icona {
  display: inline-flex;        /* testo e icona sulla stessa riga */
  align-items: center;         /* allinea verticalmente */
  gap: 0.25rem;                /* spazio tra testo e icona */
  text-decoration: none;
  color: white;              /* blu stile Bootstrap */
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 50px;
}

.link-con-icona:hover .bi {
  transform: translateX(3px);  /* piccolo movimento in hover */
  transition: transform 0.2s;
}


h1 {
    color: #fff;
    opacity: 1;
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -0.025em;
    transition: 0.5s;
  }

h2 {
    font-size: 30px;
}

h3 {
    font-size: 20px;
}

p {
    font-size: 18px;
}

    video#bgVideo {
      position: relative;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      filter: blur(20px);
      z-index: 0;
    }

    .circle-mask-container {
      position: absolute;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: #c69f21;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    .masked-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      opacity: 0;
      filter: blur(10px);
      transition: opacity 1s ease, filter 1s ease;
    }

.scroll-text-container {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}

.scroll-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.scroll-text {
  font-size: 3rem;
  font-weight: 400;
  color: #ffffff20;
  padding-right: 100px;
}

.scroll-down {
	position: absolute;
    bottom: 27%;
    color: white;
    left: 50%;
    transform: translate(-30%, -50%);
}

.btn-shine {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 48px;
  color: #fff;
  background: linear-gradient(to right, #4d4d4d 0, #fff 10%, #4d4d4d 20%);
  background-position: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s infinite linear;
  animation-fill-mode: forwards;
  -webkit-text-size-adjust: none;
  font-weight: 600;
  font-size: 22px;
  text-decoration: none;
  white-space: nowrap;
}
@-moz-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@-webkit-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@-o-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}


/* Menu */
:root { --menu-bg: #F4FBFF; --menu-color: #303FC8; }

main {position: relative; max-width: 1320px; margin: auto;}

nav {
	color: #303FC8;
}

/* ! Navigation menu  */

.sticky-anchor-menu {
  position: -webkit-sticky; /* supporto per Safari */
  position: sticky;
  top: 0;         /* attacca il menu al top della pagina */
  z-index: 9999;  /* assicura che rimanga sopra altri elementi */
  width: 100%;    /* garantisce che occupi tutta la larghezza disponibile */
  background: #fff; /* esempio: sfondo bianco per evidenziare il menu */
}

.logo {width: 150px;}

header {
      position: fixed;
      width: 100%;
      top: 0;
      right: 0;
      z-index: 1000;
      transition: background-color 0.3s ease; /* per un effetto di transizione morbida */
    }
    /* Stile dell’header di base */
    header {
      background: transparent;
    }
    /* Stile dell’header quando scorre oltre una certa soglia */
    header.scrolled {
      background-color: #fff; /* il colore di sfondo che desideri */
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* opzionale, aggiunge un’ombra sotto l’header */
    }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  transition: all 0.5s ease;
  width: 100%;
  margin: auto;
}
.navbar__menu {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .navbar__menu {
    position: absolute;
	background: black;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem 1rem;
    transition: all 0.5s ease;
  }
  .navbar__menu.right-open {
    right: 0;
  }
}
.navbar__list {
  display: flex;
  justify-content: right;
  flex-grow: 1;
  gap: 2rem;
  list-style-type: none;
  margin: 0;
}
@media screen and (max-width: 1024px) {
  .navbar__list {
    flex-direction: column;
    flex-grow: 0;
  }
}

.navbar__list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.5s ease;
  color: #f0f0f0;
  
  /* Aggiunto per l'elemento pseudo */
  position: relative;
}

.navbar__list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px; /* spessore della linea */
  background-color: white;
  transition: width 0.3s ease; /* durata e tipo di transizione */
}

/* Effetto in hover: la larghezza passa al 100% */
.navbar__list li a:hover::after {
  width: 100%;
}

header.scrolled .navbar__list li a {
  color: black;
}


.navbar__list li .arrow {
  transition: 0.3s ease;
  mix-blend-mode: difference;
}
.navbar__list li .arrow.up {
  transform: rotate(180deg);
}
.navbar__list-drop {
  display: inline-block;
  position: relative;
}
.navbar__list-drop-menu {
  display: none;
  position: absolute;
  width: max-content;
  margin-top: 1rem;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.122);
  z-index: 999;
}

@media screen and (max-width: 1024px) {
  .navbar__list-drop-menu {
    position: inherit;
    background-color: transparent;
    box-shadow: none;
    padding: 0.5rem 1rem;
  }
}

.navbar__list-drop-menu li a {color: black;}

.navbar__list-drop-menu.open {
  display: flex;
}
.navbar__list-drop-menu.features {
  right: 0;
}
.navbar__list-drop-menu.company {
  left: 0;
  width: max-content;
}
.navbar__buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style-type: none;
}
@media screen and (max-width: 1024px) {
  .navbar__buttons {
    width: 100%;
    flex-direction: column;
  }
}
.navbar__buttons a {
    color: black;
    font-weight: 500;
    transition: 0.3s ease;
    list-style-type: none;
    background: white;
    padding: 10px 15px;
}
.navbar__buttons a:hover {
  color: var(--theme-dark-color);
}
.navbar__buttons-register, .navbar__buttons-login {
  width: 100%;
  font-weight: 500;
  color: #073ee3;
  padding: 0.8rem 1.5rem;
  border: 2px #073ee3;
  border-radius: 1rem;
  transition: 0.3s ease;
}
.navbar__buttons-register:hover {
  border: 2px solid var(--theme-dark-color);
  color: var(--theme-dark-color);
}
.navbar .menu {
  display: none;
  float: left;
  transition: all 275ms ease;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .navbar .menu {
    display: block;
  }
}
.navbar .menu span {
  display: block;
  width: 22px;
  height: 4px;
  background: #000000;
  margin-bottom: 2px;
  border-radius: 1px;
  transition: all 275ms ease;
}
.navbar .menu.active {
  transform: rotate(-90deg);
}
.navbar .menu.active .bar1 {
  transform: rotate(0deg) translateY(6px);
}
.navbar .menu.active .bar2 {
  opacity: 0;
}
.navbar .menu.active .bar3 {
  transform: rotate(-90deg) translateX(5px);
}

.navbar-widget {display: none; width: 100%}

/* Navbar inizialmente trasparente */
#navbar {
  background-color: transparent;
  transition: background-color 0.3s ease; /* transizione fluida */
}

/* Navbar dopo lo scroll: sfondo bianco */
#navbar.scrolled {
  background: #000000;
background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 81%); 
}

 /* Menu Button 5 */
        .menu-btn-5 {
            height: 32px;
            width: 40px;
            cursor: pointer;
        }
        
        .menu-btn-5 span:nth-child(1),
        .menu-btn-5 span:nth-child(1)::before,
        .menu-btn-5 span:nth-child(1)::after {
            background: #fff;
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;         
            margin-top: 13px; 

            -webkit-transition: .3s ease-in-out;
            -moz-transition: .3s ease-in-out;
            -o-transition: .3s ease-in-out;
            transition: .3s ease-in-out;
        }

        .menu-btn-5 span:nth-child(1)::before {
            margin-top:-12px;
            
            -webkit-transition: .3s ease-in-out .3s;
            -moz-transition: .3s ease-in-out .3s;
            -o-transition: .3s ease-in-out .3s;
            transition: .3s ease-in-out .3s;
        }

        .menu-btn-5 span:nth-child(1)::after {
            margin-top:12px;
            
            -webkit-transition: .3s ease-in-out .3s;
            -moz-transition: .3s ease-in-out .3s;
            -o-transition: .3s ease-in-out .3s;
            transition: .3s ease-in-out .3s;
        }

        .menu-btn-5 span:nth-child(2) {
            background: #fff;
            content: '';
            position: absolute;
            width: 0px;
            height: 2px;         
            margin-top: 13px;
            
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);

            -webkit-transition: .3s ease-in-out;
            -moz-transition: .3s ease-in-out;
            -o-transition: .3s ease-in-out;
            transition: .3s ease-in-out;
        }

        .menu-btn-5.active span:nth-child(1)::before,
        .menu-btn-5.active span:nth-child(1)::after {
            margin-top:0;
        }

        .menu-btn-5.active span:nth-child(1) {
            -webkit-transition: .5s ease-in-out .6s;
            -moz-transition: .5s ease-in-out .6s;
            -o-transition: .5s ease-in-out .6s;
            transition: .5s ease-in-out .5s;

            -webkit-transform:rotate(45deg);
            -moz-transform:rotate(45deg);
            -o-transform:rotate(45deg);
            transform:rotate(45deg);
        }

        .menu-btn-5.active span:nth-child(2) {
            width: 40px;
            
            -webkit-transition: .3s ease-in-out .8s;
            -moz-transition: .3s ease-in-out .8s;
            -o-transition: .3s ease-in-out .8s;
            transition: .3s ease-in-out .8s;
        }


/* Pseudoelemento per la “linea” animata */
.header__menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px; /* spessore della linea */
  background-color: white;
  transition: width 0.3s ease; /* durata e tipo di transizione */
}

/* Effetto in hover: la larghezza passa al 100% */
.header__menu li a:hover::after {
  width: 100%;
}


@media (max-width: 768px) {
  .header__menu{   
    position: absolute; top:85px; right:0; background-color: white; width: 100%; height: 100vh;  
    overflow: hidden;transition: all 0.5s cubic-bezier(.215, .61, .355, 1); transform: translateX(101%);
  }

  .header__menu li{width: 100%;}
  .menu-open .header__menu{transform: translateX(0%);}

  .icon-hamburger{height: 50px;width: 40px;margin-left: 20px;padding-top: 5px;}
  .icon-hamburger span{height: 2px; width: 30px;background: var(--menu-color);position: relative;display: block;margin-top: 11px;transition: all 0.2s cubic-bezier(.215, .61, .355, 1);}
  
  .menu-open .icon-hamburger span:nth-child(1){transform: rotate(45deg) translateY(9px);}
  .menu-open .icon-hamburger span:nth-child(2){transform: rotate(-45deg) translateY(-9px);}

  .header__quick{display: flex; justify-content: flex-end; width: 50%;}

}


/* ! Hero section  */

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 20px 45px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  z-index: 2;
}

nav a {
    mix-blend-mode: difference;
    color: #fff;
    font-size: 22px;
    text-align: left;
    font-weight: lighter;
}


.nav-items {
  display: block;
  gap: 2em;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 3em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

footer p {
  color: #fff;
  font-size: 15px;
  font-weight: lighter;
}

.slider-counter {
  display: flex;
}

.slider-counter p,
.slider-counter > div {
  width: 24px;
  display: flex;
  justify-content: center;
}

.slider-counter p {
  opacity: 0.35;
}

.count {
  position: relative;
  height: 18px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.count p {
  position: absolute;
  transform: translateY(0px);
  font-size: 16px;
  line-height: 1;
  will-change: transform;
  opacity: 1;
}

.slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  will-change: clip-path;
}

.slide-bg-img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: rgba(0, 0, 0, 0.125);
}

.slide-main-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
  height: 50%;
  z-index: 2;
}

.slide-main-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  will-change: clip-path;
}

.slide-copy {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 2;
}

.slider-content {
	position: absolute;
	bottom: 20%;
	left: 25px;
	width: 50%;
  	padding: 3em;
	z-index: 999;
}

.slider-content h1 {color: white;}

.slider-content h2 {color: white; font-weight: 400;}

@media (max-width: 900px) {
  .slide-main-img {
    width: 75%;
  }

  .slide-copy {
    top: 60%;
    left: 60%;
  }
}

.fade-in {
  opacity: 0; /* Nascondiamo inizialmente */
  transform: translateY(50px);
}

/* Hero single */

.hero-single {
	display: flex;
	width: 100%;
	height: 50vh;
	align-items: center;
	justify-content: center;
	background: #c55100;
}

.hero-single h1 {
	color: white;
	font-size: 3rem;
}

/* Griglia principale (opzionale) */
.mostre-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Card a 3 colonne */
.mostra-card {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  background: #1b1b1b;
}

/* Colonna immagine */
.mostra-thumb,
.mostra-thumb img {
  width: 200px;
  height: auto;
  flex: 0 0 200px;
}
.mostra-thumb.placeholder { background: #f4f4f4; }

/* Colonna contenuto */
.mostra-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mostra-title   { font-size: 1.25rem; margin: 0 0 .5rem; }
.mostra-excerpt { margin: 0; color: #fff; }

/* Colonna CTA */
.mostra-cta {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mostra-link {
  display: inline-block;
    padding: .5rem 1.25rem;
    color: #fbd103;
    border-radius: 50px;
    border-bottom: 2px solid #fbd103;
    text-decoration: none;
    white-space: nowrap;
}

/* Responsive: sotto 600 px impila le colonne */
@media (max-width: 600px) {
  .mostra-card       { flex-direction: column; text-align: center; }
  .mostra-thumb,
  .mostra-thumb img  { width: 100%; height: auto; }
  .mostra-cta        { margin-top: 1rem; }
}



.container-single {
	max-width: 1280px;
	margin: -50px auto 0 auto;
	padding: 25px;
	background: #1b1b1b;
    color: white;
}

.scritti-toc ul { list-style: none; padding-left: 0; }
    .scritti-toc li { margin: 0.25em 0; }
    :target::before {                /* se hai header fisso, compensa */
        content: "";
        display: block;
        height: 80px;               /* = altezza header */
        margin-top: -80px;
    }
    .scritti-estratto p:last-child { margin-bottom: 0; }
    .scritti-more { display: block; margin-top: 25px; margin-bottom: 50px; text-decoration: underline; }


.audio-player {
            position:fixed;
            bottom: 20px;
            right: 25px;
            display: flex;
            align-items: center;
            gap: 2px;
            cursor: pointer;
			z-index: 999;
        }

.audio-status {
	position: fixed;
    bottom: -15px;
    right: 15px;
    color: #ffd100;
}

.audio-status p {font-size: 12px;}

        .bar {
            width: 5px;
            height: 20px;
            background-color: #ffd100;
            animation: bounce 1s infinite;
            animation-play-state: paused;
        }

        .bar:nth-child(1) { animation-delay: 0s; }
        .bar:nth-child(2) { animation-delay: 0.2s; }
        .bar:nth-child(3) { animation-delay: 0.4s; }
        .bar:nth-child(4) { animation-delay: 0.6s; }
        .bar:nth-child(5) { animation-delay: 0.8s; }

        @keyframes bounce {
            0%, 100% {
                height: 20px;
            }
            50% {
                height: 50px;
            }
        }

#topBtn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
  display: block;
  background-color: #3360ff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#topBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#topBtn:hover {
  background-color: #555;
}

#topBtn svg {
  vertical-align: middle;
}

/* Desktop */
@media only screen and (min-width: 992px) {
  /* Inserisci qui le tue regole CSS per desktop */
	
	.demo {display: none;}
	
}

/* Tablet in modalità landscape */
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per tablet in modalità landscape */
	
	.container {padding: 0 15px;}

}

/* Tablet in modalità portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per tablet in modalità portrait */
	
	.container {padding: 0 15px;}
}

/* Smartphone in modalità landscape */
@media only screen and (max-width: 767px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità landscape */
	
		.container {padding: 0 15px;}

}

/* Smartphone in modalità portrait */
@media only screen and (max-width: 767px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità portrait */
	
	.container {padding: 0 15px;}

	
}
