/*
Theme Name: 释诚信
Theme URI: https://www.shichengxin.com
Author: 释诚信
Author URI: https://www.shichengxin.com
Description: 个人品牌博客主题：全宽导航与焦点图、人物介绍、明师相册、栏目切换式博客热点与联系方式，红白配色与中式传统版式。
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shichengxin
Tags: blog, one-column, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. 设计变量
   ========================================================================== */
:root {
	--c-red: #98291f;
	--c-red-dark: #7a1f17;
	--c-ink: #1e1b18;
	--c-text: #3a3530;
	--c-ink-3: #5e564d;
	--c-muted: #8d8378;
	--c-white: #ffffff;
	--c-cream: #fbf8f4;
	--c-line: #e8e1d7;
	--c-line-strong: #d9cfc1;

	--font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
	--font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;

	--wrap: 1500px;
	--gutter: 44px;
	--radius: 0;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. 基础
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color .3s var(--ease), border-color .3s var(--ease);
}

h1, h2, h3, h4, h5 {
	margin: 0;
	color: var(--c-ink);
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.42;
	letter-spacing: .04em;
}

p {
	margin: 0 0 1.4em;
}

ul, ol {
	margin: 0;
	padding: 0;
}

button {
	font-family: inherit;
}

::selection {
	background: var(--c-red);
	color: #fff;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 999;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	background: var(--c-red);
	color: #fff;
}

/* ==========================================================================
   3. 布局
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	padding: 118px 0;
}

.section--cream {
	background: var(--c-cream);
}

.section-head {
	max-width: 780px;
	margin-bottom: 58px;
}

.section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--c-red);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .32em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 9px;
	height: 9px;
	background: var(--c-red);
}

.section-head--center .eyebrow::after {
	content: "";
	width: 9px;
	height: 9px;
	background: var(--c-red);
}

.section-title {
	font-size: clamp(30px, 2.8vw, 44px);
	letter-spacing: .12em;
}

.section-desc {
	margin-top: 18px;
	color: var(--c-ink-3);
	font-size: 16px;
	line-height: 1.95;
}

/* 传统双线分隔 */
.rule {
	width: 64px;
	height: 8px;
	margin: 26px auto 0;
	border-top: 1px solid var(--c-red);
	border-bottom: 1px solid var(--c-red);
}

.section-head:not(.section-head--center) .rule {
	margin-left: 0;
}

/* 按钮 */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 15px 34px;
	border: 1px solid var(--c-red);
	background: none;
	color: var(--c-red);
	font-size: 14px;
	letter-spacing: .2em;
	line-height: 1;
	cursor: pointer;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.btn::after {
	content: "";
	width: 20px;
	height: 1px;
	background: currentColor;
	transition: width .35s var(--ease);
}

.btn:hover {
	background: var(--c-red);
	color: #fff;
}

.btn:hover::after {
	width: 30px;
}

.btn--solid {
	background: var(--c-red);
	border-color: var(--c-red);
	color: #fff;
}

.btn--solid:hover {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: #fff;
}

.btn--light {
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
}

.btn--light:hover {
	background: #fff;
	border-color: #fff;
	color: var(--c-red);
}

/* ==========================================================================
   4. 顶部导航（全宽）
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-line);
	transition: box-shadow .3s var(--ease);
}

.site-header::before {
	content: "";
	display: block;
	height: 4px;
	background: var(--c-red);
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px rgba(30, 27, 24, .06);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	width: 100%;
	height: 92px;
	padding: 0 clamp(24px, 4vw, 64px);
}

.brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.brand img {
	width: auto;
	height: 60px;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 52px;
	list-style: none;
}

.primary-nav li {
	position: relative;
}

.primary-nav a {
	position: relative;
	display: inline-block;
	padding: 10px 0;
	color: var(--c-ink);
	font-size: 17px;
	letter-spacing: .2em;
	white-space: nowrap;
}

.primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 0;
	height: 2px;
	background: var(--c-red);
	transition: width .35s var(--ease);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	color: var(--c-red);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
	width: 100%;
}

.primary-nav .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -14px;
	width: 0;
	height: 0;
	margin-top: -2px;
	border: 4px solid transparent;
	border-top-color: currentColor;
	transition: transform .25s var(--ease);
}

.primary-nav .menu-item-has-children:hover > a::before,
.primary-nav .menu-item-has-children:focus-within > a::before {
	transform: rotate(180deg);
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 60;
	display: block;
	min-width: 188px;
	margin: 0;
	padding: 10px 0;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	box-shadow: 0 18px 40px rgba(30, 27, 24, .09);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.primary-nav .sub-menu li {
	width: 100%;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 11px 22px;
	font-size: 15px;
	letter-spacing: .14em;
	text-align: center;
}

.primary-nav .sub-menu a::after {
	display: none;
}

.primary-nav .sub-menu a:hover {
	background: var(--c-cream);
	color: var(--c-red);
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--c-line-strong);
	background: none;
	cursor: pointer;
}

.nav-toggle span {
	position: relative;
	display: block;
	width: 20px;
	height: 1px;
	background: var(--c-ink);
	transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 1px;
	background: var(--c-ink);
	transition: transform .3s var(--ease);
}

.nav-toggle span::before {
	top: -7px;
}

.nav-toggle span::after {
	top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   5. 首页焦点图（全宽）
   ========================================================================== */
