html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*, *::before, *::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: #f8f1e6;
	color: #2b2119;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
	line-height: 1.8;
	overflow-x: hidden;
}

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

a {
	color: inherit;
}

.mdr-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mdr-skip-link:focus {
	left: 16px;
	top: 16px;
	width: auto;
	height: auto;
	z-index: 9999;
	background: #fff;
	color: #111;
	padding: 10px 14px;
	border-radius: 8px;
}

.mdr-front-page,
.mdr-blank-page {
	width: 100%;
	margin: 0;
	padding: 0;
}

.mdr-basic-page {
	width: min(960px, calc(100% - 32px));
	margin: 0 auto;
	padding: 72px 0;
}

.mdr-basic-article,
.mdr-post-card {
	background: #fffaf1;
	border: 1px solid rgba(43, 33, 25, .12);
	border-radius: 24px;
	padding: clamp(24px, 4vw, 44px);
	box-shadow: 0 18px 48px rgba(21,17,13,.08);
}

.mdr-basic-header {
	margin-bottom: 28px;
}

.mdr-basic-header h1 {
	margin: 0;
	font-size: clamp(30px, 5vw, 48px);
	line-height: 1.25;
}

.mdr-basic-meta {
	color: rgba(43, 33, 25, .62);
	font-size: 14px;
	margin: 0 0 8px;
}

.mdr-basic-content :where(h2, h3) {
	line-height: 1.35;
	margin-top: 2em;
}

.mdr-post-list {
	display: grid;
	gap: 20px;
}

.mdr-post-card h2 {
	margin: 0 0 10px;
	font-size: 24px;
}

.mdr-post-card h2 a {
	text-decoration: none;
}

.mdr-post-card h2 a:hover {
	text-decoration: underline;
}
