/*! Scrollyeah - v0.3.2 - 2014-04-11
* https://github.com/artpolikarpov/scrollyeah
* Copyright (c) 2014 Artem Polikarpov; Licensed MIT */
.scrollyeah {
  position:relative;
  overflow:hidden;
  cursor:default;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  *zoom:1;
  margin:0;
}

.scrollyeah__wrap {
  overflow:hidden;
  *zoom:1;
}

.scrollyeah__shaft {
  float:left;
}

.scrollyeah__shaft, .scrollyeah__parallax {
  left:0;
  position:relative;
}

.scrollyeah_active .scrollyeah__shaft {
  cursor:move;
  cursor:-webkit-grab;
  cursor:-o-grab;
  cursor:-ms-grab;
  cursor:grab;
  *cursor:move !important;
}
.scrollyeah_active .scrollyeah__shaft_grabbing, .scrollyeah_active .scrollyeah__shaft_grabbing * {
  cursor:-webkit-grabbing;
  cursor:-o-grabbing;
  cursor:-ms-grabbing;
  cursor:grabbing;
}

.scrollyeah__shadow {
  display:block;
  position:absolute;
  text-decoration:none;
  top:0;
  bottom:0;
  width:10px;
  height:auto;
  -webkit-transition-property:left, right;
  transition-property:left, right;
  -webkit-transition-duration:333ms, 333ms;
  transition-duration:333ms, 333ms;
  -webkit-transition-timing-function:cubic-bezier(0.1, 0, 0.25, 1), cubic-bezier(0.1, 0, 0.25, 1);
  transition-timing-function:cubic-bezier(0.1, 0, 0.25, 1), cubic-bezier(0.1, 0, 0.25, 1);
  z-index:10;
  *display:none !important;
  background-repeat:no-repeat;
  background-size:1px 100%, 5px 100%;
}

.scrollyeah__shadow_prev {
  left:-10px;
  background-image:-webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), -webkit-radial-gradient(0 50%, farthest-side, rgba(0, 0, 0, 0.5), transparent);
  background-image:linear-gradient(transparent, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), radial-gradient(0 50%, farthest-side, rgba(0, 0, 0, 0.5), transparent);
  background-position:0 0, 0 0;
}

.scrollyeah__shadow_next {
  right:-10px;
  background-image:-webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), -webkit-radial-gradient(100% 50%, farthest-side, rgba(0, 0, 0, 0.5), transparent);
  background-image:linear-gradient(transparent, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), radial-gradient(100% 50%, farthest-side, rgba(0, 0, 0, 0.5), transparent);
  background-position:100% 0, 100% 0;
}

.scrollyeah_shadow .scrollyeah__shadow_prev {
  left:0;
}
.scrollyeah_shadow .scrollyeah__shadow_next {
  right:0;
}

.scrollyeah_shadow_no-left .scrollyeah__shadow_prev {
  left:-10px;
}

.scrollyeah_shadow_no-right .scrollyeah__shadow_next {
  right:-10px;
}

/* VERTICAL VIDEO */

.scrollyeah-video {
	position:relative;
	float:left;
    width:200px;
    height:386px;
	margin:0 15px 0 0;
	/*overflow:hidden;
	border-radius:8px;*/
}

.scrollyeah-video img {
	margin:15px 0 15px 0;
	width:200px;
	height:356px;
	/*border-radius:8px;*/
}

/* BOOK */

.scrollyeah-book {
	position:relative;
	float:left;
    width:300px;
    height:255px;
	margin:0;
}

.scrollyeah-book img {
	margin:15px 0 15px 0;
	width:300px;
	height:225px;
}

.scrollyeah-book button {	
	position:absolute;
	background:rgba(255, 255, 255, 0.5);
	border-radius:4px;
	border:none;
	padding:2px 8px 4px 8px;
	left:0;
	bottom:50px;
	font-size:14px;
	font-weight:bold;
	line-height:1.5em;
	max-width:275px;
	color:#fff;
}

.scrollyeah-book button a,
.scrollyeah-book button a:link,
.scrollyeah-book button a:visited {
  color: var(--headingsColor);
  border-color: var(--headingsUnderlineColor);
}