.hero-slider {
	position: relative;
	height: calc(clamp(520px, 66vh, 780px) + 100px);
	overflow: hidden;
	background: #2a2521;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--ease), visibility 1s;
}

.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.hero-slide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.05);
	transition: transform 8s linear;
}

.hero-slide.is-active .hero-slide__img {
	transform: scale(1);
}

.hero-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(20, 17, 15, .82) 0%, rgba(20, 17, 15, .46) 48%, rgba(20, 17, 15, .08) 80%),
		linear-gradient(0deg, rgba(20, 17, 15, .46) 0%, transparent 46%);
}

.hero-content {
	position: absolute;
	left: clamp(24px, 7vw, 132px);
	right: 24px;
	bottom: clamp(60px, 8vh, 110px);
	z-index: 3;
	max-width: 820px;
	color: #fff;
}

.hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	color: rgba(255, 255, 255, .78);
	font-size: 12px;
	letter-spacing: .4em;
	text-transform: uppercase;
}

.hero-eyebrow::before {
	content: "";
	width: 3px;
	height: 22px;
	background: var(--c-red);
}

.hero-title {
	color: #fff;
	font-size: clamp(32px, 4vw, 64px);
	font-weight: 600;
	line-height: 1.34;
	letter-spacing: .14em;
}

.hero-sub {
	max-width: 600px;
	margin-top: 22px;
	color: rgba(255, 255, 255, .82);
	font-size: 16px;
	line-height: 1.95;
	letter-spacing: .04em;
}

.hero-actions {
	margin-top: 38px;
}

.hero-arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	z-index: 4;
	display: flex;
	justify-content: space-between;
	padding: 0 clamp(16px, 2.4vw, 40px);
	transform: translateY(-50%);
	pointer-events: none;
}

.hero-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255, 255, 255, .5);
	background: rgba(20, 17, 15, .16);
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.hero-arrow:hover {
	background: var(--c-red);
	border-color: var(--c-red);
}

.hero-arrow svg {
	width: 16px;
	height: 16px;
}

.hero-footer {
	position: absolute;
	right: clamp(24px, 7vw, 132px);
	bottom: clamp(60px, 8vh, 110px);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 18px;
	color: rgba(255, 255, 255, .8);
}

.hero-dots {
	display: flex;
	gap: 10px;
}

.hero-dot {
	width: 28px;
	height: 2px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: background .3s var(--ease);
}

.hero-dot.is-active {
	background: var(--c-red);
}

.hero-counter {
	font-size: 12px;
	letter-spacing: .22em;
	color: rgba(255, 255, 255, .72);
}

/* 标语带 */
.slogan-band {
	padding: 40px 24px;
	background: var(--c-red);
	color: #fff;
	text-align: center;
}

.slogan-band p {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(19px, 1.7vw, 26px);
	letter-spacing: .42em;
	text-indent: .42em;
}

/* ==========================================================================
   6. 人物介绍
   ========================================================================== */
.about-section {
	background: var(--c-white);
}

.about-grid {
	display: grid;
	align-items: center;
	gap: clamp(40px, 4.5vw, 76px);
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
}

.about-media {
	padding: 12px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	box-shadow: 0 12px 30px rgba(30, 27, 24, .07);
}

.about-media img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.about-media figcaption {
	margin: 0;
	padding: 14px 0 4px;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: .18em;
	text-align: center;
}

.about-body .section-title {
	margin-bottom: 26px;
	font-size: clamp(28px, 2.4vw, 38px);
}

.about-quote {
	margin: 0 0 28px;
	padding-left: 18px;
	border-left: 3px solid var(--c-red);
	color: var(--c-red);
	font-family: var(--font-serif);
	font-size: 18px;
	letter-spacing: .14em;
}

.about-text {
	color: var(--c-ink-3);
	font-size: 16px;
	line-height: 2.05;
}

