/**
 * HPC Sponsorships: sponsor banner styles.
 *
 * Neutral on purpose so banners sit cleanly in the story column. Override
 * the custom properties below in the theme if the spacing or label needs
 * adjusting.
 */

.hpc-sponsor-slot {
	--hpc-sp-gap: 2em;
	--hpc-sp-label-color: #6b6b6b;
	--hpc-sp-rule-color: #e3e3e3;

	clear: both;
	display: block;
	margin: var(--hpc-sp-gap) auto;
	padding: 0.75em 0;
	border-top: 1px solid var(--hpc-sp-rule-color);
	border-bottom: 1px solid var(--hpc-sp-rule-color);
	text-align: center;
	max-width: 100%;
}

.hpc-sponsor-slot--archive {
	--hpc-sp-gap: 1.5em;
}

/* Rotation: extra candidates are hidden until the script picks one. */
.hpc-sponsor-slot[hidden],
.hpc-sponsor-banner[hidden] {
	display: none !important;
}

.hpc-sponsor-banner__label {
	display: block;
	margin: 0 0 0.5em;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hpc-sp-label-color);
}

.hpc-sponsor-banner__link {
	display: inline-block;
	max-width: 100%;
	line-height: 0;
	border: 0;
	text-decoration: none;
	box-shadow: none;
}

.hpc-sponsor-banner picture,
.hpc-sponsor-banner__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
