/*==============================================*/
/*===============ALIGNMENT PAGE=================*/
/*==============================================*/

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/*==============================================*/

#alignment .content {
  justify-content: center;
}
/* Override per #alignment: .content non ha scroll interno */
#alignment.active .content {
  height: auto;
  overflow: visible;
}

.content .alignment-content {
  width: 100%;
  flex-shrink: 0;
}

.content .alignment-content .align-graphic {
  width: var(--width);
  padding: var(--padding);
  height: 45vh;
  min-height: 280px;
  position: relative;
}
.external-graphic,
.internal-graphic {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.content .alignment-content .align-graphic span {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.external-graphic svg {
  width: 80%;
  height: 80%;
}
.internal-graphic svg {
  width: 54%;
  height: 54%;
}
/*==============================================*/
.content .alignment-content .align-values {
  width: var(--width);
  padding: var(--padding);
  height: auto;
  min-height: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
}

.align-values .value {
  width: 44%;
  height: 100%;
  background: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 8px;
  border: none;
}

.value-name {
  text-transform: uppercase;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size: 0.75rem;
  text-align: left;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0%;
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: fit-content;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
}

@media screen and (max-width: 400px) {
  .value-name {
    font-size: 0.7rem;
  }
}

button .subtitle {
  font-size: 0.75rem;
  margin: 0;
  padding: 0;
  opacity: 1;
  line-height: 1;
  transform: translateY(-0.3rem);
}

.value-percentage {
  text-transform: uppercase;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0%;
  line-height: 0.84;
  width: 100%;
}

.align-values .line-vertical {
  width: 1.5px;
  height: 44%;
  background: var(--secondary-color);
}

/*==============================================*/
.content .comment-section-wrap {
  width: calc(100% - 40px);
  height: fit-content;
  border-top: var(--border);
  border-bottom: var(--border);
  /*border-top: var(--border);*/
  padding: 20px 0;
}
.comment-section-wrap .comment-content {
  /* width: calc(100% - 40px); */
  /* height: calc(100%);*/
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  padding: 10px 0;
  font-style: normal;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0%;
  line-height: 1;
  overflow: hidden;
}

/*==============================================*/
/*===============MORE ABOUT INLINE==============*/
/*==============================================*/
.more-about {
  padding-bottom: 100px;
}
.more-about .more-about-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.more-about-label {
  display: block;
  text-align: center;
  padding: 12px 0;
  color: var(--secondary-color);
  font-family: "helvetica-neue-lt-pro", sans-serif;
}

.more-about-section .comment-overlay-section-wrap {
  width: calc(100% - 40px);
  padding: 0 20px;
}
.more-about-section .comment-overlay-section-wrap .comment-content {
  margin: 0;
}

.more-about-section .comment-content {
  width: 100%;
  padding: 20px 0;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.more-about-section .comment-content i {
  font-style: italic;
  display: block;
  margin-bottom: 12px;
}

/**********************************************************************/
/**********************************************************************/
/* PAGINA ALIGN: SCROLL */
/**********************************************************************/
/**********************************************************************/

#alignment .scroll-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#alignment .scroll-container .scroll-wrap {
  width: var(--width);
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;

  border-top: var(--border);
}

#alignment .scroll-container p {
  text-transform: uppercase;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size: 0.75rem;
  text-align: left;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0%;
  color: var(--secondary-color-opacity);
}

#alignment .arrow-scroll {
  position: relative;
  overflow: hidden; /* nasconde lo span quando esce */
  height: 0.9rem; /* finestra di visibilità (regola a gusto) */
  line-height: 0.9rem;
  display: inline-flex;
  align-items: center;
}

#alignment .arrow-scroll span {
  display: inline-block;
  will-change: transform;
  animation: arrowScrollLoop 1.2s linear infinite;
}

/* entra dall’alto -> passa al centro -> esce sotto */
@keyframes arrowScrollLoop {
  0% {
    transform: translateY(-110%);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  50% {
    transform: translateY(0%);
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(110%);
    opacity: 0;
  }
}

/*bottone find location*/

#find-poll {
  background: none;
  width: 100%;
  height: 44px;
  padding: 4px 0px;
  border: none;
  text-transform: uppercase;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size: 0.75rem;
  text-align: left;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0%;
}