.about-text p:last-child {
	margin-bottom: 0;
}

.about-stats {
	display: flex;
	flex-wrap: wrap;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--c-line);
}

.stat {
	padding: 0 clamp(20px, 3vw, 42px);
	border-left: 1px solid var(--c-line);
}

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

.stat-num {
	display: block;
	color: var(--c-red);
	font-family: var(--font-serif);
	font-size: 42px;
	line-height: 1;
	letter-spacing: .02em;
}

.stat-num small {
	margin-left: 4px;
	font-size: 15px;
}

.stat-label {
	display: block;
	margin-top: 10px;
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: .16em;
}

.about-actions {
	margin-top: 40px;
}

/* ==========================================================================
   7. 明师相册（两行四列）
   ========================================================================== */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.gallery-item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-line);
	cursor: zoom-in;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .9s var(--ease);
}

.gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 17, 15, .74) 0%, rgba(20, 17, 15, .04) 58%, transparent 100%);
	opacity: 0;
	transition: opacity .5s var(--ease);
}

.gallery-item:hover img {
	transform: scale(1.06);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
	opacity: 1;
}

.gallery-caption {
	position: absolute;
	left: 20px;
	bottom: 18px;
	z-index: 2;
	color: #fff;
	font-family: var(--font-serif);
	font-size: 16px;
	letter-spacing: .14em;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
	opacity: 1;
	transform: translateY(0);
}

/* 灯箱 */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5vw;
	background: rgba(20, 17, 15, .95);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s var(--ease), visibility .35s;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox img {
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
}

.lightbox-close {
	position: absolute;
	top: 26px;
	right: 30px;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, .4);
	background: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.lightbox-close:hover {
	background: var(--c-red);
	border-color: var(--c-red);
}

body.lightbox-open {
	overflow: hidden;
}

/* ==========================================================================
   8. 博客热点（两行三列，无缩略图、无序号）
   ========================================================================== */
.hot-panel {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 56px;
	row-gap: 0;
}

.hot-item {
	display: flex;
	flex-direction: column;
	padding: 30px 0;
	border-bottom: 1px solid var(--c-line);
}

.hot-item__cat {
	margin: 0 0 10px;
	color: var(--c-red);
	font-size: 12px;
	letter-spacing: .2em;
}

.hot-item__title {
	display: block;
	color: var(--c-ink);
	font-family: var(--font-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: .04em;
	transition: color .3s var(--ease);
}

.hot-item:hover .hot-item__title {
	color: var(--c-red);
}

.hot-item__excerpt {
	margin: 10px 0 0;
	color: var(--c-ink-3);
	font-size: 13px;
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hot-item__date {
	margin-top: auto;
	padding-top: 14px;
	color: var(--c-muted);
	font-size: 12px;
	letter-spacing: .12em;
}

.hot-more {
	margin-top: 48px;
	text-align: center;
}

.hot-empty {
	padding: 40px 0;
	color: var(--c-muted);
	font-size: 15px;
}

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

/* ==========================================================================
   9. 联系方式
   ========================================================================== */
.contact {
	min-height: 500px;
	padding: 72px 0;
	display: flex;
	align-items: center;
	background: var(--c-red);
	color: rgba(255, 255, 255, .82);
	font-size: 16px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1.45fr .85fr .9fr 1.2fr;
	gap: clamp(28px, 3.6vw, 68px);
	width: 100%;
}

.contact-col {
	min-width: 0;
}

.contact-col__logo {
	display: inline-block;
}

.contact-col__logo img {
	height: 46px;
	width: auto;
}

.contact-col__about {
	margin-top: 18px;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	line-height: 2.05;
	text-align: justify;
}

.contact-col__title {
	position: relative;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .22);
	color: #fff;
	font-family: var(--font-serif);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .16em;
}

.contact-col__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 36px;
	height: 2px;
	background: #fff;
}

.contact-col__list {
	display: grid;
	gap: 12px;
	color: rgba(255, 255, 255, .72);
	list-style: none;
}

.contact-col__list a:hover {
	color: #fff;
}

/* 友链：两列网格，往下自然增加 */
.contact-col__list--friends {
	grid-template-columns: repeat(2, 1fr);
	gap: 8px 16px;
}

.contact-col__list--friends li {
	font-size: 14px;
	letter-spacing: .04em;
}

.contact-col__qr {
	width: 128px;
	margin: 0 0 20px;
	padding: 8px;
	background: var(--c-white);
	cursor: zoom-in;
}

.contact-col__qr img {
	display: block;
	width: 100%;
	height: auto;
}

