/**
 * JPSC main stylesheet.
 */

:root {
	--jpsc-color-text: #1a1a1a;
	--jpsc-color-muted: #666;
	--jpsc-color-accent: #004ea2;
	--jpsc-color-bg: #fff;
	--jpsc-max-width: 1200px;
	--jpsc-gutter: 1.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--jpsc-color-text);
	background: var(--jpsc-color-bg);
	line-height: 1.6;
}

a {
	color: var(--jpsc-color-accent);
}

.site-header,
.site-footer,
.content-area,
.front-page {
	max-width: var(--jpsc-max-width);
	margin-inline: auto;
	padding-inline: var(--jpsc-gutter);
}

.site-header {
	padding-block: 1.5rem;
	border-bottom: 1px solid #e5e5e5;
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-title {
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
	color: inherit;
}

.site-description {
	margin: 0.25rem 0 0;
	color: var(--jpsc-color-muted);
	font-size: 0.95rem;
}

.site-nav__menu,
.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__menu a,
.site-footer__menu a {
	text-decoration: none;
	color: inherit;
}

.content-area,
.front-page {
	padding-block: 2rem;
}

.entry + .entry {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #eee;
}

.entry__title {
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.entry__meta {
	margin: 0 0 1rem;
	color: var(--jpsc-color-muted);
	font-size: 0.9rem;
}

.site-footer {
	padding-block: 2rem;
	border-top: 1px solid #e5e5e5;
	color: var(--jpsc-color-muted);
	font-size: 0.9rem;
}

.site-footer__copy {
	margin: 0;
}

.site-footer__copy a {
	color: inherit;
	text-decoration: none;
}
