/*
Theme Name: 定格姿态
Theme URI: https://example.com
Author: Pose Guide Team
Author URI: https://example.com
Description: 暗黑奢华风格的摄影动作参考 WordPress 主题，完全基于原生文章体系。
Version: 2.0.0
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pose-guide
Tags: photography, dark, one-column, custom-logo, featured-images, translation-ready
*/

/* ============================================
   CSS 变量体系 — 高端黑金奢华版
   ============================================ */
:root {
	/* ---- 核心色彩 ---- */
	--bg-primary: #080808;
	--bg-secondary: #0f0e0c;
	--bg-card: #151311;
	--bg-card-hover: #1c1916;
	--bg-elevated: #1a1815;

	/* 文字色 — 暖调白 */
	--text-primary: #f5ede0;
	--text-secondary: #a89b85;
	--text-muted: #6b6155;

	/* 金色系统 — 多层次金属金 */
	--accent: #d4a84a;
	--accent-light: #e8c97a;
	--accent-dark: #a67c2e;
	--accent-glow: rgba(212, 168, 74, 0.25);
	--accent-subtle: rgba(212, 168, 74, 0.08);
	--accent-gradient: linear-gradient(135deg, #d4a84a 0%, #e8c97a 50%, #c9953a 100%);
	--accent-shimmer: linear-gradient(90deg, transparent, rgba(232,201,122,0.3), transparent);

	/* 边框与分割线 */
	--border-color: #252118;
	--border-gold: rgba(212, 168, 74, 0.15);
	--divider: linear-gradient(90deg, transparent, var(--border-gold), transparent);

	/* 阴影系统 — 有层次的深度 */
	--shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
	--shadow-md: 0 8px 30px rgba(0,0,0,0.45);
	--shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
	--shadow-gold: 0 4px 24px rgba(212, 168, 74, 0.12);
	--shadow-card-hover: 0 20px 50px rgba(0,0,0,0.6), 0 0 40px rgba(212, 168, 74, 0.06);

	/* 圆角 */
	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;
	--radius-full: 9999px;

	/* 动效 */
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
	--transition-base: 0.4s var(--ease-out-expo);
	--transition-slow: 0.6s var(--ease-out-expo);

	/* 布局 */
	--grid-cols-desktop: 4;
	--grid-cols-tablet: 3;
	--grid-cols-mobile: 2;

	/* 字体 */
	--font-heading: "Georgia", "Palatino Linotype", "Times New Roman", "Songti SC", "SimSun", serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ============================================
   全局 Reset / Base
   ============================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	line-height: 1.75;
	color: var(--text-primary);
	background-color: var(--bg-primary);
	font-size: 16px;
	overflow-x: hidden;
}

/* 背景纹理 — 微妙的噪点质感 */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image:
		radial-gradient(ellipse at 20% 50%, rgba(212, 168, 74, 0.03) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(212, 168, 74, 0.02) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

/* 链接样式 */
a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--transition-base), text-shadow var(--transition-base);
}

a:hover {
	color: var(--accent-light);
	text-shadow: 0 0 12px var(--accent-glow);
}

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

::selection {
	background: rgba(212, 168, 74, 0.25);
	color: var(--text-primary);
}

/* ============================================
   容器/布局辅助
   ============================================ */
.container {
	max-width: 1280px;
	margin: auto;
	padding: 0 1.5rem;
	position: relative;
	z-index: 1;
}

.container--narrow {
	max-width: 820px;
}

.container--wide {
	max-width: 1600px;
}

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

/* ============================================
   Header 导航栏 — 高端版
   ============================================ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(8, 8, 8, 0.85);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid var(--border-color);
	padding: 0.875rem 0;
	transition: all var(--transition-base);
}

/* 粘性跟随模式 - 滚动时跟随页面移动 */
.site-header--sticky {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(8, 8, 8, 0.85);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid var(--border-color);
	padding: 0.875rem 0;
	transition: all var(--transition-base);
}

.site-header.scrolled,
.site-header--sticky.scrolled {
	background: rgba(8, 8, 8, 0.95);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.site-header-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 140px;
	height: 100%;
	text-decoration: none;
}

.site-header-logo img {
	width: 100%;
	height: auto;
	max-height: 36px;
	object-fit: contain;
	transition: transform var(--transition-base), filter var(--transition-base);
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.site-header-logo:hover img {
	transform: scale(1.05);
	filter: drop-shadow(0 2px 8px rgba(212, 168, 74, 0.3));
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
}

/* Logo / 站点标题 */
.site-branding {
	flex-shrink: 0;
}

.site-branding .site-title {
	font-family: var(--font-heading);
	font-size: 1.625rem;
	font-weight: 400;
	margin: 0;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-branding .site-title a {
	color: var(--text-primary);
	text-decoration: none;
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: opacity var(--transition-base);
}

.site-branding .site-title a:hover {
	opacity: 0.85;
	text-shadow: none;
}

.site-branding .custom-logo-link {
	display: block;
	max-height: 56px;
}

.site-branding img.custom-logo {
	max-height: 56px;
	width: auto;
	filter: brightness(1.05) contrast(1.05);
}

/* 导航菜单 */
.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 2.25rem;
	margin: 0;
	padding: 0;
}

.main-navigation li a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	position: relative;
	padding: 0.5rem 0;
	letter-spacing: 0.03em;
	transition: color var(--transition-base);
}

