/*
 * Spacca - Simple content pages (page.php, page-privacy-policy.php).
 * Dark background, white text, home-style footer. Loaded only on these pages.
 */

.spacca-simple-page {
	background-color: var(--text);
	color: var(--white);
}

/* Header: the white logo and Contact are now visible on the dark background. */
.spacca-simple-page .site-header a:hover {
	color: var(--text-hover);
}

/* Footer: same look as the home footer (transparent, white text/icons),
   but in normal flow at the bottom of the page. */
.spacca-simple-page .site-footer {
	margin-top: var(--space-xl);
	padding: 16px;
	background: transparent;
	color: var(--white);
}

.spacca-simple-page .site-footer a,
.spacca-simple-page .site-footer__copy {
	color: var(--white);
}

.spacca-simple-page .site-footer a:hover {
	color: var(--text-hover);
}

.spacca-simple-page .site-footer__inner {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Content ---------------------------------------------------------------- */
.spacca-page {
	padding-block: var(--space-l);
}

.spacca-page__title {
	margin-bottom: var(--space-m);
	font-family: var(--font-inter);
	font-weight: 600;
	font-size: 2rem;
	line-height: 1;
}

.spacca-page__meta {
	margin-bottom: var(--space-m);
	font-family: var(--font-newsreader);
	font-size: var(--size-small);
	color: var(--text-muted);
}

.spacca-page__content {
	font-family: var(--font-newsreader);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.spacca-page__content {
		font-size: 18px;
	}
}

/* Section titles inside the copy: Inter, 20px. */
.spacca-page__content h2 {
	margin-top: var(--space-m);
	margin-bottom: var(--space-s);
	font-family: var(--font-inter);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.2;
}

/* Restore the spacing the base reset zeroes on running copy. */
.spacca-page__content p {
	margin-bottom: 1rem;
}

.spacca-page__content ul {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
	list-style: disc;
}

.spacca-page__content li {
	margin-bottom: 0.25rem;
}

.spacca-page__content a {
	text-decoration: underline;
}

.spacca-page__content a:hover {
	color: var(--text-hover);
}

/* Back-home link on the 404 screen: same look as on the articles, but white.
   Scoped to the 404 only, so issue pages keep the dark default from base.css. */
.spacca-404-page .spacca-back-home,
.spacca-404-page .spacca-back-home:hover {
	color: var(--white);
}

/* 404 page -------------------------------------------------------------- */
/* Full viewport: header on top, message centered, footer at the bottom. */
.spacca-404-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.spacca-404-page .site-main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.spacca-404 {
	text-align: center;
	padding-inline: var(--space-s);
}

.spacca-404__title {
	font-family: var(--font-inter);
	font-weight: 600;
	font-size: 3rem;
	line-height: 1;
}

.spacca-404__text {
	margin-top: var(--space-s);
	font-family: var(--font-newsreader);
	font-size: 18px;
	color: var(--text-muted);
}

@media (min-width: 768px) {
	.spacca-404__title {
		font-size: 4rem;
	}
}
