/* ==========================================================================
   Homepage award popup
   ========================================================================== */

html.award-popup-open {
	overflow: hidden;
}
/* Above the cookie notice (z-index 9999); the notice is visible again once the popup is closed */
.award-popup.active {
	z-index: 10000;
}
.award-popup .inner > .box {
	width: 100%;
	max-width: 46rem;
	max-height: 92vh;
	overflow-y: auto;
	padding: 0;
}
.award-popup .inner > .box .close-button {
	width: 2.25rem;
	height: 2.25rem;
	padding: 0.6rem;
	border-radius: 50%;
	background: var(--white);
	color: #000;
	box-shadow: 0 1px 6px rgb(0 0 0 / 20%);
}

/* Media */
.award-popup-media img,
.award-popup-media video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 60vh;
	object-fit: contain;
	background: #000;
}
.award-popup .media-image .award-popup-media img {
	background: transparent;
	object-fit: cover;
}
/* Image only (no text): show the whole image, sized to the screen height */
.award-popup .inner > .box.media-only {
	max-width: min(40rem, 86vh);
}
.award-popup .box.media-only .award-popup-media img,
.award-popup .box.media-only .award-popup-media video {
	max-height: 86vh;
	object-fit: contain;
}
.award-popup-embed {
	position: relative;
	padding-top: 56.25%;
	background: #000;
}
.award-popup-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Text */
.award-popup-content {
	padding: 2rem 2.5rem 2.25rem;
	text-align: center;
}
.award-popup .box:not(.has-media) .award-popup-content {
	padding-top: 3rem;
}
.award-popup-eyebrow {
	margin-bottom: 0.5rem;
	font-size: var(--font-size-16);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--a-tag);
}
.award-popup-content h3 {
	margin-bottom: 0.75rem;
}
.award-popup-text p:last-child {
	margin-bottom: 0;
}
.award-popup-content .button-wrap {
	margin-top: 1.5rem;
	justify-content: center;
}

@media (max-width: 767px) {
	.award-popup .inner {
		width: calc(100% - 32px);
	}
	.award-popup .inner > .box {
		padding: 0;
	}
	.award-popup-content {
		padding: 1.5rem 1.25rem 1.75rem;
	}
}