/* 导航下划线动画 — 金色渐变线条 */
.main-navigation li a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--accent-gradient);
	border-radius: 2px;
	transition: width 0.5s var(--ease-out-expo);
	box-shadow: 0 0 8px var(--accent-glow);
}

.main-navigation li a:hover {
	color: var(--accent-light);
}

.main-navigation li a:hover::after {
	width: 100%;
}

/* 汉堡按钮 */
.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--border-color);
	cursor: pointer;
	padding: 10px;
	z-index: 1001;
	border-radius: var(--radius-sm);
	transition: all var(--transition-base);
}

.menu-toggle:hover {
	border-color: var(--accent);
	box-shadow: var(--shadow-gold);
}

.menu-toggle__bar {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--text-primary);
	margin: 5px 0;
	transition: all var(--transition-base);
	border-radius: 1px;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
	background: var(--accent);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
	background: var(--accent);
}

/* 移动端菜单 */
.mobile-menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(8, 8, 8, 0.97);
	backdrop-filter: blur(30px);
	padding: 6rem 2rem 2rem;
	z-index: 999;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.is-open {
	display: block;
	opacity: 1;
	visibility: visible;
}

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

.mobile-nav-menu li {
	margin-bottom: 0.5rem;
}

.mobile-nav-menu a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 1.25rem;
	display: block;
	padding: 1rem 0;
	border-bottom: 1px solid var(--border-color);
	transition: all var(--transition-base);
	letter-spacing: 0.02em;
}

.mobile-nav-menu a:hover {
	color: var(--accent-light);
	padding-left: 0.75rem;
	border-color: var(--border-gold);
}

@media (max-width: 767px) {
	.main-navigation {
		display: none;
	}
	.menu-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 42px;
		height: 42px;
	}
}

/* ============================================
   Footer 页脚
   ============================================ */
.site-footer {
	background: var(--bg-secondary);
	padding: 4rem 1.5rem 2rem;
	margin-top: 5rem;
	border-top: 1px solid var(--border-color);
	position: relative;
}

/* 页脚顶部金色装饰线 */
.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 10%;
	right: 10%;
	height: 1px;
	background: var(--divider);
}

.footer-inner {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 3rem;
}

.footer-widget__title {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 400;
	margin-bottom: 1.25rem;
	color: var(--accent-light);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.875rem;
}

.footer-widget__subtitle {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.footer-widget__text {
	color: var(--text-muted);
	line-height: 1.8;
	font-size: 0.875rem;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
}

.social-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.875rem;
	transition: all var(--transition-base);
	padding: 0.375rem 0.75rem;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
}

.social-links a:hover {
	color: var(--accent-light);
	border-color: var(--border-gold);
	box-shadow: var(--shadow-gold);
}

.footer-bottom {
	text-align: center;
	padding-top: 2.5rem;
	margin-top: 3rem;
	border-top: 1px solid var(--border-color);
	color: var(--text-muted);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}

.footer-bottom .icp {
	margin-left: 1rem;
}

/* ============================================
   卡片组件 — 纯图片 + hover 覆盖层
   ============================================ */
.pose-card {
	background: var(--bg-card);
	border-radius: 0;
	overflow: hidden;
	border: none;
	transition:
		transform 0.5s var(--ease-out-back),
		box-shadow 0.5s var(--ease-out-expo);
	position: relative;
}

.pose-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius);
	padding: 1px;
	background: linear-gradient(135deg, transparent 40%, var(--border-gold), transparent 60%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity var(--transition-slow);
	pointer-events: none;
	z-index: 3;
}

.pose-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
	border-color: rgba(212, 168, 74, 0.2);
}

.pose-card:hover::before {
	opacity: 1;
}

/* 卡片链接 — 占满整个卡片 */
.pose-card__link {
	position: relative;
	display: block;
	overflow: hidden;
}

/* 卡片图片区域 — 占满卡片 */
.pose-card__image-wrapper {
	position: relative;
	overflow: hidden;
}

.pose-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s var(--ease-out-expo), filter 0.5s ease;
}

/* 占位图 */
.pose-card__placeholder {
	width: 100%;
	background:
		linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 50%, var(--bg-secondary) 100%);
	position: relative;
}

.pose-card__placeholder::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 40%, rgba(212, 168, 74, 0.06) 0%, transparent 50%),
		radial-gradient(circle at 70% 60%, rgba(212, 168, 74, 0.04) 0%, transparent 50%);
}

/* ---- 默认标题栏（底部半透明） ---- */
.pose-card__title-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2.5rem 1rem 0.75rem;
	background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 100%);
	z-index: 1;
	transition: opacity 0.3s ease;
}

.pose-card__title {
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text-primary);
	line-height: 1.4;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
}

/* hover 时隐藏标题栏，显示覆盖层 */
.pose-card:hover .pose-card__title-bar {
	opacity: 0;
}

/* 图片悬停放大效果 */
.pose-card:hover .pose-card__image {
	transform: scale(1.05);
	filter: brightness(0.65);
}

/* ---- hover 覆盖层 ---- */
.pose-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: linear-gradient(
		to top,
		rgba(8, 8, 8, 0.9) 0%,
		rgba(8, 8, 8, 0.5) 50%,
		transparent 100%
	);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
	z-index: 2;
}

.pose-card:hover .pose-card__overlay {
	opacity: 1;
}

