/*
Theme Name: MOUND
Author: MOUND
Description: Minimal WordPress theme for MOUND.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: mound
*/

:root {
	--mound-ink: #111111;
	--mound-muted: #6b6b6b;
	--mound-line: #e8e8e5;
	--mound-earth: #cfc7bb;
	--mound-cool: #f7f8f8;
	--mound-paper: #ffffff;
	--mound-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
	--mound-grid-max: 1360px;
	--mound-grid-left: 200px;
	--mound-grid-main: minmax(0, 800px);
	--mound-grid-right: 240px;
	--mound-grid-gap: clamp(2.5rem, 3.5vw, 3.5rem);
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--mound-paper);
	color: var(--mound-ink);
	font-family: var(--mound-ui);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	padding-right: 0;
	padding-left: 0;
}

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

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

a {
	color: inherit;
	text-decoration-color: rgba(17, 17, 17, 0.38);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
	color: #55504a;
	text-decoration-color: var(--mound-earth);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid #8d8377;
	outline-offset: 3px;
}

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	left: 1rem;
	top: 1rem;
	padding: 0.75rem 1rem;
	background: var(--mound-paper);
	color: var(--mound-ink);
	z-index: 100000;
}

/* Global frame */
.mound-site-header {
	border-bottom: 1px solid var(--mound-line);
}

.mound-site-header > .wp-block-group,
.mound-site-footer > .wp-block-group {
	max-width: var(--mound-grid-max);
}

.mound-header-inner {
	display: grid !important;
	grid-template-columns: minmax(8rem, 1fr) auto minmax(12rem, 1fr);
	gap: clamp(1.5rem, 3vw, 3.5rem);
	align-items: center;
}

.mound-wordmark {
	display: inline-block;
	font-family: var(--mound-ui);
	font-size: 1.2rem;
	font-weight: 760;
	letter-spacing: 0.16em;
	line-height: 1;
	text-decoration: none;
}

.mound-wordmark:hover {
	color: var(--mound-ink);
}

.mound-header-categories {
	min-width: 0;
	justify-self: center;
}

.mound-site-header .mound-category-navigation {
	padding: 0;
	border: 0;
}

.mound-site-header .mound-category-navigation ul {
	justify-content: center;
	gap: 1rem clamp(0.9rem, 1.6vw, 1.45rem);
	padding: 0;
	overflow: visible;
}

.mound-site-header .mound-category-navigation a {
	padding: 0;
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.105em;
	line-height: 1.2;
}

.mound-header-primary-nav {
	justify-self: end;
}

.mound-site-header .wp-block-navigation-item__content {
	position: relative;
	display: inline-block;
	padding: 0.35rem 0;
	font-family: var(--mound-ui);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.13em;
	line-height: 1;
	text-decoration: none;
}

.mound-site-header .wp-block-navigation-item__content::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: var(--mound-earth);
	content: "";
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 180ms ease;
}

.mound-site-header .wp-block-navigation-item__content:hover::after,
.mound-site-header .wp-block-navigation-item__content:focus-visible::after,
.mound-site-header .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
	transform-origin: left center;
}

.mound-site-header .wp-block-navigation__responsive-container-open {
	border: 0;
	padding: 0.3rem;
}

.mound-site-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
	background: var(--mound-paper);
}

/* Home */
.mound-hero {
	position: relative;
	max-width: var(--mound-grid-max) !important;
	margin-right: auto !important;
	margin-left: auto !important;
	min-height: clamp(17rem, 20vw, 19rem);
	overflow: hidden;
	background: var(--mound-paper);
}

.mound-hero__logo {
	position: absolute;
	inset: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}

.mound-hero__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.mound-latest-heading {
	display: grid;
	grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr);
	gap: clamp(1rem, 3vw, 3.25rem);
	align-items: end;
	padding-bottom: clamp(1.8rem, 3vw, 2.7rem);
	border-bottom: 1px solid var(--mound-line);
}

.mound-section-kicker,
.mound-section-kicker p {
	margin: 0;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}

.mound-section-kicker span {
	display: block;
}

.mound-section-title {
	margin: 0;
	font-size: clamp(1.65rem, 2.7vw, 2.35rem);
	font-weight: 690;
	letter-spacing: -0.045em;
	line-height: 1.1;
}

/* Home recent articles */
.mound-home-recent {
	margin-bottom: 0;
}

.mound-recent-heading {
	padding-bottom: 0;
}

.mound-recent-heading .mound-section-title {
	font-size: clamp(1.75rem, 2.1vw, 2rem);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.18;
}

