.ph-home-hero {
	--ph-home-hero-red: var(--ph-red, #f23d43);
	--ph-home-hero-ink: var(--ph-ink, #181818);
	--ph-home-hero-height: 620px;
	--ph-home-hero-title-size: 62px;
	--ph-home-hero-description-size: 16px;
	--ph-home-hero-button-size: 14px;
	--ph-home-hero-pagination-active: #fff;
	position: relative;
	min-height: var(--ph-home-hero-height);
	overflow: hidden;
	background: var(--ph-home-hero-ink);
	color: #fff;
	font-family: inherit;
}

.ph-home-hero__slides,
.ph-home-hero__slide,
.ph-home-hero__media,
.ph-home-hero__overlay {
	position: absolute;
	inset: 0;
}

.ph-home-hero__slide {
	z-index: 1;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease, visibility .45s ease;
}

.ph-home-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.ph-home-hero__media {
	display: block;
}

.ph-home-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--ph-home-hero-position, center center);
}

.ph-home-hero__overlay {
	z-index: 1;
	background:
		linear-gradient(90deg,
			rgba(16, 16, 16, var(--ph-home-hero-overlay, .62)) 0%,
			rgba(16, 16, 16, calc(var(--ph-home-hero-overlay, .62) * .78)) 38%,
			rgba(16, 16, 16, calc(var(--ph-home-hero-overlay, .62) * .28)) 72%,
			rgba(16, 16, 16, .08) 100%);
}

.ph-home-hero__overlay::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 120px;
	background: linear-gradient(0deg, rgba(16, 16, 16, .52), transparent);
	content: '';
}

.ph-home-hero__container {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	width: min(1220px, calc(100% - 64px));
	min-height: var(--ph-home-hero-height);
	margin: 0 auto;
	padding: 48px 0;
}

.ph-home-hero__content {
	width: min(100%, 820px);
}

.ph-home-hero__content--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.ph-home-hero__content--center .ph-home-hero__description {
	margin-right: auto;
	margin-left: auto;
}

.ph-home-hero__content--right {
	margin-left: auto;
	text-align: right;
}

.ph-home-hero__content--right .ph-home-hero__description {
	margin-right: 0;
	margin-left: auto;
}

.ph-home-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	margin: 0;
	padding: 7px 14px;
	border-radius: 6px;
	background: var(--ph-home-hero-red);
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ph-home-hero__title {
	max-width: 780px;
	margin: 20px 0 0;
	color: #fff !important;
	font-size: var(--ph-home-hero-title-size) !important;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.ph-home-hero .ph-home-hero__title,
.ph-home-hero .ph-home-hero__title a {
	color: #fff !important;
}

.ph-home-hero__description {
	max-width: 590px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .86);
	font-size: var(--ph-home-hero-description-size) !important;
	font-weight: 600;
	line-height: 1.75;
}

.ph-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
}

.ph-home-hero__content--center .ph-home-hero__actions {
	justify-content: center;
}

.ph-home-hero__content--right .ph-home-hero__actions {
	justify-content: flex-end;
}

.ph-home-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: var(--ph-home-hero-button-size) !important;
	font-weight: 900;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ph-home-hero__button:hover {
	transform: translateY(-1px);
}

.ph-home-hero__button:focus-visible,
.ph-home-hero__control:focus-visible,
.ph-home-hero__indicator:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.ph-home-hero__button--primary {
	background: var(--ph-home-hero-red) !important;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
	color: #fff !important;
}

.ph-home-hero__button--primary:hover {
	background: #cf171b !important;
	color: #fff !important;
}

.ph-home-hero__button--secondary {
	border-color: rgba(255, 255, 255, .52) !important;
	background: rgba(255, 255, 255, .1) !important;
	backdrop-filter: blur(8px);
	color: #fff !important;
}

.ph-home-hero__button--secondary:hover {
	border-color: #fff !important;
	background: #fff !important;
	color: var(--ph-home-hero-ink) !important;
}

.ph-home-hero__control {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: grid;
	width: 48px !important;
	height: 48px !important;
	place-items: center;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, .7) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .1) !important;
	backdrop-filter: blur(8px);
	color: #fff !important;
	cursor: pointer;
	font: inherit;
	font-size: 32px;
	line-height: 1;
	transform: translateY(-50%);
	transition: background-color .2s ease, color .2s ease;
}

.ph-home-hero__control .fa-solid,
.ph-home-hero__control .fas {
	display: block;
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
}

.ph-home-hero__control:hover {
	background: #fff !important;
	color: var(--ph-home-hero-ink) !important;
}

.ph-home-hero__control--previous {
	left: 20px;
}

.ph-home-hero__control--next {
	right: 20px;
}

.ph-home-hero__indicators {
	position: absolute;
	right: 32px;
	bottom: 24px;
	z-index: 4;
	display: flex;
	gap: 8px;
}

.ph-home-hero__indicator {
	width: 46px;
	height: 7px;
	padding: 0 !important;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .42);
	cursor: pointer;
	transition: width .2s ease, background-color .2s ease;
}

.ph-home-hero__indicator.is-active {
	width: 36px;
	background: var(--ph-home-hero-pagination-active) !important;
}

.ph-home-hero-editor-notice {
	padding: 24px;
	border: 1px dashed #f23d43;
	background: #fff7f7;
	color: #181818;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.ph-home-hero__container {
		width: min(100%, calc(100% - 48px));
		min-height: var(--ph-home-hero-height-tablet, 560px);
	}

	.ph-home-hero__control--previous {
		left: 14px;
	}

	.ph-home-hero__control--next {
		right: 14px;
	}
}

@media (max-width: 767px) {
	.ph-home-hero {
		min-height: var(--ph-home-hero-height-mobile, 520px);
	}

	.ph-home-hero__container {
		width: calc(100% - 40px);
		min-height: var(--ph-home-hero-height-mobile, 520px);
		padding: 40px 0 84px;
	}

	.ph-home-hero__overlay {
		background: linear-gradient(90deg, rgba(16, 16, 16, .84), rgba(16, 16, 16, .48));
	}

	.ph-home-hero__title {
		font-size: var(--ph-home-hero-title-size-mobile, 38px) !important;
	}

	.ph-home-hero__description {
		font-size: var(--ph-home-hero-description-size-mobile, 14px) !important;
		line-height: 1.65;
	}

	.ph-home-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ph-home-hero__button {
		width: min(100%, 280px);
		font-size: var(--ph-home-hero-button-size-mobile, 14px) !important;
	}

	.ph-home-hero__content--center .ph-home-hero__button,
	.ph-home-hero__content--right .ph-home-hero__button {
		width: min(100%, 280px);
	}

	.ph-home-hero__control {
		top: auto;
		bottom: 18px;
		width: 42px !important;
		height: 42px !important;
		font-size: 28px;
		transform: none;
	}

	.ph-home-hero__control--previous {
		left: 20px;
	}

	.ph-home-hero__control--next {
		right: 20px;
	}

	.ph-home-hero__indicators {
		right: 50%;
		bottom: 37px;
		transform: translateX(50%);
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.ph-home-hero__title {
		font-size: var(--ph-home-hero-title-size-tablet, 50px) !important;
	}

	.ph-home-hero__description {
		font-size: var(--ph-home-hero-description-size-tablet, 15px) !important;
	}

	.ph-home-hero__button {
		font-size: var(--ph-home-hero-button-size-tablet, 14px) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ph-home-hero__slide,
	.ph-home-hero__button,
	.ph-home-hero__indicator {
		transition: none;
	}
}
