/*
Theme Name: JWK Headless
Theme URI: https://jwk.dk
Author: Jonas Wendt Knudsen
Author URI: https://jwk.dk
Description: Minimal headless block theme for b.jwk.dk. This install exists to serve content over the REST API to the jwk.dk SPA — it has no real public front end, so every request renders one plain informational page. It's a block theme for one reason: theme.json is the single source of the design tokens (colors, fonts, sizes, layout width) that both the block editor and the jwk.dk SPA read, and Appearance → Editor → Styles is where they're edited. See README.md.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jwk-headless
*/

/**
 * Only the placeholder page's own layout lives here. Every color, font and
 * size below comes from theme.json (and from whatever is saved in Appearance →
 * Editor → Styles) as a --wp--preset--* variable; the literal after the comma
 * is just a fallback for when this file is read outside WordPress.
 */

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: var(--wp--preset--font-family--mono, ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Consolas, Menlo, monospace);
	line-height: 1.5;
}

/* Block themes wrap the template in .wp-site-blocks; that's what gets
   centered, not <body> directly. */
.wp-site-blocks {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 24px;
}

.jwk-card {
	max-width: 560px;
	width: 100%;
	padding: 40px;
	border: 1px solid var(--wp--preset--color--border, rgba(255, 255, 255, 0.09));
	border-radius: 12px;
	background: var(--wp--preset--color--bg-secondary, #0e0e14);
}

.jwk-eyebrow {
	margin: 0 0 12px;
	color: var(--wp--preset--color--text-muted, #9898a8);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jwk-card h1 {
	margin: 0 0 16px;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 600;
}

.jwk-card p {
	margin: 0 0 12px;
	color: var(--wp--preset--color--text-muted, #9898a8);
	font-size: 14px;
}

.jwk-card p:last-child {
	margin-bottom: 0;
}

.jwk-card a {
	text-decoration: none;
}

.jwk-card a:hover,
.jwk-card a:focus {
	text-decoration: underline;
}

.jwk-endpoint {
	margin-top: 20px !important;
	padding-top: 20px;
	border-top: 1px solid var(--wp--preset--color--border, rgba(255, 255, 255, 0.09));
}
