/* Editorial archive sidebar advertising. */
body.tb-category .category-sidebar-ad {
	display: block;
	overflow: hidden;
	width: 100%;
	border: 1px solid #e1e6eb;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(21, 42, 64, .08);
	transition: box-shadow .2s ease, transform .2s ease;
}

body.tb-category .category-sidebar-ad:hover {
	box-shadow: 0 13px 30px rgba(21, 42, 64, .13);
	transform: translateY(-2px);
}

body.tb-category .category-sidebar-ad img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1182 / 1330;
	object-fit: contain;
}

body.tb-category .category-sidebar-ad:focus-visible {
	outline: 3px solid rgba(223, 39, 44, .25);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	body.tb-category .category-sidebar-ad {
		transition: none;
	}
}
