/* snailmail-new — layout test (Proxima Nova + PF Regal Text) */

@font-face {
	font-family: "Proxima Nova";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/ProximaNova-Regular-v1.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "Proxima Nova";
	font-style: normal;
	font-weight: 600;
	src: url("../fonts/ProximaNova-Semibold-v1.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "Proxima Nova";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/ProximaNova-Bold-v1.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "PF Regal Text";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/PFRegalTextPro-RegularB-v1.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "PF Regal Text";
	font-style: italic;
	font-weight: 400;
	src: url("../fonts/PFRegalTextPro-RegularBItalic-v1.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "PF Regal Text";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/PFRegalTextPro-Bold-v1.woff") format("woff");
	font-display: swap;
}

:root {
	--smn-ink: rgba(10, 9, 8, 0.8);
	--smn-muted: rgba(60, 55, 50, 1);
	--smn-paper: rgba(244, 238, 224, 1);
	--smn-paper-deep: rgba(228, 217, 194, 1);
	--smn-gutter: rgba(221, 210, 188, 1);
	--smn-line: rgba(201, 184, 150, 1);
	--smn-accent: rgba(164, 30, 0, 1);
	--smn-accent-soft: rgba(196, 74, 46, 1);
	--smn-lead: #622e1a; /* rgba( 66, 46, 30, 0.9); */
	--smn-max: 920px;
	--smn-sans: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--smn-serif: "PF Regal Text", Georgia, "Times New Roman", serif;
}

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

html {
	scroll-behavior: smooth;
}

body.smn {
	margin: 0;
	min-height: 100vh;
	color: var(--smn-ink);
	background-color: #eeebcd;
	font-family: var(--smn-serif);
	font-size: 18px;
	line-height: 1.55;
}
body.smn::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: url("../img/zxpress-2026-2-bg.webp");
	background-repeat: repeat;
	opacity: 0.5;
}

a {
	color: var(--smn-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover {
	color: var(--smn-accent-soft);
}

.smn-frame {
	position: relative;
	z-index: 1;
	width: min(100%, var(--smn-max));
	margin: 0 auto;
	padding: 0 28px 28px;
	min-height: 100vh;
	background: var(--smn-paper);
	box-shadow:
		0 0 0 1px rgba(28, 23, 18, 0.06),
		0 0 48px rgba(28, 23, 18, 0.08);
}

.smn-header {
	position: sticky;
	top: 0;
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 -28px;
	padding: 28px 28px 16px;
	background: var(--smn-paper);
	border-bottom: none;
	animation: smn-fade-up 0.55s ease both;
}
.smn-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 28px;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		var(--smn-paper) 0%,
		rgba(244, 238, 224, 0) 100%
	);
}
.smn-header > * {
	position: relative;
	z-index: 1;
}
.smn-header-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 16px;
	z-index: 3;
}