.pose-card__overlay-inner {
	width: 100%;
	padding: 1.25rem;
	transform: translateY(10px);
	transition: transform 0.4s var(--ease-out-expo);
}

.pose-card:hover .pose-card__overlay-inner {
	transform: translateY(0);
}

.pose-card__overlay-cat {
	display: inline-block;
	color: var(--accent-light);
	font-size: 0.71875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.375rem;
}

.pose-card__overlay-title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.35;
	margin-bottom: 0.5rem;
	letter-spacing: 0.01em;
}

/* 覆盖层内的难度徽章 */
.pose-card__overlay .difficulty-badge {
	font-size: 0.6875rem;
	padding: 2px 8px;
}

/* 难度徽章 — 更精致的胶囊设计 */
.difficulty-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 3px 12px;
	border-radius: var(--radius-full);
	font-size: 0.71875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid transparent;
	transition: all var(--transition-base);
}

.difficulty-beginner {
	background: rgba(45, 90, 39, 0.15);
	color: #8ed494;
	border-color: rgba(142, 212, 148, 0.15);
}

.difficulty-easy {
	background: rgba(26, 74, 110, 0.15);
	color: #82d4ec;
	border-color: rgba(130, 212, 236, 0.15);
}

.difficulty-medium {
	background: rgba(110, 90, 26, 0.15);
	color: #ecd86a;
	border-color: rgba(236, 216, 106, 0.15);
}

.difficulty-hard {
	background: rgba(110, 26, 26, 0.15);
	color: #ec8e8e;
	border-color: rgba(236, 142, 142, 0.15);
}

.difficulty-expert {
	background: rgba(74, 26, 110, 0.15);
	color: #d4a4ec;
	border-color: rgba(212, 164, 236, 0.15);
}

/* 卡片日期 */
.pose-card__date {
	color: var(--text-muted);
	font-size: 0.7875rem;
}

/* ============================================
   网格布局
   ============================================ */
.pose-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px;
}

@media (min-width: 768px) {
	.pose-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}
}

@media (min-width: 1024px) {
	.pose-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
	}
}

@media (min-width: 1280px) {
	.pose-grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 10px;
	}
}

/* 小网格（相关推荐用）*/
.pose-grid--small {
	gap: 1.25rem;
}

/* 首页大卡片网格（3 列铺满）*/
.pose-grid--featured {
	grid-template-columns: repeat(2, 1fr);
	gap: 4px;
}

@media (min-width: 768px) {
	.pose-grid--featured {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}
}

@media (min-width: 1024px) {
	.pose-grid--featured {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}
}

@media (min-width: 1280px) {
	.pose-grid--featured {
		grid-template-columns: repeat(4, 1fr);
		gap: 10px;
	}
}

@media (min-width: 768px) {
	.pose-grid--small {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.pose-grid--small {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ============================================
   Hero 区域 — 电影级沉浸式
   ============================================ */
.hero-full {
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	background:
		linear-gradient(160deg, #080808 0%, #12100d 25%, #0d0b09 50%, #140f0a 75%, #080808 100%);
	padding: 7rem 1.5rem 5rem;
	overflow: hidden;
}

/* Hero 动态背景层 */
.hero-full::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212, 168, 74, 0.06) 0%, transparent 60%),
		radial-gradient(ellipse 60% 40% at 20% 80%, rgba(166, 124, 46, 0.04) 0%, transparent 50%),
		radial-gradient(ellipse 50% 50% at 80% 20%, rgba(212, 168, 74, 0.03) 0%, transparent 50%);
	animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
	0% { opacity: 0.6; }
	100% { opacity: 1; }
}

.hero-full__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.35;
	z-index: 0;
}

.hero-full__logo {
	position: absolute;
	top: 2rem;
	left: 2rem;
	z-index: 10;
	display: block;
	max-width: 160px;
	height: auto;
}

.hero-full__logo img {
	width: 100%;
	height: auto;
	max-height: 60px;
	object-fit: contain;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
	transition: transform var(--transition-base), filter var(--transition-base);
}

.hero-full__logo:hover img {
	transform: scale(1.05);
	filter: drop-shadow(0 4px 16px rgba(212, 168, 74, 0.3));
}

.hero-full__content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: auto;
	padding: 2.5rem;
}

.hero-full__subtitle {
	font-size: clamp(0.875rem, 1.8vw, 1.125rem);
	color: var(--accent);
	margin-bottom: 1.5rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
	opacity: 0.9;
}

.hero-full__title {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	font-weight: 400;
	color: var(--text-primary);
	margin-bottom: 1.25rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero-full__desc {
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	line-height: 1.8;
	font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero 搜索框 — 玻璃拟态 */
.hero-search {
	display: flex;
	max-width: 480px;
	width: 100%;
	margin: 0 auto 2.5rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	overflow: hidden;
	backdrop-filter: blur(10px);
	transition: all var(--transition-base);
}

.hero-search:focus-within {
	border-color: var(--accent-dark);
	box-shadow:
		0 0 0 1px var(--accent-subtle),
		var(--shadow-gold),
		inset 0 0 20px rgba(212, 168, 74, 0.03);
}

.hero-search label {
	flex: 1;
	display: flex;
	min-width: 0;
}

.hero-search__input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: none;
	padding: 1rem 1.5rem;
	color: var(--text-primary);
	outline: none;
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
}

.hero-search__input::placeholder {
	color: var(--text-muted);
	letter-spacing: 0.02em;
}

.hero-search__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: var(--accent-gradient);
	color: #0a0908;
	border: none;
	padding: 1rem 1.5rem;
	cursor: pointer;
	transition: all var(--transition-base);
	position: relative;
	overflow: hidden;
}

