/* Egons Reklamekort: billedet fylder hele kortet, teksten står ovenpå nederst. */
.egons-reklame-item {
	display: flex !important;
	flex-direction: column;
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
}
.egons-reklame {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 480px;
	overflow: hidden;
	border-radius: 20px;
	color: #fff !important;
	text-decoration: none !important;
	background: #1a2e56;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.egons-reklame-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform .6s ease;
}
.egons-reklame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 25, 50, .9) 0%, rgba(10, 25, 50, .6) 40%, rgba(10, 25, 50, 0) 75%);
}
.egons-reklame:hover .egons-reklame-bg {
	transform: scale(1.05);
}
.egons-reklame-indhold {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 32px;
}
.egons-reklame-maerke {
	/* Samme mærkat som på rejsekortene. reklamekort.js kopierer de præcise værdier fra et rejsekort på siden. */
	position: absolute;
	z-index: 1;
	top: 41px;
	left: 41px;
	display: inline-block;
	padding: 8px 16px;
	border-radius: 100px;
	background: rgba(200, 59, 45, .9);
	color: #fff;
	font-size: 14.4px;
	font-weight: 700;
	line-height: 23.04px;
	text-transform: uppercase;
}
.egons-reklame-titel {
	display: block;
	font-family: var(--global-heading-font-family, inherit);
	font-size: clamp(26px, 2.2vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}
.egons-reklame-tekst {
	display: block;
	font-size: 17px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .9);
}
.egons-reklame-knap {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	margin-top: 6px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}
.egons-reklame-knap svg {
	transition: transform .2s;
}
.egons-reklame:hover .egons-reklame-knap svg {
	transform: translateX(4px);
}
.egons-reklame:focus-visible {
	outline: 3px solid var(--global-palette1, #c83b2d);
	outline-offset: 3px;
}
@media (max-width: 767px) {
	.egons-reklame-indhold { padding: 24px; }
}
