.ohoje-ads,
.ohoje-ads-slot {
	box-sizing: border-box;
	width: 100%;
	margin: 15px auto;
	clear: both;
	text-align: center;
}

.ohoje-ads {
	min-height: var(--ohoje-ads-height, 0);
}

.ohoje-ads-slot {
	max-width: var(--ohoje-ads-width, 100%);
	min-height: var(--ohoje-ads-height, 0);
}

.ohoje-ads *,
.ohoje-ads *::before,
.ohoje-ads *::after {
	box-sizing: border-box;
}

.ohoje-ads__inner {
	position: relative;
	width: 100%;
	max-width: var(--ohoje-ads-width, 100%);
	margin: 0 auto;
}

.ohoje-ads__label {
	display: block;
	margin: 0 0 5px;
	color: #626c75;
	font: 400 8px/1.2 system-ui, sans-serif;
	text-align: center;
	text-transform: capitalize;
	position: absolute;
	top: -12px;
	right: 0px;
}

.ohoje-ads__creative {
	display: flex;
	width: 100%;
	max-width: var(--ohoje-ads-width, 100%);
	margin: 0 auto;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ohoje-ads--code .ohoje-ads__creative {
	min-height: var(--ohoje-ads-height, 0);
}

.ohoje-ads__creative picture,
.ohoje-ads__creative img,
.ohoje-ads__link {
	display: block;
	width: 100%;
	max-width: 100%;
}

.ohoje-ads__creative img {
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain;
}

.ohoje-ads__link:focus-visible {
	outline: 3px solid #ff5a0a;
	outline-offset: 3px;
}

.ohoje-ads--full {
	margin: 0;
	padding: 0;
	background: #f5f6f7;
}

.ohoje-ads--sidebar {
	width: 100%;
	margin: 0;
}

.ohoje-ads--sidebar .ohoje-ads__inner,
.ohoje-ads--sidebar .ohoje-ads__creative {
	max-width: min(100%, var(--ohoje-ads-width, 300px));
}

.ohoje-ads:is(.ohoje-ads--sidebar, .ohoje-ads--area-ads_single_middle) .ohoje-ads__creative {
	min-height: 250px;
}

.ohoje-ads--content {
	margin: 30px 0;
}

.ohoje-ads--placeholder .ohoje-ads__creative {
	min-height: var(--ohoje-ads-height, 140px);
	padding: 20px;
	flex-direction: column;
	gap: 6px;
	border: 1px dashed rgba(0, 0, 0, 0.15);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.15);
	color: #7a838c;
}

.ohoje-ads__placeholder-badge {
	display: inline-grid;
	width: 36px;
	height: 24px;
	margin-bottom: 3px;
	place-items: center;
	/* border: 1px solid #aeb6be; */
	border-radius: 6px;
	background: #626c75;
	color: white;
	font: 700 10px/1 system-ui, sans-serif;
	letter-spacing: .08em;
}

.ohoje-ads__placeholder strong,
.ohoje-ads__placeholder small {
	display: block;
	font-family: system-ui, sans-serif;
}

.ohoje-ads__placeholder strong {
	color: #626c75;
	font-size: 13px;
}

.ohoje-ads__placeholder small {
	max-width: 100%;
	font-size: 11px;
	line-height: 1.35;
}

@media (max-width: 767.98px) {
	.ohoje-ads-code-desktop {
		display: none;
	}

	.ohoje-ads-code-mobile {
		display: block;
	}
	.ohoje-ads {
		margin-top: 22px;
		margin-bottom: 22px;
	}

	.ohoje-ads-slot {
		max-width: min(100%, var(--ohoje-ads-mobile-width, var(--ohoje-ads-width, 100%)));
		min-height: var(--ohoje-ads-mobile-height, var(--ohoje-ads-height, 0));
	}

	.ohoje-ads {
		min-height: var(--ohoje-ads-mobile-height, var(--ohoje-ads-height, 0));
	}

	.ohoje-ads__inner,
	.ohoje-ads__creative {
		max-width: min(100%, var(--ohoje-ads-mobile-width, 100%));
	}

	.ohoje-ads--code .ohoje-ads__creative {
		min-height: var(--ohoje-ads-mobile-height, 0);
	}

	.ohoje-ads--full {
		margin: 0;
		padding: 8px 12px;
	}
}