.smn-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #000;
	justify-self: start;
}
.smn-brand:hover {
	color: #000;
}
.smn-brand-name {
	font-family: var(--smn-sans);
	font-weight: 700;
	font-size: 28px;
	letter-spacing: 0.02em;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 rgba(10, 9, 8, 0.18);
}
.smn-brand-stripes {
	display: none;
	align-items: stretch;
	gap: 4px;
	height: 0.50em;
	font-size: 28px;
	line-height: 1;
	margin-left: 2px;
}
.smn-brand-stripe {
	display: block;
	width: 2.5px;
	height: 100%;
	border-radius: 1px;
	/* skew keeps vertical height = text caps; looks like / */
	transform: skewX(-28deg);
	transform-origin: center;
	flex: 0 0 auto;
}
/* Muted ZX Spectrum faceplate colours (red / yellow / green / cyan) */
.smn-brand-stripe--red { background: #c45c52; }
.smn-brand-stripe--yellow { background: #c4a84a; }
.smn-brand-stripe--green { background: #4a9a5c; }
.smn-brand-stripe--cyan { background: #4a9aaa; }

.smn-nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 0;
	max-width: 100%;
	font-family: var(--smn-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.smn-nav-primary {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
.smn-nav a,
.smn-nav-item {
	color: var(--smn-ink);
	text-decoration: none;
	position: relative;
	padding: 4px 0;
	white-space: nowrap;
	flex: 0 0 auto;
}
.smn-nav-item.is-overflow {
	display: none;
}
.smn-nav a::after,
.smn-nav-item::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--smn-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.smn-nav a:hover::after,
.smn-nav a.is-active::after,
.smn-nav-item:hover::after,
.smn-nav-item.is-active::after {
	transform: scaleX(1);
}
.smn-nav a.is-active,
.smn-nav-item.is-active {
	color: var(--smn-accent);
}
.smn-nav-more-wrap {
	position: relative;
	flex: 0 0 auto;
}
.smn-nav-more-toggle {
	appearance: none;
	border: 0;
	background: none;
	padding: 4px 0;
	font: inherit;
	font-family: var(--smn-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--smn-ink);
	cursor: pointer;
	position: relative;
	white-space: nowrap;
}
.smn-nav-more-toggle::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--smn-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.smn-nav-more-wrap.is-open .smn-nav-more-toggle::after,
.smn-nav-more-toggle:hover::after {
	transform: scaleX(1);
}
.smn-nav-more-wrap.is-open .smn-nav-more-toggle {
	color: var(--smn-accent);
}
.smn-nav-more-wrap.is-open {
	z-index: 110;
}
.smn-nav-more {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: auto;
	min-width: 220px;
	padding: 8px 0;
	background: var(--smn-paper);
	border: 1px solid var(--smn-line);
	box-shadow: 0 12px 28px rgba(28, 23, 18, 0.12);
	z-index: 110;
}
.smn-nav-overflow:not([hidden]) {
	padding-bottom: 8px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--smn-line);
}
.smn-nav-more a,
.smn-nav-more-logout button {
	display: block;
	width: 100%;
	padding: 8px 16px;
	font-family: var(--smn-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--smn-ink);
	text-decoration: none;
	text-align: left;
	background: none;
	border: 0;
	cursor: pointer;
}
.smn-nav-more a::after {
	display: none;
}
.smn-nav-more a:hover,
.smn-nav-more-logout button:hover {
	background: var(--smn-paper-deep);
	color: var(--smn-accent);
}
.smn-nav-more a.is-active {
	color: var(--smn-accent);
}
.smn-nav-more-logout {
	margin: 0;
}

.smn-lang {
	justify-self: end;
	font-family: var(--smn-sans);
	font-size: 13px;
	font-weight: 600;
	color: var(--smn-muted);
}
.smn-lang span {
	margin: 0 6px;
}
.smn-lang a {
	color: var(--smn-accent);
	text-decoration: none;
}
.smn-lang b {
	color: var(--smn-ink);
}

.smn-search {
	margin: 0;
	z-index: 2;
}
.smn-search-wrap {
	position: relative;
}
.smn-search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.smn-search-input {
	display: block;
	width: 100%;
	font-family: var(--smn-sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--smn-ink);
	background: #fff;
	border: 1px solid var(--smn-line);
	border-radius: 2px;
	padding: 10px 12px;
}
.smn-search-input:focus {
	outline: 2px solid rgba(164, 30, 0, 0.25);
	outline-offset: 1px;
}
.smn-search-suggest {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border: 1px solid var(--smn-line);
	border-top: none;
	z-index: 9999;
	max-height: 200px;
	overflow-y: auto;
	font-family: var(--smn-sans);
	font-size: 14px;
}
.smn-search-suggest div {
	padding: 6px 10px;
	cursor: pointer;
}
.smn-search-suggest div.active,
.smn-search-suggest div:hover {
	background: var(--smn-paper-deep);
}

.smn-main {
	position: relative;
	z-index: 1;
	padding-top: 28px;
	animation: smn-fade-up 0.7s ease 0.08s both;
	color: var(--smn-ink);
}

.smn-hero {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 28px 40px;
	align-items: start;
	margin-bottom: 40px;
}
.smn-hero--compact {
	display: block;
	margin-bottom: 28px;
}
.smn-hero--compact .smn-hero-sub {
	margin: 0.55rem 0 0;
	font-family: var(--smn-sans);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--smn-muted, #5a5348);
}
.smn-hero--compact .smn-lead {
	margin-top: 1.1rem;
}
.smn-compare-wrap {
	margin-top: 1.35rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.smn-compare {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--smn-sans);
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--smn-ink);
}
.smn-compare th,
.smn-compare td {
	padding: 0.7rem 0.85rem 0.7rem 0;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--smn-line);
}
.smn-compare thead th {
	font-weight: 700;
	color: var(--smn-ink);
	border-bottom-color: rgba(60, 55, 50, 0.28);
}
.smn-compare tbody th {
	font-weight: 700;
	white-space: nowrap;
	padding-right: 1.25rem;
	color: var(--smn-ink);
}
.smn-compare td {
	font-weight: 400;
	color: var(--smn-lead);
}
.smn-compare tr:last-child th,
.smn-compare tr:last-child td {
	border-bottom: none;
}
@media (max-width: 820px) {
	.smn-compare {
		font-size: 0.86rem;
		min-width: 34rem;
	}
	.smn-compare tbody th {
		white-space: normal;
	}
}
.smn-hero--compact .smn-hero-sub a {
	position: relative;
	color: #000;
	text-decoration: none;
	padding-bottom: 2px;
}
.smn-hero--compact .smn-hero-sub a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--smn-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.smn-hero--compact .smn-hero-sub a:hover {
	color: #000;
}
.smn-hero--compact .smn-hero-sub a:hover::after {
	transform: scaleX(1);
}
.smn-hero--compact .smn-hero-geo {
	margin: 0.35rem 0 0;
	font-family: var(--smn-sans);
	font-weight: 400;
	font-size: calc(0.85 * clamp(28px, 4vw, 42px));
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--smn-muted, #7a7268);
}
.smn-hero h1 {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	font-family: var(--smn-sans);
	font-weight: 700;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	align-self: end;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
	-webkit-hyphens: auto;
}
.smn-lead {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 0;
	padding: 2px 0 2px 16px;
	border-left: 3px solid rgba(164, 30, 0, 0.35);
	color: var(--smn-lead);
	font-size: 17px;
	line-height: 1.6;
}
.smn-lead p {
	margin: 0 0 0.85em;
}
.smn-lead p:last-child {
	margin-bottom: 0;
}
.smn-lead .smn-compare-wrap {
	margin-top: 0.5rem;
	margin-bottom: 0;
}
.smn-lead .smn-compare {
	font-size: 0.95em;
}
.smn-lead .smn-compare th,
.smn-lead .smn-compare td {
	color: inherit;
}
.smn-lead .smn-compare thead th,
.smn-lead .smn-compare tbody th {
	color: var(--smn-ink);
}
.smn-hero-visual {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	align-self: start;
}
.smn-hero-visual img {
	display: block;
	width: min(100%, 360px);
	height: auto;
	filter: drop-shadow(0 12px 28px rgba(28, 23, 18, 0.12));
}

.smn-back {
	margin: 0 0 18px;
	font-family: var(--smn-sans);
	font-size: 14px;
	font-weight: 600;
}
.smn-back a {
	text-decoration: none;
}

.smn-filters {
	display: grid;
	gap: 10px;
	margin: 0 0 28px;
	padding: 16px 0;
	border-top: 1px solid var(--smn-line);
	border-bottom: 1px solid var(--smn-line);
}
.smn-filters-label {
	font-family: var(--smn-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--smn-muted);
}
.smn-filters-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}
.smn-filter {
	font-family: var(--smn-sans);
	font-size: 13px;
	font-weight: 600;
	color: var(--smn-ink);
	text-decoration: none;
	padding: 4px 0;
	border-bottom: 1px solid transparent;
}
.smn-filter:hover {
	border-bottom-color: var(--smn-accent);
}
.smn-filter.is-active {
	color: var(--smn-accent);
	border-bottom-color: var(--smn-accent);
}
.smn-filter--all {
	color: var(--smn-muted);
}
.smn-filter-count {
	font-size: 0.62em;
	font-weight: 600;
	color: rgba(60, 55, 50, 0.45);
	margin-left: 1px;
	line-height: 0;
}

.smn-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}
.smn-list-item {
	border-bottom: 1px solid var(--smn-line);
	animation: smn-fade-up 0.55s ease both;
	position: relative;
	z-index: 0;
	overflow: visible;
}
.smn-list-item:nth-child(1) { animation-delay: 0.05s; }
.smn-list-item:nth-child(2) { animation-delay: 0.1s; }
.smn-list-item:nth-child(3) { animation-delay: 0.15s; }
.smn-list-item:nth-child(4) { animation-delay: 0.2s; }
.smn-list-item:nth-child(5) { animation-delay: 0.25s; }

.smn-list-card {
	display: block;
	padding: 22px 0;
	color: inherit;
	text-decoration: none;
	overflow: visible;
}
.smn-list-card:hover {
	color: inherit;
}
.smn-list-cover {
	float: right;
	margin: 0 0 12px 18px;
	shape-outside: margin-box;
	position: relative;
	z-index: 1;
	overflow: visible;
}
.smn-list-cover img {
	display: block;
	width: 128px;
	height: auto;
	background: var(--smn-paper-deep);
	border: 1px solid var(--smn-line);
	transform-origin: center center;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
	will-change: transform;
}
.smn-list-cover.is-zoomed {
	z-index: 100;
}
.smn-list-cover.is-zoomed img {
	box-shadow: 0 18px 48px rgba(28, 23, 18, 0.32);
}
.smn-list-item.is-zoomed {
	z-index: 40;
}
.smn-list-title {
	display: block;
	margin: 0 0 8px;
	font-family: var(--smn-sans);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.015em;
}
.smn-list-card:hover .smn-list-title {
	color: var(--smn-accent);
}
.smn-list-summary {
	display: block;
	overflow: visible;
	color: var(--smn-ink);
	font-size: 17px;
	margin-bottom: 10px;
}
.smn-list-summary::after {
	content: "";
	display: table;
	clear: both;
}
.smn-list-summary-text {
	display: block;
	white-space: pre-line;
}
.smn-list-summary-text p {
	margin: 0 0 0.6em;
	white-space: normal;
}
.smn-list-summary-text p:last-child {
	margin-bottom: 0;
}
.smn-list-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
	clear: both;
	font-family: var(--smn-sans);
	font-size: 13px;
	font-weight: 600;
	color: var(--smn-muted);
}
.smn-list-meta-main {
	min-width: 0;
}
.smn-list-meta-geo {
	font-weight: 400;
	color: rgba(60, 55, 50, 0.72);
}
.smn-list-meta-date {
	flex-shrink: 0;
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
	font-weight: 400;
	color: rgba(60, 55, 50, 0.72);
}

