/*
Theme Name: 多阅信息网
Theme URI: https://www.dooyea.com
Author: Vincent
Author URI: https://www.dooyea.com
Description: 多阅信息网 - 精选优质内容推荐，为您提供专业的阅读指南
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dooyea
*/

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--color-brand: #FF6B35;
	--color-brand-hover: #ff8c5a;
	--color-text: #333;
	--color-text-secondary: #666;
	--color-text-muted: #777;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 2px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 链接 */
a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1a1a1a;
}

/* 容器 */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部 */
.site-header {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}

.site-title a {
    color: #000;
}

.site-title a:hover {
    color: #FF6B35;
}

.site-description {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

/* 导航 */
.site-navigation {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.site-navigation::-webkit-scrollbar {
    display: none;
}

.site-navigation ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
}

.site-navigation li {
    margin: 0;
}

.site-navigation a {
    font-size: 14px;
    color: #666;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.site-navigation a:hover {
    color: #FF6B35;
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B35;
    transition: width 0.2s ease;
}

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

.site-navigation .current-menu-item a,
.site-navigation .current-menu-parent a {
    color: #FF6B35;
    font-weight: 600;
}

.cat-nav {
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
	padding: 10px 0;
}

.cat-nav .container {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cat-nav .container::-webkit-scrollbar {
	display: none;
}

.cat-nav-link {
	font-size: 13px;
	color: #666;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.cat-nav-link:hover {
	color: #FF6B35;
}

.cat-nav-active {
	color: #FF6B35;
	font-weight: 600;
}

.site-navigation .current-menu-item a::after,
.site-navigation .current-menu-parent a::after {
    width: 100%;
}

/* 主要内容区 */
.site-main {
    padding: 50px 0;
    min-height: 60vh;
}

/* 文章列表 */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-item {
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

.post-item:first-child {
    padding-top: 0;
}

.post-item:last-child {
    border-bottom: none;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 40px;
}

.post-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: var(--radius-md);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.post-card:hover {
	box-shadow: var(--shadow-md);
	border-color: #ddd;
}

.post-card-bar {
	height: 4px;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	flex-shrink: 0;
}

.post-card-body {
	padding: 14px 16px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.post-card-cat {
	font-size: 12px;
	font-weight: 600;
}

.post-card-head time {
	font-size: 12px;
	color: #aaa;
}

.post-card-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 8px 0;
	letter-spacing: -0.2px;
}

.post-card-title a {
	color: #1a1a1a;
}

.post-card-title a:hover {
	color: #FF6B35;
}

.post-card-excerpt {
	font-size: 13px;
	color: #888;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media screen and (max-width: 1024px) {
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 576px) {
	.post-grid {
		grid-template-columns: 1fr;
	}
}

/* 文章标题 */
.post-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.post-title a {
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: #FF6B35;
}

/* 文章元数据 */
.post-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.post-meta time {
    color: #777;
}

.post-meta .author {
    color: #777;
}

.post-meta .author::before {
    content: "·";
    margin: 0 5px;
}

.post-meta .post-category {
    display: inline;
    margin: 0;
}

.post-meta .post-category::before {
    content: "·";
    margin: 0 5px;
    color: #999;
}

.post-meta .post-category a {
    display: inline;
    font-size: 13px;
    color: #666;
    text-transform: none;
    letter-spacing: 0;
}

.post-meta .post-category a:hover {
    color: #333;
}

.post-meta .reading-time::before {
    content: "·";
    margin: 0 5px;
}

.post-meta .post-updated::before {
    content: "·";
    margin: 0 5px;
}

.post-meta .more-category {
    color: #666;
}

.post-meta .more-category::before {
    content: "·";
    margin: 0 5px;
}

.post-meta .more-category:hover {
    color: #333;
}

/* 文章摘要 */
.post-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt p {
    margin: 0;
}

/* 文章详情页 */
.post-single {
    max-width: 720px;
    margin: 0 auto;
}

.post-single .post-category {
    margin-bottom: 15px;
}

.post-single .post-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.post-single .post-meta {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* 文章内容 */
.post-content {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 48px 0 20px 0;
    line-height: 1.4;
}

.post-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 36px 0 16px 0;
    line-height: 1.4;
}

.post-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px 0;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
    border-radius: var(--radius-md);
}

.post-content a {
    color: #0066cc;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.post-content a:hover {
    border-bottom-color: #0066cc;
}

.post-content blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    background: #f8f8f8;
    border-left: 3px solid #333;
    font-style: italic;
    color: #555;
}

.post-content pre {
    background: #f5f5f5;
    padding: 20px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    margin: 24px 0;
}

.post-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.post-content figure {
    margin: 32px 0;
}

.post-content figcaption {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 12px;
}

/* 文章导航 */
.post-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation span {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.post-navigation a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.post-navigation a:hover {
    color: #FF6B35;
}

/* 返回列表 */
.back-to-list {
    margin-top: 30px;
    text-align: center;
}

.back-to-list a {
    display: inline-block;
    padding: 10px 24px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.back-to-list a:hover {
    background: #FF6B35;
    color: #fff;
}

.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-posts-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.related-posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-post-item {
    padding: 14px 16px;
    background: #f9f9f9;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.related-post-item:hover {
    background: #f0f0f0;
}

.related-post-item a {
    display: block;
}

.related-post-title {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-item:hover .related-post-title {
    color: #FF6B35;
}

.page-main {
	padding-top: 40px;
}

.page-single {
	max-width: 720px;
	margin: 0 auto;
}

.page-header {
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.page-title {
	font-size: 32px;
	line-height: 1.4;
	color: #1a1a1a;
}

.page-content {
	font-size: 17px;
	line-height: 1.9;
	color: #333;
}

.page-content p,
.page-content ul,
.page-content ol {
	margin-bottom: 20px;
}

.page-content h2 {
	font-size: 24px;
	margin: 40px 0 16px 0;
}

.page-content h3 {
	font-size: 20px;
	margin: 28px 0 12px 0;
}

.page-content a {
	color: #0066cc;
	border-bottom: 1px solid transparent;
}

.page-content a:hover {
	border-bottom-color: #0066cc;
}

.post-trust-box {
	margin-top: 40px;
	padding: 28px;
	background: #faf8f6;
	border: 1px solid #f0e6df;
	border-radius: 12px;
}

.post-trust-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 18px;
	color: #1a1a1a;
}

.post-trust-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.post-trust-card {
	display: block;
	padding: 18px;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	transition: all 0.2s ease;
}

.post-trust-card:hover {
	border-color: #FF6B35;
	box-shadow: 0 10px 24px rgba(255, 107, 53, 0.08);
	transform: translateY(-2px);
}

.post-trust-card-title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #1a1a1a;
}

.post-trust-card-text {
	display: block;
	font-size: 14px;
	line-height: 1.7;
	color: #666;
}

.editorial-intro {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: 20px;
	margin-bottom: 36px;
	padding: 28px;
	background: #faf8f6;
	border: 1px solid #f0e6df;
	border-radius: 14px;
}

.editorial-intro-kicker {
	display: inline-block;
	margin-bottom: 12px;
	padding: 6px 12px;
	background: rgba(255, 107, 53, 0.12);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #FF6B35;
}

.editorial-intro-title {
	font-size: 30px;
	line-height: 1.35;
	margin-bottom: 16px;
	color: #1a1a1a;
}

.editorial-intro-text {
	font-size: 15px;
	line-height: 1.9;
	color: #555;
	margin-bottom: 14px;
}

.editorial-intro-text:last-child {
	margin-bottom: 0;
}

.editorial-intro-card {
	padding: 18px;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 10px;
}

.editorial-intro-card-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #1a1a1a;
}

.editorial-intro-list {
	padding-left: 18px;
	color: #666;
}

.editorial-intro-list li {
	margin-bottom: 8px;
}

.editorial-intro-links,
.footer-trust-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.editorial-intro-links {
	margin-top: 14px;
}

.editorial-intro-links a,
.footer-trust-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 999px;
	font-size: 13px;
	color: #666;
}

.editorial-intro-links a:hover,
.footer-trust-nav a:hover {
	border-color: #FF6B35;
	color: #FF6B35;
}

.archive-header {
	margin-bottom: 28px;
}

.breadcrumb {
	font-size: 14px;
	color: var(--color-text-muted);
	margin-bottom: 12px;
	line-height: 1.6;
}

.breadcrumb a {
	color: var(--color-text-secondary);
	text-decoration: none;
	transition: color 0.2s;
}

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

.breadcrumb-sep {
	margin: 0 6px;
	color: #ccc;
}

.breadcrumb-current {
	color: var(--color-text);
	font-weight: 500;
}

.archive-intro {
	padding: 22px 24px;
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
}

.archive-intro-text {
	font-size: 15px;
	line-height: 1.9;
	color: #555;
	margin-bottom: 12px;
}

.archive-intro-text:last-child {
	margin-bottom: 0;
}

.post-editor-note {
	margin-bottom: 28px;
	padding: 16px 18px;
	background: #f8f8f8;
	border-left: 3px solid #FF6B35;
	border-radius: 8px;
}

.post-editor-label {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #FF6B35;
}

.post-editor-text {
	font-size: 14px;
	line-height: 1.8;
	color: #555;
	margin: 0;
}

.post-guidance-box {
	margin-top: 36px;
	padding: 28px;
	background: #fffaf7;
	border: 1px solid #f3e4da;
	border-radius: 14px;
}

.post-guidance-section {
	margin-bottom: 22px;
}

.post-guidance-title {
	font-size: 22px;
	line-height: 1.4;
	margin-bottom: 14px;
	color: #1a1a1a;
}

.post-guidance-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.post-guidance-card {
	padding: 18px;
	background: #fff;
	border: 1px solid #f0ece8;
	border-radius: 12px;
}

.post-guidance-card-title {
	font-size: 17px;
	margin-bottom: 12px;
	color: #1a1a1a;
}

.post-guidance-list {
	padding-left: 20px;
	color: #555;
}

.post-guidance-list li {
	margin-bottom: 10px;
	line-height: 1.8;
}

.post-guidance-list.compact li:last-child,
.post-guidance-list li:last-child {
	margin-bottom: 0;
}

.post-guidance-note {
	padding: 18px 20px;
	background: #fff;
	border-left: 3px solid #FF6B35;
	border-radius: 10px;
}

.post-guidance-note-label {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #FF6B35;
}

.post-guidance-note p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: #555;
}

