/*
 * MoWen — main stylesheet
 * Original editorial design for Chinese news & magazine sites.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	color-scheme: light;
	--mw-accent: #c8352a;
	--mw-accent-rgb: 200, 53, 42;
	--mw-accent-dark: #a82a20;
	--mw-accent-soft: rgba(200, 53, 42, 0.10);
	--mw-accent-text: #c8352a;
	--mw-on-accent: #ffffff;

	--mw-bg: #f5f2ec;
	--mw-bg-alt: #ece7dd;
	--mw-surface: #fffefa;
	--mw-surface-2: #f0ebe2;
	--mw-ink: #15171a;
	--mw-ink-soft: #34373c;
	--mw-muted: #74716b;
	--mw-line: #e3ddd2;
	--mw-line-strong: #c9c1b2;
	--mw-footer: #0f1113;
	--mw-footer-soft: #181b1e;

	--mw-container: 1240px;
	--mw-radius: 3px;
	--mw-shadow-sm: 0 2px 10px rgba(21, 23, 26, 0.05);
	--mw-shadow: 0 24px 60px rgba(21, 23, 26, 0.14);
	--mw-ease: cubic-bezier(0.2, 0.65, 0.3, 1);

	--mw-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
	--mw-font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
	--mw-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

[data-theme="dark"] {
	color-scheme: dark;
	--mw-bg: #101214;
	--mw-bg-alt: #16191c;
	--mw-surface: #181b1e;
	--mw-surface-2: #202428;
	--mw-ink: #f2efe8;
	--mw-ink-soft: #d0ccc4;
	--mw-muted: #92959a;
	--mw-line: #2a2e32;
	--mw-line-strong: #3b4045;
	--mw-footer: #0a0b0c;
	--mw-footer-soft: #15181b;
	--mw-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.24);
	--mw-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--mw-bg);
	color: var(--mw-ink);
	font-family: var(--mw-font-sans);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.dialog-open {
	overflow: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--mw-font-serif);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.012em;
}

p {
	margin: 0 0 1.1em;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0 0 1.1em;
	padding-left: 1.3em;
}

figure {
	margin: 0;
}

::selection {
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

:focus-visible {
	outline: 2px solid var(--mw-accent);
	outline-offset: 3px;
}

.site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

.site-content {
	flex: 1 0 auto;
}

.container {
	width: 100%;
	max-width: var(--mw-container);
	margin-inline: auto;
	padding-inline: 28px;
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */
[hidden] {
	display: none !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--mw-surface);
	clip: auto !important;
	clip-path: none;
	color: var(--mw-ink);
	display: block;
	font-size: 13px;
	font-weight: 700;
	height: auto;
	left: 16px;
	padding: 12px 18px;
	text-decoration: none;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: fixed;
	left: 16px;
	top: -80px;
	z-index: 1001;
	padding: 12px 18px;
	background: var(--mw-ink);
	color: var(--mw-bg);
	font-size: 13px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 16px;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--mw-accent-text);
	font-family: var(--mw-font-sans);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow--light {
	color: inherit;
	opacity: 0.65;
}

.icon {
	flex: 0 0 auto;
}

.edit-link-wrap {
	margin: 18px 0 0;
	font-size: 12px;
	color: var(--mw-muted);
}

.edit-link-wrap a {
	color: var(--mw-accent-text);
	border-bottom: 1px solid currentColor;
}

/* ==========================================================================
   4. Buttons & forms
   ========================================================================== */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: transparent;
	color: var(--mw-ink);
	font-family: var(--mw-font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button .icon {
	transition: transform 0.25s var(--mw-ease);
}

.button:hover .icon {
	transform: translateX(2px);
}

.button--accent {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

.button--accent:hover {
	border-color: var(--mw-accent-dark);
	background: var(--mw-accent-dark);
	color: #ffffff;
}

.button--outline {
	border-color: var(--mw-line-strong);
	color: var(--mw-ink);
}

.button--outline:hover {
	border-color: var(--mw-ink);
	background: var(--mw-ink);
	color: var(--mw-bg);
}

.button--light {
	border-color: var(--mw-surface);
	background: var(--mw-surface);
	color: var(--mw-ink);
}

.button--light:hover {
	border-color: var(--mw-ink);
	background: var(--mw-ink);
	color: var(--mw-surface);
}

.button--block {
	width: 100%;
}

.icon-button {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--mw-ink);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-button:hover {
	background: var(--mw-surface-2);
	color: var(--mw-accent-text);
}

.search-form {
	width: 100%;
}

.search-form__field {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 2px 0;
	border-bottom: 1px solid var(--mw-line-strong);
}

.search-form__field > .icon {
	color: var(--mw-muted);
}

.search-field,
input.search-field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--mw-ink);
	font-size: 14px;
	outline: none;
	appearance: none;
}

.search-form input.search-field {
	padding: 10px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.search-form--dialog input.search-field {
	padding: 14px 0;
	font-family: var(--mw-font-serif);
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 700;
}

.search-field::placeholder {
	color: var(--mw-muted);
	opacity: 0.8;
}

.search-submit {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--mw-ink);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.search-submit:hover {
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--mw-line);
	border-radius: 2px;
	background: var(--mw-surface);
	color: var(--mw-ink);
	font-size: 14px;
	transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--mw-accent);
	outline: none;
}

textarea {
	resize: vertical;
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 80;
	background: var(--mw-surface);
	border-bottom: 1px solid var(--mw-line);
}

.site-header--sticky {
	position: sticky;
	top: 0;
}

body.admin-bar .site-header--sticky {
	top: 32px;
}

.site-header.is-stuck {
	box-shadow: 0 10px 34px rgba(15, 17, 19, 0.09);
}

.site-header.is-stuck .header-topbar {
	display: none;
}

.site-header.is-stuck .masthead {
	padding-block: 10px;
}

.site-header.is-stuck .site-tagline {
	display: none;
}

.site-header.is-stuck .site-logo__text {
	font-size: 31px;
}

.site-header.is-stuck .header-cta {
	padding-block: 10px;
}

.site-header.is-stuck .header-ticker {
	display: none;
}

.masthead {
	padding-block: 22px;
	transition: padding 0.25s var(--mw-ease);
}

.masthead__inner {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 42px);
}

.site-branding {
	flex: 0 0 auto;
	min-width: 150px;
}

.site-logo {
	display: inline-flex;
	align-items: flex-start;
	color: var(--mw-ink);
	line-height: 0.92;
}

.site-logo__text {
	font-family: var(--mw-font-serif);
	font-size: 42px;
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.95;
	transition: font-size 0.25s var(--mw-ease);
}

.site-logo__dot {
	margin-left: 2px;
	color: var(--mw-accent);
	font-family: var(--mw-font-serif);
	font-size: 44px;
	font-weight: 900;
	line-height: 0.8;
	transition: font-size 0.25s var(--mw-ease);
}

.site-tagline {
	margin: 7px 0 0;
	color: var(--mw-muted);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	width: auto;
	max-width: 250px;
	max-height: 58px;
	object-fit: contain;
}

/* Primary navigation */
.primary-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(13px, 1.8vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu li {
	position: relative;
}

.primary-menu > li > a {
	position: relative;
	display: block;
	padding: 10px 0;
	color: var(--mw-ink);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.4;
	white-space: nowrap;
}

.primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--mw-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.25s var(--mw-ease);
}

.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	color: var(--mw-accent-text);
}

.primary-menu > li:hover > a::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.primary-menu .menu-item-has-children > a {
	padding-right: 14px;
}

