@import url("/static/ab_movies/styles/components/home_corousel.502becec24c5.css");

.release-banner__container {
	position: relative;
	/* margin-top: 5.5rem; */
	width: 100%;
	height: 85vh;
}

.release__banner{
	display: block;
	margin-left: auto;
	/* width: 100%; */
	height: 100%;
}

.release-banner__container::after{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at right, rgba(0, 0, 0, 0) 0%,rgb(0, 0, 0) 80%,rgb(0, 0, 0) 100%);
}

.banner__border_left {
	position: absolute;
	top: 0;
	left: 0;
	width: 35%;
	height: 100%;
	background-color: black;
	filter: blur(4rem);
}

.banner__border_bottom{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 15%;
	background-color: black;
	filter: blur(2rem);
}

.banner__content {
	position: absolute;

	display: flex;
	flex-direction: column;
	justify-content: space-between;

	top: 35%;
	left: 50%;
	translate: -50%;
	height: 65%;
	z-index: 1;
}

.watch__btn-container {
	width: 100%;
}

.watch__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	/* margin: 2rem 0; */
	min-width: 18rem;
	height: 4rem;
	cursor: pointer;
	filter: brightness(.9);
	background-color: var(--text-color-emphasis);
	border: none;
	border-radius: 5px;
	font-size: 1.5rem;
}

.svg-play-icon {
	fill: #fff;
	width: 20px;
	height: 20px;
}

