/*
Theme Name: Westwood Knoxville
Description: Custom classic theme for the Westwood Knoxville neighborhood association.
Author: Westwood Knoxville
Version: 1.0.0
*/

:root {
	--wk-green: #006E51;
	--wk-green-dark: #004F3A;
	--wk-cream: #FAF8F4;
	--wk-charcoal: #2B2B28;
	--wk-line: #E3DFD5;
	--wk-font-display: 'Playfair Display SC', Georgia, serif;
	--wk-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--wk-max-width: 1100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html, body { height: 100%; }

body {
	margin: 0;
	background: var(--wk-cream);
	color: var(--wk-charcoal);
	font-family: var(--wk-font-body);
	font-size: 17px;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

h1, h2, h3, h4 {
	font-family: var(--wk-font-display);
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--wk-green-dark);
	margin: 0 0 0.5em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }

a { color: var(--wk-green); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--wk-green); outline-offset: 2px; }

img { max-width: 100%; height: auto; display: block; }

.wk-container {
	max-width: var(--wk-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---- Header ------------------------------------------------------- */
.wk-header {
	background: var(--wk-green);
	position: sticky;
	top: 0;
	z-index: 100;
	flex-shrink: 0;
}
.wk-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	max-width: var(--wk-max-width);
	margin: 0 auto;
	flex-wrap: wrap;
	gap: 16px;
}
.wk-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}
.wk-logo {
	font-family: var(--wk-font-display);
	font-size: 1.5rem;
	color: #fff;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
	gap: 14px;
}
.wk-logo a { color: #fff; }
.wk-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0;
	padding: 0;
}
.wk-nav a {
	color: #FAF8F4;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.wk-nav a:hover { color: #fff; text-decoration: underline; }

/* ---- Footer ------------------------------------------------------- */
.wk-footer {
	background: var(--wk-green-dark);
	color: #fff;
	padding: 40px 24px;
	text-align: center;
	font-size: 0.9rem;
	flex-shrink: 0;
}
.wk-footer a { color: #fff; text-decoration: underline; }

/* ---- Content blocks ------------------------------------------------ */
.wk-main { padding: 48px 0; flex: 1 0 auto; }

.wk-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin-top: 32px;
}
.wk-card {
	background: #fff;
	border: 1px solid var(--wk-line);
	border-radius: 4px;
	padding: 24px;
}
.wk-card h3 { margin-bottom: 0.3em; }
.wk-card .wk-role {
	color: var(--wk-green);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.6em;
}
.wk-card img.wk-avatar {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 16px;
}

.wk-doc-list { list-style: none; margin: 32px 0 0; padding: 0; }
.wk-doc-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--wk-line);
}
.wk-doc-list .wk-doc-category {
	font-size: 0.8rem;
	color: #6b6a63;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wk-hero {
	margin: -48px -24px 40px;
	max-height: 420px;
	overflow: hidden;
	border-bottom: 4px solid var(--wk-green);
}
.wk-hero img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.wk-eyebrow {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wk-green);
	margin-bottom: 0.5em;
	display: block;
}

.wk-header-image { display: block; }
.wk-logo-link { display: inline-flex; align-items: center; }
.wk-logo-link:hover { text-decoration: none; }
.wk-header-image-center { width: 100%; justify-content: center; margin: 8px 0 0; }

.wk-footer-image-wrap { margin-bottom: 16px; }
.wk-footer-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: nowrap;
}
.wk-footer-row p { margin: 0; }
.wk-footer-row .wk-footer-image { flex-shrink: 0; }
@media (max-width: 640px) {
	h1 { font-size: 1.9rem; }
	.wk-header-inner { flex-direction: column; align-items: flex-start; }
}