.contact-col__qr figcaption {
	margin-top: 7px;
	color: var(--c-muted);
	font-size: 11px;
	letter-spacing: .04em;
	text-align: center;
}

.contact-col__list--info {
	gap: 10px;
}

.contact-col__list--info li {
	color: #fff;
	font-family: var(--font-serif);
	font-size: 15px;
	line-height: 1.8;
	word-break: break-word;
}

.contact-col__list--info .label {
	margin-right: 4px;
	color: rgba(255, 255, 255, .6);
	font-family: inherit;
	font-size: 12px;
}

/* ==========================================================================
   10. 页脚
   ========================================================================== */
.site-footer {
	background: var(--c-cream);
	color: var(--c-muted);
	font-size: 13px;
}

.footer-bottom {
	padding: 24px 0;
	color: var(--c-muted);
	font-size: 13px;
	text-align: center;
}

.footer-bottom__inner {
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	white-space: nowrap;
	padding-left: clamp(24px, 4vw, 64px);
	padding-right: clamp(24px, 4vw, 64px);
	max-width: none;
}

.footer-sep {
	color: var(--c-line-strong);
}

.footer-icp {
	margin: 0;
	font-size: 12px;
	letter-spacing: .06em;
}

.footer-icp a {
	color: var(--c-muted);
}

.footer-icp a:hover {
	color: var(--c-red);
}

/* ==========================================================================
   11. 页面头部 / 文章卡片
   ========================================================================== */
.list-main {
	padding: 64px 0 96px;
	background: #f2ede6;
}

/* 列表页纸面 */
.list-main > .container {
	max-width: 1280px;
	padding: 72px 80px 40px;
	background: var(--c-white);
	border: 1px solid var(--c-line-strong);
	box-shadow: 0 22px 60px rgba(30, 27, 24, .09);
}

.list-head {
	margin-bottom: 8px;
}

.list-head .breadcrumbs {
	margin-bottom: 24px;
}

.list-head h1 {
	font-size: clamp(30px, 2.8vw, 42px);
	letter-spacing: .14em;
}

.list-head .section-desc {
	margin-top: 14px;
}

.list-head > p:not(.eyebrow):not(.archive-meta) {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--c-ink-3);
	font-size: 16px;
	line-height: 1.95;
}

/* 两列布局（DOM 顺序 sidebar 先、list-content 后；桌面端用 order 换位置） */
.list-layout {
	display: flex;
	align-items: flex-start;
	gap: 56px;
	padding-top: 36px;
}

.list-content {
	flex: 1 1 auto;
	min-width: 0;
	order: 1;
}

.list-sidebar {
	flex: 0 0 260px;
	order: 2;
}

.list-content .post-grid {
	padding: 0 0 24px;
}

.list-content .pagination {
	padding: 24px 0 0;
}

/* 右侧栏 */
.list-sidebar {
	position: sticky;
	top: 112px;
}

.sidebar-box {
	margin-bottom: 32px;
	padding: 28px 24px;
	border-top: 3px solid var(--c-red);
	border-bottom: 1px solid var(--c-line);
	background: #fbf8f4;
}

.sidebar-details {
	display: block;
}

.sidebar-details > summary.sidebar-title {
	list-style: none;
	cursor: pointer;
	margin-bottom: 20px;
	font-size: 16px;
	letter-spacing: .2em;
	color: var(--c-ink);
	border-bottom: 1px solid var(--c-line-strong);
	padding-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sidebar-details > summary.sidebar-title::-webkit-details-marker {
	display: none;
}

.sidebar-details > summary.sidebar-title::after {
	content: "▾";
	font-size: 14px;
	color: var(--c-muted);
	transition: transform .25s var(--ease);
}

.sidebar-details[open] > summary.sidebar-title::after {
	content: "▴";
}

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

.sidebar-cats li {
	margin: 0;
}

.sidebar-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 2px;
	border-bottom: 1px dashed var(--c-line);
	color: var(--c-text);
	font-size: 15px;
	letter-spacing: .06em;
	transition: color .25s var(--ease), padding-left .25s var(--ease);
}

.sidebar-cats li:last-child a {
	border-bottom: none;
}

.sidebar-cats a:hover,
.sidebar-cats a.is-active {
	color: var(--c-red);
	padding-left: 6px;
}

.sidebar-cats__count {
	display: none;
}

/* 面包屑 */
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 18px;
	color: var(--c-muted);
	font-size: 12px;
	line-height: 1.8;
	letter-spacing: .12em;
}

.breadcrumbs a {
	color: var(--c-muted);
	transition: color .3s var(--ease);
}

.breadcrumbs a:hover {
	color: var(--c-red);
}

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

