/* ==========================================================================
   OFFERS — photo flyers
   ========================================================================== */

.er-oferte-body {
	background: var(--er-ink);
	color: #fff;
}

.er-oferte {
	position: relative;
	overflow-x: clip;
	min-height: 100svh;
}

.er-oferte-grid {
	width: min(42rem, calc(100% - 2.4rem));
	margin: 0 auto;
	padding: 6.5rem 0 4.5rem;
}

.er-oferte-grid__head {
	text-align: center;
	margin: 0 0 2rem;
}

.er-oferte-grid__eyebrow {
	margin-bottom: 0.85rem;
}

.er-oferte-grid__lead {
	margin: 0.85rem auto 0;
	max-width: 28rem;
	color: #fff;
	font-size: var(--er-copy-size);
	line-height: var(--er-copy-leading);
}

.er-oferte-grid__list {
	display: grid;
	gap: 2.25rem;
}

.er-oferte-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

.er-oferte-card__photo {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(245, 241, 234, 0.14);
	border-radius: 10px;
	background: rgba(12, 14, 13, 0.55);
	cursor: zoom-in;
	overflow: hidden;
}

.er-oferte-card__photo img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.er-oferte-card__photo--empty {
	min-height: 22rem;
	cursor: default;
	background:
		linear-gradient(180deg, rgba(245, 241, 234, 0.06), rgba(245, 241, 234, 0.02));
}

.er-oferte-card__title {
	margin: 0;
	font-family: var(--er-font-display);
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #fff;
}

.er-oferte-card__cta {
	margin-top: 0.15rem;
}

.er-offer-lightbox {
	position: fixed;
	inset: 0;
	z-index: 14000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
}

.er-offer-lightbox[hidden] {
	display: none !important;
}

body.er-offer-lightbox-open {
	overflow: hidden;
}

.er-offer-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	margin: 0;
	padding: 0;
	background: rgba(8, 9, 8, 0.88);
	cursor: zoom-out;
}

.er-offer-lightbox__figure {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: min(52rem, 100%);
	max-height: calc(100svh - 2.5rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
}

.er-offer-lightbox__caption {
	margin: 0;
	font-family: var(--er-font-booking);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
}

.er-offer-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100svh - 5.5rem);
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	background: #111;
}

.er-offer-lightbox__close {
	position: absolute;
	top: -0.15rem;
	right: -0.15rem;
	width: 2.4rem;
	height: 2.4rem;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 17, 16, 0.82);
	color: #fff;
	font-size: 1.55rem;
	line-height: 1;
	cursor: pointer;
}

.er-booking-form__offer-link {
	margin: 0.15rem 0 0;
	font-family: var(--er-font-booking);
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.er-booking-form__offer-link[hidden] {
	display: none !important;
}

.er-booking-form__offer-link a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.er-booking-form__offer-link a:hover {
	color: var(--er-ivory, #f5f1ea);
}

@media (max-width: 48rem) {
	.er-oferte-grid {
		padding-top: 5.5rem;
	}
}
