/* Заголовки */
.page__header h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page__header h2.subtitle {
  font-size: 18px;
  font-weight: 400;
  margin-top: -10px;
  color: #888;
}

/* Постер */
.item__label {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 3px;
  font-weight: 500;
  background-color: rgba(17, 101, 180, 0.76);
  color: #fff;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 155px;
}

.item__btn-info { display: none !important; }

/* Новое — раскрываем лейбл */
.item:hover .item__label {
  white-space: normal;     /* разрешаем переносы */
  overflow: visible;       /* ничего не обрезаем */
  text-overflow: unset;    /* убираем многоточие */
  max-width: 240px;        /* задаём, если нужно, большую ширину */
  z-index: 10;             /* поверх всего внутри карточки */
}

/* Рейтинг */
.page__ratingscore-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #444;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Актёры — свернутые */
.actors-collapse {
  display: block;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Комментарии */
.page__comments-info {
  padding: 10px;
  background: #f7f7f7;
  border-left: 4px solid #ffcc00;
  margin-bottom: 15px;
  font-size: 14px;
}
.page__list-rates-item.kp {
  box-shadow: inset 0 0 0 2px #f60;
}
.page__list-rates-item {
    line-height: 30px;
    border-radius: 3px;
    text-align: center;
    width: 48%;
    margin-top: 7px;
    font-size: 14px;
    font-weight: 600;
}
.page__info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;               /* расстояние между колонками и строками */
}

/* первые два списка — по 50% ширины контейнера минус половина gap */
.page__info-list > .page__list:nth-child(-n+2) {
  flex: 0 1 calc(50% - 10px);
}

/* третий список — на всю ширину, переносится на новую строку */
.page__info-list > .page__list:nth-child(3) {
  flex: 1 1 100%;
}
/* Оверлей на весь экран */
.player-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

/* Контейнер для iframe */
.player-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

/* Сам iframe */
.player-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 10px;
  right: 18px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #ccc;
}