.breadcrumbs [aria-current="page"] {
	max-width: 46ch;
	min-width: 0;
	overflow: hidden;
	color: var(--c-ink-2);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.single .breadcrumbs {
	margin-bottom: 28px;
}

.archive-meta {
	margin-top: 16px;
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: .16em;
}

.post-grid {
	display: block;
	padding: 64px 0 84px;
}

.card {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 44px;
	padding: 40px 0;
	border-bottom: 1px solid var(--c-line);
	min-width: 0;
}

.card:first-child {
	padding-top: 0;
}

.card:last-child {
	border-bottom: 0;
}

.card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-line);
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--ease);
}

.card:hover .card-media img {
	transform: scale(1.05);
}

.card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.card-cat {
	display: inline-block;
	color: var(--c-red);
	font-size: 12px;
	letter-spacing: .2em;
}

.card-title {
	margin-top: 12px;
	font-size: 24px;
	line-height: 1.55;
}

.card-title a:hover {
	color: var(--c-red);
}

.card-excerpt {
	margin: 14px 0 0;
	max-width: 720px;
	color: var(--c-ink-3);
	font-size: 15px;
	line-height: 1.9;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-meta {
	margin-top: 18px;
	color: var(--c-muted);
	font-size: 12px;
	letter-spacing: .12em;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 0 0 110px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--c-line);
	color: var(--c-ink-2);
	font-size: 14px;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--c-red);
	border-color: var(--c-red);
	color: #fff;
}

.empty-state {
	padding: 80px 0 120px;
	color: var(--c-muted);
	font-size: 16px;
}

/* ==========================================================================
   12. 文章 / 页面正文
   ========================================================================== */
.single-main {
	padding: 64px 0 96px;
	background: #f2ede6;
}

/* A4 纸：白色纸面，边缘分明 */
.single-main > .container {
	max-width: 980px;
	padding: 88px 96px 80px;
	background: var(--c-white);
	border: 1px solid var(--c-line-strong);
	box-shadow: 0 22px 60px rgba(30, 27, 24, .09);
}

.single-head {
	max-width: 900px;
	margin: 0 auto 48px;
	text-align: center;
}

.single-title {
	margin-top: 16px;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.5;
	letter-spacing: .08em;
}

.single-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 22px;
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: .14em;
}

.single-meta span {
	position: relative;
}

.single-meta span + span::before {
	content: "·";
	position: absolute;
	left: -13px;
}

.single-cover {
	max-width: 1180px;
	margin: 0 auto 56px;
	overflow: hidden;
}

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

/* 简介页人物照：竖幅相框 */
.single-cover--portrait {
	max-width: 460px;
	padding: 12px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	box-shadow: 0 12px 30px rgba(30, 27, 24, .07);
}

.single-cover--portrait img {
	width: 100%;
	max-height: none;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.single-cover--portrait figcaption {
	margin: 0;
	padding: 14px 0 2px;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: .18em;
	text-align: center;
}

.entry-content {
	max-width: 840px;
	margin: 0 auto;
	color: #322d28;
	font-size: 17px;
	line-height: 2.1;
}

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

.entry-content p {
	margin-bottom: 1.7em;
}

.entry-content h2 {
	margin: 2.4em 0 1em;
	padding-left: 16px;
	border-left: 3px solid var(--c-red);
	font-size: 28px;
	letter-spacing: .06em;
}

.entry-content h3 {
	margin: 2em 0 .8em;
	font-size: 22px;
}

.entry-content h4 {
	margin: 1.8em 0 .6em;
	font-size: 18px;
}

.entry-content a {
	color: var(--c-red);
	border-bottom: 1px solid rgba(152, 41, 31, .35);
}

.entry-content a:hover {
	border-bottom-color: var(--c-red);
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 26px 32px;
	border-left: 3px solid var(--c-red);
	background: var(--c-cream);
	color: var(--c-ink);
	font-family: var(--font-serif);
	font-size: 18px;
	line-height: 1.95;
	letter-spacing: .04em;
}

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

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

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

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

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

.entry-content figcaption {
	margin-top: 10px;
	color: var(--c-muted);
	font-size: 13px;
	text-align: center;
}

.entry-content hr {
	width: 60px;
	height: 1px;
	margin: 3em auto;
	border: 0;
	background: var(--c-line-strong);
}

.entry-content pre {
	overflow-x: auto;
	padding: 22px;
	background: #26221e;
	color: #ece5d8;
	font-size: 14px;
	line-height: 1.7;
}

.entry-content code {
	padding: 2px 6px;
	background: var(--c-cream);
	font-size: .92em;
}

.entry-content pre code {
	padding: 0;
	background: none;
}

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

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

.entry-content th {
	background: var(--c-cream);
}

.entry-tags {
	max-width: 840px;
	margin: 48px auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: 13px;
}

.entry-tags a {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--c-red);
	font-size: 13px;
	letter-spacing: .08em;
}