.smn-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 28px;
	font-family: var(--smn-sans);
	font-size: 14px;
	font-weight: 600;
}
.smn-pages a {
	text-decoration: none;
}

.smn-letter-title {
	margin: 0 0 14px;
	font-family: var(--smn-sans);
	font-weight: 700;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
	-webkit-hyphens: auto;
}
.smn-letter-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin: 0 0 18px;
	font-family: var(--smn-sans);
	font-size: 14px;
	line-height: 1.4;
	color: var(--smn-muted);
}
.smn-letter-meta-row {
	display: inline;
}
.smn-letter-meta-label {
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(60, 55, 50, 0.55);
	margin-right: 6px;
}
.smn-letter-meta-author {
	font-weight: 600;
	font-size: 14px;
	color: var(--smn-ink);
	text-decoration: none;
}
a.smn-letter-meta-author:hover {
	color: var(--smn-accent);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}
.smn-letter-meta-geo {
	font-weight: 400;
	color: rgba(60, 55, 50, 0.72);
}
.smn-letter-meta-sep {
	font-weight: 400;
	color: rgba(60, 55, 50, 0.45);
}
.smn-letter-meta-date {
	margin-left: auto;
	font-weight: 400;
	color: rgba(60, 55, 50, 0.72);
	white-space: nowrap;
}
.smn-letter-summary {
	margin: 0 0 28px;
	padding: 2px 0 2px 16px;
	border-left: 3px solid rgba(164, 30, 0, 0.35);
	font-size: 19px;
	color: var(--smn-lead);
	white-space: pre-line;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
	-webkit-hyphens: auto;
}
.smn-letter-scans {
	display: grid;
	gap: 18px;
	margin: 0 0 32px;
}
.smn-scan img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--smn-line);
	background: #fff;
}
.smn-letter-body {
	font-size: 19px;
	color: var(--smn-ink);
	white-space: pre-line;
}
.smn-letter-body p {
	margin: 0 0 1em;
	white-space: normal;
}

