.xp-section {
	padding: 10px 0 70px;
	background: var(--lx-bg);
}

.xp-section,
.vc_custom_1550917055841 {
	box-shadow: 0 0 0 100vmax var(--lx-bg);
	clip-path: inset(0 -100vmax);
}

.xp-panels {
	display: flex;
	gap: 12px;
	max-width: 1290px;
	height: 520px;
	margin: 0 auto;
	padding: 0 15px;
}

.xp-panel {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 0 0 1px var(--lx-line);
	cursor: pointer;
	outline: none;
	transition: flex-grow 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}
.xp-panel.is-active {
	flex-grow: 4;
	box-shadow: 0 0 0 2px var(--lx-gold-light), var(--lx-shadow);
	cursor: default;
}
.xp-panel:focus-visible {
	box-shadow: 0 0 0 3px var(--lx-gold);
}

.xp-panel__img {
	position: absolute;
	top: 0;
	left: -13%;
	width: 113%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transform: scale(1.08);
	transition: transform 1.2s ease;
}
.xp-panel.is-active .xp-panel__img {
	transform: scale(1);
}

.xp-panel::before,
.xp-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	transition: opacity 0.5s ease;
}
.xp-panel::before {
	background: rgba(0, 0, 0, 0.45);
}
.xp-panel::after {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 75%);
	opacity: 0;
}
.xp-panel.is-active::before {
	opacity: 0;
}
.xp-panel.is-active::after {
	opacity: 1;
}

.xp-panel__num {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	color: #d9b08c;
	font-family: Lobster, cursive;
	font-size: 22px;
	line-height: 1;
}

.xp-panel__label {
	position: absolute;
	bottom: 26px;
	left: 50%;
	z-index: 2;
	color: #fff;
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: translateX(-50%) rotate(180deg);
	transition: opacity 0.3s ease;
}
.xp-panel.is-active .xp-panel__label {
	opacity: 0;
}

.xp-panel__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	min-width: 340px;
	padding: 32px;
	opacity: 0;
	transform: translateY(24px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.4s ease;
}
.xp-panel.is-active .xp-panel__content {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition: opacity 0.5s ease 0.35s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}

.xp-panel__title {
	margin: 0 0 10px;
	color: #fff;
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.22;
	text-transform: uppercase;
}
.xp-panel__text {
	max-width: 440px;
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 19px;
	line-height: 1.5;
}
.xp-panel__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: 24px;
	background: #d9b08c;
	color: #1a1a1a;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.xp-panel__cta > span[aria-hidden="true"] {
	transition: transform 0.2s ease;
}
.xp-panel__cta:hover,
.xp-panel__cta:focus-visible {
	background: #fff;
	color: #000;
}
.xp-panel__cta:hover > span[aria-hidden="true"],
.xp-panel__cta:focus-visible > span[aria-hidden="true"] {
	transform: translateX(6px);
}

@media (max-width: 767px) {
	.xp-panels {
		flex-direction: column;
		height: auto;
	}
	.xp-panel {
		flex: none;
		height: 96px;
		transition: height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
	}
	.xp-panel.is-active {
		height: 420px;
	}
	.xp-panel__num {
		top: 50%;
		transform: translateY(-50%);
	}
	.xp-panel.is-active .xp-panel__num {
		top: 18px;
		transform: none;
	}
	.xp-panel__label {
		top: 50%;
		bottom: auto;
		left: 58px;
		writing-mode: horizontal-tb;
		transform: translateY(-50%);
	}
	.xp-panel__content {
		min-width: 0;
		padding: 24px;
	}
	.xp-panel__title {
		font-size: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.xp-panel,
	.xp-panel * {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
}