.hero-search__btn svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.hero-search__btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--accent-shimmer);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
}

.hero-search__btn:hover::before {
	transform: translateX(100%);
}

.hero-search__btn:hover {
	box-shadow: var(--shadow-gold);
	transform: translateY(-1px);
}

/* Hero 按钮 — 金边描边 */
.hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 2.5rem;
	background: transparent;
	border: 1.5px solid var(--accent-dark);
	color: var(--accent-light);
	border-radius: var(--radius-full);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.5s var(--ease-out-expo);
	position: relative;
	overflow: hidden;
}

.hero-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--accent-gradient);
	opacity: 0;
	transition: opacity var(--transition-base);
	z-index: -1;
}

.hero-btn:hover {
	color: #0a0908;
	border-color: transparent;
	box-shadow: var(--shadow-gold), 0 0 30px var(--accent-glow);
	transform: translateY(-2px);
}

.hero-btn:hover::before {
	opacity: 1;
}

/* Mini Hero */
.hero-mini {
	padding: 3.5rem 1.5rem;
	text-align: center;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border-color);
	position: relative;
}

.hero-mini::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 15%;
	right: 15%;
	height: 1px;
	background: var(--divider);
}

.hero-mini__title {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 400;
	margin-bottom: 0.625rem;
	letter-spacing: 0.03em;
	color: var(--text-primary);
}

.hero-mini__desc {
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	line-height: 1.7;
	font-size: 1rem;
}

/* Mini 搜索框 */
.hero-search--mini {
	max-width: 380px;
	margin: 0 auto;
	font-size: 0.875rem;
}

.hero-search--mini .hero-search__input {
	padding: 0.8rem 1.25rem;
}

.hero-search--mini .hero-search__btn {
	padding: 0.8rem 1.25rem;
}

.hero-search--mini .hero-search__btn svg {
	width: 1.125rem;
	height: 1.125rem;
}

/* ============================================
   Section 通用 — 杂志级排版节奏
   ============================================ */
.section {
	padding: 5rem 0;
	position: relative;
}

.section:nth-child(even) {
	background: var(--bg-secondary);
}

.section__title {
	font-family: var(--font-heading);
	font-size: 1.875rem;
	font-weight: 400;
	text-align: center;
	margin-bottom: 0.5rem;
	color: var(--text-primary);
	letter-spacing: 0.03em;
	position: relative;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%);
}

/* 标题下方金色装饰短线 */
.section__title::after {
	content: '';
	display: block;
	width: 48px;
	height: 2px;
	background: var(--accent-gradient);
	margin: 0.875rem auto 0;
	border-radius: 2px;
	box-shadow: 0 0 8px var(--accent-glow);
}

.section__subtitle {
	text-align: center;
	color: var(--text-muted);
	margin-bottom: 3.5rem;
	font-size: 1rem;
	line-height: 1.7;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================
   分类标签云 — 精致药丸标签
   ============================================ */
.category-cloud {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.875rem;
}

.category-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6875rem 1.375rem;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	color: var(--text-primary);
	text-decoration: none;
	transition: all 0.4s var(--ease-out-expo);
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
	position: relative;
	overflow: hidden;
}

.category-tag::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--accent-gradient);
	opacity: 0;
	transition: opacity var(--transition-base);
	z-index: -1;
}

.category-tag:hover {
	border-color: var(--accent-dark);
	color: var(--text-primary);
	transform: translateY(-3px);
	box-shadow: var(--shadow-gold);
}

.category-tag:hover::before {
	opacity: 0.08;
}

.category-tag__count {
	background: var(--bg-elevated);
	padding: 2px 9px;
	border-radius: var(--radius-full);
	font-size: 0.71875rem;
	color: var(--text-muted);
	font-weight: 500;
}

.category-tag.active {
	border-color: var(--accent-dark);
	background: rgba(212, 168, 74, 0.08);
	color: var(--accent-light);
}

/* ============================================
   筛选排序栏
   ============================================ */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 2.5rem;
}

.filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.filter-tag {
	padding: 0.4375rem 1.125rem;
	border-radius: var(--radius-full);
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.84375rem;
	letter-spacing: 0.02em;
	transition: all 0.35s var(--ease-out-expo);
}

.filter-tag:hover,
.filter-tag.active {
	border-color: var(--accent-dark);
	color: var(--accent-light);
	background: var(--accent-subtle);
}

.sort-options {
	display: flex;
	gap: 0.375rem;
}

.sort-btn {
	padding: 0.4375rem 1rem;
	border-radius: var(--radius-full);
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-muted);
	cursor: pointer;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	transition: all 0.35s var(--ease-out-expo);
}

.sort-btn:hover,
.sort-btn.active {
	border-color: var(--accent-dark);
	color: var(--accent-light);
	background: var(--accent-subtle);
}

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	padding: 1.25rem 0;
	font-size: 0.8125rem;
	color: var(--text-muted);
	letter-spacing: 0.02em;
}

.breadcrumb a {
	color: var(--text-muted);
	transition: color var(--transition-base);
}

.breadcrumb a:hover {
	color: var(--accent-light);
}