/* 分页 */
.pagination {
    margin-top: 50px;
    text-align: center;
}

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

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: none;
    border-radius: 22px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #FF6B35;
    color: #fff;
}

.pagination .current {
    background: #FF6B35;
    color: #fff;
}

.pagination .dots {
    background: transparent;
    min-width: auto;
    padding: 0 4px;
}

/* 底部 */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.site-footer .copyright {
    font-size: 14px;
    color: #888;
}

.site-footer a {
    color: #888;
}

.site-footer a:hover {
    color: #333;
}

/* 空状态 */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-posts h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .site-header {
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
        overflow: hidden;
    }
    
    .site-header .container {
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .site-title {
        font-size: 20px;
        flex-shrink: 0;
    }
    
    .site-navigation {
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .site-navigation::-webkit-scrollbar {
        display: none;
    }
    
    .site-navigation ul {
        flex-wrap: nowrap;
        gap: 4px;
    }
    
    .site-navigation a {
        padding: 6px 10px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .site-main {
        padding: 24px 0;
    }
    
    .post-item {
        padding: 20px 0;
    }
    
    .post-title {
        font-size: 17px;
        line-height: 1.5;
    }
    
    .post-excerpt {
        -webkit-line-clamp: 2;
        font-size: 14px;
    }
    
    .post-single .post-title {
        font-size: 22px;
        line-height: 1.4;
    }
    
    .post-single .post-meta {
        margin-bottom: 24px;
        padding-bottom: 16px;
        font-size: 12px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .post-content h2 {
        font-size: 20px;
        margin: 36px 0 16px 0;
    }
    
    .post-content h3 {
        font-size: 18px;
        margin: 28px 0 12px 0;
    }
    
    .post-navigation {
        margin-top: 40px;
        padding-top: 24px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
    
    .pagination {
        margin-top: 36px;
    }
    
    .pagination .nav-links {
        gap: 6px;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .site-footer {
        padding: 30px 0;
    }
    
    .related-posts {
        margin-top: 36px;
        padding-top: 24px;
    }
    
    .related-posts-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
	.related-posts-list {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.related-post-item {
		padding: 12px 14px;
	}
	
	.related-post-title {
		font-size: 13px;
	}
	
	.post-guidance-box {
		margin-top: 28px;
		padding: 20px;
	}
	
	.post-guidance-title {
		font-size: 20px;
	}
	
	.post-guidance-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.post-trust-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
.intro-bar {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.intro-bar-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: -0.3px;
	white-space: nowrap;
	margin: 0;
}

.intro-bar-text {
	font-size: 14px;
	color: #777;
	line-height: 1.6;
	margin: 0;
}

	.editorial-intro {
		grid-template-columns: 1fr;
	}

	.intro-bar {
		flex-direction: column;
		gap: 8px;
		margin-bottom: 24px;
		padding-bottom: 16px;
	}

	.intro-bar-title {
		font-size: 20px;
	}
}


/* Header搜索框 */
.header-search {
	flex-shrink: 0;
}

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-input {
	width: 200px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	font-size: 14px;
	line-height: 34px;
	outline: none;
	transition: all 0.2s ease;
}

.search-input:focus {
	border-color: #FF6B35;
	box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #FF6B35;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}

.search-btn:hover {
	background: #ff8c5a;
	transform: scale(1.05);
}

.search-btn svg {
	color: #fff;
}

/* 搜索页 */
.search-page {
	padding: 30px 0;
	min-height: 70vh;
}

.search-header {
	margin-bottom: 30px;
}

.search-info {
	margin-bottom: 20px;
}

.search-title {
	font-size: 24px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
}

.search-page-form {
	display: flex;
	gap: 12px;
	max-width: 500px;
}

.search-page-form .search-input {
	flex: 1;
	width: auto;
	padding: 12px 16px;
	border-radius: 24px;
	font-size: 15px;
}

.search-page-form .search-btn {
	width: auto;
	padding: 12px 24px;
	border-radius: 24px;
	font-size: 15px;
	font-weight: 500;
	color: #fff;
}

/* 空状态 */
.search-empty {
	text-align: center;
	padding: 60px 20px;
}

.empty-icon {
	margin-bottom: 20px;
	color: #ddd;
}

.search-empty h2 {
	font-size: 22px;
	color: #333;
	margin: 0 0 10px 0;
}

.search-empty p {
	font-size: 15px;
	color: #888;
	margin: 0 0 30px 0;
}

.hot-keywords {
	margin-top: 40px;
}

.hot-keywords h3 {
	font-size: 16px;
	color: #666;
	margin: 0 0 15px 0;
}

.keywords-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.keyword-tag {
	display: inline-block;
	padding: 8px 16px;
	background: #f5f5f5;
	border-radius: 16px;
	font-size: 14px;
	color: #666;
	transition: all 0.2s ease;
}

.keyword-tag:hover {
	background: #FF6B35;
	color: #fff;
}

/* 商品网格 */
.goods-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

@media screen and (max-width: 1024px) {
	.goods-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}
}

/* 商品卡片 */
.goods-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
}

.goods-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #e0e0e0;
}

.goods-image-wrap {
	position: relative;
	width: 100%;
	padding-top: 100%;
	background: #f8f8f8;
	overflow: hidden;
}

.goods-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.goods-card:hover .goods-image {
	transform: scale(1.05);
}

.coupon-tag {
	position: absolute;
	top: 8px;
	left: 8px;
    background: linear-gradient(135deg, #FF6B35, #ff8c42);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
	font-weight: 500;
	z-index: 1;
}

.goods-info {
	padding: 12px;
}

.goods-title {
	font-size: 14px;
	color: #333;
	line-height: 1.5;
	margin: 0 0 8px 0;
	height: 42px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.goods-title a {
	color: #333;
	text-decoration: none;
}

.goods-title a:hover {
	color: #FF6B35;
}

.goods-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
}

.price-current {
	font-size: 18px;
	font-weight: 700;
	color: #ff4757;
}

.price-original {
	font-size: 13px;
	color: #bbb;
	text-decoration: line-through;
}

.goods-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
    font-size: 12px;
    color: #777;
}

.goods-actions {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.buy-btn {
	flex: 1;
	display: inline-block;
	padding: 8px 12px;
	background: linear-gradient(135deg, #FF6B35, #ff8c42);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.buy-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.copy-btn {
    display: inline-block;
    padding: 8px 12px;
	background: #fa8c16;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
	transition: all 0.2s ease;
}

.copy-btn:hover {
	background: #d46b08;
}

/* 骨架屏 */
.skeleton .skeleton-image {
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s ease-in-out infinite;
}

.skeleton .skeleton-text {
	height: 14px;
	background: #f0f0f0;
	border-radius: 4px;
	margin-bottom: 8px;
	animation: skeleton-loading 1.5s ease-in-out infinite;
}

.skeleton .skeleton-text.short {
	width: 60%;
}

.skeleton .skeleton-price {
	height: 20px;
	width: 40%;
	background: #f0f0f0;
	border-radius: 4px;
	margin-top: 10px;
	animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* 加载状态 */
.load-more-container {
	text-align: center;
	padding: 20px 0;
}

.load-more-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
    gap: 12px;
    color: #777;
    font-size: 14px;
}

.spinner {
	width: 32px;
	height: 32px;
	border: 3px solid #f0f0f0;
	border-top-color: #FF6B35;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.load-more-error {
    color: #777;
    font-size: 14px;
}

.load-more-error p {
	margin: 0 0 10px 0;
}

.retry-btn {
	padding: 8px 20px;
	background: #FF6B35;
	color: #fff;
	border: none;
	border-radius: 20px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.retry-btn:hover {
	background: #ff8c5a;
}

.no-more {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 14px;
}

/* Toast提示 */
.tpwd-toast {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 14px;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s;
	max-width: 80%;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 响应式 */
@media screen and (max-width: 768px) {
	.site-header .container {
		flex-wrap: wrap;
	}
	
	.header-search {
		width: 100%;
		margin-top: 12px;
		order: 3;
	}
	
	.search-form {
		width: 100%;
	}
	
	.search-input {
		width: 100%;
		padding: 10px 14px;
	}
	
	.search-btn {
		width: 40px;
		height: 40px;
		flex-shrink: 0;
	}
	
	.search-page {
		padding: 20px 0;
	}
	
	.search-title {
		font-size: 18px;
	}
	
	.search-page-form {
		flex-direction: column;
		max-width: 100%;
	}
	
	.search-page-form .search-input {
		width: 100%;
	}
	
	.search-page-form .search-btn {
		width: 100%;
	}
	
	.goods-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.goods-info {
		padding: 10px;
	}
	
	.goods-title {
		font-size: 13px;
		height: 38px;
	}
	
	.price-current {
		font-size: 16px;
	}
	
	.goods-actions {
		flex-direction: column;
		gap: 6px;
	}
	
	.buy-btn {
		padding: 6px 10px;
		font-size: 12px;
	}
	
	.copy-btn {
		padding: 6px 10px;
		font-size: 12px;
	}
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .post-navigation,
    .pagination {
        display: none;
    }
    
    .post-content {
        font-size: 12pt;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

.post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15px;
}

.post-content table th,
.post-content table td {
	padding: 12px 14px;
	border: 1px solid #e0e0e0;
	text-align: left;
}

.post-content table th {
	background: #f8f8f8;
	font-weight: 600;
	color: #333;
}

.post-content table tr:hover td {
	background: #fafafa;
}

.post-content table td {
	color: #555;
}

.toc-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
}
.toc-box .toc-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-list li {
    padding: 4px 0;
}
.toc-list li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.toc-list li a:hover {
    color: #FF6B35;
}

.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
    padding: 8px 0;
    line-height: 1.6;
}
.breadcrumb a {
    color: #666;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--color-brand);
}
.breadcrumb-sep {
    margin: 0 6px;
    color: #ccc;
}
.breadcrumb-current {
    color: #333;
}

.error-404 {
    text-align: center;
    padding: 80px 20px;
}
.error-404-title {
    font-size: 72px;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 16px;
}
.error-404-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}
.error-404-actions {
    margin-bottom: 40px;
}
.error-404-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--color-brand);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 15px;
    margin: 0 8px;
    transition: background 0.2s ease;
}
.error-404-btn:hover {
    background: var(--color-brand-hover);
    color: #fff;
}
.error-404-btn-secondary {
    background: #f0f0f0;
    color: #333;
}
.error-404-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}
.error-404-suggestions {
    text-align: left;
    max-width: 480px;
    margin: 0 auto;
}
.error-404-suggestions-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.error-404-suggestions-list {
    list-style: none;
    padding: 0;
}
.error-404-suggestions-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}
.error-404-suggestions-list li a {
    color: var(--color-brand);
    font-size: 14px;
}
.error-404-suggestions-list li a:hover {
    text-decoration: underline;
}