/**
 * Home hero panel styles.
 */

.panel-home-hero {
	.slick-track {
  		display: flex !important;
  		align-items: stretch;
	}

	.slick-slide {
	}

	.slick-slide > .panel-home-hero__slide-inner {
	  height: 100%;
	}
}

.panel-home-hero {
	position: relative;
	overflow-x: clip;
	overflow-y: visible;
	background: #1A1A4A;
	margin-top: calc(var(--ppi-header-height, 80px) * -1);
	padding-top: var(--ppi-header-height, 80px);
}

.panel-home-hero.background-cut-left::before {
	z-index:9;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='198' viewBox='0 0 1440 198' fill='none'%3E%3Cpath d='M0 0H1440V198H0Z M1440 0H0L100 198H1440V0Z' fill='%23F4F4F6' fill-rule='evenodd'/%3E%3C/svg%3E%0A");
}

.panel-home-hero .slick-list,
.panel-home-hero .slick-track {
	height: 100%;
}

.panel-home-hero__slide {
	position: relative;
	min-height: 572px;
	outline: none;
}

.panel-home-hero__slide-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(280px, 700px) minmax(320px, 1fr);
	align-items: flex-start;
	gap: 32px;
	min-height: 572px;
	padding-top: 8rem;
	padding-bottom: 30px;
}

.panel-home-hero__content {
	color: #fff;
	height: 100%;
	padding-bottom: 50px;
	position: relative;
}

.panel-home-hero__title {
	margin: 0 0 24px;
	font-size: clamp(38px, 4.2vw, 61px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -1.22px;
}

.panel-home-hero__subtitle {
	margin: 0 0 32px;
	max-width: 588px;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.4;
	color: #fff;
}

.panel-home-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 5px 21px;
	border: 2px solid var(--ppi-blue, #089ef7);
	border-radius: 30px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
	position: absolute;
	bottom: 60px;
}

.panel-home-hero__button:hover,
.panel-home-hero__button:focus {
	background-color: var(--ppi-blue, #089ef7);
	color: #fff;
	text-decoration: none;
}

.panel-home-hero__media {
	position: absolute;
	z-index:1;
	top:0;
	left:45%;
	right:0;
	bottom:0;
	pointer-events:none;
	background-image: url(../../images/hero-radial-gradient.png);
	background-position:-156px 20%;
	background-repeat:no-repeat;

	@media (max-width: 575px){
		background-image: none;
	}
}

.panel-home-hero__image {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	clip-path: polygon(26px 0, 100% 0, 100% 100%, 366px 100%);
}

.panel-home-hero__image-accent {
	height: 100%;
	width: auto;
	max-width: none;
	background:#089EF7;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 340px 100%);
	pointer-events: none;
}

.panel-home-hero__controls-wrap {
	position: relative;
	z-index: 5;
	padding-bottom: 8px;
}

.panel-home-hero__controls {
	display: flex;
	align-items: center;
	gap: 24px;
}

.panel-home-hero__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
}

.panel-home-hero__arrow img {
	display: block;
	width: 12px;
	height: 48px;
}

.panel-home-hero__dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.panel-home-hero__dots .slick-dots {
	position: static;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	width: auto;
	list-style: none;
}

.panel-home-hero__dots .slick-dots li {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0;
}

.panel-home-hero__dots .slick-dots li button {
	display: block;
	width: 20px;
	height: 2px;
	padding: 0;
	border: 0;
	background: #fff;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}

.panel-home-hero__dots .slick-dots li button:before {
	content: none;
}

.panel-home-hero__dots .slick-dots li.slick-active button {
	background: var(--ppi-blue, #089ef7);
}

.panel-home-hero__partners {
	position: relative;
	z-index: 4;
	width: 100%;
	background: var(--ppi-navy, #1a1a4a);
	margin-top: -24px;
}

.panel-home-hero__partners-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 24px 57px;
	min-height: 143px;
}

.panel-home-hero__partner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.panel-home-hero__partner img {
	display: block;
	max-width: 200px;
	max-height: 70px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.panel-home-hero__partner a {
	display: inline-flex;
	align-items: center;
}

@media only screen and (max-width: 1199px) {
	.panel-home-hero__slide-inner {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-bottom: 160px;
	}

	.panel-home-hero__media {
		justify-self: stretch;
		max-width: none;
		margin-top: 0;
		aspect-ratio: auto;
		max-height: none;
	}

	.panel-home-hero__content {
		max-width: 50%;
		min-height: 328px;
	}

	.panel-home-hero__partners-inner {
		display: grid;
	    grid-template-columns: 1fr 1fr;
	    grid-template-rows: 1fr 1fr;
	    padding: 30px 20px 30px 100px;
	}

/*	.panel-home-hero__image {
		clip-path: none;
		height: auto;
		max-height: 420px;
	}

	.panel-home-hero__image-accent {
		left: -8%;
		right: -20%;
		top: -40px;
		height: 120%;
	}
*/
	.panel-home-hero__controls-wrap {
		margin-top: -148px;
	}

	.panel-home-hero__button {
		bottom: 0;
	}
}

@media only screen and (max-width: 767px) {
	.panel-home-hero__slide {
		min-height: auto;
	}

	.panel-home-hero__title {
		font-size: 36px;
		letter-spacing: -0.5px;
	}

	.panel-home-hero__subtitle {
		font-size: 18px;
	}

	.panel-home-hero__partners-inner {
		justify-content: center;
	}

	.panel-home-hero__partner img {
		max-width: 100%;
	}

	.panel-home-hero__slide.class-worker .panel-home-hero__image {
		object-position: 30% top;
	}

	.panel-home-hero__content {
        min-height: 408px;
	}
}

@media only screen and (max-width: 575px) {
	.panel-home-hero__button {
		font-size: 14px;
	}

	.panel-home-hero__partners-inner {
		padding-left: 20px;
        grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 22px;
        min-height: 0;
	}
	
	.panel-home-hero__partners .panel-home-hero__partners-inner > div:nth-of-type(2) {
		padding-top: 6px;
	}

	.panel-home-hero.background-cut-left::before {
		background-image: none;
	}

	.panel-home-hero__content {
        max-width: 100%;
	}

	.panel-home-hero__title {
		max-width: 66%;
		font-size: 32px;
	}

	.panel-home-hero__title br {
		display: none;
	}

	.panel-home-hero__subtitle {
		max-width: 72%;
	}

	.panel-home-hero__slide-inner {
		padding-top: 3rem;
        padding-bottom: 43px;
	}

	.panel-home-hero__arrow {
		display: none !important;
	}

	.panel-home-hero__controls {
		justify-content: flex-end;
        margin-top: -43px;
        position: absolute;
        right: 20px;
	}

	.panel-home-hero__controls-wrap {
		margin-top: -20px;
	}

	.panel-home-hero__image {
		clip-path: polygon(15vw 0, 100% 0, 100% 100%, 72vw 100%);
	}

	.panel-home-hero__image-accent {
		clip-path: polygon(13vw 0, 100% 0, 100% 100%, 70vw 100%);
	}

}

@media only screen and (max-width: 460px) {
	.panel-home-hero__content {
		min-height: 390px;
	}
}
