/*! © kubstu.ru */

main.home .swiper-pagination {
	bottom: -30px !important;
	padding-bottom: 58px !important;
}

main.home .swiper-pagination-bullet {
	background: var(--color-p11) !important;
}

main.home .swiper-pagination-bullet-active {
	background: var(--color-p11) !important;
}

@media screen and (max-width:850px) {
	main.home .swiper-pagination {
		bottom: -2px !important;
		padding-bottom: 0 !important;
	}
}

/* ---- */

.home-slider {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	height: 100vh;
	z-index: 0;
}

.home-slider-item,
.home-slider-item > div {
	justify-content: center;
	align-items: center;
	width: 100%;
	background-position: center;
	background-size: cover;
}

.home-slider-item {
	display: none;
	height: 85%;
}

.home-slider-item > div {
	display: flex;
	height: 100%;
	padding: 0 0;
	color: white;
	transition: all 1s ease-in-out;
}

.home-slider-button-progress {
	height: 10px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	overflow: hidden;
}

.home-slider-button-progress > div {
	width: 0%;
	height: 100%;
	background-color: var(--color-p11);
	transition: all 1s linear;
}

.home-slider-pagination {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	justify-content: space-between;
	gap: 6%;
	position: absolute;
	bottom: 60px;
	width: 80%;
}

.home-slider-button {
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 5px;
	background-color: white;
	box-shadow: 0 2px 14px 4px rgba(0, 0, 0, .1);
	cursor: pointer;
}

.home-slider-button-text {
	padding: 25px 25px 20px 25px;
}

.home-slider-button h2 {
	color: var(--color-p11);
	font-size: 20px;
	line-height: 100%;
}

.home-slider-button p {
	padding-top: 10px;
	color: black;
	font-family: var(--font-mont);
	font-size: 14px;
	line-height: 130%;
}

.home-slider-item-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 80%;
	margin-top: 40px;
}

.home-slider-item-text h2 {
	width: 40%;
	font-size: 32px;
}

.home-slider-item-text p {
	width: 40%;
	padding-top: 10px;
	font-family: var(--font-mont);
	font-weight: 400;
	font-size: 22px;
	line-height: 130%;
}

.home-slider-item-text .button-fwd {
	margin-top: 32px;
}

.home-slider-mobile-pagination,
.home-slider-swipehint,
.home-slider-mobile-progress {
	display: none;
}

@media screen and (min-width:1920px) {
	.home-slider-button-text {
		padding: 30px 30px 25px 30px;
	}

	.home-slider-item-text h2 {
		font-size: 42px;
	}

	.home-slider-item-text p {
		padding-top: 15px;
		font-size: 24px;
	}
}

@media screen and (max-width:1440px) {
	.home-slider-pagination {
		gap: 3%;
	}

	.home-slider-button-text {
		padding: 20px 20px 15px 20px;
	}

	.home-slider-button h2 {
		font-size: 14px;
	}

	.home-slider-button p {
		padding-top: 10px;
		font-size: 12px;
	}

	.home-slider-item-text {
		margin-top: 40px;
	}

	.home-slider-item-text h2 {
		font-size: 24px;
	}

	.home-slider-item-text p {
		padding-top: 15px;
		font-size: 16px;
	}

	.home-slider-item-text .button-fwd {
		margin-top: 20px;
	}
}

@media screen and (max-width:1280px) {
	.home-slider-pagination,
	.home-slider-item-text {
		width: calc(100% - 50px);
	}

	.home-slider-button p {
		padding-top: 10px;
		font-size: 11px;
	}
}

@media screen and (min-width:851px) {
	.home-slider-item > div {
		background-image: none, none !important;
	}
}

