/* Sponsor Ads front-end styles. */
.njpg-ad-spot {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	align-items: center;
	padding: 28px 16px;
}

.njpg-ad {
	display: inline-block;
	line-height: 0;
	opacity: 0.94;
	transition: opacity 0.2s ease;
}

.njpg-ad:hover,
.njpg-ad:focus-visible {
	opacity: 1;
}

.njpg-ad__image {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

/* The disclosure line the site has always shown above ads. */
.njpg-ad-label {
	width: 100%;
	text-align: center;
	font-size: 11px;
	line-height: 1.4;
	color: #888888;
	margin-bottom: 4px;
}

.njpg-ad-spot--footer .njpg-ad__image {
	max-width: 970px;
}

@media (max-width: 600px) {
	.njpg-ad-spot {
		gap: 16px;
		padding: 20px 12px;
	}

	.njpg-ad-spot .njpg-ad {
		flex: 1 1 100%;
		text-align: center;
	}
}
