@font-face {
  font-family: "Molot";
  src: url(../../../../fonts/Molot.otf);
}

@font-face {
  font-family: "Roboto Mono";
  src: url(../../../../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
}

:root {
  --bg-color: #222222;
  --es-green: #9dcd55;
  --es-white: #ffffff;
  --es-black: #000000;
}

html {
  background: var(--bg-color);
}

.es-green-color {
  color: var(--es-green) !important;
}

.font-molot {
  font-family: Molot !important;
}

.page-template-page-bl-php {
  background: var(--bg-color);
  opacity: 0;
  transition: 0.9s opacity ease-in-out;
}

.page-template-page-bl-php.body_visible {
  opacity: 1;
}

.page-template-page-bl-php .swiper {
  overflow: visible;
}

.es-hero {
  position: relative;
}

.es-hero__content {
  position: absolute;
  top: 315px;
  width: 100%;
}

.es-hero__content h1 {
  color: var(--es-white);
  text-shadow: 0 0 30px var(--es-black);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 48px;
  line-height: 58px;
  margin-bottom: 9px;
}

.es-hero__subtitle {
  font-family: "Roboto Mono";
  text-shadow: 0 0 30px var(--es-black);
  color: var(--es-white);
  font-size: 20px;
  font-weight: 400;
}

.es-hero img {
  width: 100%;
}

.se-hero-img__mobile {
  display: none;
}

.page-template-page-bl .footer--bl {
  color: #fff;
  background-color: var(--bg-color);
}

.es-hero__buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 61px;
}

.es-hero__buttons_btn {
  position: relative;
  filter: drop-shadow(0 0 120px rgb(0, 0, 0));
}

.es-hero__buttons span {
  position: absolute;
  height: 100%;
  width: 84%;
  left: 8%;
  z-index: 0;
  box-shadow: 0 0 120px var(--es-black);
  clip-path: polygon(8% 0, 93% 0, 100% 49%, 93% 95%, 8% 100%, 0% 50%);
}

.es-hero__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
  width: 283px;
  height: 62px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.es-hero__buttons-dw {
  background-image: url("../../../../assets/everlasting-summer/download_btn.png");
  color: var(--es-white);
}

.es-hero__buttons-dw:hover {
  background-image: url("../../../../assets/everlasting-summer/download_btn_hover.png");
  color: var(--es-white);
}

.es-hero__buttons-tr {
  background-image: url("../../../../assets/everlasting-summer/tr_btn.png");
  color: var(--es-green);
}

.es-hero__buttons-tr:hover {
  background-image: url("../../../../assets/everlasting-summer/tr_btn_hover.png");
  color: #bbeb73;
}

.es-hero__links {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 91px;
}