.mound-recent-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.6rem);
	margin-top: 1.5rem;
}

.mound-recent-card {
	min-width: 0;
	padding-top: 0.7rem;
	border-top: 1px solid var(--mound-line);
}

.mound-recent-card .wp-block-post-featured-image {
	margin: 0 0 0.85rem;
	overflow: hidden;
	background: var(--mound-cool);
	aspect-ratio: 16 / 9;
}

.mound-recent-placeholder,
.mound-home-article-placeholder {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 0;
	margin: 0 0 0.85rem;
	place-items: center;
	overflow: hidden;
	background-color: #f7f7f5;
	background-image: repeating-radial-gradient(
		ellipse at 50% 50%,
		transparent 0 15%,
		rgba( 207, 199, 187, 0.48 ) 15.3% 15.65%,
		transparent 15.95% 22%
	);
	aspect-ratio: 16 / 9;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.55rem;
	font-weight: 680;
	letter-spacing: 0.14em;
	line-height: 1;
	text-decoration: none;
}

.mound-recent-placeholder::after,
.mound-home-article-placeholder::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgba( 207, 199, 187, 0.34 );
	content: "";
	pointer-events: none;
}

.mound-recent-card .wp-block-post-featured-image a,
.mound-recent-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.mound-recent-card:hover .wp-block-post-featured-image img {
	transform: scale(1.01);
}

