/*
Theme Name: LDW 12-20
Author: LDW 12-20
Description: A simple, readable theme for the LDW 12-20 community website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ldw12-20
*/

:root {
	--ldw-ink: #1d2935;
	--ldw-muted: #526170;
	--ldw-paper: #ffffff;
	--ldw-canvas: #f3f6f8;
	--ldw-accent: #145a75;
	--ldw-border: #d6e0e6;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--ldw-canvas);
	color: var(--ldw-ink);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}

a {
	color: var(--ldw-accent);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid #e6a700;
	outline-offset: 3px;
}

.site-header {
	background: var(--ldw-paper);
	border-bottom: 1px solid var(--ldw-border);
}

.site-header-inner,
.site-main,
.site-footer-inner {
	width: min(100% - 2rem, 68rem);
	margin-inline: auto;
}

.site-header-inner {
	padding-block: 1.25rem;
}

.site-branding a {
	color: var(--ldw-ink);
	text-decoration: none;
}

.site-title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
}

.site-description {
	margin: 0.25rem 0 0;
	color: var(--ldw-muted);
}

.site-nav {
	margin-top: 1rem;
}

.site-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: inline-block;
	padding-block: 0.35rem;
	font-weight: 600;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.site-main {
	min-height: 65vh;
	padding-block: clamp(2rem, 5vw, 4rem);
}

.page-card,
.post-card {
	padding: clamp(1.25rem, 4vw, 2.5rem);
	background: var(--ldw-paper);
	border: 1px solid var(--ldw-border);
	border-radius: 0.5rem;
}

.entry-title,
.site-main h1,
.site-main h2,
.site-main h3 {
	color: var(--ldw-ink);
	text-transform: none;
	line-height: 1.25;
}

.entry-title {
	margin-top: 0;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.site-footer {
	padding-block: 1.25rem;
	background: var(--ldw-paper);
	border-top: 1px solid var(--ldw-border);
	color: var(--ldw-muted);
}

.site-footer-inner p {
	margin: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 40rem) {
	.site-nav ul {
		gap: 0.25rem 0.9rem;
	}
}