.breadcrumb__separator {
	color: var(--border-color);
	font-size: 0.6875rem;
}

.breadcrumb__current {
	color: var(--text-secondary);
}

/* ============================================
   文章详情页 — 左图右文布局
   ============================================ */
.single-detail {
	padding: 4rem 2rem 2rem;
}

.single-detail__inner {
	display: flex;
	gap: 2.5rem;
	max-width: 1200px;
	margin: 0 auto;
	align-items: flex-start;
}

/* ====== 左侧：图片画廊（多图轮播） ====== */
.single-detail__gallery {
	flex-shrink: 0;
	width: 40%;
	position: sticky;
	top: 90px;
}

/* ---- 轮播容器 ---- */
.single-detail__slider {
	width: 100%;
}

/* ---- 主图视口 ---- */
.single-detail__viewport {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--border-color);
	background: var(--bg-card);
	cursor: zoom-in;
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
	/* 脉冲动画 — 提示用户可交互 */
	animation: zoomPulse 2.5s ease-in-out infinite;
}

@keyframes zoomPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,74,0); }
	50% { box-shadow: 0 0 0 4px rgba(212,168,74,0.15); }
}

.single-detail__viewport:hover {
	border-color: var(--accent-dark);
	box-shadow: 0 8px 32px rgba(0,0,0,0.4), var(--shadow-gold);
}

/* ---- 滑轨：所有图片叠加在一起，通过 opacity 切换 ---- */
.single-detail__track {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
}

/* ---- 单张幻灯片 ---- */
.single-detail__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}

.single-detail__slide.active {
	opacity: 1;
	visibility: visible;
	position: relative;
}

/* ---- 图片样式 ---- */
.single-detail__image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	transition: transform 0.5s var(--ease-out-expo);
	user-select: none;
	-webkit-user-drag: none;
}

.single-detail__viewport:hover .single-detail__slide.active .single-detail__image {
	transform: scale(1.03);
}

/* ---- 左右箭头按钮 ---- */
.single-detail__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 8, 8, 0.65);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transition: all 0.35s var(--ease-out-expo);
}

.single-detail__viewport:hover .single-detail__arrow {
	opacity: 0.75;
}

.single-detail__arrow:hover {
	opacity: 1 !important;
	background: var(--accent-dark);
	border-color: var(--accent);
	transform: translateY(-50%) scale(1.08);
	box-shadow: var(--shadow-gold);
}

.single-detail__arrow--prev {
	left: 10px;
}

.single-detail__arrow--next {
	right: 10px;
}

/* ---- 放大按钮 ---- */
.single-detail__zoom-btn {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 8, 8, 0.7);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	color: var(--text-primary);
	cursor: pointer;
	opacity: 0.35;
	z-index: 2;
	transition: all 0.35s var(--ease-out-expo);
}

.single-detail__viewport:hover .single-detail__zoom-btn {
	opacity: 1;
}

.single-detail__zoom-btn:hover {
	background: var(--accent-dark);
	border-color: var(--accent);
	color: #fff;
	transform: scale(1.08) !important;
}

/* ---- 图片计数器 ---- */
.single-detail__counter {
	position: absolute;
	bottom: 10px;
	left: 10px;
	padding: 3px 9px;
	background: rgba(8, 8, 8, 0.7);
	backdrop-filter: blur(6px);
	border-radius: var(--radius-full);
	color: rgba(255,255,255,0.7);
	font-size: 0.71875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	z-index: 2;
	line-height: 1;
}

.single-detail__counter-current {
	color: var(--accent-light);
}

.single-detail__counter-sep {
	margin: 0 2px;
	opacity: 0.45;
}

/* ---- 缩略图条 ---- */
.single-detail__thumbs {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.625rem;
	overflow-x: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
	padding-bottom: 2px;
}

.single-detail__thumbs::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

/* 缩略图按钮 */
.single-detail__thumb-btn {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	padding: 0;
	background: transparent;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	overflow: hidden;
	opacity: 0.55;
	transition: all 0.3s var(--ease-out-expo);
	position: relative;
}

.single-detail__thumb-btn:hover,
.single-detail__thumb-btn.active {
	opacity: 1;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px rgba(212,168,74,0.25);
}

/* 缩略图 */
.single-detail__thumb {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	pointer-events: none;
}

/* ---- 图片标题/描述区域 ---- */
.single-detail__captions {
	margin-top: 0.875rem;
	padding: 0.875rem 1rem;
	background: var(--bg-elevated);
	border-radius: var(--radius);
	border: 1px solid var(--border-color);
}

.single-detail__caption {
	display: none;
}

.single-detail__caption.active {
	display: block;
}

.single-detail__caption-text {
	margin: 0;
	font-size: 0.875rem;
	color: var(--text-secondary);
	line-height: 1.65;
	text-align: center;
}

/* 无图片占位 */
.single-detail__placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, var(--bg-secondary), var(--bg-card)),
		radial-gradient(circle at 40% 40%, rgba(212,168,74,0.06) 0%, transparent 60%);
	border-radius: var(--radius-lg);
	border: 1px dashed var(--border-color);
	color: var(--text-muted);
	font-size: 0.9375rem;
}

/* ====== 右侧：内容区 ====== */
.single-detail__content {
	flex: 1;
	min-width: 0; /* 防止 flex 子项溢出 */
}

.single-detail__header {
	margin-bottom: 2rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--border-color);
	position: relative;
}