.mound-recent-card .wp-block-post-terms,
.mound-recent-card .wp-block-post-date {
	margin: 0;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.58rem;
	font-weight: 650;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.mound-recent-card .wp-block-post-terms::before {
	display: block;
	margin-bottom: 0.22rem;
	color: #99958e;
	content: "Category";
	font-size: 0.54rem;
	letter-spacing: 0.14em;
}

.mound-recent-grid .mound-recent-card h3.mound-recent-title {
	margin: 0.5rem 0 0;
	font-size: clamp(0.92rem, 1.15vw, 1.08rem);
	font-weight: 680;
	letter-spacing: -0.025em;
	line-height: 1.45;
	overflow: hidden;
	overflow-wrap: anywhere;
	display: -webkit-box !important;
	max-height: calc(1.45em * 2);
	min-height: calc(1.45em * 2);
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	line-clamp: 2;
}

.mound-recent-card .wp-block-post-title a {
	display: -webkit-box !important;
	overflow: hidden;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	text-decoration: none;
}

.mound-recent-card .wp-block-post-date {
	margin-top: 0.75rem;
}

.mound-recent-card .wp-block-post-date::before {
	margin-right: 0.4rem;
	color: #99958e;
	content: "Date";
	font-size: 0.54rem;
	letter-spacing: 0.14em;
}

/* Discovery navigation */
.mound-technical-label,
.mound-rail-title,
.mound-after-title {
	margin: 0;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.62rem;
	font-weight: 680;
	letter-spacing: 0.14em;
	line-height: 1.35;
	text-transform: uppercase;
}

.mound-category-navigation {
	padding: 0;
	border: 0;
}

.mound-category-navigation .mound-technical-label {
	margin-bottom: 0.85rem;
}

.mound-category-navigation ul,
.mound-topic-list {
	display: flex;
	gap: 0.65rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mound-category-navigation ul {
	overflow-x: auto;
	padding-bottom: 0.15rem;
	scrollbar-width: thin;
	white-space: nowrap;
}

.mound-category-navigation li,
.mound-topic-list li {
	flex: 0 0 auto;
	margin: 0;
}

.mound-category-navigation a,
.mound-topic-list a {
	display: inline-block;
	color: var(--mound-ink);
	font-family: var(--mound-ui);
	font-size: 0.7rem;
	font-weight: 660;
	letter-spacing: 0.105em;
	line-height: 1.5;
	text-decoration: none;
}

.mound-category-navigation a {
	padding: 0.15rem 0;
	border-bottom: 1px solid transparent;
}

.mound-category-navigation a:hover,
.mound-category-navigation a:focus-visible {
	border-bottom-color: var(--mound-earth);
	color: #55504a;
}

.mound-topic-list a {
	padding: 0.28rem 0;
	border-bottom: 1px solid var(--mound-line);
	color: var(--mound-muted);
}

.mound-topic-list a:hover,
.mound-topic-list a:focus-visible {
	border-bottom-color: var(--mound-earth);
	color: var(--mound-ink);
}

/* Home article archive */
.mound-home-all-articles {
	padding-top: 0.9rem;
	border-top: 1px solid var(--mound-line);
}

.mound-home-article-list {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.mound-home-article-list > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mound-home-article-item {
	display: grid;
	grid-template-columns: clamp(9rem, 26%, 12rem) minmax(0, 1fr);
	gap: clamp(1rem, 2.4vw, 1.75rem);
	align-items: start;
	padding: 1.2rem 0;
	border-top: 1px solid var(--mound-line);
}

.mound-home-article-list > li:first-child .mound-home-article-item,
.mound-home-article-list > .mound-home-article-item:first-child {
	border-top: 0;
	padding-top: 0;
}

.mound-home-article-image,
.mound-home-article-placeholder {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: var(--mound-cool);
	aspect-ratio: 3 / 2;
}

.mound-home-article-image {
	display: block;
}

.mound-home-article-placeholder {
	display: grid;
}

.mound-home-article-image a,
.mound-home-article-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.mound-home-article-item:hover .mound-home-article-image img {
	transform: scale(1.01);
}

.mound-home-article-details {
	min-width: 0;
}

.mound-home-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.6rem;
	margin: 0 0 0.55rem;
}

.mound-home-article-meta .wp-block-post-terms,
.mound-home-article-meta .wp-block-post-date {
	margin: 0;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.62rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.mound-home-article-meta .wp-block-post-terms::after {
	margin-left: 0.6rem;
	color: var(--mound-earth);
	content: "/";
}

.mound-home-article-item .wp-block-post-title {
	margin: 0;
	font-size: clamp(1.1rem, 1.55vw, 1.34rem);
	font-weight: 680;
	letter-spacing: -0.03em;
	line-height: 1.42;
	overflow-wrap: anywhere;
}

.mound-home-article-item .wp-block-post-title a {
	text-decoration: none;
}

.mound-home-article-item .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	margin: 0.55rem 0 0;
	overflow: hidden;
	color: var(--mound-muted);
	font-size: 0.84rem;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

/* Editorial archive grid */
.mound-post-grid {
	counter-reset: mound-index;
	gap: clamp(2.75rem, 5vw, 5.25rem) clamp(1.5rem, 3.25vw, 3.75rem);
	margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.mound-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-top: 0.9rem;
	border-top: 1px solid var(--mound-line);
	counter-increment: mound-index;
}

.mound-post-card::before {
	position: absolute;
	top: 0.92rem;
	right: 0;
	color: #9a968f;
	content: counter(mound-index, decimal-leading-zero);
	font-family: var(--mound-ui);
	font-size: 0.64rem;
	font-weight: 640;
	letter-spacing: 0.12em;
	line-height: 1;
}

.mound-post-card .wp-block-post-featured-image {
	order: -1;
	margin: 0 0 1.25rem;
	overflow: hidden;
	border-radius: 2px;
	background: #f4f4f2;
	aspect-ratio: 16 / 9;
}

.mound-post-card .wp-block-post-featured-image a,
.mound-post-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.mound-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.012);
}

.mound-post-card .wp-block-post-terms,
.mound-post-card .wp-block-post-date,
.mound-entry-meta,
.mound-entry-header .wp-block-post-terms {
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.67rem;
	font-weight: 640;
	letter-spacing: 0.115em;
	line-height: 1.55;
	text-transform: uppercase;
}

.mound-post-card .wp-block-post-terms {
	margin: 0 2.2rem 0.8rem 0;
}

.mound-post-card .wp-block-post-terms::before,
.mound-entry-header .wp-block-post-terms::before {
	display: block;
	margin-bottom: 0.26rem;
	color: #99958e;
	content: "Category";
	font-size: 0.58rem;
	letter-spacing: 0.14em;
}

.mound-post-card .wp-block-post-title {
	margin: 0;
	font-size: clamp(1.28rem, 1.8vw, 1.62rem);
	font-weight: 680;
	letter-spacing: -0.032em;
	line-height: 1.38;
	overflow-wrap: anywhere;
}

.mound-post-card .wp-block-post-title a {
	text-decoration: none;
}

.mound-post-card .wp-block-post-excerpt__excerpt {
	margin: 0.85rem 0 0;
	color: var(--mound-muted);
	font-size: 0.92rem;
	line-height: 1.75;
}

.mound-post-card .wp-block-post-date {
	margin: 1.2rem 0 0;
}

.mound-post-card .wp-block-post-date::before {
	margin-right: 0.55rem;
	color: #99958e;
	content: "Date";
	font-size: 0.58rem;
	letter-spacing: 0.14em;
}

.mound-post-card .mound-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.65rem;
	margin: 0.9rem 0 0;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.62rem;
	font-weight: 640;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.mound-post-card .mound-post-tags a {
	text-decoration: none;
}

.mound-post-card .mound-post-tags a::before {
	content: "#";
}

.mound-empty-state {
	margin: clamp(2.25rem, 4vw, 3.5rem) 0 0;
	color: var(--mound-muted);
	font-size: 0.95rem;
}

/* Article */
.mound-archive-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 690;
	letter-spacing: -0.055em;
	line-height: 1.12;
}