.es-hero__links ul {
  display: flex;
  gap: 24px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.es-hero__links ul a {
  opacity: 0.5;
  display: inline-block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
}
.es-hero__links ul a:hover {
  opacity: 1;
}

.es-hero__links-appplay {
  background-image: url("../../../../assets/everlasting-summer/appplay.svg");
}

.es-hero__links-a {
  background-image: url("../../../../assets/everlasting-summer/a.svg");
}

.es-hero__links-steam {
  background-image: url("../../../../assets/everlasting-summer/steam.svg");
}

.es-hero__links-market {
  background-image: url("../../../../assets/everlasting-summer/market.svg");
}

.es-hero__links-gog {
  background-image: url("../../../../assets/everlasting-summer/gog.svg");
}

.es-hero__links-vkplay {
  background-image: url("../../../../assets/everlasting-summer/vk-play.svg");
}

.es-hero__links-rustore {
  background-image: url("../../../../assets/everlasting-summer/rustore.svg");
}

.es-hero__links-appgallery {
  background-image: url("../../../../assets/everlasting-summer/appgallery.svg");
}

@media (min-width: 768px) and (max-width: 1440px) {
  .es-hero__content {
    top: 31.5rem;
  }

  .es-hero__content h1 {
    text-shadow: 0 0 3rem var(--es-black);
    line-height: 5.8rem;
    font-size: 4.8rem;
    margin-bottom: 0.9rem;
  }

  .es-hero__subtitle {
    text-shadow: 0 0 3rem var(--es-black);
    font-size: 2rem;
  }

  .es-hero__buttons {
    gap: 3.5rem;
    margin-top: 6.1rem;
  }

  .es-hero__buttons_btn {
    filter: drop-shadow(0 0 12rem rgb(0, 0, 0));
  }

  .es-hero__buttons span {
    box-shadow: 0 0 12rem var(--es-black);
  }

  .es-hero__buttons a {
    font-size: 2.4rem;
    letter-spacing: 0.2rem;
    width: 28.3rem;
    height: 6.2rem;
  }

  .es-hero__links {
    margin-top: 9.1rem;
  }

  .es-hero__links ul {
    gap: 2.4rem;
  }

  .es-hero__links ul a {
    width: 3.2rem;
    height: 3.2rem;
  }
  .es-hero__links ul a:hover {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .page-template-page-bl-php .header {
    position: relative;
    background: var(--bg-color);
    height: 5rem;
    padding: 1.3rem 1.7rem;
  }

  .page-template-page-bl-php .header .custom-logo-link img {
    width: 2rem;
  }

  .page-template-page-bl-php .header nav {
    display: none;
  }

  .page-template-page-bl-php .header__logo {
    gap: 0.3rem;
  }

  .page-template-page-bl-php .header__logo-divider {
    width: 1px;
    margin-left: 0;
  }

  .page-template-page-bl-php .header__container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .page-template-page-bl-php .header__bl-logo img {
    height: 32px;
  }

  .es-hero__content {
    top: 7.4rem;
  }

  .es-hero__content h1 {
    font-size: 2.4rem;
    line-height: 2.9rem;
    margin-bottom: 1.1rem;
    text-shadow: 0 0 5rem var(--es-black);
  }

  .es-hero__subtitle {
    font-size: 1.4rem;
    padding: 0 5.4rem;
    line-height: 1.9rem;
    text-shadow: 0 0 2rem var(--es-black);
  }

  .se-hero-img {
    display: none;
  }

  .se-hero-img__mobile {
    display: block;
  }

  .es-hero__buttons {
    margin-top: 3.1rem;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .es-hero__buttons span {
    box-shadow: 0 0 12rem var(--es-black);
  }

  .es-hero__buttons a {
    font-size: 1.6rem;
    letter-spacing: 0.15rem;
    width: 18.3rem;
    height: 4rem;
  }

  .es-hero__links {
    margin-top: 3.4rem;
  }

  .es-hero__links ul {
    gap: 1.8rem;
  }

  .es-hero__links ul a {
    width: 3.2rem;
    height: 3.2rem;
  }
}

.images-pool {
  padding: 39px 0 40px;
  background: var(--bg-color);
}

.images-pool p {
  font-size: 20px;
  font-family: "Roboto Mono";
  width: 665px;
  margin: 0 auto;
  line-height: 25px;
  color: var(--es-white);
}

.images-pool h2 {
  font-size: 32px;
}

.images-pool__area {
  position: relative;
  overflow: hidden;
  min-height: 2120px;
}

.images-pool__area img.pool-galary {
  position: absolute;
  box-shadow: 0 0 40px var(--es-black);
  left: 50%;
}

.images-pool__img-1 {
  transform: translateX(-16px) rotate(7.5deg);
  top: 364px;
  width: 561px;
}

.images-pool__img-2 {
  transform: translateX(-830px) rotate(9deg);
  top: 386px;
  width: 501px;
}

.images-pool__img-3 {
  transform: translateX(224px) rotate(12deg);
  top: 122px;
  width: 669px;
}

.images-pool__img-4 {
  transform: translateX(-501px) rotate(8deg);
  top: 75px;
  width: 561px;
}

.images-pool__img-5 {
  transform: translateX(-501px) rotate(-2deg);
  top: 324px;
  width: 501px;
}

.images-pool__img-6 {
  transform: translateX(-812px) rotate(-7deg);
  top: 132px;
  width: 507px;
}

.images-pool__img-7 {
  transform: translateX(-56px) rotate(-9deg);
  top: 145px;
  width: 359px;
}

@media (min-width: 768px) and (max-width: 1440px) {
  .images-pool {
    color: var(--es-white);
    background: var(--bg-color);
    padding: 3.9rem 0 4rem;
  }

  .images-pool p {
    font-size: 2rem;
    font-family: "Roboto Mono";
    width: 66.5rem;
    margin: 0 auto;
    line-height: 2.5rem;
  }

  .images-pool h2 {
    font-size: 3.2rem;
  }

  .images-pool__area {
    position: relative;
    overflow: hidden;
    min-height: 212rem;
  }

  .images-pool__area img.pool-galary {
    position: absolute;
    box-shadow: 0 0 4rem var(--es-black);
    left: 50%;
  }

  .images-pool__img-1 {
    transform: translateX(-1.6rem) rotate(7.5deg);
    top: 36.4rem;
    width: 56.1rem;
  }

  .images-pool__img-2 {
    transform: translateX(-83rem) rotate(9deg);
    top: 38.6rem;
    width: 50.1rem;
  }

  .images-pool__img-3 {
    transform: translateX(22.4rem) rotate(12deg);
    top: 12.2rem;
    width: 66.9rem;
  }

  .images-pool__img-4 {
    transform: translateX(-50.1rem) rotate(8deg);
    top: 7.5rem;
    width: 56.1rem;
  }

  .images-pool__img-5 {
    transform: translateX(-50.1rem) rotate(-2deg);
    top: 32.4rem;
    width: 50.1rem;
  }

  .images-pool__img-6 {
    transform: translateX(-81.2rem) rotate(-7deg);
    top: 13.2rem;
    width: 50.7rem;
  }

  .images-pool__img-7 {
    transform: translateX(-5.6rem) rotate(-9deg);
    top: 14.5rem;
    width: 35.9rem;
  }
}

@media (max-width: 768px) {
  .images-pool {
    padding: 3.9rem 0 4rem;
    background: var(--bg-color);
  }

  .images-pool__area {
    min-height: 262.1rem;
  }

  .images-pool p {
    font-size: 1.4rem;
    width: 100%;
    line-height: 120%;
    padding: 0 3rem;
  }

  .images-pool h2 {
    font-size: 2.4rem;
    line-height: 105%;
    margin-bottom: 1.4rem;
  }

  .images-pool__area img.pool-galary {
    box-shadow: 0 0 4rem var(--es-black);
  }

  .images-pool__img-1 {
    transform: translateX(-21.3rem) rotate(-14.5deg);
    top: 30.2rem;
    width: 27rem;
  }

  .images-pool__img-2 {
    transform: translateX(-5.6rem) rotate(-2deg);
    top: 33.2rem;
    width: 24.1rem;
  }

  .images-pool__img-3 {
    transform: translateX(7.6rem) rotate(12deg);
    top: 8rem;
    width: 66.9rem;
  }

  .images-pool__img-4 {
    transform: translateX(-26.6rem) rotate(8deg);
    top: 5.8rem;
    width: 26.2rem;
  }

  .images-pool__img-5 {
    transform: translateX(-26.3rem) rotate(-2deg);
    top: 18.1rem;
    width: 23.3rem;
  }

  .images-pool__img-6 {
    transform: translateX(-4rem) rotate(5deg);
    top: 22.5rem;
    width: 23.6rem;
  }

  .images-pool__img-7 {
    transform: translateX(-5.8rem) rotate(-9deg);
    top: 9rem;
    width: 17.3rem;
  }
}

.es-content {
  position: absolute;
  height: 1000px;
  top: 769px;
  width: 100%;
}

.es-content h2 {
  margin-bottom: 0;
  font-size: 32px;
  line-height: 120%;
  padding: 85px 71px 0;
  margin: 0 auto;
  max-width: 1440px;
}

.es-content__text {
  left: 50%;
  top: 117px;
  transform: translateX(-959px);
  position: absolute;
  width: 1199px;
  height: 437px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../../../../assets/everlasting-summer/es-text-img-2.png");
}

.es-content__text p {
  font-family: "Roboto Mono";
  position: absolute;
  left: 50%;
  transform: translateX(-217px);
  font-size: 16px;
  line-height: 150%;
  width: 701px;
  top: 93px;
  color: var(--es-black);
  letter-spacing: 0.2px;
  text-align: justify;
}

.es-content .es-text-img {
  position: absolute;
  left: 50%;
  transform: translateX(148px);
  top: -32px;
  width: 693px;
}

.es-content .es-text-img-mobile {
  display: none;
}

@media (min-width: 768px) and (max-width: 1440px) {
  .es-content {
    height: 100rem;
    top: 76.9rem;
  }

  .es-content h2 {
    font-size: 3.2rem;
    padding: 8.5rem 7.1rem 0;
  }

  .es-content__text {
    top: 11.7rem;
    transform: translateX(-95.9rem);
    width: 119.9rem;
    height: 43.7rem;
  }

  .es-content__text p {
    transform: translateX(-21.7rem);
    font-size: 1.6rem;
    line-height: 150%;
    width: 70.1rem;
    top: 9.3rem;
    letter-spacing: 0.02rem;
  }

  .es-content .es-text-img {
    transform: translateX(14.8rem);
    top: -3.2rem;
    width: 69.3rem;
  }
}

@media (max-width: 768px) {
  .es-content {
    height: 100rem;
    top: 49.5rem;
  }

  .es-content h2 {
    display: none;
  }

  .es-content__text {
    left: 0;
    top: 0;
    transform: translateX(0);
    width: 100%;
    height: auto;
    background: none;
    z-index: 1;
  }

  .es-content__text p {
    left: 2rem;
    transform: translateX(0);
    font-size: 1.4rem;
    line-height: 120%;
    width: 23.5rem;
    top: 10.9rem;
    color: var(--es-black);
    letter-spacing: 0.01rem;
    padding: 0;
    text-align: left;
  }

  .es-content .es-text-img {
    display: none;
  }

  .es-content .es-text-img-mobile {
    display: block;
    width: 32rem;
  }
}

.es-icons {
  position: absolute;
  top: 1430px;
  width: 100%;
}

.es-icons h2 {
  font-size: 32px;
  line-height: 120%;
  width: 100%;
}

.es-icon {
  position: absolute;
  left: 50%;
  text-align: center;
  font-family: "Roboto Mono";
  width: 279px;
  color: var(--es-white);
}

.es-icon img {
  margin-bottom: 32px;
}

.es-icon_subtitle {
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 6px;
}

.es-icon_text {
  font-size: 16px;
  line-height: 150%;
}

.es-icon__1 {
  top: 121px;
  transform: translateX(-538px);
}

.es-icon__2 {
  top: 121px;
  transform: translateX(-140px);
}

.es-icon__3 {
  top: 102px;
  transform: translateX(245px);
}

.es-icon__4 {
  top: 391px;
  transform: translateX(-539px);
}

.es-icon__5 {
  width: 290px;
  top: 391px;
  transform: translateX(-146px);
}

.es-icon__6 {
  top: 391px;
  transform: translateX(244px);
}

.es-icon__1 img,
.es-icon__2 img {
  width: 123px;
}

.es-icon__3 img {
  width: 128px;
  margin-bottom: 13px;
}

.es-icon__4 img {
  width: 129px;
  margin-bottom: 12px;
}

.es-icon__5 img {
  width: 129px;
  margin-bottom: 12px;
}

.es-icon__6 img {
  width: 129px;
  margin-bottom: 12px;
}

@media (min-width: 768px) and (max-width: 1440px) {
  .es-icons {
    top: 143rem;
  }

  .es-icons h2 {
    font-size: 3.2rem;
  }

  .es-icon {
    width: 27.9rem;
  }

  .es-icon img {
    margin-bottom: 3.2rem;
  }

  .es-icon_subtitle {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .es-icon_text {
    font-size: 1.6rem;
  }

  .es-icon__1 {
    top: 12.1rem;
    transform: translateX(-53.8rem);
  }

  .es-icon__2 {
    top: 12.1rem;
    transform: translateX(-14rem);
  }

  .es-icon__3 {
    top: 10.2rem;
    transform: translateX(24.5rem);
  }

  .es-icon__4 {
    top: 39.1rem;
    transform: translateX(-53.9rem);
  }

  .es-icon__5 {
    width: 29rem;
    top: 39.1rem;
    transform: translateX(-14.6rem);
  }

  .es-icon__6 {
    top: 39.1rem;
    transform: translateX(24.4rem);
  }

  .es-icon__1 img,
  .es-icon__2 img {
    width: 12.3rem;
  }

  .es-icon__3 img {
    width: 12.8rem;
    margin-bottom: 1.3rem;
  }

  .es-icon__4 img {
    width: 12.9rem;
    margin-bottom: 1.2rem;
  }

  .es-icon__5 img {
    width: 12.9rem;
    margin-bottom: 1.2rem;
  }

  .es-icon__6 img {
    width: 12.9rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 768px) {
  .es-icons {
    top: 138.2rem;
    height: auto;
  }

  .es-icons h2 {
    font-size: 2.4rem;
    margin-bottom: 0;
  }

  .es-icon {
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    transform: translateX(0);
    margin-top: 5.3rem;
    padding: 0 2.5rem;
  }

  .es-icon img {
    margin-bottom: 2.1rem;
    width: 28%;
  }

  .es-icon_subtitle {
    font-size: 2rem;
    line-height: 150%;
    margin-bottom: 0.6rem;
  }

  .es-icon_text {
    font-size: 1.6rem;
    line-height: 150%;
  }

  .es-icon__2 {
    margin-top: 3.5rem;
  }

  .es-icon__3,
  .es-icon__4 {
    margin-top: 2.7rem;
  }

  .es-icon__5 {
    margin-top: 3rem;
  }

  .es-icon__6 {
    margin-top: 2rem;
  }

  .es-icon__3 img,
  .es-icon__5 img,
  .es-icon__6 img {
    margin-bottom: 1.4rem;
  }

  .es-icon__4 img {
    margin-bottom: 1.2rem;
  }
}

.es-slider {
  position: relative;
  background: var(--bg-color);
  width: 100%;
  overflow: hidden;
  min-height: 778px;
}

.es-slider h2 {
  width: 100%;
  font-size: 32px;
  line-height: 120%;
  margin-top: 6px;
}

.es-slider-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-540px);
  top: 90px;
  width: 1215px;
  z-index: 0;
}

.es-slider-bg.__mobile {
  display: none;
}

.es-slider-image {
  position: absolute;
  left: 50%;
  transform: translateX(-890px) rotate(-21deg);
  top: 283px;
  width: 447px;
  z-index: 2;
}

.swiper-text {
  color: var(--es-black);
  font-family: "Roboto Mono";
  position: absolute;
  top: 135px;
  width: 690px;
  left: 50%;
  transform: translateX(-138px);
}

.swiper-subtitle {
  font-size: 24px;
  font-weight: bold;
  line-height: 150%;
  margin-bottom: 25px;
}

.swiper-text p {
  font-size: 20px;
  line-height: 150%;
}

.swiper-slide {
  min-height: 760px;
}

.swiper-photo {
  position: absolute;
  left: 50%;
  transform: translate(-615px) rotate(-8deg);
  top: 10px;
  width: 460px;
}

.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  background-image: url("../../../../assets/everlasting-summer/slider-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  top: 121px;
  left: 50%;
  opacity: 1;
  background-size: cover;
}

.swiper .swiper-button-prev:hover,
.swiper .swiper-button-next:hover {
  opacity: 0.8;
}

.swiper .swiper-button-prev::after,
.swiper .swiper-button-next::after {
  content: none;
}

.swiper .swiper-button-prev {
  transform: translateX(433px);
}

.swiper .swiper-button-next {
  transform: translateX(497px) rotate(180deg);
}

@media (min-width: 768px) and (max-width: 1440px) {
  .es-slider {
    min-height: 77.8rem;
  }

  .es-slider h2 {
    font-size: 3.2rem;
    margin-top: 0.6rem;
  }

  .es-slider-bg {
    transform: translateX(-54rem);
    top: 9rem;
    width: 121.5rem;
  }

  .es-slider-image {
    transform: translateX(-89rem) rotate(-21deg);
    top: 28.3rem;
    width: 44.7rem;
  }

  .swiper-text {
    top: 16.5rem;
    transform: translateX(-15.8rem);
  }

  .swiper-subtitle {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
  }

  .swiper-text p {
    font-size: 2rem;
  }

  .swiper-slide {
    min-height: 72.5rem;
  }

  .swiper-photo {
    transform: translate(-69.8rem) rotate(-8deg);
    top: 30px;
    width: 460px;
  }

  .swiper .swiper-button-prev,
  .swiper .swiper-button-next {
    width: 4rem;
    height: 4rem;
    top: 12.1rem;
  }

  .swiper .swiper-button-prev:hover,
  .swiper .swiper-button-next:hover {
    opacity: 0.8;
  }

  .swiper .swiper-button-prev::after,
  .swiper .swiper-button-next::after {
    content: none;
  }

  .swiper .swiper-button-prev {
    transform: translateX(43.3rem);
  }

  .swiper .swiper-button-next {
    transform: translateX(49.7rem) rotate(180deg);
  }
}

@media (max-width: 768px) {
  .es-slider {
    min-height: 53.4rem;
  }

  .es-slider h2 {
    width: 100%;
    font-size: 2.4rem;
    line-height: 120%;
    margin-top: 6px;
  }

  .es-slider-bg {
    display: none;
  }

  .es-slider-bg.__mobile {
    display: block;
    left: 0;
    transform: translateX(0);
    top: 4.5rem;
    width: 32rem;
  }

  .es-slider-image {
    display: none;
  }

  .swiper-text {
    top: 4.7rem !important;
    width: 26rem !important;
    left: 13rem !important;
    transform: translateX(0);
  }

  .swiper-subtitle {
    font-size: 2rem;
    line-height: 150%;
    margin-bottom: 1.3rem;
  }

  .swiper-text p {
    font-size: 1.4rem;
    line-height: 121.999999%;
  }

  .swiper-slide {
    min-height: 47.4rem;
  }

  .swiper-photo {
    left: inherit;
    transform: translate(0) rotate(7deg) scale(-1, 1);
    top: inherit;
    width: calc(36.8rem - 66%);
    right: -5.2rem;
    bottom: 2.8rem;
  }

  .swiper .swiper-button-prev,
  .swiper .swiper-button-next {
    width: 4rem;
    height: 4rem;
    top: inherit;
    bottom: 0;
  }

  .swiper .swiper-button-prev:hover,
  .swiper .swiper-button-next:hover {
    opacity: 0.8;
  }

  .swiper .swiper-button-prev::after,
  .swiper .swiper-button-next::after {
    content: none;
  }

  .swiper .swiper-button-prev {
    transform: translateX(-5.2rem);
  }

  .swiper .swiper-button-next {
    transform: translateX(1.2rem) rotate(180deg);
  }
}

.es-audio {
  background-color: var(--bg-color);
  padding-bottom: 80px;
}

/* Яндекс.Музыка виджет для BL страницы */
.yandex-music-widget-bl {
  background-color: var(--bg-color);
  padding: 80px 20px;
  width: 100%;
}

.yandex-music-widget-bl__container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.yandex-music-widget-bl__title {
  margin-bottom: 48px;
  font-size: 32px;
  line-height: 120%;
}

.yandex-music-widget-bl__iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 90.55%; /* 556/614 aspect ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

/* Ограничиваем максимальную высоту виджета до 800px */
@supports (aspect-ratio: 614 / 556) {
  .yandex-music-widget-bl__iframe-wrapper {
    padding-bottom: 0;
    aspect-ratio: 614 / 556;
    max-height: 800px;
    height: auto;
  }
}

/* Для браузеров без поддержки aspect-ratio: при max-height 800px и aspect ratio 556/614, max-width = 800 * (614/556) ≈ 883px */
.yandex-music-widget-bl__iframe-wrapper {
  max-width: 883px;
}

@media (min-width: 884px) {
  .yandex-music-widget-bl__iframe-wrapper {
    max-width: 1200px;
  }

  @supports (aspect-ratio: 614 / 556) {
    .yandex-music-widget-bl__iframe-wrapper {
      max-width: 1200px;
      max-height: 800px;
    }
  }
}

.yandex-music-widget-bl__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Адаптивные стили для BL */
@media screen and (max-width: 1024px) {
  .yandex-music-widget-bl {
    padding: 64px 20px;
  }

  .yandex-music-widget-bl__title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .yandex-music-widget-bl__iframe-wrapper {
    padding-bottom: 100%;
  }
}

@media screen and (max-width: 768px) {
  .yandex-music-widget-bl {
    padding: 48px 16px;
  }

  .yandex-music-widget-bl__title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .yandex-music-widget-bl__iframe-wrapper {
    padding-bottom: 110%;
    border-radius: 8px;
  }

  .yandex-music-widget-bl__iframe {
    border-radius: 8px;
  }
}

@media screen and (max-width: 576px) {
  .yandex-music-widget-bl {
    padding: 40px 12px;
  }

  .yandex-music-widget-bl__title {
    font-size: 20px;
    margin-bottom: 24px;
  }
}

.es-audio h2 {
  font-size: 32px;
  line-height: 120%;
}

.es-audio-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.es-audio-main {
  padding: 0 70px;
  display: flex;
  align-items: center;
  gap: 70px;
}

.es-audio-main__img {
  width: 140px;
  height: 140px;
  background-color: var(--es-green);
}

.es-audio-main__text {
  font-family: "Roboto Mono";
  font-size: 20px;
  flex: 1;
}

.es-audio-main__content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  width: 43%;
}

.es-audio-main__text h6 {
  line-height: 132%;
  color: var(--es-white);
  font-weight: normal;
  font-size: 20px;
  font-family: "Roboto Mono";
}

.es-audio-main__subtitle {
  color: #adaab1;
  line-height: 150%;
  font-family: "Roboto Mono";
}

.es-audio-main__player {
  width: 52%;
}

plyr__progress__container {
  width: 70%;
}

.es-audio-main__player-prev,
.es-audio-main__player-next {
  width: 18px;
  height: 17px;
  background-image: url("../../../../assets/everlasting-summer/arrow.svg");
  background-repeat: no-repeat;
  background-size: 14px;
  opacity: 1;
  transition: opacity 0.25s ease-in-out;
  cursor: pointer;
  position: relative;
}

.es-audio-main__player-prev:after,
.es-audio-main__player-next:after {
  content: " ";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  right: 0;
  background: var(--es-white);
}

.es-audio-main__player-next {
  background-position: left center;
}

.es-audio-main__player-prev:hover,
.es-audio-main__player-next:hover {
  opacity: 0.8;
}

.es-audio-main__player-prev {
  transform: translateX(-163px) rotate(180deg);
  position: absolute;
  left: 50%;
  top: 15px;
}

.es-audio-main__player-next {
  transform: translateX(-52px);
  position: absolute;
  left: 50%;
  top: 15px;
}

.es-audio-main__player #play:hover {
  opacity: 0.6;
}

.plyr__progress__container {
  width: 72%;
  position: absolute;
  bottom: -25px;
}

.plyr__control[data-plyr="restart"] {
  display: none;
}

.plyr__control[data-plyr="play"] {
  width: 48px;
  height: 48px;
  background-image: url(../../../../assets/everlasting-summer/arrow.svg);
  background-position: 18px 15px;
  background-repeat: no-repeat;
  background-size: 14px;
  background-color: transparent;
  transition: opacity 0.25s ease-in-out;
  opacity: 1;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-122px);
  top: 0;
  padding: 0;
  min-height: 42px;
}