.single-detail__header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 48px;
	height: 2px;
	background: var(--accent-gradient);
	box-shadow: 0 0 10px var(--accent-glow);
}

.single-detail__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 1rem;
	color: var(--text-primary);
	letter-spacing: -0.01em;
}

/* 元信息行 */
.single-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.125rem;
	align-items: center;
	color: var(--text-muted);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}

/* 元信息项之间的分隔符 */
.single-detail__meta > *:not(:first-child)::before {
	content: '·';
	color: var(--text-muted);
	margin-right: 0.5rem;
}

.single-detail__meta > * {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.single-detail__meta a {
	color: var(--accent);
	transition: color var(--transition-base);
}

.single-detail__meta a:hover {
	color: var(--accent-light);
}

.single-detail__cat a {
	color: var(--accent-light);
	font-weight: 500;
}

/* 标签列表 */
.single-detail__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 1.5rem;
	padding: 0.75rem 0;
}

.single-detail__tags-label {
	color: var(--text-muted);
	font-size: 0.84375rem;
	margin-right: 0.25rem;
	letter-spacing: 0.03em;
}

.single-detail__tags a {
	display: inline-flex;
	align-items: center;
	padding: 0.1875rem 0.75rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	color: var(--text-secondary);
	font-size: 0.7875rem;
	text-decoration: none;
	transition: all var(--transition-base);
	letter-spacing: 0.02em;
}

.single-detail__tags a:hover {
	border-color: var(--accent-dark);
	color: var(--accent-light);
}

/* ===== 文章正文 ===== */
.single-body {
	line-height: 1.9;
	font-size: 1rem;
	color: var(--text-primary);
	max-width: 100%;
}

.single-body > * + * {
	margin-top: 1.75rem;
}

.single-body p {
	margin-bottom: 1.5rem;
	color: rgba(245, 237, 224, 0.88);
}

/* 正文标题层级 */
.single-body h2 {
	font-family: var(--font-heading);
	font-size: 1.625rem;
	font-weight: 400;
	color: var(--text-primary);
	margin: 2.5rem 0 1.25rem;
	letter-spacing: 0.01em;
	line-height: 1.35;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border-color);
}

.single-body h2:first-child {
	margin-top: 0;
}

.single-body h3 {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--text-primary);
	margin: 2rem 0 1rem;
	letter-spacing: 0.005em;
	line-height: 1.4;
}

.single-body h4 {
	font-size: 1.125rem;
	color: var(--text-primary);
	margin: 2rem 0 0.875rem;
	font-weight: 600;
}

/* 正文图片 */
.single-body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	margin: 1.75rem 0;
	border: 1px solid var(--border-color);
}

/* 引用块 — 高端样式 */
.single-body blockquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	background: var(--bg-elevated);
	border-left: 3px solid var(--accent-dark);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--text-secondary);
	font-size: 1.0625rem;
	line-height: 1.8;
	box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.15);
}

.single-body blockquote p {
	color: inherit;
	margin-bottom: 0;
}

/* 代码块 */
.single-body pre {
	background: #0c0a08;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 1.5rem;
	overflow-x: auto;
	margin: 2rem 0;
	font-size: 0.875rem;
	line-height: 1.6;
	box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.single-body code {
	font-family: "SF Mono", "Fira Code", "Consolas", monospace;
	font-size: 0.875em;
	background: rgba(212, 168, 74, 0.08);
	padding: 0.175rem 0.4rem;
	border-radius: 4px;
	color: var(--accent-light);
}

.single-body pre code {
	background: transparent;
	padding: 0;
	color: inherit;
}

/* 列表 */
.single-body ul,
.single-body ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
	color: rgba(245, 237, 224, 0.88);
}

.single-body li {
	margin-bottom: 0.5rem;
	line-height: 1.75;
}

.single-body li::marker {
	color: var(--accent-dark);
}

/* 表格 */
.single-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: 0.9375rem;
}

.single-body th,
.single-body td {
	padding: 0.875rem 1rem;
	border: 1px solid var(--border-color);
	text-align: left;
}

.single-body th {
	background: var(--bg-elevated);
	color: var(--accent-light);
	font-weight: 600;
	letter-spacing: 0.03em;
}

.single-body tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.01);
}

/* 分隔线 */
.single-body hr {
	border: none;
	height: 1px;
	background: var(--divider);
	margin: 3rem 0;
}

/* 链接（正文内） */
.single-body a {
	color: var(--accent-light);
	border-bottom: 1px solid transparent;
	transition: all var(--transition-base);
}

.single-body a:hover {
	border-bottom-color: var(--accent);
}

/* ============================================
   要点解析 — 高端卡片式
   ============================================ */
.tips-section {
	margin: 3rem 0;
	padding: 2rem;
	background: var(--bg-card);
	border-radius: var(--radius);
	border: 1px solid var(--border-color);
	position: relative;
	overflow: hidden;
}

.tips-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--accent-gradient);
}

.tips-section__title {
	font-family: var(--font-heading);
	font-size: 1.375rem;
	font-weight: 400;
	margin-bottom: 1.75rem;
	color: var(--accent-light);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.tips-section__title::before {
	content: '✦';
	font-size: 1.125rem;
}

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

.tips-list__item {
	display: flex;
	gap: 1.25rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--border-color);
	transition: background var(--transition-base);
	align-items: flex-start;
}

.tips-list__item:last-child {
	border-bottom: none;
}