.primary-menu .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 1px;
	top: 50%;
	width: 5px;
	height: 5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	opacity: 0.55;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: -18px;
	z-index: 20;
	min-width: 232px;
	margin: 0;
	padding: 10px;
	background: var(--mw-surface);
	border: 1px solid var(--mw-line);
	box-shadow: var(--mw-shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu li {
	position: relative;
}

.primary-menu .sub-menu a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 9px 12px;
	color: var(--mw-ink-soft);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.primary-menu .sub-menu a:hover {
	background: var(--mw-surface-2);
	color: var(--mw-accent-text);
}

.primary-menu .sub-menu .menu-item-has-children > a {
	padding-right: 26px;
}

.primary-menu .sub-menu .menu-item-has-children > a::before {
	right: 12px;
	width: 5px;
	height: 5px;
	transform: translateY(-50%) rotate(-45deg);
}

.primary-menu .sub-menu .sub-menu {
	top: -10px;
	left: 100%;
	margin-left: 8px;
}

.primary-menu .sub-menu:has(.mega-feature) {
	left: -140px;
	display: grid;
	grid-template-columns: minmax(150px, 1fr) 246px;
	gap: 2px 18px;
	width: 640px;
	padding: 16px;
}

.primary-menu .sub-menu:has(.mega-feature) > li:not(.mega-feature) {
	grid-column: 1;
}

.primary-menu .sub-menu .mega-feature {
	grid-column: 2;
	grid-row: 1 / span 20;
	margin-left: 4px;
	padding-left: 18px;
	border-left: 1px solid var(--mw-line);
}

.mega-feature__eyebrow {
	margin: 2px 0 12px;
	color: var(--mw-accent-text);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mega-feature__item {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--mw-line);
}

.mega-feature__item:last-child {
	border-bottom: 0;
}

.mega-feature__thumb {
	display: block;
	width: 52px;
	height: 52px;
	overflow: hidden;
	background: var(--mw-surface-2);
}

.mega-feature__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mega-feature__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.mega-feature__date {
	color: var(--mw-muted);
	font-size: 10px;
}

.mega-feature__copy strong {
	display: -webkit-box;
	overflow: hidden;
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Header actions */
.header-actions {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 8px;
	margin-left: auto;
}

.header-search-button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: auto;
	height: 40px;
	padding: 0 10px;
	border-radius: 2px;
	color: var(--mw-muted);
	font-size: 12px;
	font-weight: 600;
}

.header-search-button:hover {
	background: var(--mw-surface-2);
	color: var(--mw-ink);
}

.header-cta {
	padding: 11px 18px;
	font-size: 11.5px;
}

.nav-toggle {
	display: none;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--mw-line);
	border-radius: 50%;
	background: transparent;
	color: var(--mw-ink);
}

.nav-toggle:hover {
	border-color: var(--mw-ink);
}

.nav-toggle__lines {
	display: flex;
	width: 17px;
	flex-direction: column;
	gap: 3.5px;
}

.nav-toggle__lines span {
	display: block;
	height: 1.5px;
	background: currentColor;
}

/* Utility bar */
.header-topbar {
	background: var(--mw-footer);
	color: rgba(255, 255, 255, 0.67);
}

.header-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 38px;
}

.header-topbar__left,
.header-topbar__right {
	display: flex;
	align-items: center;
	gap: 14px;
}

.header-date {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	white-space: nowrap;
}

.header-date__weekday {
	color: rgba(255, 255, 255, 0.42);
}

.header-topbar__divider {
	width: 1px;
	height: 11px;
	background: rgba(255, 255, 255, 0.18);
}

.header-topbar__tagline {
	font-size: 10.5px;
	letter-spacing: 0.14em;
}

.header-topbar__right {
	gap: 16px;
}

/* Social badges */
.social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.social-link {
	display: inline-grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: inherit;
	font-family: var(--mw-font-sans);
	font-size: 8.5px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	opacity: 0.72;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
	background: var(--mw-accent);
	border-color: var(--mw-accent);
	color: var(--mw-on-accent);
	opacity: 1;
}

.social-links--topbar .social-link {
	width: 22px;
	height: 22px;
	border-color: rgba(255, 255, 255, 0.24);
	font-size: 7.5px;
}

/* Theme toggle */
.theme-toggle {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: inherit;
}

.theme-toggle:hover {
	border-color: currentColor;
}

.theme-toggle__icon {
	grid-area: 1 / 1;
	display: grid;
	place-items: center;
	transition: opacity 0.2s ease, transform 0.3s var(--mw-ease);
}

.theme-toggle__icon--sun {
	opacity: 0;
	transform: rotate(-40deg) scale(0.7);
}

[data-theme="dark"] .theme-toggle__icon--sun {
	opacity: 1;
	transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle__icon--moon {
	opacity: 0;
	transform: rotate(40deg) scale(0.7);
}

.theme-toggle--topbar {
	color: rgba(255, 255, 255, 0.8);
}

/* Ticker */
.header-ticker {
	background: var(--mw-bg-alt);
	border-top: 1px solid var(--mw-line);
}

.header-ticker__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 44px;
}

.ticker-label {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 8px;
	padding-right: 18px;
	border-right: 1px solid var(--mw-line-strong);
	color: var(--mw-accent-text);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1;
	white-space: nowrap;
}

.ticker-label__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mw-accent);
	box-shadow: 0 0 0 0 rgba(var(--mw-accent-rgb), 0.45);
	animation: mw-pulse 2.4s infinite;
}

.ticker-viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, #000 0, #000 96.5%, transparent);
	mask-image: linear-gradient(90deg, #000 0, #000 96.5%, transparent);
}

.ticker-track {
	display: flex;
	width: max-content;
	animation: mw-ticker 46s linear infinite;
	will-change: transform;
}

.ticker-track:hover,
.ticker-track.is-paused {
	animation-play-state: paused;
}

.ticker-group {
	display: flex;
	align-items: center;
	gap: 34px;
	padding-right: 34px;
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--mw-ink-soft);
	font-size: 12.5px;
	line-height: 1.4;
	white-space: nowrap;
}

.ticker-item:hover {
	color: var(--mw-accent-text);
}

.ticker-item__time {
	color: var(--mw-accent-text);
	font-family: var(--mw-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.02em;
}

.ticker-item__title {
	max-width: 34em;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ticker-toggle {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid var(--mw-line-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--mw-muted);
}

.ticker-toggle:hover {
	color: var(--mw-ink);
	border-color: var(--mw-ink);
}

.ticker-toggle svg {
	transition: transform 0.2s ease;
}

.ticker-toggle[aria-pressed="true"] svg {
	transform: rotate(90deg);
}

/* ==========================================================================
   6. Dialogs
   ========================================================================== */
dialog {
	padding: 0;
	border: 0;
	color: var(--mw-ink);
}

dialog::backdrop {
	background: rgba(10, 12, 14, 0.58);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

.search-dialog {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	background: var(--mw-bg);
	overflow-y: auto;
}

.search-dialog[open] {
	animation: mw-fade 0.25s ease both;
}

.search-dialog__inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 70px 28px 60px;
}

.search-dialog__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.search-dialog__top .eyebrow {
	margin: 0;
}

.search-dialog h2 {
	max-width: 700px;
	margin-bottom: 10px;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.15;
}

.search-dialog__hint {
	max-width: 560px;
	margin-bottom: 34px;
	color: var(--mw-muted);
	font-size: 14px;
}

.search-form--dialog .search-form__field {
	padding: 4px 0;
	border-bottom: 2px solid var(--mw-ink);
}

.search-form--dialog .search-form__field > .icon {
	width: 26px;
	height: 26px;
	color: var(--mw-ink);
}

.search-form--dialog .search-field {
	padding: 14px 0;
	font-family: var(--mw-font-serif);
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 700;
}

.search-form--dialog .search-field::placeholder {
	color: var(--mw-muted);
	font-weight: 400;
}

.search-form--dialog .button {
	padding: 14px 22px;
}

.search-live {
	margin-top: 22px;
}

.search-live__status {
	margin: 0;
	color: var(--mw-muted);
	font-size: 12px;
}

.search-live__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-live__item a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	padding: 13px 0;
	border-bottom: 1px solid var(--mw-line);
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 17px;
	font-weight: 700;
}

.search-live__item a:hover {
	color: var(--mw-accent-text);
}

.search-live__type {
	flex: 0 0 auto;
	color: var(--mw-muted);
	font-family: var(--mw-font-sans);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.search-dialog__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 38px;
	padding-top: 20px;
	border-top: 1px solid var(--mw-line);
}

.search-dialog__tags-label {
	margin-right: 6px;
	color: var(--mw-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.search-dialog__tags a {
	padding: 6px 11px;
	border: 1px solid var(--mw-line);
	color: var(--mw-ink-soft);
	font-size: 11.5px;
}

.search-dialog__tags a:hover {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

/* Mobile drawer */
.mobile-dialog {
	width: 100%;
	max-width: 400px;
	height: 100%;
	max-height: none;
	margin: 0;
	background: var(--mw-surface);
	border-right: 1px solid var(--mw-line);
	overflow-y: auto;
}

.mobile-dialog[open] {
	animation: mw-slide-right 0.3s var(--mw-ease) both;
}

.mobile-dialog__panel {
	display: flex;
	min-height: 100%;
	flex-direction: column;
	padding: 24px;
}

.mobile-dialog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--mw-line);
}

.site-branding--mobile .site-logo__text {
	font-size: 32px;
}

.site-branding--mobile .site-logo__dot {
	font-size: 34px;
}

.mobile-nav {
	flex: 1 1 auto;
	margin-top: 18px;
}

.mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu__item {
	border-bottom: 1px solid var(--mw-line);
}

.mobile-menu__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.mobile-menu__row > a {
	display: block;
	flex: 1 1 auto;
	padding: 13px 0;
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.4;
}

.mobile-menu__row > a:hover {
	color: var(--mw-accent-text);
}

.mobile-submenu-toggle {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--mw-line);
	border-radius: 50%;
	background: transparent;
	color: var(--mw-muted);
}

.mobile-submenu-toggle svg {
	transition: transform 0.2s ease;
}

.mobile-submenu-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.mobile-menu__sub {
	margin: 0 0 12px 4px;
	padding-left: 14px;
	border-left: 2px solid var(--mw-accent);
}

.mobile-menu__sub .mobile-menu__list--sub {
	margin: 0;
}

.mobile-menu__sub .mobile-menu__item {
	border-bottom: 0;
}

.mobile-menu__sub .mobile-menu__row > a {
	padding: 8px 0;
	font-family: var(--mw-font-sans);
	font-size: 14px;
	font-weight: 500;
}

.mobile-dialog__footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--mw-line);
}

