.page-template-page-home .text-h1 span {
  font-size: clamp(50px, 12.15vw, 175px);
  white-space: nowrap;
  margin: -0.2lh 0;
}

.cta {
  display: flex;
  width: fit-content;
  align-items: center;
  border-radius: 100px;
  padding: 10px 40px;
  column-gap: 10px;
  background-color: var(--rosa);
  color: white;
  text-decoration: none;
  font-size: clamp(16px, 1.25vw, 16px);
}

.cont-testo p a,
.cont-testo li a {
  color: var(--rosa);
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  display: inline-block;
}
.cont-testo p a::before,
.cont-testo li a::before,
.cont-testo p a::after,
.cont-testo li a::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--rosa);
  transition: all 0.3s ease-in;
}
.cont-testo p a::before,
.cont-testo li a::before {
  width: 0;
}

.cont-testo p a:hover::before,
.cont-testo li a:hover::before {
  animation: underline 0.5s 0.5s forwards;
}
.cont-testo p a:hover::after,
.cont-testo li a:hover::after {
  animation: underline_reversed 0.5s forwards;
}

.custom-select {
  background: url(/wp-content/themes/barriotheme/media/icons/arrow-down.svg) no-repeat calc(100% - 50px) 50%;
}

.selezione-romanzi iframe {
  width: 100%;
  aspect-ratio: 52/39;
  height: auto;
}

.menu.menu-overlay {
  flex-direction: column;
  align-items: start;
  row-gap: var(--distance-short);
}

.overflow-scroll::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.overflow-scroll {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.swiper-button-disabled {
  opacity: 0.2;
  pointer-events: none;
}

ol,
ul,
menu {
  list-style: disc;
  padding-left: var(--distance-short);
}

.swiper-loghi {
  --swiper-wrapper-transition-timing-function: linear;
}

.vincitori::after {
  content: '';
  display: block;
  width: calc(100% + (var(--distance-short) * 2));
  height: calc(100% + (var(--distance-short) * 2));
  border: 5px solid var(--giallo);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.vincitori {
  margin-top: var(--distance-short);
}

@keyframes underline {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes underline_reversed {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}
