* {
	box-sizing: border-box;
}

img,
video,
iframe {
	max-width: 100%;
}

#logo.image-align {
	height: auto;
}

.video-header video {
	height: auto;
}

#defaultCountdown {
	display: flex;
	justify-content: center;
	margin: 36px auto 28px;
	min-height: 104px;
}

#defaultCountdown .countdown-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(76px, 1fr));
	gap: 12px;
	width: min(100%, 520px);
}

#defaultCountdown .countdown-section {
	align-items: center;
	aspect-ratio: 1;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid currentColor;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	float: none;
	height: auto;
	justify-content: center;
	margin: 0;
	padding: 10px 6px;
	text-align: center;
	width: auto;
}

#defaultCountdown .countdown-amount {
	display: block;
	font-size: clamp(28px, 7vw, 54px);
	font-weight: 700;
	line-height: 1;
	min-width: 2ch;
}

#defaultCountdown .countdown-period {
	display: block;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1;
	margin-top: 8px;
	text-transform: uppercase;
}

.responsive-embed {
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
}

.responsive-embed iframe {
	display: block;
	width: 100%;
}

.responsive-embed:not(.responsive-embed-map) iframe {
	aspect-ratio: 3 / 2;
	height: auto;
}

.responsive-embed-map iframe {
	aspect-ratio: 4 / 3;
	height: auto;
}

body.theme-black {
	--footer-docs-accent: #cfba3d;
	--footer-docs-border: rgba(207, 186, 61, 0.45);
	--footer-docs-surface: rgba(207, 186, 61, 0.07);
	--footer-docs-surface-hover: rgba(207, 186, 61, 0.14);
}

body.theme-gold {
	--footer-docs-accent: #000000;
	--footer-docs-border: rgba(0, 0, 0, 0.38);
	--footer-docs-surface: rgba(0, 0, 0, 0.06);
	--footer-docs-surface-hover: rgba(0, 0, 0, 0.12);
}

body.theme-cosmo {
	--footer-docs-accent: #00ff00;
	--footer-docs-border: rgba(0, 255, 0, 0.45);
	--footer-docs-surface: rgba(0, 255, 0, 0.07);
	--footer-docs-surface-hover: rgba(0, 255, 0, 0.14);
}

.footer-documents {
	color: var(--footer-docs-accent, currentColor);
	margin: 36px auto 10px;
	max-width: 560px;
	text-align: center;
}

.footer-documents-title {
	color: var(--footer-docs-accent, currentColor);
	font-size: 32px;
	font-weight: 300;
	line-height: 1.1;
	margin: 0 0 18px;
	opacity: 0.86;
	text-align: center;
}

.footer-documents-list {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 0;
	text-align: center;
}

.footer-document,
.footer-document:visited {
	align-items: center;
	background: var(--footer-docs-surface, rgba(255, 255, 255, 0.08));
	border: 1px solid var(--footer-docs-border, currentColor);
	border-radius: 6px;
	color: var(--footer-docs-accent, currentColor) !important;
	display: inline-flex;
	gap: 10px;
	justify-content: center;
	min-height: 46px;
	min-width: 210px;
	padding: 8px 14px;
	text-decoration: none !important;
	transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.footer-document img {
	border: 0;
	display: block;
	height: 24px;
	max-height: 24px;
	max-width: 24px;
	width: 24px;
}

.footer-document span {
	display: flex;
	flex-direction: column;
	gap: 3px;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
}

.footer-document strong {
	color: inherit !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.footer-document small {
	color: inherit !important;
	font-size: 11px;
	font-weight: 300;
	opacity: 0.78;
	text-decoration: none !important;
}

.footer-document:hover,
.footer-document:focus {
	background: var(--footer-docs-surface-hover, rgba(255, 255, 255, 0.14));
	border-color: var(--footer-docs-accent, currentColor);
	color: var(--footer-docs-accent, currentColor) !important;
	opacity: 1;
	outline: none;
	transform: translateY(-2px);
}

.footer-document:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

@media (max-width: 640px) {
	.container {
		padding-left: 12px;
		padding-right: 12px;
	}

	#logo.image-align {
		display: block;
		margin-left: auto;
		margin-right: auto;
		padding: 28px 0 12px;
		width: min(92vw, 480px);
	}

	.video-header .image-align {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	h1 {
		font-size: clamp(28px, 8vw, 42px);
		line-height: 1.08;
		margin-left: auto;
		margin-right: auto;
		max-width: 620px;
	}

	h1 span,
	h1 .black,
	h1 .bold {
		font-size: inherit;
		line-height: inherit;
	}

	h1.boxed {
		border-radius: 16px 16px 0 0;
		font-size: clamp(19px, 5vw, 26px);
		line-height: 1.25;
		margin-bottom: 22px;
		padding: 14px 12px;
	}

	h1.boxed .bold {
		font-size: inherit;
	}

	p {
		font-size: 18px;
		line-height: 1.45;
	}

	.footer-documents {
		margin-top: 28px;
	}

	.footer-documents-list {
		align-items: center;
		flex-direction: column;
	}

	.footer-document {
		justify-content: center;
		min-width: 0;
		width: min(100%, 280px);
	}

	.footer-document img {
		height: 24px;
		max-height: 24px;
		max-width: 24px;
		width: 24px;
	}

	.footer-documents-title {
		font-size: clamp(24px, 7vw, 32px);
	}

	#defaultCountdown {
		margin-top: 24px;
		min-height: 80px;
	}

	#defaultCountdown .countdown-row {
		gap: 8px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	#defaultCountdown .countdown-section {
		padding: 8px 4px;
	}

	#defaultCountdown .countdown-period {
		font-size: 10px;
		letter-spacing: 0;
	}

	h1.boxed {
		overflow-wrap: anywhere;
	}
}

@media (max-width: 420px) {
	#logo.image-align {
		width: 94vw;
	}

	h1 {
		font-size: clamp(25px, 7.5vw, 34px);
	}

	h1.boxed {
		font-size: clamp(17px, 5vw, 22px);
	}
}