.tips-list__item:hover {
	background: rgba(212, 168, 74, 0.03);
	border-radius: var(--radius-sm);
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.tips-list__number {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-gradient);
	color: #0a0908;
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0;
	box-shadow: 0 2px 8px rgba(212, 168, 74, 0.3);
}

.tips-list__text {
	color: var(--text-primary);
	line-height: 1.7;
	font-size: 0.875rem;
}

/* ============================================
   点赞按钮 — 心形动效增强
   ============================================ */
.like-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5625rem 1.375rem;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	color: var(--text-muted);
	cursor: pointer;
	font-size: 0.84375rem;
	transition: all 0.4s var(--ease-out-expo);
	text-decoration: none;
	letter-spacing: 0.02em;
}

.like-button:hover {
	border-color: #c0392b;
	color: #e74c3c;
	box-shadow: 0 0 16px rgba(231, 76, 60, 0.15);
	transform: translateY(-1px);
}

.like-button.liked {
	border-color: #c0392b;
	color: #e74c3c;
	background: rgba(192, 57, 43, 0.08);
}

.like-button__icon {
	font-size: 1.125rem;
	transition: transform 0.4s var(--ease-out-back);
	display: inline-block;
}

.like-button.liked .like-button__icon {
	animation: likeHeart 0.5s var(--ease-out-back);
}

@keyframes likeHeart {
	0% { transform: scale(1); }
	25% { transform: scale(1.35); }
	50% { transform: scale(0.95); }
	75% { transform: scale(1.1); }
	100% { transform: scale(1); }
}

/* ============================================
   相关推荐
   ============================================ */
.related-section {
	margin: 4rem 0;
	padding-top: 3rem;
	border-top: 1px solid var(--border-color);
	position: relative;
}

.related-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 10%;
	right: 10%;
	height: 1px;
	background: var(--divider);
}

.related-section__title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 2rem;
	color: var(--text-primary);
	letter-spacing: 0.03em;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta-section {
	text-align: center;
	padding: 5.5rem 1.5rem;
	background:
		linear-gradient(165deg, var(--bg-secondary) 0%, #14100c 40%, #0d0b09 70%, var(--bg-secondary) 100%);
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 40% at 50% 50%, rgba(212, 168, 74, 0.05) 0%, transparent 60%);
	pointer-events: none;
}

.cta-section__title {
	font-family: var(--font-heading);
	font-size: 2.25rem;
	font-weight: 400;
	margin-bottom: 1.25rem;
	color: var(--text-primary);
	letter-spacing: 0.02em;
	position: relative;
}

.cta-section__desc {
	color: var(--text-secondary);
	max-width: 560px;
	margin: 0 auto 2.5rem;
	line-height: 1.8;
	font-size: 1.0625rem;
}

/* ============================================
   404 页面
   ============================================ */
.error-404 {
	text-align: center;
	padding: 8rem 1.5rem 6rem;
}

.error-404__code {
	font-size: clamp(7rem, 18vw, 14rem);
	font-weight: 200;
	color: var(--accent);
	line-height: 1;
	opacity: 0.5;
	font-family: var(--font-heading);
	letter-spacing: -0.05em;
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.error-404__title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 1rem;
	color: var(--text-primary);
	letter-spacing: 0.03em;
}

.error-404__desc {
	color: var(--text-muted);
	margin-bottom: 2.5rem;
	line-height: 1.8;
	font-size: 1rem;
}

.error-404__search {
	display: flex;
	max-width: 400px;
	margin: 0 auto 2.5rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all var(--transition-base);
}

.error-404__search:focus-within {
	border-color: var(--accent-dark);
	box-shadow:
		0 0 0 1px var(--accent-subtle),
		var(--shadow-gold),
		inset 0 0 20px rgba(212, 168, 74, 0.03);
}

.error-404__search input {
	flex: 1;
	background: transparent;
	border: none;
	padding: 1rem 1.5rem;
	color: var(--text-primary);
	font-size: 0.9375rem;
	outline: none;
}

.error-404__search input::placeholder {
	color: var(--text-muted);
	letter-spacing: 0.02em;
}

.error-404__search button {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-gradient);
	color: #0a0908;
	border: none;
	padding: 1rem 1.5rem;
	cursor: pointer;
	transition: all var(--transition-base);
	position: relative;
	overflow: hidden;
	border-radius: 0 var(--radius) var(--radius) 0;
}

.error-404__search button svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.error-404__search button:hover {
	box-shadow: var(--shadow-gold);
	transform: translateY(-1px);
}

.error-404__home {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 2.5rem;
	background: transparent;
	border: 1.5px solid var(--accent-dark);
	color: var(--accent-light);
	border-radius: var(--radius-full);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: all 0.5s var(--ease-out-expo);
}

.error-404__home:hover {
	background: var(--accent-gradient);
	color: #0a0908;
	border-color: transparent;
	box-shadow: var(--shadow-gold);
}

/* ============================================
   灯箱 — 更精致
   ============================================ */
.lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.94);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	backdrop-filter: blur(20px);
}

.lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-overlay__img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: var(--radius);
	transform: scale(0.92);
	transition: transform 0.5s var(--ease-out-back);
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-overlay.active .lightbox-overlay__img {
	transform: scale(1);
}

.lightbox-overlay__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 46px;
	height: 46px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	color: #fff;
	font-size: 1.375rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-base);
	backdrop-filter: blur(4px);
}