.mound-archive-heading {
	margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
	padding-bottom: clamp(1.6rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--mound-line);
}

.mound-archive-heading .mound-technical-label {
	margin-bottom: 0.75rem;
}

.mound-entry-header {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: clamp(1.8rem, 3vw, 2.8rem);
	border-bottom: 1px solid var(--mound-line);
}

.mound-entry-header .wp-block-post-terms {
	margin: 0 0 1rem;
}

.mound-entry-title {
	margin: 0;
	font-size: clamp(1.75rem, 3.9vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.mound-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin: 1.5rem 0 0;
}

.mound-entry-meta > * + * {
	padding-left: 0.8rem;
	border-left: 1px solid var(--mound-earth);
}

.mound-entry-published::before,
.mound-entry-modified::before {
	margin-right: 0.45rem;
	color: #99958e;
	font-size: 0.58rem;
	letter-spacing: 0.14em;
}

.mound-entry-published::before {
	content: "Date";
}

.mound-entry-modified::before {
	content: "Updated";
}

.mound-entry-featured {
	margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.mound-entry-featured .wp-block-post-featured-image,
.mound-entry-featured img {
	margin: 0;
	width: 100%;
	border-radius: 2px;
}

/* Shared desktop grid and rails */
.mound-home-layout,
.mound-article-layout {
	display: grid;
	grid-template-columns: var(--mound-grid-left) var(--mound-grid-main) var(--mound-grid-right);
	column-gap: var(--mound-grid-gap);
	align-items: start;
	max-width: var(--mound-grid-max) !important;
}

.mound-home-left-rail,
.mound-left-rail,
.mound-right-rail,
.mound-article-column,
.mound-home-content {
	min-width: 0;
}

.mound-home-left-rail,
.mound-left-rail,
.mound-right-rail {
	padding-top: 0.35rem;
}

.mound-home-content > .wp-block-group {
	margin-right: 0;
	margin-left: 0;
}

.mound-home-left-rail,
.mound-left-rail {
	align-self: stretch;
}

.mound-article-layout:not(:has(.mound-left-rail .mound-contents)) {
	grid-template-columns: minmax(0, 800px) var(--mound-grid-right);
	justify-content: center;
}

.mound-article-layout:not(:has(.mound-left-rail .mound-contents)) .mound-left-rail {
	display: none;
}

.mound-mobile-contents {
	display: none;
}

.mound-contents,
.mound-rail-section,
.mound-after-section {
	border-top: 1px solid var(--mound-line);
}

.mound-contents {
	padding-top: 0.9rem;
}

.mound-contents ol,
.mound-rail-recent ol {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.mound-contents li + li {
	margin-top: 0.7rem;
}

.mound-contents a {
	display: grid;
	grid-template-columns: 1.7rem minmax(0, 1fr);
	gap: 0.35rem;
	color: var(--mound-muted);
	font-size: 0.72rem;
	line-height: 1.55;
	text-decoration: none;
}

.mound-contents a .mound-contents-index,
.mound-rail-recent li > span {
	color: #99958e;
	font-family: var(--mound-ui);
	font-size: 0.58rem;
	font-weight: 680;
	letter-spacing: 0.12em;
	line-height: 1.9;
}

.mound-contents-label {
	min-width: 0;
	color: currentColor;
	font: inherit;
	letter-spacing: normal;
}

.mound-contents a:hover,
.mound-contents a:focus-visible {
	color: var(--mound-ink);
}

.mound-right-rail {
	display: grid;
	gap: 2rem;
}

.mound-article-layout > .mound-right-rail {
	position: static;
	top: auto;
	align-self: start;
}

.mound-rail-section {
	padding-top: 0.9rem;
}

.mound-rail-title {
	margin-bottom: 1rem;
}

.mound-rail-about p {
	margin: 0;
	color: var(--mound-muted);
	font-size: 0.78rem;
	line-height: 1.75;
}

.mound-rail-more {
	display: inline-block;
	margin-top: 0.95rem;
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-decoration: none;
}

.mound-rail-search .wp-block-search__inside-wrapper {
	border: 0;
	border-bottom: 1px solid var(--mound-line);
	border-radius: 0;
}

.mound-rail-search .wp-block-search__input {
	min-width: 0;
	padding: 0.55rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.78rem;
}

.mound-rail-search .wp-block-search__button {
	margin-left: 0.45rem;
	padding: 0.5rem 0.35rem;
	background: transparent;
	color: var(--mound-ink);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
}

.mound-home-archive-year + .mound-home-archive-year {
	margin-top: 1.35rem;
}

.mound-home-archive-year h3 {
	margin: 0;
	font-family: var(--mound-ui);
	font-size: 0.8rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	line-height: 1.4;
}

.mound-home-archive-year ul {
	margin: 0.65rem 0 0;
	padding: 0;
	list-style: none;
}

.mound-home-archive-year li + li {
	margin-top: 0.5rem;
}

.mound-home-archive-year a {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.64rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-decoration: none;
}

.mound-home-archive-year a span:first-child {
	color: var(--mound-ink);
}

.mound-home-archive-year a:hover,
.mound-home-archive-year a:focus-visible {
	color: var(--mound-ink);
}

.mound-rail-topics .mound-topic-list {
	flex-wrap: wrap;
	gap: 0.45rem 0.7rem;
}

.mound-rail-recent li {
	display: grid;
	grid-template-columns: 1.7rem minmax(0, 1fr);
	gap: 0.35rem;
}

.mound-rail-recent li + li {
	margin-top: 0.85rem;
}

.mound-rail-recent a {
	font-size: 0.75rem;
	line-height: 1.5;
	text-decoration: none;
}

.mound-after-section {
	margin-top: clamp(3.5rem, 5vw, 5rem);
	padding-top: 1rem;
}

.mound-article-tags {
	margin-top: clamp(3rem, 4vw, 4rem);
}

.mound-article-author {
	margin-top: clamp(3.5rem, 5vw, 5rem);
}

.mound-article-author__name {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 690;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.mound-article-author__description {
	max-width: 42rem;
	margin: 0;
	color: var(--mound-muted);
	font-size: 0.88rem;
	line-height: 1.8;
}

.mound-article-author__link {
	display: inline-block;
	min-height: 2.75rem;
	margin-top: 0.85rem;
	padding: 0.65rem 0;
	font-family: var(--mound-ui);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.09em;
	line-height: 1.45;
	text-decoration: none;
}

.mound-article-author__link span {
	margin-left: 0.25rem;
}

.mound-related {
	margin-top: clamp(3.25rem, 4vw, 4rem);
}

.mound-after-title {
	margin-bottom: 1rem;
}

.mound-prose .mound-after-title {
	margin-top: 0;
	margin-bottom: 1rem;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.62rem;
	font-weight: 680;
	letter-spacing: 0.14em;
	line-height: 1.35;
	text-transform: uppercase;
}

.mound-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.mound-related-item {
	min-width: 0;
}

.mound-related-grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.mound-related-grid--single .mound-related-item {
	display: grid;
	grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr);
	column-gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: start;
}

.mound-related-grid--single .mound-related-image,
.mound-related-grid--single .mound-related-placeholder {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin-bottom: 0;
}

.mound-related-grid--single .mound-related-category {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
	margin-bottom: 0;
}

.mound-related-grid--single .mound-related-item h3 {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	margin-top: 0.45rem;
}

.mound-related-grid--single .mound-related-image,
.mound-related-grid--single .mound-related-placeholder {
	align-self: stretch;
}

.mound-related-image {
	display: block;
	margin-bottom: 0.65rem;
	border-bottom: 0;
	background: var(--mound-cool);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.mound-related-placeholder {
	position: relative;
	display: grid;
	margin-bottom: 0.65rem;
	place-items: center;
	overflow: hidden;
	background-color: #f7f7f5;
	background-image: repeating-radial-gradient(
		ellipse at 50% 50%,
		transparent 0 15%,
		rgba( 207, 199, 187, 0.48 ) 15.3% 15.65%,
		transparent 15.95% 22%
	);
	aspect-ratio: 16 / 9;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.55rem;
	font-weight: 680;
	letter-spacing: 0.14em;
	line-height: 1;
	text-decoration: none;
}

.mound-related-placeholder::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgba( 207, 199, 187, 0.34 );
	content: "";
	pointer-events: none;
}

.mound-related-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mound-related-category {
	margin: 0 0 0.35rem;
	color: var(--mound-muted);
	font-size: 0.58rem;
	font-weight: 650;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.mound-related-item h3 {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 670;
	letter-spacing: -0.02em;
	line-height: 1.5;
}

.mound-related-item h3 a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-decoration: none;
}

.mound-adjacent-posts {
	margin-top: clamp(3rem, 4vw, 4.5rem);
}

.mound-adjacent-posts > div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.mound-adjacent-posts a {
	display: block;
	min-width: 0;
	padding: 0.9rem 0;
	border-top: 1px solid var(--mound-line);
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.5;
	text-decoration: none;
}

.mound-adjacent-posts .mound-adjacent-next {
	text-align: right;
}

.mound-adjacent-posts a span {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--mound-muted);
	font-size: 0.58rem;
	font-weight: 680;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Long-form content */
.mound-prose,
.mound-prose .wp-block-post-content {
	font-size: clamp(1.0625rem, 1.1vw, 1.125rem);
	line-height: 1.95;
}

.mound-prose > *:first-child,
.mound-prose .wp-block-post-content > *:first-child {
	margin-top: 0;
}

.mound-prose p,
.mound-prose .wp-block-post-content p {
	margin-top: 0;
	margin-bottom: 1.75em;
}

.mound-prose h2,
.mound-prose .wp-block-post-content h2 {
	margin-top: 3em;
	margin-bottom: 1.05em;
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	font-weight: 690;
	letter-spacing: -0.03em;
	line-height: 1.4;
}

.mound-prose h3,
.mound-prose .wp-block-post-content h3 {
	margin-top: 2.5em;
	margin-bottom: 0.95em;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 670;
	letter-spacing: -0.02em;
	line-height: 1.5;
}

.mound-prose ul,
.mound-prose ol,
.mound-prose .wp-block-post-content ul,
.mound-prose .wp-block-post-content ol {
	margin-bottom: 1.75em;
	padding-left: 1.5em;
}

.mound-prose li,
.mound-prose .wp-block-post-content li {
	margin-bottom: 0.58em;
	padding-left: 0.18em;
}

.mound-prose blockquote,
.mound-prose .wp-block-post-content blockquote {
	margin: 2.25em 0;
	padding: 0.15em 0 0.15em 1.25em;
	border-left: 1px solid #9f968b;
	color: #45433f;
	font-size: 1em;
	font-style: normal;
}

/* Optional article product links and affiliate disclosure. */
.mound-product-links {
	margin: clamp(2.5rem, 5vw, 4rem) 0;
	padding: 1rem 0 1.15rem;
	border-top: 1px solid var(--mound-line);
	border-bottom: 1px solid var(--mound-line);
}

.mound-product-links__label,
.mound-affiliate-disclosure span {
	display: block;
	margin: 0 0 0.45rem;
	color: var(--mound-muted);
	font-family: var(--mound-ui);
	font-size: 0.61rem;
	font-weight: 680;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.mound-product-links__name {
	margin: 0;
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.55;
}

.mound-product-links__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 0.9rem;
}

.mound-product-links__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--mound-earth);
	color: var(--mound-ink);
	font-family: var(--mound-ui);
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.03em;
	line-height: 1.35;
	text-decoration: none;
}

.mound-product-links__actions a span {
	margin-left: 0.45rem;
}

.mound-product-links__actions a:hover,
.mound-product-links__actions a:focus-visible {
	border-color: #9f968b;
	background: #faf9f7;
}

.mound-affiliate-disclosure {
	margin: 0 0 1.5rem;
	color: var(--mound-muted);
	font-size: 0.78rem;
	line-height: 1.65;
}

.mound-affiliate-disclosure span {
	display: inline;
	margin: 0 0.55rem 0 0;
}

/* Contact page pattern and third-party form plugin area. */
.mound-contact-page {
	margin-top: 2.5rem;
}

.mound-contact-note,
.mound-contact-privacy,
.mound-contact-form-placeholder {
	color: var(--mound-muted);
	font-size: 0.84rem;
	line-height: 1.7;
}

.mound-contact-form-area {
	margin-top: 2.5rem;
	padding: 1.4rem 0 1.5rem;
	border-top: 1px solid var(--mound-line);
	border-bottom: 1px solid var(--mound-line);
}

.mound-contact-form-area form,
.mound-contact-form {
	display: grid;
	gap: 1.25rem;
}

.mound-contact-form-area label,
.mound-contact-form label {
	display: grid;
	gap: 0.45rem;
	color: var(--mound-ink);
	font-size: 0.85rem;
	font-weight: 650;
	line-height: 1.5;
}

.mound-contact-form-area input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.mound-contact-form-area select,
.mound-contact-form-area textarea,
.mound-contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.mound-contact-form select,
.mound-contact-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--mound-line);
	border-radius: 0;
	background: var(--mound-paper);
	color: var(--mound-ink);
	font: inherit;
	line-height: 1.55;
}

