.pdobp-stack {
	display: grid;
	gap: 12px;
	margin: 18px 0 24px;
	width: 100%;
}

.pdobp-banner-wrap {
	width: 100%;
}

.pdobp-banner {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: var(--pdobp-radius, 10px);
	box-shadow: none;
	cursor: pointer;
	display: block;
	height: var(--pdobp-height, 135px);
	overflow: hidden;
	padding: 0;
	position: relative;
	text-align: inherit;
	width: 100%;
}

.pdobp-banner:focus-visible {
	outline: 3px solid rgba(29, 78, 216, 0.55);
	outline-offset: 3px;
}

.pdobp-media {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.pdobp-modal[hidden] {
	display: none;
}

.pdobp-modal {
	align-items: center;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 20px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 999999;
}

.pdobp-modal-backdrop {
	background: rgba(17, 24, 39, 0.58);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.pdobp-modal-panel {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
	color: #20242a;
	max-height: min(78vh, 680px);
	max-width: 640px;
	overflow: auto;
	padding: 28px;
	position: relative;
	width: min(100%, 640px);
}

.pdobp-modal-panel:focus {
	outline: none;
}

.pdobp-modal-panel h2 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0 42px 16px 0;
}

.pdobp-modal-content {
	font-size: 16px;
	line-height: 1.65;
}

.pdobp-modal-content > :first-child {
	margin-top: 0;
}

.pdobp-modal-content > :last-child {
	margin-bottom: 0;
}

.pdobp-modal-close {
	align-items: center;
	appearance: none;
	background: #f3f4f6;
	border: 0;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: flex;
	font-size: 26px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	position: absolute;
	right: 18px;
	top: 18px;
	width: 38px;
}

.pdobp-modal-close:focus-visible {
	outline: 3px solid rgba(29, 78, 216, 0.55);
	outline-offset: 2px;
}

body.pdobp-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.pdobp-stack {
		gap: 10px;
		margin: 14px 0 20px;
	}

	.pdobp-banner {
		height: clamp(92px, 25vw, var(--pdobp-height, 135px));
	}

	.pdobp-modal {
		align-items: flex-end;
		padding: 12px;
	}

	.pdobp-modal-panel {
		border-radius: 14px;
		max-height: 86vh;
		padding: 24px 20px;
	}

	.pdobp-modal-panel h2 {
		font-size: 20px;
		margin-right: 42px;
	}

	.pdobp-modal-content {
		font-size: 15px;
	}
}
