/**
 * Hero block styles.
 * BEM methodology. Desktop 1440px.
 * Background: full viewport width. Content: max 1440px centered.
 *
 * @package Harmony
 */

/* Block wrapper - full viewport width */
.wp-block-acf-harmony-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.hero p,
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5 {
	margin: 0;
}

.btn-hover--wrap{
	cursor: pointer;
}

.btn-hover--wrap:hover .btn-hover .btn-text-slider{
	transform: translateY(-100%);
} 

.btn-hover--wrap:hover .btn-hover .btn-text-item:nth-child(2) {
    opacity: 1;
}






.hero {
	position: relative;
	width: 100%;
	min-height: 786px;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	bottom: 45%;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: var(--white-ffffff);
	z-index: 99;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 45%;
	background-color: var(--white-ffffff);
	z-index: 99;
}

/* Full viewport width background - decorative layer only */
.hero__background {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	min-width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	pointer-events: none;
}

.hero__background::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
	pointer-events: none;
	z-index: 1;
}

/* Background slider - multiple images with fade */
.hero__background--slider {
	overflow: hidden;
}

.hero__background-slides {
	position: absolute;
	inset: 0;
}

.hero__background-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease;
}

.hero__background-slide--active {
	opacity: 1;
	z-index: 0;
}

/* Content container - flex, standard flow */
.hero__inner {
	position: relative;
	max-width: 1440px;
	min-height: 786px;
	margin: 0 auto;
	padding: 46px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	z-index: 1;
}

.hero__bottom {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
}

/* CTA card - promotional block */
.hero__cta-card {
	flex-shrink: 0;
	width: 458px;
	max-width: 100%;
	border: 11px solid var(--white-ffffff);
	border-radius: 0;
	background: transparent;
}

.hero__cta-card-inner {
	width: 255px;

	margin-left: auto;
	background: var(--white-ffffff);
	padding: 9px 20px;
}

.hero__cta-card-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 27px;
	max-width: 230px;
}

.hero__cta-card-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.hero__cta-card-title {
	margin: 0;
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 17px;
	text-transform: uppercase;
	color: var(--black-292929);
}

.hero__cta-card-text {
	margin: 0;
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 129%;
	color: var(--grey-808080);
}

.hero__cta-card-text p {
	margin: 0 0 0.5em;
}

.hero__cta-card-text p:last-child {
	margin-bottom: 0;
}

.hero__cta-card-text ul {
	margin: 0 0 0.5em;
	padding-left: 1.2em;
	list-style: disc;
}

.hero__cta-card-btn-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 12px;
	background-color: rgba(234, 210, 134, 1);
	border: 1px solid rgba(237, 254, 255, 1);
	border-radius: 0;
}

.hero__cta-card-btn {
	display: inline-block;
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 14px;
	text-transform: lowercase;
	color: var(--black-292929);
	text-decoration: none;
}

a.hero__cta-card-btn:hover {
	color: var(--black-292929, #292929);
	text-decoration: none;
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 624px;
	gap: 20px;
}

.hero__title {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 58px;
	line-height: 102%;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: var(--white-ffffff);
}

.hero__description {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 15px;
	color: #edfeff;
	max-width: 456px;
}

.hero__description p {
	margin: 0 0 0.5em;
}

.hero__description p:last-child {
	margin-bottom: 0;
}

.hero__location {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}

a.hero__location:hover {
	text-decoration: none;
	color: inherit;
}

.hero__location-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.hero__location-icon svg {
	width: 18px;
	height: 21px;
}

.hero__location-text {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 16px;
	text-decoration: underline;
	text-decoration-skip-ink: none;
	color: var(--white-ffffff);
}

.hero__location-row {
	display: flex;
	align-items: center;
}

.hero__scroll-dot {
	display: none;
}

@media (max-width: 1300px){
	.hero__content{
		max-width: 48%;
	}
}

/* Mobile: 550px and below */
@media (max-width: 769px) {
	.hero {
		min-height: 620px;
	}

	.hero::before,
	.hero::after {
		display: none;
	}

	.hero__inner {
		min-height: 620px;
		padding: 14px 14px 24px;
	}

	.hero__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.hero__content {
		max-width: none;
		width: 100%;
		gap: 18px;
	}

	.hero__title {
		font-size: 46px;
	}

	.hero__description {
		font-size: 14px;
		max-width: none;
	}

	.hero__location-row {
		width: 100%;
		justify-content: space-between;
		align-items: center;
		padding-right: 4px;
	}

	.hero__location-icon {
		width: 17px;
		height: 17px;
	}

	.hero__location-icon svg {
		width: 17px;
		height: 17px;
	}

	.hero__location-text {
		font-size: 14px;
	}

	.hero__scroll-dot {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		flex-shrink: 0;
	}

	.hero__scroll-dot svg {
		width: 16px;
		height: 16px;
	}

	.hero__cta-card {
		width: 100%;
		max-width: 347px;
	}

	.hero__cta-card-inner {
		padding: 20px;
	}

	.hero__cta-card-body {
		gap: 24px;
	}

	.hero__cta-card-title {
		font-size: 15px;
	}

	.hero__cta-card-text {
		font-size: 13px;
	}
}
