@media (max-width: 768px) {
    .mobile-trailer-text {
        display: block!important;
        text-align: center;
    }
}
.trailer-close {
    position: absolute;
    right: 0;
    font: 50px / 1.4 Ruda;
    margin-top: -30px;
    margin-right: 7px;
    cursor: pointer;
}
.mobile-trailer-text {
    display: none;
    font-size: 22px;
    color: var(--main-accent-color);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 10px;
}
@media only screen and (max-width: 667px) {
    .modal-content {
    width: 95%!important;
    top: 50%!important;
}}
.season_video img.fit.lazy-loaded {
    float: left;
    width: 100%;
    /* Дополнительные стили, если нужно */
}
.trailerModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.8); /* Затемнение заднего фона */
}

.modal-content {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.modal-content {
    background-color: #000000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

.trailer-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.trailer-close:hover,
.trailer-close:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}