.mobile-search-button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--mw-line);
	background: var(--mw-bg);
	color: var(--mw-muted);
	font-size: 13px;
	text-align: left;
}

.mobile-search-button:hover {
	border-color: var(--mw-ink);
	color: var(--mw-ink);
}

.mobile-dialog__tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
}

.mobile-dialog__tools .theme-toggle {
	border-color: var(--mw-line);
	color: var(--mw-ink);
}

/* ==========================================================================
   7. Section headings
   ========================================================================== */
.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.section-heading__title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	min-width: 0;
}

.section-heading__bar {
	display: block;
	flex: 0 0 auto;
	width: 4px;
	height: 27px;
	background: var(--mw-accent);
}

.section-heading h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
}

.section-heading__en {
	align-self: center;
	margin-left: 2px;
	color: var(--mw-muted);
	font-family: var(--mw-font-sans);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
}

.section-heading__link {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 6px;
	padding-bottom: 3px;
	border-bottom: 1px solid var(--mw-line-strong);
	color: var(--mw-muted);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	white-space: nowrap;
}

.section-heading__link:hover {
	border-color: var(--mw-accent);
	color: var(--mw-accent-text);
}

.section-heading__link .icon {
	transition: transform 0.2s ease;
}

.section-heading__link:hover .icon {
	transform: translateX(3px);
}

.section-heading__note {
	color: rgba(255, 255, 255, 0.44);
	font-size: 10.5px;
	letter-spacing: 0.12em;
}

.section-heading--small {
	margin-bottom: 20px;
}

.section-heading--small h2 {
	font-size: 23px;
}

.section-heading--hero {
	margin-bottom: 22px;
}

.section-heading--on-dark h2 {
	color: #f6f2ea;
}

.section-heading--on-dark .section-heading__en {
	color: rgba(255, 255, 255, 0.43);
}

/* ==========================================================================
   8. Cards
   ========================================================================== */
.card {
	position: relative;
	min-width: 0;
}

.card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--mw-surface-2);
	aspect-ratio: 3 / 2;
}

.card__media .post-thumbnail {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.post-thumbnail {
	position: relative;
	overflow: hidden;
	background: var(--mw-surface-2);
}

.post-thumbnail__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--mw-ease), filter 0.4s ease;
}

.card:hover .post-thumbnail__img {
	transform: scale(1.035);
}

.post-thumbnail__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	overflow: hidden;
	background:
		radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
		linear-gradient(135deg, var(--fb-a) 0%, var(--fb-a) 38%, var(--fb-b) 100%);
}

.post-thumbnail__fallback::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
	background-size: 38px 38px;
	mask-image: linear-gradient(135deg, #000, transparent 75%);
}

.post-thumbnail__fallback::after {
	content: "";
	position: absolute;
	top: -20%;
	right: -14%;
	width: 66%;
	height: 140%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: rotate(18deg);
}

.post-thumbnail__glyph {
	position: absolute;
	right: 8%;
	bottom: -10%;
	color: rgba(255, 255, 255, 0.16);
	font-family: var(--mw-font-serif);
	font-size: clamp(84px, 12vw, 160px);
	font-weight: 900;
	line-height: 1;
	user-select: none;
}

.post-thumbnail__stamp {
	position: absolute;
	top: 14px;
	left: 14px;
	color: rgba(255, 255, 255, 0.52);
	font-family: var(--mw-font-sans);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.24em;
}

.card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 11, 13, 0.08) 0%, rgba(9, 11, 13, 0.2) 38%, rgba(9, 11, 13, 0.9) 100%);
}

.card__body {
	padding-top: 15px;
}

.card__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.005em;
}

.card__title a {
	color: inherit;
}

.card__title a:hover {
	color: var(--mw-accent-text);
}

.card__excerpt {
	margin: 8px 0 0;
	color: var(--mw-muted);
	font-size: 13.5px;
	line-height: 1.75;
	text-wrap: pretty;
}

.cat-badge {
	display: inline-block;
	margin-bottom: 7px;
	padding: 3px 7px;
	background: var(--mw-accent);
	color: var(--mw-on-accent);
	font-family: var(--mw-font-sans);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

.cat-badge:hover {
	background: var(--mw-accent-dark);
	color: #ffffff;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 13px;
	margin-top: 11px;
	color: var(--mw-muted);
	font-size: 11px;
	line-height: 1.5;
}

.entry-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.entry-meta__item .icon {
	opacity: 0.72;
}

.entry-meta a:hover {
	color: var(--mw-accent-text);
}

.entry-meta--light {
	color: rgba(255, 255, 255, 0.66);
}

.entry-meta--light a:hover {
	color: #ffffff;
}

/* Lead card */
.card--lead {
	display: flex;
	align-items: flex-end;
	min-height: 528px;
	overflow: hidden;
	background: #17191c;
	isolation: isolate;
}

.card--lead .card__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.card--lead .post-thumbnail {
	position: absolute;
	inset: 0;
}

.card--lead .post-thumbnail__glyph {
	bottom: -18%;
	font-size: clamp(180px, 28vw, 360px);
	color: rgba(255, 255, 255, 0.1);
}

.card--lead .card__body {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 720px;
	padding: 34px;
	color: #ffffff;
}

.card--lead .cat-badge {
	margin-bottom: 12px;
}

.card--lead .card__title {
	max-width: 15em;
	color: #ffffff;
	font-size: clamp(29px, 3.2vw, 42px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.card--lead .card__title a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: var(--mw-accent);
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}

.card--lead .card__excerpt {
	max-width: 34em;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
}

/* Stack card */
.card--stack {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.card--stack + .card--stack {
	padding-top: 20px;
	border-top: 1px solid var(--mw-line);
}

.card--stack .card__media {
	aspect-ratio: 1 / 1;
}

.card--stack .card__body {
	padding-top: 0;
}

.card--stack .card__title {
	font-size: 17px;
	line-height: 1.45;
}

.card--stack .cat-badge {
	margin-bottom: 5px;
	padding: 2px 6px;
	font-size: 8px;
}

.card--stack .entry-meta {
	margin-top: 6px;
	gap: 8px;
}

/* Headline list */
.hero-grid__headlines {
	margin: 20px 0 0;
	padding: 4px 0 0;
	border-top: 1px solid var(--mw-line);
	list-style: none;
}

.headline {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid var(--mw-line);
}

.headline:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.headline__index {
	color: var(--mw-accent-text);
	font-family: var(--mw-font-serif);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.55;
}

.headline__title {
	margin: 0;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.5;
}

.headline__title a:hover {
	color: var(--mw-accent-text);
}

.headline__meta {
	color: var(--mw-muted);
	font-size: 10px;
}

/* Editor card */
.card--editor .card__media {
	aspect-ratio: 4 / 3;
}

.card__number {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 34px;
	padding: 0 8px;
	border-top: 2px solid var(--mw-accent);
	background: var(--mw-surface);
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}

.card--editor .card__title {
	font-size: 21px;
}

/* Related card */
.card--related .card__title {
	font-size: 18px;
}

/* Compact card */
.card--compact {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--mw-line);
}

.card--compact .card__body {
	padding-top: 0;
}

.card--compact .card__title {
	font-size: 24px;
}

/* ==========================================================================
   9. Homepage
   ========================================================================== */
.home-hero {
	padding: 38px 0 54px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.72fr) minmax(320px, 1fr);
	gap: 26px;
	align-items: stretch;
}

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

.hero-grid--single .card--lead {
	min-height: 500px;
}

.hero-grid__primary {
	min-width: 0;
}

.hero-grid__secondary {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 20px;
	padding: 22px;
	border: 1px solid var(--mw-line);
	background: var(--mw-surface);
}

.hero-grid__stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Editor picks */
.home-editors {
	padding: 50px 0;
	border-block: 1px solid var(--mw-line);
	background: var(--mw-bg-alt);
}

.editor-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

/* Latest + sidebar */
.home-latest {
	padding: 62px 0 70px;
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}

.layout--left {
	grid-template-columns: 340px minmax(0, 1fr);
}

.layout--left .widget-area {
	order: -1;
}

.layout--none {
	grid-template-columns: minmax(0, 1fr);
}

.home-latest__main {
	min-width: 0;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 28px;
}

.post-grid--home {
	gap: 34px 28px;
}

.layout--none .post-grid--home {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* List layout (CSS transforms the standard cards) */
.post-grid[data-layout="list"] {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.post-grid[data-layout="list"] .card--standard {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 24px 0;
	border-bottom: 1px solid var(--mw-line);
}

.post-grid[data-layout="list"] .card--standard:first-child {
	padding-top: 0;
}

.post-grid[data-layout="list"] .card--standard .card__media {
	aspect-ratio: 4 / 3;
}

.post-grid[data-layout="list"] .card--standard .card__body {
	padding-top: 0;
}

.post-grid[data-layout="list"] .card--standard .card__title {
	font-size: 26px;
}

.post-grid[data-layout="list"] .card--standard .card__excerpt {
	max-width: 44em;
}

/* Category showcase */
.home-sections {
	position: relative;
	padding: 60px 0;
	background: var(--mw-footer);
	color: #f3efe8;
}

.showcase-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-column {
	min-width: 0;
	padding: 0 32px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-column:first-child {
	padding-left: 0;
	border-left: 0;
}

.showcase-column:last-child {
	padding-right: 0;
}

.showcase-column__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.showcase-column__head h3 {
	margin: 0;
	font-family: var(--mw-font-serif);
	font-size: 22px;
	font-weight: 800;
}

.showcase-column__head h3 a:hover {
	color: var(--mw-accent);
}

.showcase-column__head span {
	color: rgba(255, 255, 255, 0.4);
	font-size: 10px;
	letter-spacing: 0.1em;
}

.showcase-feature {
	margin-top: 16px;
}

.showcase-feature__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: rgba(255, 255, 255, 0.06);
}

.showcase-feature__media .post-thumbnail {
	position: relative;
	width: 100%;
	height: 100%;
}

.showcase-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--mw-ease);
}

.showcase-feature__media:hover img {
	transform: scale(1.04);
}

.showcase-feature h4 {
	margin: 12px 0 6px;
	font-family: var(--mw-font-serif);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.45;
}

.showcase-feature h4 a:hover {
	color: var(--mw-accent);
}

.showcase-feature p {
	color: rgba(255, 255, 255, 0.55);
	font-size: 12.5px;
	line-height: 1.7;
}

.showcase-list {
	margin: 14px 0 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	list-style: none;
}

.showcase-list li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-list a {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 10px 0;
}

.showcase-list a:hover strong {
	color: var(--mw-accent);
}

.showcase-list span {
	color: rgba(255, 255, 255, 0.38);
	font-size: 9.5px;
	letter-spacing: 0.08em;
}

.showcase-list strong {
	color: #f3efe8;
	font-family: var(--mw-font-serif);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.55;
	transition: color 0.2s ease;
}

.showcase-column__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.48);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.showcase-column__more:hover {
	color: var(--mw-accent);
}

