

.editions-main-container {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.editions-content {
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.years-container-edt {
  width: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2%;
}

.year-edt {
  background-color: rgb(230, 230, 230);
  color: rgb(118, 118, 118);
  font-weight: 700;
  padding: 5% 3%;
  width: 50%;
  text-align: center;
  border-radius: 5px;
  transition: 0.3s;
}

.year-edt:hover {
  background-color: var(--albastru-deschis);
  color: rgb(230, 230, 230);
  cursor: pointer;
}

.year-edt.editions-active{
  background-color: var(--albastru-deschis);
  color: rgb(230, 230, 230);
}

.description-container-edt {
  width: 90%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2.5rem;
  align-items: center;
}

.quote-edt {
  width: 100%;
  max-width: 90rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background: #63B1DD;
  background: linear-gradient(94deg,rgba(99, 177, 221, 1) 0%, rgba(224, 101, 164, 1) 100%);
  padding: 2% 0;
  border-radius: 1.5rem;
}

.quote-text-div {
  width: 65%;
  text-align: justify;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.quote-person {
  width: 20%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.quote-img {
  width: 80%;
  object-fit: contain;
  border-radius: 1rem;
}

.quote-name {
  text-align: center;
  font-weight: bold;
}

#read-more-edt,
#read-more-edt2,
#read-more-careers,
#read-more-hero {
  display: none;
}

.read-more-label {
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.65);
}

@media screen and (max-width: 780px) {
  .editions-content {
    flex-direction: column;
    align-items: center;
    height: fit-content;
    min-height: 0px;
    width: 100%;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .years-container-edt {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    overflow: scroll;
  }

  .year-edt {
    padding: 2% 4%;
    margin-left: 1.5%;
  }


  .quote-edt {
    flex-direction: column;
    gap: 1rem;
    padding: 5%;
  }

  .quote-reverse-edt {
    flex-direction: column-reverse;
  }

  .quote-text-div {
    width: 90%;
  }



  .quote-text,
  .quote-text2,
  .careers-text,
  .hero-text {
    max-height: 4lh;
    overflow: hidden;

    transition: max-height 1s;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  /* 1 */

  #read-more-edt:checked~.quote-text {
    -webkit-line-clamp: unset;
    max-height: 200lh;
  }

  #read-more-edt:not(:checked)~#label-edt::after {
    content: "mai mult";
  }

  #read-more-edt:checked~#label-edt::after {
    content: "mai puțin";
  }

  /* 2 */
  #read-more-edt2:checked~.quote-text2 {
    -webkit-line-clamp: unset;
    max-height: 200lh;
  }

  #read-more-edt2:not(:checked)~#label-edt2::after {
    content: "mai mult";
  }

  #read-more-edt2:checked~#label-edt2::after {
    content: "mai puțin";
  }

  /* careers */

  #read-more-careers:checked~.careers-text {
    -webkit-line-clamp: unset;
    max-height: 200lh;
  }

  #read-more-careers:not(:checked)~#label-careers::after {
    content: "mai mult";
  }

  #read-more-careers:checked~#label-careers::after {
    content: "mai puțin";
  }

  /* hero */

  #read-more-hero:checked~.hero-text {
    -webkit-line-clamp: unset;
    max-height: 200lh;
  }

  #read-more-hero:not(:checked)~#label-hero::after {
    content: "mai mult";
  }

  #read-more-hero:checked~#label-hero::after {
    content: "mai puțin";
  }

  .quote-person {
    width: 90%;
    gap: 1rem;
  }
}