/*
 * Accumulation Systems – small fixes on top of template.css
 * (template.css is compiled from scss; keep hand-written fixes here)
 */

/* The coloured header/footer bars are 100vw wide. 100vw includes the
   vertical scrollbar, which made every page a few pixels too wide and
   showed a horizontal scrollbar at the bottom. Clip the overflow. */
html {
	overflow-x: hidden;
}

@supports (overflow: clip) {
	html {
		overflow-x: clip;
	}
}

/* Error / 404 page */
.error-page {
	max-width: 760px;
	margin: 0 auto;
	padding: 140px 0 120px;
	text-align: center;
}

.error-page__code {
	display: block;
	font-size: clamp(4.5rem, 14vw, 8rem);
	font-weight: 700;
	line-height: 1;
	color: var(--accu-yellow, #f6bd41);
}

.error-page__title {
	margin: 1rem 0 0.75rem;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.error-page__text {
	margin: 0 auto 2rem;
	max-width: 560px;
	font-size: 1.1rem;
}

.error-page__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
}

.error-page__btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--accu-yellow, #f6bd41);
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	color: #000;
	background: var(--accu-yellow, #f6bd41);
}

.error-page__btn:hover,
.error-page__btn:focus {
	background: #fff;
	color: #000;
}

.error-page__btn--ghost {
	background: transparent;
}

.error-page__btn--ghost:hover,
.error-page__btn--ghost:focus {
	background: var(--accu-yellow, #f6bd41);
}

.error-page__details {
	margin-top: 2rem;
	text-align: left;
	font-size: 0.85rem;
}

@media (max-width: 1199px) {
	.error-page {
		padding: 110px 16px 80px;
	}
}