/* Newsletter */
.home-newsletter {
	position: relative;
	overflow: hidden;
	padding: 62px 0;
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

.home-newsletter__grain {
	position: absolute;
	inset: 0;
	opacity: 0.16;
	background-image:
		repeating-linear-gradient(115deg, transparent 0 22px, currentColor 22px 23px),
		radial-gradient(circle at 78% 30%, currentColor 0, transparent 45%);
	background-size: 100% 100%, 100% 100%;
	mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
	pointer-events: none;
}

.home-newsletter__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
	gap: 50px;
	align-items: center;
}

.home-newsletter h2 {
	margin: 0 0 10px;
	color: inherit;
	font-size: clamp(34px, 4.2vw, 52px);
	line-height: 1.2;
}

.home-newsletter__copy > p:not(.eyebrow) {
	max-width: 34em;
	margin: 0;
	color: inherit;
	font-size: 14px;
	line-height: 1.85;
	opacity: 0.8;
}

.home-newsletter__action {
	min-width: 0;
}

.home-newsletter__note {
	margin: 12px 0 0;
	font-size: 10.5px;
	letter-spacing: 0.04em;
	opacity: 0.55;
}

.home-newsletter .button--light {
	padding: 15px 26px;
	font-size: 12.5px;
}

.home-newsletter .newsletter-form .wpcf7,
.home-newsletter .newsletter-form form {
	display: flex;
	gap: 8px;
}

.home-newsletter .newsletter-form input[type="email"],
.home-newsletter .newsletter-form input[type="text"] {
	border-color: transparent;
	background: rgba(255, 255, 255, 0.96);
	color: #15171a;
}

.home-newsletter .newsletter-form input[type="submit"],
.home-newsletter .newsletter-form button {
	border-color: var(--mw-ink);
	background: var(--mw-ink);
	color: var(--mw-surface);
}

/* Empty homepage */
.home-empty {
	padding: 64px 24px;
	border: 1px dashed var(--mw-line-strong);
	background: var(--mw-surface);
	text-align: center;
}

.home-empty h3 {
	margin: 0 0 20px;
	font-size: 28px;
}

/* ==========================================================================
   10. Sidebar & widgets
   ========================================================================== */
.widget-area {
	min-width: 0;
}

.sidebar__inner {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

body.admin-bar .sidebar__inner {
	top: 128px;
}

.widget {
	padding: 24px;
	border: 1px solid var(--mw-line);
	background: var(--mw-surface);
}

.widget-title,
.footer-widget__title {
	position: relative;
	margin: 0 0 16px;
	padding-left: 11px;
	font-family: var(--mw-font-serif);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.widget-title::before,
.footer-widget__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	bottom: 0.28em;
	width: 3px;
	background: var(--mw-accent);
}

.widget p {
	color: var(--mw-muted);
	font-size: 13px;
	line-height: 1.8;
}

.widget-about .widget-title {
	margin-bottom: 10px;
	font-size: 22px;
}

.widget-about .eyebrow {
	margin-bottom: 4px;
}

.widget-about .social-links {
	margin-top: 16px;
}

.widget-about .social-link {
	border-color: var(--mw-line-strong);
	color: var(--mw-ink-soft);
}

.widget-about__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 14px;
	color: var(--mw-accent-text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.category-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.category-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--mw-line);
}

.category-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.category-list a {
	color: var(--mw-ink);
	font-size: 13.5px;
	font-weight: 600;
}

.category-list a:hover {
	color: var(--mw-accent-text);
}

.category-list span {
	color: var(--mw-muted);
	font-family: var(--mw-font-mono);
	font-size: 10.5px;
}

.popular-list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.popular-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--mw-line);
}

.popular-list li:first-child {
	padding-top: 0;
}