.plyr__control[data-plyr="play"]:hover {
  background-color: transparent;
  opacity: 0.8;
}

.plyr__control[data-plyr="play"].plyr__control--pressed {
  background-image: url(../../../../assets/everlasting-summer/pause.svg);
  background-position: 15px 16px;
  background-size: 16px;
}

.plyr__control[data-plyr="play"] svg,
.plyr__control[data-plyr="play"] span,
.plyr__progress__buffer,
.plyr__tooltip,
.plyr__time {
  display: none;
}

.plyr__controls {
  position: relative;
}

.plyr--full-ui input[type="range"] {
  position: relative;
  z-index: 2;
  background: 0 0;
  border: 0;
  color: #fff;
  color: var(
    --plyr-range-fill-background,
    var(--plyr-color-main, var(--plyr-color-main, #fff))
  );
  display: block;
  height: 2px;
  margin: 0;
  padding: 0;
  transition: box-shadow 0.3s ease;
  width: 100%;
  position: absolute;
}

.plyr--full-ui input[type="range"][aria-label="Seek"] {
  left: 50%;
  transform: translateX(-246px);
  width: 464px;
  top: 41px;
}

.plyr--full-ui input[type="range"][data-plyr="volume"] {
  left: 50%;
  transform: translateX(237px);
  top: 23px;
  width: 73px;
}

.plyr--full-ui input[type="range"]::-webkit-slider-runnable-track {
  background: #0000;
  background-image: linear-gradient(90deg, var(--es-green) 0, #0000 0);
  background-image: linear-gradient(
    to right,
    var(--es-green) var(--value, 0),
    #0000 var(--value, 0)
  );
  border: 0;
  height: 2px;
  -webkit-user-select: none;
  user-select: none;
}

.plyr--full-ui input[type="range"]::-webkit-slider-thumb {
  border: 0;
  height: 13px;
  position: relative;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 13px;
  -webkit-appearance: none;
  opacity: 0;
}

.plyr--full-ui input[type="range"]::-moz-range-track {
  border: 0;
  height: 2px;
  -moz-transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
  user-select: none;
  background-image: linear-gradient(to right, var(--es-green) 0, transparent 0);
}

.plyr--full-ui input[type="range"]::-moz-range-thumb {
  border: 0;
  height: 13px;
  position: relative;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 13px;
  opacity: 0;
}

.plyr__control[data-plyr="mute"] {
  background: transparent;
  position: absolute;
  left: 50%;
  transform: translateX(210px);
  top: 13px;
  padding: 0;
  min-width: 20px;
  min-height: 0;
}

.plyr__control[data-plyr="mute"] span {
  display: none;
}

.plyr__control[data-plyr="mute"] svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.plyr__control[data-plyr="mute"]:hover {
  background: transparent;
  opacity: 0.6;
}

.plyr__control[data-plyr="mute"] .icon--pressed {
  display: none;
}

.plyr__control[data-plyr="mute"].plyr__control--pressed .icon--not-pressed {
  display: none;
}

.plyr__control[data-plyr="mute"].plyr__control--pressed .icon--pressed {
  display: block;
}

.plyr__control[data-plyr="download"] {
  background-image: url(../../../../assets/everlasting-summer/download.svg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 14px;
  width: 14px;
  height: 17px;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(182px);
  top: 17px;
}
.plyr__control[data-plyr="download"]:hover {
  opacity: 0.6;
}

.plyr__control[data-plyr="download"] svg,
.plyr__control[data-plyr="download"] span {
  display: none;
}

@media (min-width: 768px) and (max-width: 1440px) {
  .es-audio-main__player-prev,
  .es-audio-main__player-next {
    width: 1.8rem;
    height: 1.7rem;
    background-size: 1.4rem;
  }

  .es-audio-main__player-prev {
    transform: translateX(-16.3rem) rotate(180deg);
    top: 1.5rem;
  }

  .es-audio-main__player-next {
    transform: translateX(-5.2rem);
    top: 1.5rem;
  }

  .plyr__progress__container {
    width: 48.4rem;
    bottom: -2.5rem;
  }

  .plyr__control[data-plyr="play"] {
    width: 4.8rem;
    height: 4.8rem;
    background-position: 1.8rem 1.6rem;
    background-size: 1.4rem;
    transform: translate(-12.2rem);
    top: 0;
    min-height: 4.2rem;
  }

  .plyr__control[data-plyr="play"].plyr__control--pressed {
    background-position: 1.5rem 1.6rem;
    background-size: 1.6rem;
  }

  .plyr--full-ui input[type="range"][aria-label="Seek"] {
    transform: translateX(-24.6rem);
    top: 4.1rem;
    width: 48.4rem;
  }

  .plyr--full-ui input[type="range"][data-plyr="volume"] {
    transform: translateX(23.7rem);
    top: 2.3rem;
    width: 7.3rem;
  }

  .plyr__control[data-plyr="mute"] {
    transform: translateX(21rem);
    top: 1.3rem;
    min-width: 2rem;
  }

  .plyr__control[data-plyr="mute"] svg {
    width: 2rem;
    height: 2rem;
  }

  .plyr__control[data-plyr="download"] {
    background-size: 1.4rem;
    width: 1.4rem;
    height: 1.7rem;
    transform: translateX(18.2rem);
    top: 1.7rem;
  }

  .es-audio-main__img {
    width: 14rem;
    height: 14rem;
  }
}

@media (max-width: 1200px) {
  .es-audio-main {
    padding: 0 25px;
    gap: 25px;
  }
}

#plList {
  height: 400px;
  overflow-y: auto;
  width: 100%;
  margin-top: 70px;
  list-style-type: none;
  padding: 0;
}

.plItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  color: var(--es-white);
  font-family: "Roboto Mono";
  padding-right: 30px;
}

.plTitle_wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.plNum_img {
  width: 72px;
  height: 72px;
  background: var(--es-green);
  box-shadow: inset 0 0 20px #000000;
  background-size: cover;
}

.plLength,
.plLengths {
  color: #adaab1;
  font-weight: 100;
}

.plLengths {
  display: none;
}

.plTitle {
  flex: 1;
}

.plTitle_subtitle {
  color: #adaab1;
}

.plTitle_text {
  flex: 1;
}

@media (max-width: 768px) {
  .es-audio h2 {
    font-size: 2.4rem;
    line-height: 120%;
  }

  .es-audio-main {
    justify-content: center;
    flex-direction: column;
  }

  .es-audio-main__content {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    margin-top: 19px;
  }

  .es-audio-main__text h6 {
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
  }

  .es-audio-main__subtitle {
    text-align: center;
    font-size: 14px;
  }

  .es-audio-main__player {
    width: 100%;
    margin-top: 30px;
  }

  .plyr__control[data-plyr="play"] {
    transform: translate(-24px);
  }

  .plyr__control[data-plyr="download"] {
    background-size: 1.4rem;
    width: 1.4rem;
    height: 1.7rem;
    left: inherit;
    right: 0;
    transform: translateX(0);
    top: 1.7rem;
  }

  .es-audio-main__player-next {
    transform: translateX(42px);
    top: 17px;
  }

  .es-audio-main__player-prev {
    transform: translateX(-61px) rotate(180deg);
    top: 16px;
  }

  .plyr__progress__container {
    width: 100%;
  }

  .plyr--full-ui input[type="range"][aria-label="Seek"] {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    top: 41px;
  }

  #plList {
    width: 100%;
    margin-top: 110px;
  }

  .plTitle {
    font-size: 14px;
    line-height: 132%;
  }

  .plNum_img {
    width: 65px;
    height: 65px;
  }

  .plTitle_subtitle {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
  }

  .plLength {
    display: none;
  }

  .plLengths {
    display: block;
  }

  .plItem {
    padding-right: 15px;
  }

  .plTitle_wrap {
    gap: 20px;
  }
}