.lightbox-overlay__close:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.25);
	transform: rotate(90deg);
}

/* ============================================
   分页
   ============================================ */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin: 3.5rem 0;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.875rem;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.35s var(--ease-out-expo);
	letter-spacing: 0.02em;
}

.page-numbers:hover,
.page-numbers.current {
	border-color: var(--accent-dark);
	color: var(--accent-light);
	background: var(--accent-subtle);
	box-shadow: var(--shadow-gold);
}

/* ============================================
   无结果提示
   ============================================ */
.no-results {
	text-align: center;
	padding: 5rem 1.5rem;
}

.no-results h2 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--text-primary);
	margin-bottom: 0.875rem;
	letter-spacing: 0.03em;
}

.no-results p {
	color: var(--text-muted);
	line-height: 1.8;
}

/* ============================================
   Utility 工具类
   ============================================ */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.text-center {
	text-align: center;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   响应式断点框架
   ============================================ */

/* 文章详情页 — 移动端上下堆叠 */
@media (max-width: 767px) {
	.single-detail {
		padding: 1.25rem 0.875rem 0.5rem;
	}

	.single-detail__inner {
		flex-direction: column;
		gap: 2rem;
	}

	.single-detail__gallery {
		width: 100%;
		position: static;
	}

	.single-detail__image-wrap {
		border-radius: var(--radius);
	}

	.single-detail__zoom-btn {
		opacity: 1; /* 移动端始终显示 */
		transform: translateY(0);
		bottom: 8px;
		right: 8px;
		width: 36px;
		height: 36px;
	}

	/* 移动端箭头始终可见 */
	.single-detail__arrow {
		opacity: 0.7 !important;
	}

	/* 移动端缩略图条保留，但缩小尺寸 */
	.single-detail__thumbs {
		gap: 0.375rem;
		margin-top: 0.5rem;
	}

	.single-detail__thumb-btn {
		width: 44px;
		height: 44px;
	}
}

@media (min-width: 480px) {
	body { font-size: 15.5px; }
}

@media (min-width: 768px) {
	body { font-size: 16px; }
	.section { padding: 6rem 0; }
	.site-footer { padding: 5rem 2rem 2.5rem; }
	.single-detail__gallery { width: 38%; }
}

@media (min-width: 1024px) {
	.section { padding: 7rem 0; }
	.container { padding: 0 2rem; }
	.single-body { font-size: 1.09375rem; }
}

@media (min-width: 1280px) {
	.container { max-width: 1280px; }
	.section { padding: 7.5rem 0; }
}

/* ============================================
   WordPress 核心 — 高端适配
   ============================================ */
.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-color: var(--bg-card);
	clip: auto !important;
	clip-path: none;
	color: var(--text-primary);
	display: block;
	font-size: 1rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	border: 1px solid var(--accent-dark);
	box-shadow: var(--shadow-gold);
}

.widget-area {
	padding: 2.5rem 0;
}

.widget {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 1.75rem;
	margin-bottom: 1.5rem;
	transition: box-shadow var(--transition-base);
}

.widget:hover {
	box-shadow: var(--shadow-sm);
}

.widget-title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 400;
	margin-bottom: 1.125rem;
	color: var(--accent-light);
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.8125rem;
}

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

.widget li {
	padding: 0.625rem 0;
	border-bottom: 1px solid var(--border-color);
	font-size: 0.875rem;
}

.widget li:last-child {
	border-bottom: none;
}

.widget li a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color var(--transition-base);
}

.widget li a:hover {
	color: var(--accent-light);
}

/* 评论区域 */
.comments-area {
	max-width: 760px;
	margin: 3.5rem auto;
	padding: 2.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
}

.comments-title {
	font-family: var(--font-heading);
	font-size: 1.375rem;
	font-weight: 400;
	margin-bottom: 2rem;
	color: var(--text-primary);
	letter-spacing: 0.03em;
}

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

.comment {
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
	border-bottom: none;
}

.comment-author {
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.375rem;
	font-size: 0.9375rem;
}

.comment-metadata {
	font-size: 0.7875rem;
	color: var(--text-muted);
	margin-bottom: 0.875rem;
}

.comment-content {
	line-height: 1.8;
	color: var(--text-primary);
	font-size: 0.9375rem;
}

/* 搜索表单 */
.search-form {
	display: flex;
	max-width: 420px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	overflow: hidden;
	transition: all var(--transition-base);
}

.search-form:focus-within {
	border-color: var(--accent-dark);
	box-shadow: var(--shadow-gold);
}

.search-form .search-field {
	flex: 1;
	background: transparent;
	border: none;
	padding: 0.875rem 1.375rem;
	color: var(--text-primary);
	outline: none;
	font-size: 0.9375rem;
}

.search-form .search-submit {
	background: var(--accent-gradient);
	color: #0a0908;
	border: none;
	padding: 0.875rem 1.375rem;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.84375rem;
	letter-spacing: 0.04em;
	transition: all var(--transition-base);
}

.search-form .search-submit:hover {
	box-shadow: var(--shadow-gold);
}

/* 页面链接导航 (.page-links) */
.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 2rem 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-color);
}

.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 0.625rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--text-muted);
	font-size: 0.8125rem;
	text-decoration: none;
	transition: all var(--transition-base);
}

.page-links a:hover {
	border-color: var(--accent-dark);
	color: var(--accent-light);
}