.smn-author-index {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--smn-line);
}
.smn-author-index-item {
	border-bottom: 1px solid var(--smn-line);
}
.smn-author-index-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 18px;
	padding: 14px 0;
}
.smn-author-index-main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 14px;
	min-width: 0;
}
.smn-author-index-name {
	position: relative;
	font-family: var(--smn-sans);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
	color: #000;
	text-decoration: none;
	padding-bottom: 2px;
}
.smn-author-index-name::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--smn-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.smn-author-index-name:hover {
	color: var(--smn-accent);
}
.smn-author-index-name:hover::after {
	transform: scaleX(1);
}
.smn-author-index-person {
	font-family: var(--smn-sans);
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--smn-muted);
}
.smn-author-index-geo {
	font-family: var(--smn-sans);
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--smn-muted);
}
.smn-hero--compact .smn-hero-person {
	font-family: var(--smn-sans);
	font-weight: 400;
	font-size: 0.85em;
	letter-spacing: -0.02em;
	color: var(--smn-muted, #7a7268);
}
.smn-author-index-count {
	margin-left: auto;
	font-family: var(--smn-sans);
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--smn-muted);
	white-space: nowrap;
}

.smn-empty,
.smn-empty-note {
	font-size: 18px;
	color: var(--smn-muted);
}