@media screen and (max-width:850px) {
	.home-slider {
		height: 85vh;
	}

	.home-slider-pagination,
	.home-slider-item-text {
		width: calc(100% - 20px);
	}

	.home-slider-item {
		height: 100%;
		background-image: none !important;
	}

	.home-slider-button {
		display: none;
	}

	.home-slider-mobile-pagination {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 8px;
	}

	.home-slider-swipehint {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 10px;
		opacity: .5;
	}

	.home-slider-swipehint p {
		color: white;
		font-size: 14px;
	}

	.home-slider-mobile-progress {
		display: flex;
		width: 100%;
	}

	.home-slider-mobile-progress > div {
		width: 0%;
		height: 8px;
		background: var(--color-p11);
		transition: all 1s linear;
	}

	.home-slider-pagination {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 15px;
		bottom: 20px;
	}

	.home-slider-mobile-button {
		display: inline-flex;
		flex-direction: row;
		justify-content: space-between;
		width: 8px;
		height: 8px;
		border-radius: 50px;
		background-color: white;
		opacity: .5;
		cursor: pointer;
	}

	.home-slider-mobile-button.active {
		width: 24px;
		background-color: var(--color-p11);
		opacity: 1;
	}

	.home-slider-item-text {
		justify-content: center;
		align-items: center;
		position: absolute;
		bottom: 100px;
		text-align: center;
	}

	.home-slider-item-text h2 {
		width: 80%;
		font-size: 32px;
	}

	.home-slider-item-text p {
		width: 80%;
		padding-top: 14px;
	}
}

/* ---- */

.home-tabs {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	width: 80%;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	z-index: 0;
}

.home-tabs h1 {
	font-size: 32px;
	text-align: left
}

.home-tabs a {
	transition: all .2s ease-in-out;
}

.home-tabs a:not(.home-tabs-mobile-fwd):hover {
	opacity: .9;
	box-shadow: inset 0 0 10px white;
}

.home-tabs-container {
	margin-top: 32px;
	width: 100%;
}

.home-tabs-pagination {
	width: 100%;
	display: flex;
	justify-content: space-between;
	height: 82px;
	border-radius: 70px;
	background-color: var(--color-gf1);
	padding: 8px;
}

.home-tabs-button {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	min-width: 25%;
	padding: .5rem 1rem;
	border: none;
	border-radius: 70px;
	background: var(--color-gf1);
	color: black;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
}

.home-tabs-button:hover {
	background-color: var(--color-gdb);
}

.home-tabs-button.active {
	border: .1px solid white;
	background: white;
	transition: all .3s linear;
}

.home-tabs-button.active:hover {
	background-color: white;
}

.home-tabs-button img {
	height: 42px;
}

.home-tabs-swipehint {
	display: none;
}

@media screen and (max-width:1440px) {
	.home-tabs h1 {
		font-size: 24px;
	}

	.home-tabs-pagination {
		height: 72px;
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
	}

	.home-tabs-button {
		min-width: 25%;
		font-size: 18px;
	}

	.home-tabs-button img {
		height: 32px;
	}
}

@media screen and (max-width:1280px) {
	.home-tabs {
		width: calc(100% - 50px);
		margin-top: 10px;
	}
}

@media screen and (max-width:850px) {
	.home-tabs {
		width: calc(100vw - 20px);
		margin-top: 50px;
	}

	.home-tabs h1 {
		width: 100%;
		font-size: 28px;
		text-align: center;
	}

	.home-tabs-pagination {
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: 82px;
		padding: 8px;
		border-radius: 70px;
		background-color: var(--color-gf1);
		overflow-x: scroll;
	}

	.home-tabs-button {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 15px;
		min-width: 280px;
		padding: .3rem .5rem;
		border: none;
		border-radius: 70px;
		background: var(--color-gf1);
		color: black;
		font-size: 20px;
		font-weight: 600;
		cursor: pointer;
	}

	.home-tabs-button.active {
		border: .1px solid white;
		background: white;
		transition: all .3s linear;
	}

	.home-tabs-button img {
		height: 42px;
	}

	.home-tabs-swipehint {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 10px;
		margin-top: 10px;
		margin-bottom: 25px;
		opacity: .5;
	}

	.home-tabs-swipehint p {
		color: black;
		font-size: 14px;
	}

	.home-tabs-swipehint img {
		filter: invert(100%);
	}
}

