/* Full-screen "Allow Ads" prompt overlay + modal. Kept color-neutral (grays)
   since this module is shared across many differently-branded sites. */
.abp-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background-color: rgba(17, 24, 39, .7);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.abp-overlay * {
	box-sizing: border-box;
}

.abp-modal {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: 90vh;
	overflow-y: auto;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	transition: max-width .2s;
}

.abp-modal.abp-modal-wide {
	max-width: 960px;
}

.abp-modal-body {
	padding: 48px 30px 40px;
	text-align: center;
}

.abp-modal-close-x {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background-color: rgba(17, 24, 39, .08);
	color: #1f2937;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: .2s;
	z-index: 1;
}

.abp-modal-close-x:hover {
	background-color: rgba(17, 24, 39, .16);
}

.abp-modal-title {
	margin: 0 0 16px;
	font-size: 26px;
	line-height: 1.3;
	font-weight: 700;
	color: #1f2937;
}

.abp-modal-message {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.6;
	color: #4b5563;
}

.abp-modal-allow {
	display: block;
	width: 100%;
	height: 50px;
	padding: 0 32px;
	line-height: 50px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 999px;
	border: 0;
	background-color: #1f2937;
	color: #fff;
	cursor: pointer;
	transition: .2s;
}

.abp-modal-allow:hover {
	background-color: #111827;
}

.abp-modal-instructions {
	padding: 20px;
}

.abp-modal-footer {
	padding: 14px 20px;
	text-align: center;
	background-color: #f9fafb;
	border-top: 1px solid rgba(0, 0, 0, .08);
	font-size: 13px;
}

.abp-modal-footer-sep {
	color: #d1d5db;
	margin: 0 4px;
}

.abp-modal-close,
.abp-modal-contact {
	display: inline-block;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 13px;
	color: #6b7280;
	text-decoration: underline;
}

.abp-modal-close:hover,
.abp-modal-contact:hover {
	color: #1f2937;
}

.abp-widget, .abp-widget * {
	box-sizing: border-box;
}

.abp-widget {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	color: #333;
	text-align: left;
}

.abp-widget .abp-instructions-container {
	display: flex;
	height: 460px;
	max-height: 65vh;
	overflow: hidden;
	background-color: #fff;
	border-radius: 6px;
}

.abp-widget .abp-group-title {
	display: block;
	margin: 0 0 10px 20px;
	font-size: 16px;
	font-weight: 600;
}

.abp-widget .abp-blockers {
	flex: 1 1;
	padding-top: 20px;
	overflow-y: auto;
	background-color: rgba(0, 0, 0, .05);
}

.abp-widget .abp-blocker-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.abp-widget .abp-blocker {
	position: relative;
	display: flex;
	align-items: center;
	height: 44px;
	margin: 0 0 5px 10px;
	padding: 6px 10px;
	cursor: pointer;
	border-radius: 3px 0 0 3px;
	transition: .2s;
	background: transparent;
}

.abp-widget .abp-blocker:hover {
	background-color: rgba(0, 0, 0, .08);
}

.abp-widget .abp-blocker.abp-selected {
	background-color: rgba(0, 0, 0, .1);
}

.abp-widget .abp-blocker-icon {
	display: block;
	width: 22px;
	height: 22px;
	margin-right: 10px;
	flex-shrink: 0;
	color: #566;
	object-fit: contain;
}

.abp-widget .abp-blocker.abp-selected .abp-blocker-icon {
	color: #0c2c5b;
}

.abp-widget .abp-instructions-animation {
	display: block;
	width: 100%;
	border-radius: 4px;
	background-color: #000;
}

.abp-widget .abp-blocker-label {
	display: block;
	line-height: 22px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
}

.abp-widget .abp-instructions {
	flex: 2 1;
	overflow-y: auto;
	padding: 30px 25px;
}

.abp-widget .abp-instructions-body {
	display: flex;
	align-items: flex-start;
	gap: 25px;
}

.abp-widget .abp-instructions-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.abp-widget .abp-instructions-media {
	flex: 0 0 260px;
	width: 260px;
}

.abp-widget .abp-widget-topbar {
	padding: 12px 20px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.abp-widget .abp-widget-back {
	display: inline-block;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #0c2c5b;
}

.abp-widget .abp-widget-back:hover {
	text-decoration: underline;
}

.abp-widget .abp-instructions-copy h3 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 600;
}

.abp-widget .abp-instructions-copy ol {
	margin: 0 0 20px;
	padding-left: 20px;
}

.abp-widget .abp-instructions-copy li {
	margin-bottom: 8px;
	font-size: 13px;
	line-height: 18px;
}

@media only screen and (max-width: 600px) {
	.abp-widget .abp-instructions-container {
		display: block;
		height: auto;
		max-height: none;
		overflow: visible;
	}

	.abp-widget .abp-blockers,
	.abp-widget .abp-instructions {
		overflow: visible;
	}

	.abp-widget .abp-blockers.abp-hide-on-mobile {
		display: none;
	}

	.abp-widget .abp-instructions-body {
		display: block;
	}

	.abp-widget .abp-instructions-media {
		width: 100%;
		margin: 0 0 20px;
	}
}
