/* ABT Hero Block */
.abt-hero {
	--abt-hero-min-height: 640px;
	--abt-hero-overlay: 0.8;
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: var(--abt-hero-min-height);
	color: #ffffff;
	background: radial-gradient(120% 110% at 50% 0%, #372f3e 0%, #2a2033 45%, #17111d 100%);
	font-family: 'Lato', Helvetica, sans-serif;
}

.abt-hero__fx,
.abt-hero__bg,
.abt-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.abt-hero__fx {
	display: block;
	width: 100%;
	height: 100%;
}

.abt-hero__bg {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}

.abt-hero__overlay {
	background: linear-gradient(
		100deg,
		rgba(23, 17, 29, calc(var(--abt-hero-overlay) * 1)) 0%,
		rgba(34, 25, 42, calc(var(--abt-hero-overlay) * 0.8)) 45%,
		rgba(34, 25, 42, calc(var(--abt-hero-overlay) * 0.39)) 100%
	);
}

.abt-hero__inner {
	position: relative;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 110px 32px;
}

.abt-hero__content {
	max-width: 34em;
}

.abt-hero__eyebrow {
	margin: 0 0 22px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #614889;
}

.abt-hero__title {
	margin: 0 0 24px;
	font-size: clamp(38px, 5vw, 62px);
	font-weight: 900;
	line-height: 1.03;
	letter-spacing: -0.02em;
	text-wrap: balance;
	color: #ffffff;
}

.abt-hero__line {
	display: block;
}

.abt-hero__line--2 {
	color: rgba(255, 255, 255, 0.92);
}

.abt-hero__text {
	margin: 0 0 38px;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
	text-wrap: pretty;
}

.abt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.abt-hero__btn {
	display: inline-block;
	padding: 17px 30px;
	border-radius: 2px;
	font-size: 16px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.abt-hero__btn--primary {
	background: #d4a44a;
	color: #22192a;
	font-weight: 900;
}

.abt-hero__btn--primary:hover,
.abt-hero__btn--primary:focus {
	background: #ffffff;
	color: #22192a;
}

.abt-hero__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #ffffff;
	font-weight: 700;
}

.abt-hero__btn--ghost:hover,
.abt-hero__btn--ghost:focus {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

/* Animationer */
@keyframes abtHeroRise {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes abtHeroInLeft {
	from { opacity: 0; transform: translateX(-40vw); }
	to   { opacity: 1; transform: translateX(0); }
}

@keyframes abtHeroInRight {
	from { opacity: 0; transform: translateX(40vw); }
	to   { opacity: 1; transform: translateX(0); }
}

.abt-hero--animate .abt-hero__eyebrow { animation: abtHeroRise 0.9s ease both; }
.abt-hero--animate .abt-hero__line--1 { animation: abtHeroInLeft 1.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.abt-hero--animate .abt-hero__line--2 { animation: abtHeroInRight 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }
.abt-hero--animate .abt-hero__text    { animation: abtHeroRise 1s ease 0.3s both; }
.abt-hero--animate .abt-hero__actions { animation: abtHeroRise 1s ease 0.45s both; }

@media (prefers-reduced-motion: reduce) {
	.abt-hero--animate .abt-hero__eyebrow,
	.abt-hero--animate .abt-hero__line--1,
	.abt-hero--animate .abt-hero__line--2,
	.abt-hero--animate .abt-hero__text,
	.abt-hero--animate .abt-hero__actions {
		animation: none;
	}
}

/* Editor */
.abt-hero .abt-hero__eyebrow[contenteditable="true"]:empty::before,
.abt-hero .abt-hero__text[contenteditable="true"]:empty::before {
	color: rgba(255, 255, 255, 0.5);
}

.wp-block-abt-hero .abt-hero__inner {
	pointer-events: auto;
}