.scrollyeah-book button a:hover,
.scrollyeah-book button a:active {
  color: var(--hoverColor);
  border-color: var(--hoverUnderlineColor);
}

@media screen and (min-width:640px) {
	.scrollyeah-book {
		position:relative;
		float:left;
		width:400px;
		height:330px;
		margin:0;
	}
	.scrollyeah-book img {
		margin:15px 0 15px 0;
		width:400px;
		height:300px;
	}
	.scrollyeah-book button {
		visibility:hidden;
		display:none;
	}
}


/* ALICE SKILLS */

.scrollyeah-alice {
	position:relative;
	float:left;
    width:275px;
    height:184px;
	margin:0;
}

.scrollyeah-alice-body {
	margin:15px 0 15px 0;
	width:275px;
	height:154px;
}

.scrollyeah-alice-bg {
	background-color:#f0f0f0;
	border-radius:15px 15px 0 15px;
	padding:20px 15px 0 15px;
	height:140px;
}

.scrollyeah-alice-bg h3 {
	font-size:20px!important;
	font-weight:560!important;
	margin:0 0 10px 0!important;
}

.scrollyeah-alice-bg button {	
	position:absolute;
	background-color:#7f5bcf;
	border-radius:4px 15px 15px 15px;
	height:30px;
	border:none;
	padding:2px 14px 2px 14px;
	right:-15px;
	bottom:15px;
	font-size:15px;
	font-weight:500;
	color:#fff;
	cursor:pointer;
}

.scrollyeah-alice button a,
.scrollyeah-alice button a:link,
.scrollyeah-alice button a:visited {
  border:none;
}

.scrollyeah-alice button a:hover,
.scrollyeah-alice button a:active {
  border:none;
}


/* PROMO SQUARE */

.scrollyeah-square {
	position:relative;
	float:left;
    width:200px;
    height:230px;
	margin:0 15px 0 0;
	overflow: hidden;
}

.scrollyeah-square img {
	margin:15px 0 15px 0;
	width:200px;
	height:200px;
}

.gradient-overlay {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    pointer-events:none; /* Позволяет взаимодействовать с изображением под градиентом */
	height:115px;
	margin-top:100px;
}

.scrollyeah-square a,
.scrollyeah-square a:link,
.scrollyeah-square a:visited {
	position:absolute;
	left:12px;
	bottom:28px;
	font-size:16px;
	font-weight:580;
	color:var(--whiteColor);
	border-color:var(--whiteUnderlineColor);
}

.scrollyeah-square a:hover,
.scrollyeah-square a:active {
  color:var(--hoverColor);
  border-color:var(--hoverUnderlineColor);
}

/* FRONTPAGE NOTES */

.scrollyeah-frontnote {
	position:relative;
	float:left;
	width:480px;
 	margin:0 10px 0 0;
}

.scrollyeah-frontnote-block {
	position:relative;
	isolation:isolate;

	width:100%;
	aspect-ratio:16 / 9;
	margin:15px 0;

	overflow:hidden;
	border-radius:20px;
	background:#222;
}

/* Изображение заполняет контейнер без искажения */
.scrollyeah-frontnote-block img {
	display:block;
	width:100%;
	height:100%;

	object-fit:cover;
	object-position:center;
}

/* Затемнение нижней половины изображения */
.scrollyeah-frontnote-block::after {
	content:"";
	position:absolute;
	right:0;
	bottom:0;
	left:0;
	height:50%;
	z-index:1;

    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0) 100%
    );
	
	  /*-webkit-backdrop-filter: blur(8px);
	  -moz-backdrop-filter: blur(8px);
	  -o-backdrop-filter: blur(8px);
	  backdrop-filter: blur(8px);*/

	pointer-events:none;
}

/* Заголовок поверх градиента */
.scrollyeah-frontnote-block h2 {
	position:absolute;
	right:20px;
	top:160px;
	left:20px;
	z-index:2;

	margin:0;
	font-size:26px;
	line-height:30px;
	font-weight:bold;
	color:#fff;
	overflow-wrap:anywhere;
	
	text-shadow:0px 3px 2px rgba(0,0,0,0.3),
                0px 6px 8px rgba(0,0,0,0.3),
                0px 12px 24px rgba(0,0,0,0.3);
}

.scrollyeah-frontnote-block h2 a {
	color: inherit;
}