.bpb-welcome-modal {
	box-sizing: border-box;
	width: min(960px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: #1d1d1e;
	box-shadow: 0 28px 90px rgba(0, 0, 0, .36);
	overflow: hidden;
}

.bpb-welcome-modal::backdrop {
	background: rgba(15, 18, 16, .72);
	backdrop-filter: blur(3px);
}

.bpb-welcome-accent {
	height: 8px;
	background: #f9a006;
}

.bpb-welcome-shell {
	display: grid;
	grid-template-columns: minmax(290px, 38%) minmax(0, 62%);
	min-height: 590px;
	max-height: calc(100vh - 40px);
	overflow: hidden;
}

.bpb-welcome-photo {
	position: relative;
	min-height: 100%;
	margin: 0;
	background: #31563a;
	overflow: hidden;
}

.bpb-welcome-photo::after {
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(to bottom, transparent, rgba(17, 31, 20, .76));
	content: "";
}

.bpb-welcome-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 47% center;
}

.bpb-welcome-photo figcaption {
	position: absolute;
	z-index: 1;
	right: 26px;
	bottom: 26px;
	left: 26px;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.bpb-welcome-photo figcaption span,
.bpb-welcome-photo figcaption strong {
	display: block;
}

.bpb-welcome-photo figcaption span {
	margin-bottom: 5px;
	color: #ffd078;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bpb-welcome-photo figcaption strong {
	font-size: 23px;
	line-height: 1.18;
}

.bpb-welcome-inner {
	padding: 34px 40px 30px;
	overflow-y: auto;
}

.bpb-welcome-modal .bpb-welcome-close {
	position: absolute;
	z-index: 3;
	top: 22px;
	right: 22px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid #d7d9d7;
	border-radius: 50%;
	background: #fff !important;
	color: #1d1d1e !important;
	font: inherit;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.bpb-welcome-modal .bpb-welcome-close:hover,
.bpb-welcome-modal .bpb-welcome-close:focus-visible {
	border-color: #1d1d1e;
	background: #f2f3f2 !important;
}

.bpb-welcome-eyebrow {
	margin: 0 50px 8px 0;
	color: #876000;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.bpb-welcome-modal h2 {
	margin: 0 50px 18px 0;
	color: #1d1d1e;
	font-size: clamp(28px, 3.2vw, 36px);
	line-height: 1.12;
}

.bpb-welcome-copy {
	font-size: 16px;
	line-height: 1.65;
}

.bpb-welcome-copy > p {
	margin: 0 0 18px;
}

.bpb-welcome-notice {
	margin: 19px 0;
	padding: 18px 20px;
	border: 1px solid #dce8d9;
	border-radius: 10px;
	background: #f3f7f1;
}

.bpb-welcome-notice-label {
	display: inline-block;
	margin-bottom: 7px;
	padding: 4px 9px;
	border-radius: 999px;
	background: #dfeadb;
	color: #305039;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.bpb-welcome-notice strong {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
}

.bpb-welcome-notice p {
	margin: 0;
}

.bpb-welcome-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 25px;
}

.bpb-welcome-modal .bpb-welcome-reset.button {
	padding: 13px 22px;
	border: 2px solid #f9a006;
	border-radius: 6px;
	background: #f9a006;
	color: #1d1d1e;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

.bpb-welcome-modal .bpb-welcome-reset.button:hover,
.bpb-welcome-modal .bpb-welcome-reset.button:focus-visible {
	border-color: #1d1d1e;
	background: #1d1d1e;
	color: #fff;
}

.bpb-welcome-continue {
	padding: 10px 4px;
	border: 0;
	background: transparent;
	color: #424843;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.bpb-welcome-help {
	margin: 17px 0 0;
	color: #626862;
	font-size: 13px;
	line-height: 1.5;
}

.bpb-welcome-help a {
	color: #3c5e43;
	font-weight: 700;
	text-underline-offset: 2px;
}

@media (max-width: 700px) {
	.bpb-welcome-modal {
		width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
		border-radius: 12px;
		overflow: hidden;
	}

	.bpb-welcome-shell {
		display: flex;
		flex-direction: column;
		height: calc(100vh - 28px);
		min-height: 0;
		max-height: none;
	}

	.bpb-welcome-photo {
		flex: 0 0 155px;
		min-height: 155px;
	}

	.bpb-welcome-photo img {
		object-position: center 28%;
	}

	.bpb-welcome-photo figcaption {
		right: 18px;
		bottom: 15px;
		left: 18px;
	}

	.bpb-welcome-photo figcaption strong {
		font-size: 19px;
	}

	.bpb-welcome-inner {
		display: flex;
		box-sizing: border-box;
		flex: 1 1 auto;
		flex-direction: column;
		min-height: 0;
		padding: 22px 20px 18px;
		overflow: hidden;
	}

	.bpb-welcome-modal .bpb-welcome-close {
		top: 18px;
		right: 18px;
	}

	.bpb-welcome-modal h2 {
		margin: 0 0 12px;
		font-size: 27px;
	}

	.bpb-welcome-notice {
		margin: 14px 0;
		padding: 14px;
	}

	.bpb-welcome-copy {
		min-height: 0;
		padding-right: 6px;
		overflow-y: auto;
	}

	.bpb-welcome-actions {
		align-items: stretch;
		flex: 0 0 auto;
		flex-direction: column;
		gap: 5px;
		margin-top: 14px;
		text-align: center;
	}

	.bpb-welcome-help {
		flex: 0 0 auto;
		margin-top: 10px;
	}
}

@media (max-width: 700px) and (max-height: 700px) {
	.bpb-welcome-photo {
		flex-basis: 115px;
		min-height: 115px;
	}

	.bpb-welcome-photo figcaption strong {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.bpb-welcome-modal[open] {
		animation: bpb-welcome-in .24s ease-out;
	}

	@keyframes bpb-welcome-in {
		from { opacity: 0; transform: translateY(12px) scale(.985); }
		to { opacity: 1; transform: translateY(0) scale(1); }
	}
}