.popular-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.popular-list__index {
	flex: 0 0 auto;
	min-width: 24px;
	color: var(--mw-accent-text);
	font-family: var(--mw-font-serif);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.popular-list__body,
.popular-list li > div {
	min-width: 0;
}

.popular-list a {
	display: block;
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.55;
}

.popular-list a:hover {
	color: var(--mw-accent-text);
}

.popular-list__meta {
	display: block;
	margin-top: 3px;
	color: var(--mw-muted);
	font-size: 9.5px;
	letter-spacing: 0.04em;
}

.widget-newsletter {
	border-color: var(--mw-footer);
	background: var(--mw-footer);
	color: #f3efe8;
}

.widget-newsletter .widget-title {
	color: #f3efe8;
}

.widget-newsletter p {
	color: rgba(255, 255, 255, 0.58);
}

.widget-newsletter .eyebrow {
	color: rgba(255, 255, 255, 0.55);
}

.widget-newsletter .button {
	margin-top: 16px;
}

.tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tagcloud a {
	padding: 6px 10px;
	border: 1px solid var(--mw-line);
	color: var(--mw-ink-soft);
	font-size: 11px !important;
	line-height: 1.4;
}

.tagcloud a:hover {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

.widget select {
	margin-top: 4px;
}

.widget ul:not(.category-list):not(.popular-list) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget ul:not(.category-list):not(.popular-list) li {
	padding: 8px 0;
	border-bottom: 1px solid var(--mw-line);
	font-size: 13px;
}

.widget ul:not(.category-list):not(.popular-list) li:last-child {
	border-bottom: 0;
}

.widget ul:not(.category-list):not(.popular-list) a:hover {
	color: var(--mw-accent-text);
}

/* ==========================================================================
   11. Archive
   ========================================================================== */
.breadcrumbs {
	margin-bottom: 20px;
	color: var(--mw-muted);
	font-size: 10.5px;
	letter-spacing: 0.04em;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.breadcrumbs a:hover {
	color: var(--mw-accent-text);
}

.breadcrumbs__sep {
	color: var(--mw-line-strong);
}

.archive-header {
	padding: 30px 0 34px;
	border-bottom: 1px solid var(--mw-line);
	background: var(--mw-surface);
}

.archive-header__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.archive-header__copy {
	min-width: 0;
	max-width: 820px;
}

.archive-title {
	margin: 0 0 12px;
	font-size: clamp(38px, 5vw, 58px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.archive-description {
	max-width: 44em;
	color: var(--mw-muted);
	font-size: 14.5px;
	line-height: 1.8;
}

.archive-description p:last-child {
	margin-bottom: 0;
}

.archive-count {
	margin: 12px 0 0;
	color: var(--mw-muted);
	font-family: var(--mw-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
}

.archive-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	color: var(--mw-muted);
	font-size: 11.5px;
}

.archive-author__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.layout-toggle {
	display: flex;
	flex: 0 0 auto;
	border: 1px solid var(--mw-line);
	background: var(--mw-bg);
}

.layout-toggle__button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 36px;
	padding: 0;
	border: 0;
	border-right: 1px solid var(--mw-line);
	background: transparent;
	color: var(--mw-muted);
}

.layout-toggle__button:last-child {
	border-right: 0;
}

.layout-toggle__button:hover {
	color: var(--mw-ink);
}

.layout-toggle__button[aria-pressed="true"] {
	background: var(--mw-ink);
	color: var(--mw-bg);
}

.archive-body {
	padding: 40px 0 74px;
}

.archive-search {
	max-width: 560px;
	margin-top: 26px;
}

.no-results {
	max-width: 720px;
	margin: 20px auto;
	padding: 54px 40px;
	border: 1px dashed var(--mw-line-strong);
	background: var(--mw-surface);
	text-align: center;
}

.no-results h2 {
	margin: 0 0 10px;
	font-size: 32px;
}

.no-results p {
	color: var(--mw-muted);
	font-size: 14px;
}

.no-results .search-form {
	max-width: 420px;
	margin: 24px auto 0;
}

/* Pagination & load more */
.pagination {
	margin-top: 44px;
}

.pagination__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--mw-line);
	color: var(--mw-ink-soft);
	font-size: 12px;
	font-weight: 600;
}

.pagination .page-numbers:hover {
	border-color: var(--mw-ink);
	color: var(--mw-ink);
}

.pagination .page-numbers.current {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

.pagination .page-numbers.dots {
	border-color: transparent;
}

.pagination .prev,
.pagination .next {
	font-size: 0;
}

.pagination .prev .icon,
.pagination .next .icon {
	width: 16px;
	height: 16px;
}

.load-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 42px;
	padding-top: 28px;
	border-top: 1px solid var(--mw-line);
}

.load-more__button,
.load-more__fallback {
	min-width: 170px;
}

.load-more__status {
	margin: 0;
	color: var(--mw-muted);
	font-size: 11px;
	letter-spacing: 0.04em;
}

.load-more.is-loading .button {
	opacity: 0.6;
	pointer-events: none;
}

/* ==========================================================================
   12. Single post
   ========================================================================== */
.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	height: 3px;
	background: transparent;
	pointer-events: none;
}

body.admin-bar .reading-progress {
	top: 32px;
}

.reading-progress__bar {
	display: block;
	width: var(--mw-progress, 0%);
	height: 100%;
	background: var(--mw-accent);
	transition: width 0.1s linear;
}

.single-header {
	padding: 46px 0 30px;
}

.single-header__inner {
	max-width: 880px;
	margin: 0 auto;
}

.single-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.single-kicker .cat-badge {
	margin-bottom: 0;
}

.single-kicker__rule {
	width: 26px;
	height: 1px;
	background: var(--mw-line-strong);
}

.single-kicker__type {
	color: var(--mw-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.single-title {
	margin: 0 0 16px;
	font-size: clamp(34px, 4.7vw, 56px);
	font-weight: 900;
	line-height: 1.16;
	letter-spacing: -0.026em;
}

.single-dek {
	max-width: 44em;
	margin: 0 0 24px;
	color: var(--mw-muted);
	font-family: var(--mw-font-serif);
	font-size: 19px;
	line-height: 1.7;
	text-wrap: pretty;
}

.single-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--mw-line);
}

.single-byline {
	display: flex;
	align-items: center;
	gap: 11px;
}

.single-byline__avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
}