.mound-contact-form-area textarea,
.mound-contact-form textarea {
	min-height: 10rem;
	resize: vertical;
}

.mound-contact-form-area input:focus,
.mound-contact-form-area select:focus,
.mound-contact-form-area textarea:focus,
.mound-contact-form input:focus,
.mound-contact-form select:focus,
.mound-contact-form textarea:focus {
	border-color: #9f968b;
}

.mound-contact-form-area input[type="submit"],
.mound-contact-form-area button[type="submit"],
.mound-contact-form input[type="submit"],
.mound-contact-form button[type="submit"] {
	justify-self: start;
	min-height: 2.75rem;
	padding: 0.65rem 1.1rem;
	border: 1px solid var(--mound-ink);
	border-radius: 0;
	background: var(--mound-ink);
	color: var(--mound-paper);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	line-height: 1.3;
	cursor: pointer;
}

.mound-contact-form-area input[type="submit"]:hover,
.mound-contact-form-area button[type="submit"]:hover,
.mound-contact-form input[type="submit"]:hover,
.mound-contact-form button[type="submit"]:hover {
	border-color: #55504a;
	background: #55504a;
}

.mound-contact-privacy {
	margin-top: 1.25rem;
}

.mound-prose figure,
.mound-prose .wp-block-post-content figure {
	margin-top: 2.25em;
	margin-bottom: 2.25em;
}