@media (min-width: 768px) {
	.ohoje-ads-code-desktop {
		display: block;
	}

	.ohoje-ads-code-mobile {
		display: none;
	}
}

/* Reserve the same space before and after an asynchronous creative loads. */
.ohoje-ads-slot[data-area="ads_top_header"],
.ohoje-ads--area-ads_top_header {
	width: 100%;
	min-width: 100%;
	min-height: 90px;
}

.ohoje-ads-slot--sidebar,
.ohoje-ads--sidebar,
.ohoje-ads-slot[data-area="ads_single_middle"],
.ohoje-ads--area-ads_single_middle {
	min-width: min(100%, 300px);
	max-width: min(100%, 300px);
	min-height: 250px;
}

.ohoje-ads:is(
	.ohoje-ads--area-ads_single_start,
	.ohoje-ads--area-ads_single_middle,
	.ohoje-ads--area-ads_single_end
) {
	margin-inline: auto;
}

@media (min-width: 768px) {
	.ohoje-ads-slot:is(
		[data-area="ads_top"],
		[data-area="ads_home_qua"],
		[data-area="ads_home_ter"],
		[data-area="ads_home_six"],
		[data-area="ads_home_sev"],
		[data-area="ads_footer"]
	),
	.ohoje-ads:is(
		.ohoje-ads--area-ads_top,
		.ohoje-ads--area-ads_home_qua,
		.ohoje-ads--area-ads_home_ter,
		.ohoje-ads--area-ads_home_six,
		.ohoje-ads--area-ads_home_sev,
		.ohoje-ads--area-ads_footer
	) {
		min-width: min(100%, 728px);
		max-width: min(100%, 970px);
		min-height: 90px;
	}

	.ohoje-ads-slot:is([data-area="ads_single_start"], [data-area="ads_single_end"]),
	.ohoje-ads:is(.ohoje-ads--area-ads_single_start, .ohoje-ads--area-ads_single_end) {
		min-width: min(100%, 300px);
		max-width: min(100%, 960px);
		min-height: 90px;
	}
}

@media (max-width: 767.98px) {
	.ohoje-ads-slot:is(
		[data-area="ads_top"],
		[data-area="ads_home_qua"],
		[data-area="ads_home_ter"],
		[data-area="ads_home_six"],
		[data-area="ads_home_sev"],
		[data-area="ads_footer"],
		[data-area="ads_single_start"],
		[data-area="ads_single_end"]
	),
	.ohoje-ads:is(
		.ohoje-ads--area-ads_top,
		.ohoje-ads--area-ads_home_qua,
		.ohoje-ads--area-ads_home_ter,
		.ohoje-ads--area-ads_home_six,
		.ohoje-ads--area-ads_home_sev,
		.ohoje-ads--area-ads_footer,
		.ohoje-ads--area-ads_single_start,
		.ohoje-ads--area-ads_single_end
	) {
		min-width: min(100%, 300px);
		max-width: min(100%, 300px);
		min-height: 250px;
	}
}

/* A 728px image must stay 728px wide in a larger banner placement. */
.ohoje-ads:is(
	.ohoje-ads--area-ads_top,
	.ohoje-ads--area-ads_home_qua,
	.ohoje-ads--area-ads_home_ter,
	.ohoje-ads--area-ads_home_six,
	.ohoje-ads--area-ads_home_sev,
	.ohoje-ads--area-ads_footer,
	.ohoje-ads--area-ads_single_start,
	.ohoje-ads--area-ads_single_end
) .ohoje-ads__creative img {
	width: auto;
	max-width: 100%;
	margin-inline: auto;
}

/* Older square artwork stays centered in a 300 x 250 placement. */
.ohoje-ads:is(.ohoje-ads--sidebar, .ohoje-ads--area-ads_single_middle) .ohoje-ads__creative img {
	width: auto;
	max-width: 100%;
	max-height: 250px;
	margin-inline: auto;
}