.entry-tags a:hover {
	color: var(--c-red-dark);
}

.entry-tags__label {
	color: var(--c-muted);
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 1180px;
	margin: 64px auto 0;
	border-top: 1px solid var(--c-line);
}

.post-nav__item {
	padding: 32px 0;
}

.post-nav__item--next {
	padding-left: 40px;
	border-left: 1px solid var(--c-line);
	text-align: right;
}

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

.post-nav--single .post-nav__item--next {
	padding-left: 0;
	border-left: 0;
	text-align: left;
}

.post-nav__label {
	display: block;
	color: var(--c-muted);
	font-size: 12px;
	letter-spacing: .2em;
}

.post-nav__title {
	display: block;
	margin-top: 10px;
	font-family: var(--font-serif);
	font-size: 17px;
	line-height: 1.6;
}

.post-nav__title:hover {
	color: var(--c-red);
}

.related {
	max-width: 840px;
	margin: 64px auto 0;
	padding-top: 40px;
	border-top: 1px solid var(--c-line);
}

.related__title {
	margin: 0 0 20px;
	padding-left: 14px;
	border-left: 3px solid var(--c-red);
	font-family: var(--font-serif);
	font-size: 20px;
	letter-spacing: .16em;
}

.related__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.related__list li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 0;
	border-bottom: 1px dashed var(--c-line);
}

.related__list a {
	font-family: var(--font-serif);
	font-size: 17px;
	line-height: 1.6;
}

.related__list a:hover {
	color: var(--c-red);
}

.comments-area {
	max-width: 840px;
	margin: 64px auto 0;
}

.comments-title {
	font-size: 22px;
	margin-bottom: 28px;
}

/* 长文分页 */
.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	max-width: 840px;
	margin: 34px auto 0;
	padding-top: 26px;
	border-top: 1px solid var(--c-line);
	font-size: 14px;
}

.page-links__label {
	margin-right: 6px;
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: .12em;
}

.page-links .post-page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--c-line);
	color: var(--c-ink-3);
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.page-links .post-page-numbers:hover,
.page-links .post-page-numbers.current {
	background: var(--c-red);
	border-color: var(--c-red);
	color: #fff;
}

/* 评论 */
.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .comment-body {
	position: relative;
	padding: 26px 0 24px 64px;
	border-bottom: 1px solid var(--c-line);
}

.comment-list .comment-body .avatar {
	position: absolute;
	top: 26px;
	left: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 18px;
	margin-bottom: 10px;
}

.comment-author {
	font-family: var(--font-serif);
	font-size: 15px;
	color: var(--c-ink);
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	font-size: 12px;
	letter-spacing: .06em;
	color: var(--c-muted);
}

.comment-metadata a {
	color: var(--c-muted);
}

.comment-metadata a:hover {
	color: var(--c-red);
}

.comment-content {
	font-size: 15px;
	line-height: 1.9;
	color: var(--c-text);
}

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

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

.comment-list .children .comment-body:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.comment-list .reply {
	margin-top: 10px;
	font-size: 13px;
}

.comment-list .reply a {
	color: var(--c-red);
}

.comment-list .reply a:hover {
	color: var(--c-red-dark);
}

.comment-respond {
	margin-top: 46px;
	padding-top: 34px;
	border-top: 1px solid var(--c-line-strong);
}

.comment-reply-title {
	margin-bottom: 20px;
	font-size: 20px;
	letter-spacing: .1em;
}

.comment-reply-title small {
	margin-left: 12px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .08em;
}

.comment-form {
	display: grid;
	gap: 16px;
}

.comment-form p {
	margin: 0;
}

.comment-form .comment-notes,
.comment-form .logged-in-as {
	color: var(--c-muted);
	font-size: 13px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: .08em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--c-line-strong);
	background: var(--c-white);
	color: var(--c-text);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.7;
	transition: border-color .3s var(--ease);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	border-color: var(--c-red);
	outline: none;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-form .form-submit {
	margin: 4px 0 0;
}

.comment-form input[type="submit"],
.comment-form #submit {
	padding: 14px 34px;
	border: 1px solid var(--c-red);
	background: var(--c-red);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	letter-spacing: .2em;
	cursor: pointer;
	transition: background .3s var(--ease), border-color .3s var(--ease);
}