.single-byline > div {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.single-byline__label {
	color: var(--mw-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.single-byline__name {
	color: var(--mw-ink);
	font-size: 12.5px;
	font-weight: 700;
}

.single-byline__name:hover {
	color: var(--mw-accent-text);
}

.single-meta__details {
	justify-content: flex-end;
	margin-top: 0;
}

.single-hero {
	margin: 18px auto 0;
}

.single-hero__img {
	width: 100%;
	max-height: 680px;
	object-fit: cover;
}

.single-hero__caption {
	max-width: 880px;
	margin: 9px auto 0;
	color: var(--mw-muted);
	font-size: 11px;
	line-height: 1.6;
}

.single-layout {
	display: grid;
	grid-template-columns: 56px minmax(0, 760px) 230px;
	gap: 32px;
	align-items: start;
	justify-content: center;
	padding-top: 44px;
	padding-bottom: 76px;
}

.single-layout:not(.single-layout--toc) {
	grid-template-columns: 56px minmax(0, 820px);
}

.single-layout:not(.single-layout--share) {
	grid-template-columns: minmax(0, 820px) 230px;
}

.single-layout:not(.single-layout--share):not(.single-layout--toc) {
	grid-template-columns: minmax(0, 820px);
}

.single-main {
	min-width: 0;
	max-width: 760px;
}

.single-layout:not(.single-layout--toc) .single-main,
.single-layout:not(.single-layout--share) .single-main {
	max-width: 820px;
}

/* Share rail */
.share-rail {
	position: sticky;
	top: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
}

body.admin-bar .share-rail {
	top: 152px;
}

.share-rail__label {
	margin-bottom: 2px;
	color: var(--mw-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	writing-mode: vertical-rl;
}

.share-button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--mw-line);
	border-radius: 50%;
	background: transparent;
	color: var(--mw-ink-soft);
	font-family: var(--mw-font-sans);
	font-size: 10px;
	font-weight: 800;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-button:hover {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

.single-inline-share {
	display: none;
	margin: 28px 0;
	padding: 16px 0;
	border-block: 1px solid var(--mw-line);
}

.share-rail--inline {
	position: static;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.share-rail--inline .share-rail__label {
	margin: 0 8px 0 0;
	writing-mode: horizontal-tb;
}

/* TOC */
.single-toc {
	position: sticky;
	top: 110px;
	min-width: 0;
	padding-top: 14px;
	border-top: 2px solid var(--mw-accent);
}

body.admin-bar .single-toc {
	top: 142px;
}

.single-toc__title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 13px;
	font-weight: 800;
}

.single-toc__title span:last-child {
	color: var(--mw-muted);
	font-family: var(--mw-font-sans);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.toc-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: calc(100vh - 220px);
	overflow-y: auto;
}

.toc-nav a {
	display: block;
	padding: 6px 0 6px 10px;
	border-left: 1px solid var(--mw-line);
	color: var(--mw-muted);
	font-size: 11.5px;
	line-height: 1.55;
}

.toc-nav a:hover {
	color: var(--mw-ink);
}

.toc-nav a.is-active {
	border-left-color: var(--mw-accent);
	color: var(--mw-accent-text);
	font-weight: 600;
}

.toc-nav .toc-h3 a {
	padding-left: 20px;
	font-size: 11px;
}

/* Article typography */
.entry-content {
	color: var(--mw-ink-soft);
	font-size: 17.5px;
	line-height: 1.9;
}

.single-content {
	font-size: 18.5px;
	line-height: 1.95;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content p {
	margin: 0 0 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	position: relative;
	color: var(--mw-ink);
	scroll-margin-top: 120px;
}

.entry-content h2 {
	margin: 2.1em 0 0.65em;
	font-size: 30px;
	line-height: 1.3;
}

.entry-content h3 {
	margin: 1.8em 0 0.55em;
	font-size: 24px;
	line-height: 1.35;
}

.entry-content h4 {
	margin: 1.6em 0 0.5em;
	font-size: 20px;
}

.entry-content h2 .heading-anchor,
.entry-content h3 .heading-anchor {
	margin-left: 8px;
	color: var(--mw-line-strong);
	font-family: var(--mw-font-sans);
	font-size: 0.62em;
	font-weight: 500;
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.entry-content h2:hover .heading-anchor,
.entry-content h3:hover .heading-anchor,
.entry-content .heading-anchor:focus-visible {
	color: var(--mw-accent-text);
	opacity: 1;
}

.entry-content a {
	color: var(--mw-accent-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content strong {
	color: var(--mw-ink);
	font-weight: 700;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5em;
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.45em;
}

.entry-content li::marker {
	color: var(--mw-accent);
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 0.4em 0 0.4em 26px;
	border-left: 3px solid var(--mw-accent);
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 23px;
	font-weight: 500;
	line-height: 1.65;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 10px;
	color: var(--mw-muted);
	font-family: var(--mw-font-sans);
	font-size: 11px;
	font-style: normal;
	letter-spacing: 0.06em;
}

.entry-content figure {
	margin: 2em 0;
}

.entry-content figure img,
.entry-content > img {
	width: 100%;
	height: auto;
}

.entry-content figcaption,
.wp-caption-text {
	margin-top: 8px;
	color: var(--mw-muted);
	font-size: 11.5px;
	line-height: 1.6;
	text-align: center;
}

.entry-content hr {
	width: 56px;
	margin: 3em auto;
	border: 0;
	border-top: 1px solid var(--mw-line-strong);
}

.entry-content code {
	padding: 2px 5px;
	background: var(--mw-surface-2);
	color: var(--mw-ink);
	font-family: var(--mw-font-mono);
	font-size: 0.85em;
}

.entry-content pre {
	overflow-x: auto;
	margin: 1.8em 0;
	padding: 20px;
	background: #15171a;
	color: #e9e4da;
	font-family: var(--mw-font-mono);
	font-size: 13px;
	line-height: 1.7;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.entry-content table {
	width: 100%;
	margin: 1.8em 0;
	border-collapse: collapse;
	font-size: 14px;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--mw-line);
	text-align: left;
}

.entry-content th {
	background: var(--mw-surface-2);
	color: var(--mw-ink);
	font-weight: 700;
}

.entry-content iframe,
.entry-content video {
	max-width: 100%;
}

.entry-content .alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}

.entry-content .aligncenter {
	display: block;
	margin-inline: auto;
}

.entry-content .alignwide {
	width: min(100%, 980px);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .wp-block-image {
	margin: 2em 0;
}

.entry-content .wp-block-image figcaption {
	margin-top: 8px;
}

.entry-content .wp-block-quote {
	margin: 2em 0;
	padding: 0.4em 0 0.4em 26px;
	border-left: 3px solid var(--mw-accent);
	font-family: var(--mw-font-serif);
	font-size: 22px;
}

.entry-content .wp-block-quote cite {
	color: var(--mw-muted);
	font-family: var(--mw-font-sans);
	font-size: 11px;
	font-style: normal;
}

.entry-content .wp-block-pullquote {
	margin: 2.4em 0;
	padding: 28px 0;
	border-block: 1px solid var(--mw-line-strong);
	text-align: center;
}

.entry-content .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 27px;
	line-height: 1.55;
}

.entry-content .wp-block-pullquote cite {
	display: block;
	margin-top: 12px;
}

.entry-content .wp-block-button__link {
	border-radius: 2px;
	background: var(--mw-accent);
	color: var(--mw-on-accent);
	font-size: 13px;
	font-weight: 700;
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--mw-ink);
	background: transparent;
	color: var(--mw-ink);
}

.entry-content .wp-block-separator {
	width: 56px;
	margin: 3em auto;
	border: 0;
	border-top: 1px solid var(--mw-line-strong);
}

.entry-content .wp-block-columns {
	gap: 2em;
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content .wp-block-embed {
	margin: 2em 0;
}

.entry-content .wp-block-file {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 1.6em 0;
	padding: 14px 16px;
	border: 1px solid var(--mw-line);
	background: var(--mw-surface);
}

.entry-content .wp-block-file a:first-child {
	font-weight: 700;
}

.entry-content .gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 2em 0;
}

.entry-content .gallery-item {
	margin: 0;
}

.entry-content .gallery img {
	width: 100%;
	height: auto;
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .wp-caption img {
	width: 100%;
}

.entry-content .is-style-lead {
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 21px;
	line-height: 1.75;
}

.entry-content .is-style-eyebrow {
	margin-bottom: 0.5em;
	color: var(--mw-accent-text);
	font-family: var(--mw-font-sans);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.entry-content .is-style-note {
	margin: 2em 0;
	padding: 20px 24px;
	border-left: 3px solid var(--mw-accent);
	background: var(--mw-accent-soft);
	font-size: 15.5px;
}

.entry-content .is-style-note > :last-child {
	margin-bottom: 0;
}

.entry-content .is-style-framed {
	margin: 2em 0;
	padding: 24px;
	border: 1px solid var(--mw-line-strong);
	background: var(--mw-surface);
}

.entry-content .is-style-framed > :last-child {
	margin-bottom: 0;
}

.entry-content .wp-block-quote.is-style-pull {
	padding: 0;
	border: 0;
	text-align: center;
}

.entry-content .wp-block-quote.is-style-pull p {
	font-size: 30px;
	line-height: 1.55;
}

.entry-content .page-links {
	margin: 2em 0;
	font-size: 12px;
	font-weight: 700;
}

.entry-content .page-links a {
	display: inline-grid;
	place-items: center;
	min-width: 30px;
	height: 30px;
	margin-left: 4px;
	border: 1px solid var(--mw-line);
	text-decoration: none;
}

/* Tags, author, related, post nav */
.single-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 30px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--mw-line);
}

.single-tags__label {
	margin-right: 4px;
	color: var(--mw-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.single-tags a {
	padding: 5px 10px;
	border: 1px solid var(--mw-line);
	color: var(--mw-ink-soft);
	font-size: 11px;
}

.single-tags a:hover {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

.author-box {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 24px;
	margin: 48px 0;
	padding: 28px;
	border: 1px solid var(--mw-line);
	background: var(--mw-surface);
}

.author-box__avatar {
	width: 96px;
	height: 96px;
}

.author-box__img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
}

.author-box__body .eyebrow {
	margin-bottom: 4px;
}

.author-box__name {
	margin: 0 0 8px;
	font-size: 23px;
}

.author-box__name a:hover {
	color: var(--mw-accent-text);
}

.author-box__bio {
	margin: 0;
	color: var(--mw-muted);
	font-size: 13px;
	line-height: 1.8;
}

.author-box__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
	color: var(--mw-muted);
	font-size: 10.5px;
}

.author-box__meta a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--mw-accent-text);
	font-weight: 700;
}

.related-posts {
	margin: 52px 0;
	padding-top: 30px;
	border-top: 1px solid var(--mw-line);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 40px 0;
	border: 1px solid var(--mw-line);
	background: var(--mw-line);
}

.post-nav__item {
	display: flex;
	min-height: 108px;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 20px 22px;
	background: var(--mw-surface);
}

.post-nav__item:hover {
	background: var(--mw-surface-2);
}

.post-nav__item--next {
	text-align: right;
}

.post-nav__label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--mw-muted);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.post-nav__item--next .post-nav__label {
	justify-content: flex-end;
}

.post-nav__item strong {
	color: var(--mw-ink);
	font-family: var(--mw-font-serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

/* ==========================================================================
   13. Comments
   ========================================================================== */
.comments-area {
	margin-top: 52px;
	padding-top: 36px;
	border-top: 1px solid var(--mw-line);
}

.comments-title,
.comment-reply-title {
	margin: 0 0 24px;
	font-size: 27px;
}

.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding: 0 0 0 32px;
	border-left: 1px solid var(--mw-line);
	list-style: none;
}

.comment {
	list-style: none;
}

.comment__body {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	padding: 22px 0;
	border-bottom: 1px solid var(--mw-line);
}

.comment__avatar-img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.comment__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 7px;
}

.comment__author {
	color: var(--mw-ink);
	font-size: 13px;
	font-weight: 700;
}

.comment__time {
	color: var(--mw-muted);
	font-family: var(--mw-font-mono);
	font-size: 9.5px;
}

.comment__edit a {
	color: var(--mw-muted);
	font-size: 9.5px;
}

.comment-content {
	color: var(--mw-ink-soft);
	font-size: 14px;
	line-height: 1.85;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-reply-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	color: var(--mw-accent-text);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.comment-awaiting-moderation {
	padding: 8px 12px;
	background: var(--mw-accent-soft);
	color: var(--mw-accent-text);
	font-size: 12px;
}

.no-comments {
	color: var(--mw-muted);
	font-size: 13px;
}

.comment-respond {
	margin-top: 40px;
}

.comment-notes {
	color: var(--mw-muted);
	font-size: 11.5px;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.comment-form > p {
	margin: 0;
}

.comment-form-comment,
.comment-form-cookies-consent,
.comment-form .form-submit,
.comment-notes {
	grid-column: 1 / -1;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--mw-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	background: var(--mw-surface);
}

.comment-form .required {
	color: var(--mw-accent-text);
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent input {
	width: auto;
	margin-top: 4px;
}

.comment-form-cookies-consent label {
	display: inline;
	margin: 0;
	font-weight: 400;
	letter-spacing: 0;
}

.comment-form .submit {
	padding: 13px 24px;
	border: 0;
}

/* ==========================================================================
   14. Pages & 404
   ========================================================================== */
.page-header {
	padding: 36px 0 30px;
}

.page-header__inner {
	max-width: 900px;
	margin: 0 auto;
}

.page-header h1 {
	margin: 0;
	font-size: clamp(38px, 5vw, 56px);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.page-hero {
	max-width: 1080px;
	margin: 0 auto 34px;
}

.page-hero__img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.page-content {
	max-width: 820px;
	margin: 0 auto;
}

.page-content--full {
	max-width: 1080px;
}

.page-article--full .entry-content .alignwide {
	width: min(100%, 1120px);
}

.magazine-intro {
	padding: 48px 0 8px;
}

.magazine-intro__inner {
	max-width: 860px;
}

.magazine-intro h1 {
	margin: 0 0 16px;
	font-size: clamp(36px, 4.5vw, 52px);
	line-height: 1.15;
}

.magazine-intro .entry-content {
	font-size: 16.5px;
}

.error-page {
	padding: 50px 0 72px;
}

.error-page__hero {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	padding: 30px 0 50px;
	text-align: center;
}

.error-page__code {
	position: absolute;
	top: -30px;
	left: 50%;
	z-index: 0;
	margin: 0;
	color: transparent;
	font-family: var(--mw-font-serif);
	font-size: clamp(140px, 22vw, 240px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.06em;
	-webkit-text-stroke: 1px var(--mw-line-strong);
	transform: translateX(-50%);
	user-select: none;
}

.error-page__hero > *:not(.error-page__code) {
	position: relative;
	z-index: 1;
}

.error-page h1 {
	margin: 0 0 14px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.2;
}

.error-page__text {
	max-width: 34em;
	margin: 0 auto 26px;
	color: var(--mw-muted);
	font-size: 14px;
}

.error-page__search {
	max-width: 480px;
	margin: 0 auto 22px;
}

.error-page__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.error-recent {
	padding-top: 46px;
	border-top: 1px solid var(--mw-line);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	overflow: hidden;
	padding: 60px 0 22px;
	background: var(--mw-footer);
	color: rgba(255, 255, 255, 0.62);
}

.site-footer__mark {
	position: absolute;
	right: -2vw;
	bottom: -0.24em;
	z-index: 0;
	color: rgba(255, 255, 255, 0.028);
	font-family: var(--mw-font-serif);
	font-size: clamp(120px, 24vw, 360px);
	font-weight: 900;
	line-height: 0.8;
	letter-spacing: -0.06em;
	pointer-events: none;
	user-select: none;
}

.site-footer .container {
	position: relative;
	z-index: 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 0.85fr));
	gap: 44px;
	padding-bottom: 44px;
}

.footer-brand {
	min-width: 0;
}

.footer-logo {
	display: inline-flex;
	align-items: flex-start;
	color: #f5f1e9;
	line-height: 0.9;
}

.footer-logo span:first-child {
	font-family: var(--mw-font-serif);
	font-size: 34px;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.footer-logo__dot {
	margin-left: 2px;
	color: var(--mw-accent);
	font-family: var(--mw-font-serif);
	font-size: 36px;
	font-weight: 900;
}

.footer-about-text {
	max-width: 30em;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.48);
	font-size: 12.5px;
	line-height: 1.85;
}

.footer-brand .social-links {
	margin-top: 18px;
}

.footer-brand .social-link {
	width: 28px;
	height: 28px;
	border-color: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.7);
}

.footer-column {
	min-width: 0;
}

.footer-widget__title {
	margin: 0 0 16px;
	padding-left: 0;
	color: #f5f1e9;
	font-family: var(--mw-font-sans);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.footer-widget__title::before {
	display: none;
}

.footer-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-list li {
	padding: 6px 0;
}

.footer-list a {
	color: rgba(255, 255, 255, 0.58);
	font-size: 12.5px;
	line-height: 1.6;
}

.footer-list a:hover {
	color: #ffffff;
}

.footer-list--posts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 7px 0;
}

.footer-list--posts span {
	color: rgba(255, 255, 255, 0.28);
	font-family: var(--mw-font-mono);
	font-size: 9px;
}

.footer-about-text + .footer-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 12px;
	color: var(--mw-accent);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.footer-more:hover {
	color: #ffffff;
}

.footer-widget .tagcloud a {
	border-color: rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.6);
}

.footer-widget .tagcloud a:hover {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
	color: rgba(255, 255, 255, 0.36);
	font-size: 10.5px;
	line-height: 1.6;
}

.footer-copy a {
	color: rgba(255, 255, 255, 0.6);
}

.footer-bottom__right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: rgba(255, 255, 255, 0.44);
	font-size: 10.5px;
	letter-spacing: 0.04em;
}

.footer-menu a:hover {
	color: #ffffff;
}

.footer-top-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: rgba(255, 255, 255, 0.44);
	font-size: 10.5px;
	white-space: nowrap;
}

.footer-top-link:hover {
	color: #ffffff;
}

/* Toast */
.mw-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	z-index: 300;
	max-width: calc(100vw - 32px);
	padding: 11px 18px;
	background: var(--mw-ink);
	color: var(--mw-bg);
	box-shadow: var(--mw-shadow);
	font-size: 12px;
	line-height: 1.5;
	opacity: 0;
	transform: translate(-50%, 10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.mw-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* Back to top */
.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--mw-line);
	border-radius: 50%;
	background: var(--mw-surface);
	color: var(--mw-ink);
	box-shadow: var(--mw-shadow-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	border-color: var(--mw-accent);
	background: var(--mw-accent);
	color: var(--mw-on-accent);
}

/* ==========================================================================
   16. WordPress core alignment & accessibility
   ========================================================================== */
.alignnone {
	margin: 0;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignleft {
	float: left;
	margin: 0 1.4em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.4em;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 6px;
	color: var(--mw-muted);
	font-size: 11.5px;
	text-align: center;
}

.sticky .card__title::before {
	content: "置顶";
	display: inline-block;
	margin-right: 6px;
	padding: 2px 5px;
	background: var(--mw-accent);
	color: var(--mw-on-accent);
	font-family: var(--mw-font-sans);
	font-size: 8px;
	font-weight: 700;
	vertical-align: 2px;
}

.bypostauthor .comment__author {
	color: var(--mw-accent-text);
}

/* ==========================================================================
   17. Animations
   ========================================================================== */
@keyframes mw-ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@keyframes mw-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(var(--mw-accent-rgb), 0.42);
	}
	70% {
		box-shadow: 0 0 0 7px rgba(var(--mw-accent-rgb), 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(var(--mw-accent-rgb), 0);
	}
}

@keyframes mw-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes mw-slide-right {
	from {
		opacity: 0;
		transform: translateX(-32px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.container {
		padding-inline: 24px;
	}

	.primary-menu {
		gap: 15px;
	}

	.primary-menu > li > a {
		font-size: 13px;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
	}

	.card--lead {
		min-height: 490px;
	}

	.layout,
	.layout--left {
		grid-template-columns: minmax(0, 1fr) 310px;
		gap: 36px;
	}

	.layout--left {
		grid-template-columns: 310px minmax(0, 1fr);
	}

	.showcase-column {
		padding-inline: 24px;
	}

	.single-layout,
	.single-layout:not(.single-layout--toc),
	.single-layout:not(.single-layout--share),
	.single-layout:not(.single-layout--share):not(.single-layout--toc) {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.single-layout--toc {
		grid-template-columns: minmax(0, 1fr) 220px;
	}

	.single-layout--toc:not(.single-layout--share) {
		grid-template-columns: minmax(0, 1fr) 220px;
	}

	.single-layout .share-rail:not(.share-rail--inline) {
		display: none;
	}

	.single-inline-share {
		display: block;
	}

	.single-main,
	.single-layout:not(.single-layout--toc) .single-main,
	.single-layout:not(.single-layout--share) .single-main {
		max-width: 820px;
	}
}

@media (max-width: 1024px) {
	.primary-nav,
	.header-search-button__text {
		display: none;
	}

	.nav-toggle {
		display: grid;
	}

	.masthead__inner {
		gap: 18px;
	}

	.header-actions {
		gap: 6px;
	}

	.header-topbar__tagline,
	.header-topbar__divider {
		display: none;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
		gap: 20px;
	}

	.card--lead {
		min-height: 440px;
	}

	.card--lead .card__body {
		padding: 28px;
	}

	.hero-grid__secondary {
		padding: 18px;
	}

	.card--stack {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 13px;
	}

	.card--stack .card__title {
		font-size: 15.5px;
	}

	.editor-grid {
		gap: 22px;
	}

	.card--editor .card__title {
		font-size: 19px;
	}

	.layout,
	.layout--left {
		grid-template-columns: minmax(0, 1fr) 290px;
		gap: 30px;
	}

	.layout--left {
		grid-template-columns: 290px minmax(0, 1fr);
	}

	.showcase-column {
		padding-inline: 18px;
	}

	.single-title {
		font-size: 46px;
	}
}

@media (max-width: 900px) {
	.container {
		padding-inline: 20px;
	}

	.header-topbar__inner {
		min-height: 36px;
	}

	.masthead {
		padding-block: 17px;
	}

	.site-logo__text {
		font-size: 36px;
	}

	.site-logo__dot {
		font-size: 38px;
	}

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

	.card--lead {
		min-height: 460px;
	}

	.hero-grid__secondary {
		display: grid;
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		gap: 24px;
	}

	.hero-grid__headlines {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.editor-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.layout,
	.layout--left,
	.layout--none {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.layout--left .widget-area {
		order: 0;
	}

	.sidebar__inner {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.showcase-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.showcase-column {
		padding: 26px 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.showcase-column:first-child {
		padding-top: 0;
		border-top: 0;
	}

	.showcase-column:last-child {
		padding-bottom: 0;
	}

	.home-newsletter__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.home-newsletter__action {
		max-width: 480px;
	}

	.archive-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.layout-toggle {
		align-self: flex-end;
	}

	.single-layout,
	.single-layout--toc,
	.single-layout--toc:not(.single-layout--share) {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-toc {
		order: -1;
		position: static;
		padding: 16px 20px;
		border: 1px solid var(--mw-line);
		border-top: 2px solid var(--mw-accent);
		background: var(--mw-surface);
	}

	.toc-nav {
		max-height: 220px;
	}

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

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 780px) {
	:root {
		--mw-container: 100%;
	}

	.header-date__weekday {
		display: none;
	}

	.header-cta {
		display: none;
	}

	.header-ticker__inner {
		height: 40px;
		gap: 10px;
	}

	.ticker-label {
		padding-right: 10px;
		font-size: 9.5px;
	}

	.ticker-toggle {
		display: none;
	}

	.ticker-group {
		gap: 24px;
		padding-right: 24px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 20px;
	}

	.section-heading__link {
		align-self: flex-end;
	}

	.section-heading h2 {
		font-size: 24px;
	}

	.section-heading__bar {
		height: 22px;
	}

	.home-hero {
		padding: 26px 0 38px;
	}

	.card--lead {
		min-height: 420px;
	}

	.card--lead .card__title {
		font-size: 30px;
	}

	.card--lead .card__excerpt {
		display: none;
	}

	.hero-grid__secondary {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.hero-grid__headlines {
		border-top: 1px solid var(--mw-line);
		padding-top: 4px;
	}

	.home-editors {
		padding: 36px 0;
	}

	.editor-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.home-latest {
		padding: 42px 0 50px;
	}

	.post-grid,
	.post-grid--home,
	.layout--none .post-grid--home {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.post-grid[data-layout="list"] .card--standard {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 20px;
	}

	.post-grid[data-layout="list"] .card--standard .card__title {
		font-size: 21px;
	}

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

	.home-sections {
		padding: 40px 0;
	}

	.home-newsletter {
		padding: 42px 0;
	}

	.home-newsletter h2 {
		font-size: 34px;
	}

	.archive-header {
		padding: 24px 0 26px;
	}

	.archive-title {
		font-size: 40px;
	}

	.archive-body {
		padding: 30px 0 56px;
	}

	.single-header {
		padding: 30px 0 22px;
	}

	.single-title {
		font-size: 37px;
	}

	.single-dek {
		font-size: 16px;
	}

	.single-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.single-meta__details {
		justify-content: flex-start;
	}

	.single-layout {
		padding-top: 28px;
		padding-bottom: 52px;
	}

	.single-content {
		font-size: 17px;
		line-height: 1.9;
	}

	.entry-content h2 {
		font-size: 25px;
	}

	.entry-content h3 {
		font-size: 21px;
	}

	.entry-content blockquote {
		font-size: 19px;
	}

	.author-box {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 16px;
		padding: 20px;
	}

	.author-box__avatar,
	.author-box__img {
		width: 64px;
		height: 64px;
	}

	.related-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-nav__item--next {
		text-align: left;
	}

	.post-nav__item--next .post-nav__label {
		justify-content: flex-start;
	}

	.comment-list .children {
		padding-left: 16px;
	}

	.comment-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.footer-bottom__right {
		width: 100%;
		justify-content: space-between;
	}

	.back-to-top {
		right: 14px;
		bottom: 14px;
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 600px) {
	.header-topbar {
		display: none;
	}

	.masthead {
		padding-block: 13px;
	}

	.masthead__inner {
		gap: 10px;
	}

	.site-logo__text {
		font-size: 31px;
	}

	.site-logo__dot {
		font-size: 33px;
	}

	.site-tagline {
		display: none;
	}

	.header-search-button {
		width: 38px;
		padding: 0;
	}

	.header-actions {
		gap: 2px;
	}

	.nav-toggle {
		width: 40px;
		height: 40px;
	}

	.card--lead {
		min-height: 390px;
	}

	.card--lead .card__body {
		padding: 22px;
	}

	.card--lead .card__title {
		font-size: 26px;
	}

	.card--lead .entry-meta__author {
		display: none;
	}

	.post-grid[data-layout="list"] .card--standard {
		display: block;
		padding: 22px 0;
	}

	.post-grid[data-layout="list"] .card--standard .card__media {
		aspect-ratio: 16 / 10;
		margin-bottom: 14px;
	}

	.post-grid[data-layout="list"] .card--standard .card__title {
		font-size: 20px;
	}

	.single-title {
		font-size: 32px;
	}

	.single-kicker {
		flex-wrap: wrap;
	}

	.single-hero {
		margin-top: 8px;
	}

	.archive-title {
		font-size: 34px;
	}

	.page-header h1 {
		font-size: 34px;
	}

	.error-page__hero {
		padding-top: 20px;
	}

	.error-page__code {
		top: -10px;
		font-size: 120px;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.footer-brand {
		grid-column: auto;
	}

	.footer-bottom__right {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.comment__body {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 12px;
	}

	.comment__avatar-img {
		width: 42px;
		height: 42px;
	}

	.home-newsletter .newsletter-form .wpcf7,
	.home-newsletter .newsletter-form form {
		flex-direction: column;
	}

	.search-dialog__inner {
		padding: 44px 18px 40px;
	}

	.search-form--dialog .button {
		padding: 12px 14px;
		font-size: 11px;
	}

	.search-dialog__tags {
		margin-top: 26px;
	}
}

@media (max-width: 420px) {
	.container {
		padding-inline: 16px;
	}

	.site-logo__text {
		font-size: 27px;
	}

	.site-logo__dot {
		font-size: 29px;
	}

	.header-actions .header-search-button {
		width: 34px;
	}

	.nav-toggle {
		width: 36px;
		height: 36px;
	}

	.card--lead {
		min-height: 350px;
	}

	.card--lead .card__title {
		font-size: 23px;
	}

	.card--lead .card__excerpt {
		display: none;
	}

	.card--lead .entry-meta__item:nth-child(2) {
		display: none;
	}

	.home-newsletter h2 {
		font-size: 29px;
	}

	.single-title {
		font-size: 29px;
	}
}

/* ==========================================================================
   19. Motion, print
   ========================================================================== */
@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;
	}

	.ticker-track {
		animation: none;
	}

	.ticker-viewport {
		overflow-x: auto;
	}
}

@media print {
	.site-header,
	.site-footer,
	.back-to-top,
	.reading-progress,
	.share-rail,
	.single-toc,
	.post-nav,
	.related-posts,
	.comments-area,
	.breadcrumbs {
		display: none !important;
	}

	body {
		background: #ffffff;
		color: #000000;
		font-size: 12pt;
	}

	.container {
		max-width: 100%;
		padding: 0;
	}

	.single-layout {
		display: block;
		padding: 0;
	}

	.single-main {
		max-width: 100%;
	}

	.single-title {
		font-size: 26pt;
	}

	.entry-content a {
		color: #000000;
		text-decoration: underline;
	}

	.entry-content a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 8pt;
	}
}

