/* Block 8 / eco — единственный источник стилей (не дублировать в Vite SCSS).
   assets: back_7.webp + mega-girl.webp */
.eco-section {
  position: relative;
  width: 100%;
  height: 82.5rem;
  min-height: 82.5rem;
  padding: 0;
  overflow: hidden;
  background-color: #ffffff;
  background-image: url("/assets/img/bts-2026/back_7.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.eco-section__bg,
.eco-section__character + .eco-section__character {
  display: none !important;
}

.eco-section__wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  box-sizing: border-box;
  padding-top: 16.8rem;
}

.eco-section__content {
  max-width: 74.5rem;
}

.eco-section__heading {
  margin: 0;
  color: #046468;
  font-family: "Lively Headline", sans-serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 8rem;
  text-align: left;
}

.eco-section__description {
  margin: 2.4rem 0 0;
  color: #474747;
  font-family: "Lively Headline", sans-serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 5.6rem;
  text-align: left;
  max-width: 74.5rem;
}

.eco-section__character {
  position: absolute;
  z-index: 1;
  top: auto;
  right: 15.6rem;
  left: auto;
  bottom: 0;
  display: block;
  width: 37%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  opacity: 1;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1439px) and (min-width: 1022px) {
  .eco-section__character {
    right: 2rem;
  }
}

@media (max-width: 1021px) {
  .eco-section {
    height: auto;
    min-height: 68.3rem;
    padding: 3.7rem 0 0;
  }

  .eco-section__wrapper {
    padding-top: 0;
    height: auto;
  }

  .eco-section__content {
    max-width: 35.5rem;
    margin: 0 auto;
  }

  .eco-section__heading {
    font-size: 3.6rem;
    line-height: 4rem;
    text-align: center;
  }

  .eco-section__description {
    margin: 2rem auto 0;
    font-size: 2.2rem;
    line-height: 2.6rem;
    text-align: center;
    max-width: 35.5rem;
  }

  .eco-section__character {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(46.5rem, 124%);
    margin: 2.4rem auto 0;
    left: 50%;
    transform: translateX(-50%);
    object-position: top center;
  }
}
