/* Hero widget (Puya\Elementor\Hero). The site header is fixed and transparent over the top of the hero. */
.puya-hero {
	--puya-hero-blue: #00263a;
	--puya-hero-ink: 0, 20, 31;
	position: relative;
	display: flex;
	height: 820px;
	overflow: hidden;
	background: rgb(var(--puya-hero-ink));
	color: #fff;
	font-family: "Jost", sans-serif;
}

.puya-hero .puya-hero__image,
.puya-hero .puya-hero__video,
.puya-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.puya-hero .puya-hero__image,
.puya-hero .puya-hero__video {
	max-width: none;
	object-fit: cover;
	object-position: 60% 40%;
}

.puya-hero__video {
	opacity: 0;
	transition: opacity 400ms ease-out;
}

.puya-hero.is-playing .puya-hero__video {
	opacity: 1;
}

.puya-hero__shade {
	background: rgba(var(--puya-hero-ink), var(--puya-hero-shade, 0.45));
}

/* Wide screens: the site header is fixed over the hero; 230px clears its band (110px) plus the design's 120px of air.
   Below 992px the theme's phone header sits in the page flow above the hero instead, so no clearance is needed. */
.puya-hero__content {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 40px;
}

@media (min-width: 992px) {
	.puya-hero__content {
		padding-top: 230px;
	}
}

.puya-hero .puya-hero__title,
.puya-hero .puya-hero__text {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: "Jost", sans-serif;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.puya-hero .puya-hero__title {
	max-width: 820px;
	font-size: 55px;
	line-height: 55px;
}

.puya-hero .puya-hero__text {
	max-width: 640px;
	font-size: 24px;
	line-height: 28.8px;
}

.puya-hero__actions {
	margin: 0;
	padding-top: 8px;
}

.puya-hero .puya-hero__button {
	display: inline-block;
	padding: 18px 30px;
	border-radius: 30px;
	background: var(--puya-hero-blue);
	color: #fff;
	font: 500 18px/28.8px "Jost", sans-serif;
	text-decoration: none;
	transition: background-color 150ms ease-out, color 150ms ease-out;
}

.puya-hero .puya-hero__button:hover {
	background: #fff;
	color: var(--puya-hero-blue);
}

.puya-hero .puya-hero__button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.puya-hero {
		height: 640px;
	}

	.puya-hero__content {
		padding: 40px 20px;
	}

	.puya-hero .puya-hero__title {
		font-size: 38px;
		line-height: 42px;
	}

	.puya-hero .puya-hero__text {
		font-size: 19px;
		line-height: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.puya-hero__video,
	.puya-hero .puya-hero__button {
		transition: none;
	}
}
