.oasi-home-announcement {
	padding: clamp(48px, 6vw, 88px) 0;
	background: #fff7df;
}

.oasi-home-announcement__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
	min-width: 0;
	align-items: stretch;
	min-height: 420px;
	overflow: hidden;
	border-radius: 16px;
	background: #2a211d;
	box-shadow: 0 18px 48px rgba(42, 33, 29, .14);
}

.oasi-home-announcement__media {
	min-width: 0;
	min-height: 420px;
	overflow: hidden;
}

.oasi-home-announcement__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oasi-home-announcement__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: clamp(42px, 5vw, 72px);
	color: #fffaf0;
}

.oasi-home-announcement__content h2 {
	max-width: 14ch;
	margin: 0 0 22px;
	font-family: var(--oasi-font-heading, Georgia, serif);
	font-size: clamp(2.15rem, 4vw, 4.35rem);
	font-weight: 700;
	line-height: .98;
	letter-spacing: -.03em;
	color: #fffaf0;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.oasi-home-announcement__content p {
	max-width: 54ch;
	margin: 0;
	font-size: clamp(1rem, 1.2vw, 1.18rem);
	line-height: 1.75;
	color: #eadfce;
	overflow-wrap: anywhere;
}

.oasi-site-popup[hidden] {
	display: none;
}

.oasi-site-popup {
	position: fixed;
	inset: 0;
	z-index: 100020;
	display: grid;
	place-items: center;
	padding: 24px;
}

.oasi-site-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(24, 18, 15, .72);
}

.oasi-site-popup__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
	width: min(880px, 100%);
	min-width: 0;
	max-width: 100%;
	max-height: min(720px, calc(100vh - 48px));
	overflow: auto;
	border-radius: 16px;
	background: #fffaf0;
	box-shadow: 0 24px 80px rgba(15, 10, 8, .34);
}

.oasi-site-popup__dialog.has-no-image {
	grid-template-columns: 1fr;
	width: min(620px, 100%);
}

.oasi-site-popup__dialog:focus-visible,
.oasi-site-popup__close:focus-visible,
.oasi-site-popup__action:focus-visible {
	outline: 3px solid #d2a31d;
	outline-offset: 3px;
}

.oasi-site-popup__media {
	min-height: 420px;
}

.oasi-site-popup__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oasi-site-popup__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: clamp(42px, 6vw, 72px);
}

.oasi-site-popup__content h2 {
	margin: 0 0 18px;
	font-family: var(--oasi-font-heading, Georgia, serif);
	font-size: clamp(2rem, 4vw, 3.75rem);
	line-height: 1.02;
	letter-spacing: -.03em;
	color: #2a211d;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.oasi-site-popup__content p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #5f5149;
	overflow-wrap: anywhere;
}

.oasi-site-popup__action {
	align-self: flex-start;
	margin-top: 28px;
	padding: 13px 24px;
	border-radius: 999px;
	background: #8f3b2b;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.oasi-site-popup__action:hover {
	background: #6f2b1f;
	color: #fff;
}

.oasi-site-popup__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #2a211d;
	color: #fff;
	cursor: pointer;
}

body.oasi-popup-open {
	overflow: hidden;
}

@media (max-width: 760px) {
	.oasi-home-announcement__layout,
	.oasi-site-popup__dialog {
		grid-template-columns: 1fr;
	}

	.oasi-home-announcement__layout,
	.oasi-home-announcement__media {
		min-height: 0;
	}

	.oasi-home-announcement__media {
		aspect-ratio: 4 / 3;
	}

	.oasi-home-announcement__content {
		padding: 38px 28px 42px;
	}

	.oasi-site-popup {
		padding: 14px;
	}

	.oasi-site-popup__dialog {
		width: 100%;
		max-width: calc(100vw - 28px);
		max-height: calc(100vh - 28px);
	}

	.oasi-site-popup__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.oasi-site-popup__content {
		padding: 34px 26px 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oasi-site-popup,
	.oasi-site-popup * {
		scroll-behavior: auto;
	}
}