.watch__btn:hover {
	filter: drop-shadow(0 0 15px #01ae4cab) brightness(1);
}

.share-btn {
	/* margin: 2rem 0; */
	width: 4rem;
	height: 4rem;
	transition: all .2s ease-out;
	background-color: #252027;
	border: 0;
	border-radius: 5px;
	filter: brightness(.9);
}

.share-btn:hover {
	filter: brightness(1);
}

.share-icon {
	width: 50%;
	height: 50%;
	fill: #fff;
}

.banner__content_main {
	position: absolute;
	bottom: 17vh;
	left: 0;
	height: fit-content;
	width: 30vw;
}

.banner__content-switches {
	display: flex;
	gap: 1rem;
}

.banner__switch-button {
	border: none;
	background: none;
	margin: 1rem 0 1rem 0;
	font-size: 1.5rem;
	color: var(--text-color-primary);
	opacity: .5;
	transition: all .3s;
}

.banner__switch-button:active, .banner__switch-button:focus, .banner__switch-button:hover {
	opacity: 1;
}

.release__info-container {
	position: relative;
	min-height: 14rem;
	min-width: 25rem;
	max-width: 41rem;
	height: fit-content;
	padding: .7em 0;
}

.release__info {
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	opacity: 0;
	transition: all .3s;
}

.release__info[data-release-info-state="visible"] {
	visibility: visible;
	opacity: 1;
}

.release__info[data-release-info-state="hidden"] {
	visibility: hidden;
	opacity: 0;
}

.release__info-text_title {
	font-size: clamp(1.2rem, 1.6vh, 1.4rem);
	margin: 0;
	padding: 0;
	filter: brightness(.8);
}

.release__info-text {
	font-size: clamp(1.2rem, 1.6vh, 1.4rem);
}

.release__rating {
	font-weight: bold;
	background-color: var(--text-color-emphasis);
	padding: 0 1.5rem;
	clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.release__info-text_hero {
	font-size: clamp(1rem, 1.4vh, 1.2rem);
	filter: brightness(.7);
	text-wrap: nowrap;
}

.release__info-text_genres {
	text-transform: lowercase;
}

.banner__content_additional {
	position: absolute;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 1rem;
}


/* release_detail style */

.subtitle__container {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.release__rus-title {
	font-size: 2.3rem;
	font-weight: bolder;
	padding: 0;
	margin-top: 0;
	margin-bottom: 5px;
  }

  .dot__divider {
	width: 14px;
	height: 14px;
	fill: var(--text-color-emphasis);
	filter: brightness(1.2);
  }

  .favorite-icon {
	width: 36px;
	filter: brightness(0.5);
	cursor: pointer;
	transition: all 200ms ease;
  }

  .favorite-icon:hover {
	filter: brightness(1);
  }
  
  .favorite-icon:active {
	transform: translateY(1px);
  }

  .release__orig-title {
	font-size: 1.6rem;
	filter: brightness(1);
	color: var(--text-color-emphasis);
	font-weight: bolder;
	margin: 0;
	padding: 0;
  }

  .release-description__limiter {
	position: relative;
	min-width: 28rem;
	width: 100%;
  }
  
  .description__text {
	font-size: clamp(1.2rem, 1.6vh, 1.4rem);
	overflow: hidden; 
	text-overflow: ellipsis;
	display: -webkit-box; 
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
	max-height: 3em; /* 3 строки текста */
	opacity: 1;
  }

  .description-activate {
	-webkit-line-clamp: unset; /* Убираем ограничение строк */
	max-height: 500px; /* Достаточно большое значение */
	/* opacity: 1;
	overflow: visible; */
  }
  
  .description__effect {
	position: absolute;
	bottom: 0;
	left: -2.5%;
	width: 105%;
	height: 98%;
	background: linear-gradient(transparent, rgba(0, 0, 0, .9));
	transition: opacity 0.3s ease-in-out;
	filter: blur(1.5rem);
  }

  .effect-activate {
	opacity: 0;
  }

  .description__show-more {
	display: block;
	margin: 0.5rem 0 0 auto;
	border: none;
	background: none;
	cursor: pointer;
	opacity: 0.5;
	font-size: 1.2rem;
  }

  .description__show-more span {
	color: var(--text-color-emphasis-secondary);
  }

  .description__show-more span:hover {
	color: var(--text-color-emphasis);
  }

  .description__show-more:hover {
	opacity: 1;
	color: var(--text-color-emphasis);
  }

  .description-activate {
	text-overflow: unset;
	display: block; 
  }
  
/* blog news start */

.release-banner__btn-container {
	margin-top: 2em;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	width: fit-content;
	height: fit-content;
}

.btn-circle {
	position: relative;
	width: 36px;
	height: 36px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 100%;
  }
  
  .news__slider-btn {
	border-radius: 100%;
	width: 100%;
	height: 100%;
	position: absolute;
	border: none;
	background: none;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  }
  
  .news__slider-img {
	width: 100%;
	height: 100%;
	transform: scale(0.4);
	transition: all 0.1s;
  }
  
  .news__slider-btn:hover .news__slider-img {
	transform: scale(0.5);
	filter: brightness(2);
  }
  
  .news__slider-btn:active .news__slider-img {
	transform: scale(0.4);
  }
  
  .news__slider-img_next {
	transform: scale(0.4) rotate(180deg);
  }
  
  .news__slider-btn:hover .news__slider-img_next {
	transform: scale(0.5) rotate(180deg);
	filter: brightness(2);
  }
  
  .news__slider-btn:active .news__slider-img_next {
	transform: scale(0.4) rotate(180deg);
  }
  
  .news__indicator {
	width: 1px;
	height: 60%;
	background: rgba(255, 255, 255, 0.5);
  }
  
  .news__indicator-icon {
	width: 7px;
	height: 18px;
	background: #fff;
	transform: translateX(-50%);
  }
  
/* comment start */

  .user__profile-image {
	width: 85px;
	height: 85px;
	object-fit: cover;
	object-position: center;
	border-radius: 100%;
  }
  
  .comments {
	background: rgba(32, 32, 32, .1);
	backdrop-filter: blur(1px);
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
	padding: 10px 15px;
	border-radius: 1%;
  }
  
  .comment__container {
	display: flex;
	justify-content: space-between;
	width: 100%;
  }
  
  .comment__input {
	width: 100%;
	height: 50%;
	background: none;
	border: none;
	transition: all .5s ease;
	vertical-align: text-bottom; 
	padding-top: 0.5rem;
	font-size: 18px;
  }
  
  .comment__input:focus {
	outline: 0;
	outline-offset: 0;
	border-bottom: 1px solid gray;
	backdrop-filter: blur(1px);
  }
  
  .comments__list {
	list-style: none;
	margin: 3rem 0;
	padding: 0 1rem;
  }

  .similar-releases {
	margin-top: 5vh;
  }