.mound-prose figcaption,
.mound-prose .wp-block-post-content figcaption {
	margin-top: 0.7rem;
	color: var(--mound-muted);
	font-size: 0.78rem;
	line-height: 1.6;
	text-align: left;
}

.mound-prose .wp-block-table,
.mound-prose .wp-block-post-content .wp-block-table {
	margin: 2.25em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.mound-prose table,
.mound-prose .wp-block-post-content table {
	width: 100%;
	min-width: 34rem;
	border-collapse: collapse;
	font-size: 0.94em;
	line-height: 1.65;
}

.mound-prose th,
.mound-prose td,
.mound-prose .wp-block-post-content th,
.mound-prose .wp-block-post-content td {
	padding: 0.8em 0.9em;
	border: 0;
	border-bottom: 1px solid var(--mound-line);
	text-align: left;
	vertical-align: top;
}

.mound-prose th,
.mound-prose .wp-block-post-content th {
	background: var(--mound-cool);
	font-weight: 670;
}

.mound-prose .wp-block-image.alignwide,
.mound-prose .wp-block-post-content .alignwide {
	max-width: min(100%, 1040px);
}

.mound-site-footer {
	border-top: 1px solid var(--mound-line);
	color: var(--mound-muted);
}

.mound-site-footer .wp-block-navigation-item__content,
.mound-site-footer p {
	font-family: var(--mound-ui);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
}

.mound-site-footer .wp-block-navigation-item__content {
	text-decoration: none;
}

.wp-block-query-pagination {
	margin-top: 4rem;
	font-family: var(--mound-ui);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
}

.wp-block-query-pagination a {
	text-decoration: none;
}

@media (min-width: 601px) {
	/* Keep every All Articles detail group anchored to the second grid column. */
	.mound-home-article-details {
		width: 100%;
		max-width: none !important;
		justify-self: stretch;
		margin-inline: 0 !important;
	}
}

@media (min-width: 1200px) {
	.wp-site-blocks {
		padding-right: clamp(20px, 1.7vw, 24px);
		padding-left: clamp(20px, 1.7vw, 24px);
	}

	.mound-article-layout {
		grid-template-columns: 232px minmax(0, 800px) 240px;
		column-gap: clamp(2.5rem, 3vw, 3rem);
	}

	.mound-entry-title {
		font-size: clamp(3rem, 3.55vw, 3.3rem);
	}

	.mound-contents li + li {
		margin-top: 0.85rem;
	}

	.mound-contents a {
		grid-template-columns: 1.8rem minmax(0, 1fr);
		line-height: 1.6;
	}

	.mound-contents-label {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.mound-article-layout > .mound-left-rail > .wp-block-shortcode {
		position: sticky;
		top: 88px;
		max-height: calc(100vh - 112px);
		overflow-y: auto;
	}

	.mound-article-layout > .mound-left-rail .mound-contents a.is-active {
		position: relative;
		color: var(--mound-ink);
		font-weight: 650;
	}

	.mound-article-layout > .mound-left-rail .mound-contents a.is-active::before {
		position: absolute;
		top: 0.15em;
		bottom: 0.15em;
		left: -0.45rem;
		width: 1px;
		background: var(--mound-earth);
		content: "";
	}

	.mound-home-recent,
	.mound-home-layout {
		width: 100%;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.mound-article-layout {
		width: calc(100% - 48px);
		margin-right: auto !important;
		margin-left: auto !important;
	}
}

@media (max-width: 1199px) {
	.mound-header-inner {
		display: flex !important;
		flex-wrap: wrap !important;
		row-gap: 0.7rem;
	}

	.mound-header-categories {
		order: 3;
		width: 100%;
		justify-self: auto;
	}

	.mound-site-header .mound-category-navigation ul {
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 0.1rem;
	}

	.mound-header-primary-nav {
		margin-left: auto;
	}

	.mound-home-layout {
		display: flex !important;
		flex-direction: column;
		max-width: 800px !important;
	}

	.mound-article-layout {
		display: block;
		max-width: 800px !important;
	}

	.mound-home-content {
		order: 1;
	}

	.mound-home-left-rail {
		order: 2;
		margin-top: clamp(3.5rem, 8vw, 5rem);
	}

	.mound-recent-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 1.5rem;
	}

	.mound-related-grid:not(.mound-related-grid--single) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mound-left-rail {
		display: none;
	}

	.mound-mobile-contents {
		display: block;
		margin: 0 0 clamp(2rem, 5vw, 3rem);
	}

	.mound-right-rail {
		order: 3;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem clamp(1.5rem, 5vw, 3rem);
		margin-top: clamp(3.5rem, 8vw, 5rem);
	}
}

@media (max-width: 781px) {
	.mound-latest-heading {
		grid-template-columns: 5.25rem minmax(0, 1fr);
	}

	.mound-post-grid {
		gap: 3.25rem 1.5rem;
	}

}

@media (max-width: 600px) {
	body {
		overflow-x: hidden;
	}

	.mound-header-inner {
		gap: 1rem;
	}

	.mound-site-header .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.mound-hero {
		min-height: 14rem;
	}

	.mound-hero__logo img {
		object-position: center center;
	}

	.mound-right-rail {
		grid-template-columns: 1fr;
	}

	.mound-home-left-rail {
		margin-top: 2.5rem;
	}

	.mound-recent-grid {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.mound-recent-card .wp-block-post-title {
		font-size: 1.08rem;
	}

	.mound-latest-heading {
		grid-template-columns: 1fr;
		gap: 0.7rem;
	}

	.mound-section-kicker span {
		display: inline;
	}

	.mound-section-kicker span + span::before {
		margin: 0 0.65rem;
		content: "/";
		color: var(--mound-earth);
	}

	.mound-entry-title {
		max-width: 100%;
		min-width: 0;
		letter-spacing: -0.04em;
		overflow-wrap: break-word;
		word-break: normal;
	}

	.mound-right-rail,
	.mound-related-grid,
	.mound-adjacent-posts > div {
		grid-template-columns: 1fr;
	}

	.mound-related-grid:not(.mound-related-grid--single) {
		grid-template-columns: 1fr;
	}

	.mound-related-grid--single .mound-related-item {
		grid-template-columns: 1fr;
	}

	.mound-related-grid--single .mound-related-image,
	.mound-related-grid--single .mound-related-placeholder {
		grid-column: auto;
		grid-row: auto;
		margin-bottom: 0.75rem;
	}

	.mound-related-grid--single .mound-related-category,
	.mound-related-grid--single .mound-related-item h3 {
		grid-column: auto;
		grid-row: auto;
	}

	.mound-right-rail {
		gap: 1.75rem;
	}

	.mound-adjacent-posts .mound-adjacent-next {
		text-align: left;
	}

	.mound-prose,
	.mound-prose .wp-block-post-content {
		line-height: 1.9;
	}

	.mound-prose table,
	.mound-prose .wp-block-post-content table {
		min-width: 30rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