.comment-form input[type="submit"]:hover,
.comment-form #submit:hover {
	background: var(--c-ink);
	border-color: var(--c-ink);
}

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

.comment-form-cookies-consent label {
	margin: 0;
	letter-spacing: 0;
}

.comments-pagination {
	margin-top: 30px;
}

.comments-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.comments-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--c-line);
	font-size: 14px;
}

.comments-pagination .page-numbers.current,
.comments-pagination .page-numbers:hover {
	background: var(--c-red);
	border-color: var(--c-red);
	color: #fff;
}

.no-comments {
	margin-top: 22px;
	color: var(--c-muted);
	font-size: 14px;
}

/* ==========================================================================
   联系页面
   ========================================================================== */
.contact-page {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.contact-page .contact-page__qr {
	width: 100%;
	margin: 0;
	padding: 12px;
	background: var(--c-white);
	border: 1px solid var(--c-line-strong);
}

.contact-page .contact-page__qr img {
	display: block;
	width: 100%;
	height: auto;
}

.contact-page .contact-page__qr figcaption {
	margin-top: 10px;
	color: var(--c-muted);
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: .06em;
	text-align: center;
}

.contact-page .contact-page__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-page .contact-page__list li {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 14px;
	align-items: baseline;
	margin: 0;
	padding: 15px 0;
	border-bottom: 1px solid var(--c-line);
	font-family: var(--font-serif);
	font-size: 16px;
	line-height: 1.8;
	word-break: break-word;
}

.contact-page .contact-page__list li:first-child {
	padding-top: 0;
}

.contact-page .contact-page__list li:last-child {
	border-bottom: 0;
}

.contact-page .contact-page__label {
	color: var(--c-muted);
	font-family: var(--font-sans);
	font-size: 14px;
	letter-spacing: .1em;
}

.contact-page .contact-page__list a {
	color: var(--c-red);
	border-bottom: 1px solid rgba(152, 41, 31, .35);
}

.contact-page .contact-page__list a:hover {
	border-bottom-color: var(--c-red);
}

.contact-page .contact-page__note {
	grid-column: 1 / -1;
	margin: 6px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-family: var(--font-sans);
	font-size: 14px;
	letter-spacing: .12em;
}

@media (max-width: 760px) {
	.contact-page {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.contact-page .contact-page__qr {
		width: 180px;
		margin: 0 auto;
	}

	.contact-page .contact-page__list li {
		grid-template-columns: 96px minmax(0, 1fr);
	}
}

/* ==========================================================================
   13. 404 / 搜索
   ========================================================================== */
.error-page {
	padding: 140px 0 160px;
	text-align: center;
}

.error-code {
	color: var(--c-red);
	opacity: .16;
	font-family: var(--font-serif);
	font-size: clamp(80px, 14vw, 180px);
	line-height: 1;
	letter-spacing: .08em;
}

.error-page h1 {
	margin-top: 20px;
	font-size: 28px;
}

.error-page p {
	margin: 16px 0 34px;
	color: var(--c-ink-3);
}

.search-form {
	display: flex;
	max-width: 420px;
	margin: 0 auto;
	border-bottom: 1px solid var(--c-ink);
}

.search-form input[type="search"] {
	flex: 1;
	padding: 12px 0;
	border: 0;
	background: none;
	color: var(--c-ink);
	font-size: 16px;
	outline: none;
}

.search-form button {
	padding: 12px 6px;
	border: 0;
	background: none;
	color: var(--c-red);
	cursor: pointer;
}

/* ==========================================================================
   14. 动效与可访问性
   ========================================================================== */
[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

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

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

	[data-reveal] {
		opacity: 1;
		transform: none;
	}

	.hero-slide__img,
	.hero-slide.is-active .hero-slide__img {
		transform: none;
	}
}

/* ==========================================================================
   15. 响应式
   ========================================================================== */
@media (max-width: 1280px) {
	:root {
		--gutter: 34px;
	}

	.primary-nav ul {
		gap: 36px;
	}

	.hot-panel {
		column-gap: 40px;
	}
}

@media (max-width: 1024px) {
	.section {
		padding: 92px 0;
	}

	.about-grid {
		grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
		gap: 44px;
	}

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

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

	.post-grid {
		padding: 52px 0 72px;
	}

	.card {
		grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
		gap: 32px;
	}

	.card-title {
		font-size: 22px;
	}

	.contact {
		min-height: 0;
		padding: 64px 0;
		display: block;
	}

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

	.single-main {
		padding: 44px 0 76px;
	}

	.single-main > .container {
		padding: 64px 56px 60px;
	}

	.list-main {
		padding: 44px 0 76px;
	}

	.list-main > .container {
		padding: 64px 56px 32px;
	}

	.list-layout {
		gap: 40px;
	}

	.list-sidebar {
		flex-basis: 220px;
	}
}

@media (max-width: 860px) {
	.list-layout {
		flex-direction: column;
		gap: 28px;
	}

	.list-sidebar,
	.list-content {
		order: initial;
		flex: 1 1 auto;
		width: 100%;
	}

	.list-sidebar {
		position: static;
	}

	.sidebar-cats__count {
		display: none;
	}

	.sidebar-details > summary.sidebar-title {
		font-size: 17px;
		padding: 14px 2px;
	}

	.sidebar-details > summary.sidebar-title::after {
		font-size: 17px;
		line-height: 1;
	}
}

@media (max-width: 860px) {
	.nav-toggle {
		display: inline-flex;
	}

	.header-inner {
		height: 76px;
		padding: 0 22px;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 10px 22px 26px;
		background: var(--c-white);
		border-bottom: 1px solid var(--c-line);
		box-shadow: 0 20px 40px rgba(30, 27, 24, .08);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.primary-nav li {
		width: 100%;
		border-bottom: 1px solid var(--c-line);
	}

	.primary-nav li:last-child {
		border-bottom: 0;
	}

	.primary-nav a {
		display: block;
		padding: 16px 0;
		font-size: 17px;
	}

	.primary-nav .menu-item-has-children > a::before {
		display: none;
	}

	.primary-nav .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 10px 20px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav .sub-menu li {
		border-bottom: 0;
	}

	.primary-nav .sub-menu a {
		padding: 9px 0;
		color: var(--c-muted);
		font-size: 15px;
		text-align: left;
	}

	.primary-nav .sub-menu a:hover {
		background: none;
	}

	.hero-slider {
		height: calc(clamp(440px, 72vh, 600px) + 100px);
	}

	.hero-content {
		bottom: 96px;
	}

	.hero-footer {
		bottom: 30px;
		right: 24px;
	}

	.hero-arrow {
		width: 44px;
		height: 44px;
	}

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

	.about-media {
		max-width: 420px;
		padding: 8px;
	}

	.about-quote {
		font-size: 16px;
	}

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

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

	.post-nav__item--next {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var(--c-line);
		text-align: left;
	}

	.single-head {
		text-align: left;
	}

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

@media (max-width: 620px) {
	:root {
		--gutter: 20px;
	}

	.section {
		padding: 70px 0;
	}

	.section-head {
		margin-bottom: 36px;
	}

	.section-title {
		font-size: 27px;
	}

	.hero-slider {
		height: 78vh;
		min-height: 430px;
	}

	.hero-content {
		left: 20px;
		right: 20px;
		bottom: 92px;
	}

	.hero-sub {
		font-size: 14px;
	}

	.hero-arrows {
		display: none;
	}

	.hero-footer {
		left: 20px;
		right: 20px;
		justify-content: space-between;
	}

	.slogan-band {
		padding: 26px 18px;
	}

	.slogan-band p {
		font-size: 14px;
		letter-spacing: .16em;
		text-indent: .16em;
		line-height: 2;
	}

	.about-stats {
		row-gap: 22px;
	}

	.stat {
		padding: 0 18px;
	}

	.stat-num {
		font-size: 32px;
	}

	.hot-item {
		padding: 24px 0;
	}

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

	/* 移动端隐藏友链 */
	.contact-col:nth-child(3) {
		display: none;
	}

	.post-grid {
		padding: 44px 0 68px;
	}

	.card {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 30px 0;
	}

	.card-media {
		aspect-ratio: 16 / 10;
	}

	.card-title {
		font-size: 20px;
	}

	.card-excerpt {
		font-size: 14px;
	}

	.list-main {
		padding: 18px 0 40px;
	}

	.list-main > .container {
		max-width: none;
		padding: 38px 22px 16px;
		border-left: 0;
		border-right: 0;
		box-shadow: 0 10px 30px rgba(30, 27, 24, .06);
	}

	.single-main {
		padding: 18px 0 40px;
	}

	.single-main > .container {
		max-width: none;
		padding: 38px 22px 44px;
		border-left: 0;
		border-right: 0;
		box-shadow: 0 10px 30px rgba(30, 27, 24, .06);
	}

	.single-head {
		margin-bottom: 32px;
	}

	.related {
		margin-top: 48px;
		padding-top: 32px;
	}

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

	.related__list a {
		font-size: 16px;
	}

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

	.entry-content {
		font-size: 16px;
		line-height: 2;
	}

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

	.lightbox {
		padding: 16px;
	}
}