/* ---- */

.home-tabs-holder h2,
.home-tabs-card-menu a {
	font-weight: 700;
	line-height: 120%;
}

.home-tabs-card-menu a {
	line-height: 110%;
}

.home-tabs-holder p {
	font-weight: 400;
	line-height: 130%;
}

.home-tabs-holder .home-tabs-player {
	width: 100%;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.home-tabs-holder iframe {
	display: block;
	width: 100%;
	max-height: 280px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	border-radius: 5px;
}

.home-tabs-mobile-fwd {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 36px;
	margin-top: 10px;
	padding: 0 30px 0 12px;
	border-radius: 5px;
	background: url(../img/icons/arrow-fwd.svg) no-repeat calc(100% - 12px) center var(--color-p11);
	color: white;
	font-size: 16px;
	font-weight: 500;
	word-wrap: break-word;
}

.home-tabs-card-menu {
	align-items: stretch !important;
	gap: 10px !important;
	padding: 0 !important;
}

.home-tabs-card-menu a {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
	border-radius: 15px;
	background-color: rgb(118, 164, 255);
	color: white;
}

@media screen and (min-width:851px) {
	.home-tabs-holder {
		display: grid;
		grid-auto-flow: column;
		justify-content: space-between;
		align-content: space-between;
		grid-template-rows: 70% 25%;
		width: 100%;
		height: 600px;
		margin-top: 22px;
		transform: none !important;
	}

	.home-tabs-holder > * {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		position: relative;
		padding: 40px;
		border-radius: 15px;
	}

	.home-tabs-holder-smm {
		grid-template-columns: 25% 35% 35%;
	}
	
	.home-tabs-holder-msm {
		grid-template-columns: 35% 25% 35%;
	}
	
	.home-tabs-holder-mms {
		grid-template-columns: 35% 35% 25%;
	}
	
	.home-tabs-holder-ml {
		grid-template-columns: 35% 62.5%;
	}
	
	.home-tabs-holder-lm {
		grid-template-columns: 62.5% 35%;
	}
	
	.home-tabs-card-s,
	.home-tabs-card-m,
	.home-tabs-card-l {
		grid-row: 1 / 3;
	}
	
	.home-tabs-card-m1,
	.home-tabs-card-l {
		flex-direction: row;
		justify-content: space-between;
	}

	.home-tabs-card-m1 > span,
	.home-tabs-card-l > span {
		width: 45%;
	}

	.home-tabs-holder h2 {
		font-size: 20px;
	}

	.home-tabs-card-menu a {
		font-size: 18px;
	}

	.home-tabs-holder p {
		margin-top: 14px;
		font-size: 16px;
	}

	div.home-tabs-mobile-fwd {
		display: none;
	}

	/* s-tall */

	.home-tabs-card-s {
		flex-direction: column;
		justify-content: space-around;
		text-align: center;
	}

	.home-tabs-card-s img {
		max-width: 100%;
		max-height: 360px;
	}

	/* m-1 */

	.home-tabs-card-m1 img {
		position: relative;
		left: 10px;
		max-width: 50%;
		max-height: 360px;
	}

	/* m-2 */

	.home-tabs-card-m2 {
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	.home-tabs-card-m2 img {
		position: relative;
		left: 10px;
		max-width: 180%;
		max-height: 180%;
		margin-left: 10px;
	}

	/* m-tall */

	.home-tabs-card-m {
		flex-direction: column;
		justify-content: space-between;
	}

	/* l-tall */

	.home-tabs-card-l img {
		max-width: 70%;
		max-height: 70%;
	}
}

@media screen and (max-width:1440px) {
	.home-tabs-holder {
		height: 400px;
	}

	.home-tabs-holder > * {
		padding: 30px;
	}

	.home-tabs-holder h2 {
		font-size: 16px;
	}

	.home-tabs-card-menu {
		gap: 8px !important;
	}

	.home-tabs-card-menu a {
		padding: 0 10px;
		font-size: 12px;
	}

	.home-tabs-holder p {
		font-size: 12px;
	}
}

@media screen and (max-width:850px) {
	.home-tabs-holder {
		display: flex;
		height: auto;
	}

	.home-tabs-content {
		padding-bottom: 20px;
	}

	.home-tabs-content .swiper-slide {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		gap: 30px;
		height: auto;
		padding: 40px;
		border-radius: 15px;
		text-align: center;
	}

	.home-tabs-holder h2 {
		font-size: 20px;
	}

	.home-tabs-card-menu a {
		font-size: 18px;
	}

	.home-tabs-holder p {
		margin-top: 30px;
		font-size: 16px;
	}

	.home-tabs-holder img {
		width: 60%;
	}
}

@media screen and (max-width:500px) {
	.home-tabs-holder img {
		width: 80%;
	}
}

/* ---- */

.home-welcome {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	width: 100%;
	min-height: 30vw;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 5px;
	background-color: var(--color-gf3);
	z-index: 0;
}

.home-welcome-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 80%;
	min-height: 30vw;
	margin-left: auto;
	margin-right: auto;
}

.home-welcome-text {
	max-width: 60%;
	padding-left: 25px;
}

.home-welcome-wrapper img {
	position: absolute;
	bottom: 0;
	width: 30vw;
	padding-top: 15px;
}

.home-welcome-text p.quote {
	font-family: var(--font-mont);
	font-size: 20px;
	line-height: 110%;
}

.home-welcome-text h3 {
	margin-top: 20px;
}

@media screen and (max-width:1920px) {
	.home-welcome-text p.quote {
		font-family: var(--font-mont);
		font-size: 26px;
	}

	.home-welcome-text h3 {
		font-size: 20px;
	}
}

@media screen and (max-width:1440px) {
	.home-welcome-text p.quote {
		font-family: var(--font-mont);
		font-size: 20px;
	}

	.home-welcome-text h3 {
		margin-top: 20px;
	}
}

@media screen and (min-width:1920px) {
	.home-welcome-text p.quote {
		font-family: var(--font-mont);
		font-size: 30px;
	}

	.home-welcome-text h3 {
		margin-top: 20px;
		font-size: 26px;
	}
}

@media screen and (max-width:850px) {
	.home-welcome {
		align-items: flex-start;
		position: relative;
		width: 100%;
		margin-top: 50px;
		border-radius: 5px;
		background-color: var(--color-gf3);
		z-index: 0;
	}

	.home-welcome,
	.home-welcome-wrapper {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		min-height: 30vw;
		margin-left: auto;
		margin-right: auto;
	}

	.home-welcome-wrapper {
		flex-direction: column-reverse;
		align-items: center;
		width: calc(100vw - 20px);
		padding-top: 40px;
	}

	.home-welcome-text {
		max-width: 100%;
		padding-left: 0;
		text-align: center;
	}

	.home-welcome-wrapper img {
		position: relative;
		bottom: 0;
		width: 70vw;
		margin-top: 20px;
		margin-bottom: -2px;
		padding-top: 15px;
	}

	.home-welcome-text p.quote {
		font-family: var(--font-mont);
		font-size: 20px;
	}

	.home-welcome-text h3 {
		margin-top: 20px;
	}
}

/* ---- */

.home-events,
.home-news {
	width: 80%;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
}

.home-events h1,
.home-news h1 {
	font-size: 32px;
	text-align: left;
}

@media screen and (max-width:1440px) {
	.home-events h1,
	.home-news h1 {
		font-size: 24px;
	}
}

@media screen and (max-width:1280px) {
	.home-events,
	.home-news {
		width: calc(100vw - 50px);
	}
}

@media screen and (max-width:850px) {
	.home-events,
	.home-news {
		width: calc(100vw - 20px);
		margin-top: 50px;
	}

	.home-events h1,
	.home-news h1 {
		width: 100%;
		font-size: 28px;
		text-align: center;
	}
}

/* ---- */

.home .events-list {
	display: grid;
	grid-auto-flow: column;
	justify-content: space-between;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	column-gap: 5%;
	row-gap: 24px;
	padding-top: 42px;
}

.home .events-list > div {
	display: flex;
	flex-direction: column;
}

.home .events-list > div > div {
	margin-left: 18px;
	margin-right: 18px;
}

.home .events-list > .events-card-prime {
	grid-row: 1 / 4;
	padding-top: 0;
}

.home .events-card-cover {
	flex: 1 1 auto;
	aspect-ratio: 3 / 2;
	margin-bottom: 18px;
	border-radius: 15px 15px 0 0;
	background-position: center;
	background-size: cover;
}

.home .events-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.home .events-card-date span {
	display: none;
}

.home .events-card-title {
	margin-top: 16px;
}

.home-events .button-fwd {
	margin-top: 42px;
}

@media screen and (max-width:1440px) {
	.home .events-list {
		column-gap: 2%;
	}
}

@media screen and (max-width:1280px) {
	.home .events-list {
		row-gap: 12px;
	}

	.home-events .button-fwd {
		margin-top: 30px;
	}
}

@media screen and (max-width:850px) {
	.home .events-list {
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.home .events-card-prime {
		grid-row: auto;
	}
}

/* ---- */

.home-news-container {
	width: 80vw;
	padding: 32px 0 62px;
}

.home .news-card {
	width: 500px;
	height: 700px;
}

.home .news-card-img {
	padding-bottom: 35px;
}

.home .news-card-desc {
	top: -35px;
	padding: 25px;
}

.home .news-card-title {
	margin-top: 22px;
	font-size: 22px;
}

.home .news-card-date {
	font-size: 16px;
}

.home-news-container .swiper-button-prev,
.home-news-container .swiper-button-next {
	opacity: 0;
	text-shadow: 0 0 6px var(--color-g90);
}

.home-news-container:hover .swiper-button-prev,
.home-news-container:hover .swiper-button-next {
	opacity: .8;
}

@media screen and (max-width:1440px) {
	.home .news-card {
		width: 400px;
		height: 500px;
	}

	.home .news-card-desc {
		height: 48%;
		padding: 20px;
	}

	.home .news-card-title {
		margin-top: 18px;
		font-size: 18px;
	}

	.home .news-card-date {
		font-size: 14px;
	}
}

@media screen and (max-width:1280px) {
	.home-news-container {
		width: calc(100vw - 50px);
	}
}

@media screen and (max-width:850px) {
	.home-news-container {
		width: calc(100vw - 20px);
		padding: 32px 0;
	}

	.home .news-card {
		width: calc(100vw - 20px);
		height: 570px;
	}

	.home .news-card-img {
		width: 100%;
		padding-bottom: 30px;
	}

	.home .news-card-desc {
		top: -30px;
		height: 45%;
	}

	.home .news-card-title {
		margin-top: 22px;
		font-size: 22px;
	}

	.home .news-card-date {
		font-size: 16px;
	}
}

/* ---- */

.home-partners {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	width: 80%;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	z-index: 0;
}

.home-partners-slide {
	width: 80vw;
	height: 200px;
	padding-top: 32px;
}

.home-partners-slide > div {
	gap: 120px;
}

.home-partners h1 {
	font-size: 32px;
	text-align: left;
}

.home-partners-slide img {
	width: 170px;
}

.home-partners-slide-img {
	display: flex;
	align-items: center;
	width: 40%;
	height: 70%;
}

@media screen and (max-width:1440px) {
	.home-partners h1 {
		font-size: 24px;
	}
}

@media screen and (max-width:1280px) {
	.home-partners {
		width: calc(100% - 50px);
	}

	.home-partners-slide {
		width: calc(100vw - 50px);
	}
}

@media screen and (max-width:850px) {
	.home-partners {
		width: calc(100% - 20px);
		margin-top: 50px;
	}

	.home-partners-slide {
		width: calc(100vw - 20px);
	}

	.home-partners h1 {
		width: 100%;
		font-size: 28px;
		text-align: center;
	}
}