.smn-footer {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--smn-line);
	font-family: var(--smn-sans);
	font-size: 13px;
	font-weight: 600;
	color: var(--smn-muted);
}
.smn-footer p {
	margin: 0;
}
.smn-copyright {
	margin-bottom: 0;
}
.smn-copyright p {
	margin: 0 0 4px;
	font-weight: 600;
	color: #000;
}
.smn-disclaimer {
	font-style: italic;
	font-weight: 400 !important;
	color: var(--smn-muted) !important;
}
.smn-footer-note {
	font-weight: 600;
	color: var(--smn-muted);
}

@keyframes smn-fade-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.smn-az {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 0 0 28px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--smn-line);
	font-family: var(--smn-sans);
}
.smn-az-item {
	position: relative;
	color: #000;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	padding-bottom: 2px;
}
.smn-az-item::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--smn-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.smn-az-item:hover {
	color: var(--smn-accent);
}
.smn-az-item:hover::after {
	transform: scaleX(1);
}

.smn-ezine-index {
	list-style: none;
	margin: 0;
	padding: 0;
}
.smn-ezine-index-letter {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.smn-ezine-index-letter:first-child {
	margin-top: 0;
}
.smn-ezine-index-letter-mark {
	display: block;
	font-family: var(--smn-serif);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--smn-accent);
	padding: 4px 0 8px;
	border-bottom: 1px solid var(--smn-line);
}
.smn-ezine-index-item {
	border-bottom: 1px solid var(--smn-line);
}
.smn-ezine-index-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 14px 0;
	color: inherit;
	text-decoration: none;
}
.smn-ezine-index-main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 12px;
	min-width: 0;
}
.smn-ezine-index-name {
	position: relative;
	font-family: var(--smn-sans);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
	color: #000;
	padding-bottom: 2px;
}
.smn-ezine-index-name::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--smn-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.smn-ezine-index-row:hover .smn-ezine-index-name {
	color: var(--smn-accent);
}
.smn-ezine-index-row:hover .smn-ezine-index-name::after {
	transform: scaleX(1);
}
.smn-ezine-index-count {
	font-family: var(--smn-sans);
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--smn-muted);
}
.smn-ezine-index-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 16px;
	font-family: var(--smn-sans);
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--smn-muted);
}
.smn-ezine-index-city {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.smn-ezine-flag {
	display: inline-block;
	vertical-align: middle;
	border: 1px solid rgba(0, 0, 0, 0.12);
}
.smn-ezine-index-item.is-offline .smn-ezine-index-name {
	color: var(--smn-muted);
	font-weight: 600;
}
.smn-ezine-index-years {
	white-space: nowrap;
}

@media (max-width: 820px) {
	.smn-frame {
		width: 100%;
		padding: 0 16px 20px;
		box-shadow: none;
	}

	.smn-header {
		margin: 0 -16px;
		padding: 20px 16px 14px;
	}
	.smn-header::after {
		height: 22px;
	}

	.smn-header-bar {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand lang"
			"nav nav";
	}
	.smn-brand { grid-area: brand; }
	.smn-lang { grid-area: lang; }
	.smn-nav {
		grid-area: nav;
		justify-content: center;
		position: relative;
	}
	.smn-nav-more-wrap {
		position: static;
	}
	.smn-nav-more {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		min-width: min(220px, calc(100vw - 32px));
		max-width: calc(100vw - 32px);
	}
	.smn-hero {
		grid-template-columns: 1fr;
	}
	.smn-hero-visual {
		grid-column: 1;
		grid-row: auto;
		justify-self: start;
		order: -1;
	}
	.smn-list-cover {
		margin: 0 0 10px 12px;
	}
	.smn-list-cover img {
		width: 96px;
		height: auto;
	}
	.smn-list-title {
		font-size: 19px;
	}
	.smn-lead,
	.smn-letter-summary {
		position: relative;
		max-height: 7.2em;
		overflow: hidden;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.smn-lead::after,
	.smn-letter-summary::after {
		content: "";
		position: absolute;
		left: 16px;
		right: 0;
		bottom: 0;
		height: 3.2em;
		pointer-events: none;
		background: linear-gradient(
			180deg,
			rgba(244, 238, 224, 0) 0%,
			var(--smn-paper) 88%
		);
	}
	.smn-lead.is-expanded,
	.smn-letter-summary.is-expanded {
		max-height: none;
		cursor: pointer;
	}
	.smn-letter-summary.is-collapsible.is-expanded {
		line-height: 1.4;
	}
	.smn-lead.is-expanded::after,
	.smn-letter-summary.is-expanded::after {
		display: none;
	}
	.smn-ezine-index-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.smn-letter-title {
		font-size: clamp(22px, 5.5vw, 28px);
	}
	.smn-letter-body {
		overflow-wrap: break-word;
		word-break: normal;
		hyphens: auto;
		-webkit-hyphens: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
