/**
 * 手抄报单页模板样式 - 绿色主题
 * 设计风格：扁平化、现代风格
 * 主色调：绿色系 var(--theme-color)
 * 页面宽度：1280px
 * 
 * 说明：本文件依赖主样式文件中的CSS变量
 * 变量定义位置：/wp-content/themes/modown-lite/style.css :root
 */



/* 页面容器 */
.shouchaobao-single-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 30px 20px;
    background: var(--bg-gray-100);
    min-height: 100vh;
}

/* 面包屑导航 */
.shouchaobao-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--margin-2xl);
    font-size: var(--text-md);
    color: var(--text-secondary);
}

.shouchaobao-breadcrumb a {
    color: var(--theme-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.shouchaobao-breadcrumb .separator {
    color: #d1d5db;
}

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

/* ============================================
   头部区域 - 1280px宽图片展示区
   ============================================ */
.shouchaobao-head {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-3xl);
    margin-bottom: var(--margin-2xl);
    align-items: start;
}

/* 主内容区 - 两列布局 */
.shouchaobao-main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-4xl);
    margin-bottom: var(--margin-3xl);
    align-items: start;
}

/* 左侧内容区 */
.shouchaobao-left {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.shouchaobao-left:hover {
    box-shadow: var(--shadow-xl);
}

/* 图片展示区 */
.shouchaobao-image-section {
    padding: var(--space-2xl);
}

.image-showcase {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: var(--space-lg);
    align-items: start;
}

/* 导航箭头按钮 - 在头部区域外部 */
.nav-arrows-wrapper {
    position: absolute;
    top: 50%;
    left: -30px;
    right: -30px;
    transform: translateY(-50%);
    z-index: 100;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-arrow-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 80px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    pointer-events: auto;
    overflow: visible;
}

.nav-arrow-btn:hover {
    background: var(--bg-green-50);
    border-color: var(--theme-color);
    box-shadow: var(--shadow-lg);
}

.nav-arrow-btn .icon {
    font-size: 24px;
    color: var(--theme-color);
    transition: transform var(--transition-fast);
}

.nav-arrow-btn:hover .icon {
    transform: scale(1.2);
}

/* 弹出框样式 */
.nav-arrow-popup {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    padding: var(--space-md);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-lighter);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.nav-arrow-prev .nav-arrow-popup {
    left: calc(100% + 10px);
}

.nav-arrow-next .nav-arrow-popup {
    right: calc(100% + 10px);
}

.nav-arrow-btn:hover .nav-arrow-popup {
    opacity: 1;
    visibility: visible;
}

.popup-text {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-thumb {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.popup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-title {
    font-size: var(--text-base);
    color: var(--text-primary);
    text-align: center;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 旧的侧边导航按钮样式 - 保留用于兼容 */
.nav-side-btn {
    display: none;
}

.main-image-container {
    position: relative;
    grid-column: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.main-image-container:hover {
    transform: translateY(-2px);
}

.main-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.main-image-container:hover img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-green-transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

.main-image-container:hover .image-overlay {
    background: var(--accent-green-light);
    opacity: 1;
}

.zoom-icon {
    width: var(--size-avatar-xl);
    height: var(--size-avatar-xl);
    background: var(--theme-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--size-icon-lg);
    transform: scale(0);
    transition: transform var(--transition-normal);
}

.main-image-container:hover .zoom-icon {
    transform: scale(1);
}

/* 缩略图列表 */
.thumbnail-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    grid-column: 2;
    grid-row: 1;
}

.thumbnail-item {
    height: 165px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.thumbnail-item::before {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-white);
    font-size: var(--text-xs);
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item.active {
    box-shadow: 0 0 0 3px var(--accent-green-border);
}

/* 图片信息标题 */
.image-info-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-xl) var(--space-2xl);
    background: linear-gradient(135deg, var(--bg-green-50) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-lighter);
}

.image-info-header .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--text-xl);
    box-shadow: var(--shadow-sm);
}

.image-info-header h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

/* 右侧信息区 */
.shouchaobao-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

/* 信息卡片 */
.info-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    flex: 80px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    color: var(--text-white);
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.card-header .icon {
    font-size: var(--text-xl);
}

.card-header h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: var(--space-xl);
}

/* 属性列表 */
.attribute-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.attribute-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    border-bottom: 1px dashed var(--border-light);
    transition: all var(--transition-fast);
}

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

.attribute-item:hover {
    background: var(--bg-gray-50);
    margin: 0 calc(-1 * var(--space-xl));
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    border-radius: var(--radius-md);
}

.attribute-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: var(--text-md);
}

.attribute-label .icon {
    color: var(--theme-color);
    font-size: var(--text-base);
}

.attribute-value {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.attribute-value {
    font-weight: 500;
    color: var(--text-primary);
    font-size: var(--text-lg);
}

/* 下载区域 */
.download-section {
    background: linear-gradient(135deg, var(--bg-green-50) 0%, var(--bg-white) 100%);
    border: 2px dashed var(--theme-color2);
    border-radius: var(--radius-lg);
    padding: var(--space-5xl);
    text-align: center;
}

.download-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.download-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-4xl);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    width: 100%;
    padding: var(--space-2xl) var(--space-5xl);
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--accent-green) 100%);
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-green);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-lg);
    background: linear-gradient(135deg, var(--theme-color2) 0%, var(--theme-color) 100%);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn .icon {
    font-size: var(--size-icon-md);
}

/* 下载统计 */
.download-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-5xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--border-light);
}

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

.stat-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--theme-color);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* 文章信息统计 - 新版样式 */
.post-meta-info {
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
}

/* 小标签 */
.post-sign-tag {
    display: inline-block;
    padding: 2px var(--space-md);
    background: #ff9600;
    color: var(--text-white);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

/* 元信息列表 */
.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
    margin: var(--space-md) 0;
    font-size: var(--text-md);
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.meta-item .icon {
    color: var(--theme-color);
    font-size: var(--text-md);
}

.meta-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.meta-item a:hover {
    color: var(--theme-color);
}

/* 统计数字行 */
.stats-row {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-md) 0;
    border-top: 1px dashed var(--border-light);
    border-bottom: 1px dashed var(--border-light);
}

.stat-box {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.stat-box .icon {
    font-size: var(--text-md);
    color: var(--theme-color);
}

.stat-box .stat-num {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--theme-color);
}

.stat-box .stat-text {
    font-size: var(--text-md);
    color: var(--text-secondary);
}

/* 推广链接 */
.affiliate-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.affiliate-row .icon {
    color: var(--accent-blue);
}

.affiliate-row a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.affiliate-row a:hover {
    color: var(--accent-blue-dark);
    text-decoration: underline;
}

/* 标签区域 - 使用 style.css 中定义的样式 */

/* 上一篇/下一篇导航 */
.shouchaobao-navigation {
    margin-top: var(--margin-3xl);
    padding: var(--space-4xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.shouchaobao-navigation h3 {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--border-lighter);
}

.nav-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.nav-post {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-lighter);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.nav-post:hover {
    background: var(--bg-green-50);
    border-color: var(--theme-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-post.prev-post {
    text-align: left;
}

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

.nav-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-weight: 500;
}

.nav-post.prev-post .nav-label {
    justify-content: flex-start;
}

.nav-post.next-post .nav-label {
    justify-content: flex-end;
}

.nav-label .icon {
    font-size: var(--text-md);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-post.prev-post .nav-content {
    flex-direction: row;
}

.nav-post.next-post .nav-content {
    flex-direction: row-reverse;
}

.nav-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.nav-post:hover .nav-thumb img {
    transform: scale(1.1);
}

.nav-info {
    flex: 1;
    min-width: 0;
}

.nav-title {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.nav-post:hover .nav-title {
    color: var(--theme-color);
}

.nav-date {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.nav-post.empty-post {
    background: transparent;
    border: none;
    pointer-events: none;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav-posts {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .nav-post.next-post {
        text-align: left;
    }
    
    .nav-post.next-post .nav-label {
        justify-content: flex-start;
    }
    
    .nav-post.next-post .nav-content {
        flex-direction: row;
    }
}

/* 相关推荐 */
.related-section {
    margin-top: var(--margin-xl);
}



.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
}

.section-title .icon {
    width: var(--size-avatar);
    height: var(--size-avatar);
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.view-more {
    color: var(--theme-color);
    text-decoration: none;
    font-size: var(--text-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color var(--transition-fast);
}

.view-more:hover {
    color: var(--accent-green);
}

/* 相关卡片网格 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4xl);
}

.related-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.related-card:hover .related-card-image img {
    transform: scale(1.08);
}

.related-card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-xl);
    background: var(--theme-color);
    color: var(--text-white);
    font-size: var(--text-xs);
    border-radius: var(--radius-pill);
}

.related-card-content {
    padding: var(--space-2xl);
}

.related-card-title {
    font-size: var(--text-md);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* 加载动画 */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* 分享按钮样式 */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.share-btn {
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--text-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.share-btn.weixin {
    background: var(--accent-weixin);
    color: var(--text-white);
}

.share-btn.weibo {
    background: var(--accent-weibo);
    color: var(--text-white);
}

.share-btn.qq {
    background: var(--accent-qq);
    color: var(--text-white);
}

.share-btn.link {
    background: var(--bg-gray-100);
    color: #333;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Tag标签区域样式 - 右侧栏 */
.scb-post-tags .card-body {
    padding: var(--space-lg);
}

.scb-post-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.scb-post-tags .tag-item {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-green-50);
    color: var(--theme-color);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-lighter);
}

.scb-post-tags .tag-item:hover {
    background: var(--theme-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
    border-color: var(--theme-color);
}

/* 简介区域样式 */
.shouchaobao-description {
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
}

.shouchaobao-description h3 {
    margin: 0 0 var(--space-lg) 0;
    font-size: var(--text-lg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--border-lighter);
}

.description-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--text-base);
}

.description-content p {
    margin: 0 0 var(--space-md) 0;
}

.description-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    margin: var(--space-md) 0;
}

/* 无图片占位 */
.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: var(--bg-gray-50);
    color: var(--text-tertiary);
}

.no-image-placeholder .icon {
    font-size: var(--text-6xl);
    margin-bottom: var(--space-xl);
}

.no-image-placeholder p {
    margin: 0;
    font-size: var(--text-md);
}

/* Erphpdown下载模块样式 */
.erphpdown-card .card-header {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
}

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

.erphpdown-price-box {
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-green-50);
    border-radius: var(--radius-lg);
}

.price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
}

.price-num {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--theme-color);
    line-height: 1;
}

.price-unit {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.price-free {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--theme-color);
}

.price-original {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-top: var(--space-xs);
}

.vip-discount-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    background: linear-gradient(135deg, var(--bg-yellow-50) 0%, var(--accent-yellow) 100%);
    color: var(--accent-yellow-dark);
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-lg);
}

.erphpdown-actions {
    margin-bottom: var(--space-xl);
}

.erphpdown-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.erphpdown-buy-btn.buy {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--accent-green) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-green);
}

.erphpdown-buy-btn.buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-lg);
}

.erphpdown-buy-btn.download {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-blue);
}

.erphpdown-buy-btn.download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg);
}

.erphpdown-buy-btn.secondary {
    background: var(--bg-gray-200);
    color: var(--text-primary);
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    padding: var(--space-md) var(--space-lg);
}

.erphpdown-buy-btn.secondary:hover {
    background: var(--bg-gray-300);
}

.vip-upgrade-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--bg-yellow-50) 0%, var(--bg-yellow-100) 100%);
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    color: var(--accent-yellow-dark);
    margin-top: var(--space-3xl);
}

.vip-upgrade-tip a {
    color: var(--theme-color);
    font-weight: 500;
    text-decoration: none;
}

.vip-upgrade-tip a:hover {
    text-decoration: underline;
}

.no-download {
    padding: var(--space-4xl);
    color: var(--text-secondary);
    font-size: var(--text-md);
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .shouchaobao-main {
        grid-template-columns: 1fr;
    }
    
    .shouchaobao-right {
        order: -1;
    }
    
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 平板端调整图片展示区 */
    .image-showcase {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* 平板端调整导航箭头 */
    .nav-arrows-wrapper {
        padding: 0 10px;
    }
    
    .nav-arrow-btn {
        width: 40px;
        height: 60px;
    }
    
    .nav-arrow-btn .icon {
        font-size: 20px;
    }
    
    .nav-arrow-popup {
        width: 150px;
    }
    
    .popup-thumb {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .shouchaobao-single-container {
        padding: var(--space-3xl);
    }
    
    .image-showcase {
        grid-template-columns: 1fr;
        padding: var(--space-xl);
    }
    
    .main-image-container {
        grid-column: 1;
    }
    
    .thumbnail-list {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        justify-content: center;
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }
    
    .thumbnail-item {
        width: 80px;
        height: 60px;
        margin-left: 0;
    }
    
    /* 移动端隐藏导航箭头按钮 */
    .nav-arrows-wrapper {
        display: none;
    }
    
    /* 移动端Tag标签样式 */
    .scb-post-tags {
        margin-top: var(--space-lg);
    }
    
    .scb-post-tags .card-body {
        padding: var(--space-md);
    }
    
    .scb-post-tags .tag-item {
        padding: 4px var(--space-sm);
        font-size: var(--text-xs);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .download-btn {
        padding: var(--space-xl) var(--space-4xl);
        font-size: var(--text-md);
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .attribute-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
}

/* 打印样式 */
@media print {
    .shouchaobao-breadcrumb,
    .download-section,
    .related-section {
        display: none;
    }
    
    .shouchaobao-main {
        grid-template-columns: 1fr;
    }
    
    .shouchaobao-left,
    .info-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   手抄报归档页样式
   ============================================ */

/* 页面头部 */
.shouchaobao-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    color: white;
    border-radius: var(--radius-xl);
}

.archive-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
}

.archive-title .icon {
    margin-right: 0.8rem;
    font-size: var(--text-2xl);
}

.archive-description {
    font-size: var(--text-md);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 分类筛选 */
.shouchaobao-filter {
    margin-bottom: 2rem;
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.filter-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: var(--text-md);
    color: var(--text-primary);
}

.filter-title .icon {
    margin-right: 0.5rem;
    color: var(--theme-color);
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-cat {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-xl);
    background: var(--bg-gray-50);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-light);
}

.filter-cat:hover,
.filter-cat.active {
    background: var(--theme-color);
    color: var(--text-white);
    border-color: var(--theme-color);
}

/* 手抄报网格 */
.shouchaobao-grid {
    margin-bottom: 3rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: 2rem;
}

/* 手抄报卡片 */
.shouchaobao-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.shouchaobao-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.shouchaobao-card:hover .card-thumbnail {
    transform: scale(1.05);
}

.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bg-gray-50);
    color: var(--text-tertiary);
}

.no-image .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.orientation-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: var(--space-xs) var(--space-md);
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    z-index: 2;
}



.card-content {
    padding: var(--space-xl);
}

.card-title {
    font-size: var(--text-lg);
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.meta-size {
    display: flex;
    align-items: center;
}

.meta-size .icon {
    margin-right: 0.3rem;
}

/* 下载和浏览统计 */
.card-stats {
    display: flex;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.card-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-stats .stat-item .icon {
    font-size: var(--text-sm);
}

.card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.category-tag {
    padding: 2px var(--space-md);
    background: var(--bg-gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
}

/* 分页 */
.shouchaobao-pagination {
    text-align: center;
}

/* 无结果 */
.no-results {
    text-align: center;
    padding: var(--space-5xl) var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.no-results h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.back-home {
    display: inline-flex;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: var(--theme-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.back-home:hover {
    background: var(--theme-color2);
}

.back-home .icon {
    margin-right: 0.5rem;
}

/* 归档页响应式 */
@media (max-width: 768px) {
    .shouchaobao-header {
        padding: var(--space-xl);
        margin-bottom: var(--space-xl);
    }
    
    .archive-title {
        font-size: var(--text-xl);
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .filter-categories {
        justify-content: center;
    }
    
    .shouchaobao-filter {
        padding: var(--space-xl);
    }
}

/* ============================================  
   卡片分类和标签样式
   ============================================ */
.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag-item {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    color: #666;
    background: #f1f5f9;
    border-radius: 3px;
    transition: all 0.2s;
}

.tag-item:hover {
    background: #e2e8f0;
    color: #333;
}

/* ============================================  
   首页手抄报模块样式
   ============================================ */
/* 首页手抄报模块样式 */
.shouchaobao-section {
    padding: 30px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-header .shouchaobao-tabs {
    margin: 0;
    border: none;
    flex-grow: 1;
    max-width: 75%;
}

.section-header .tab-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.section-header .tab-item {
    margin-bottom: 0;
}

.section-header .tab-item a {
    padding: 8px 15px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    transition: all 0.3s;
}

.section-header .tab-item.active a {
    background: var(--theme-color);
    color: white;
    border-color: var(--theme-color);
}

.section-header .tab-item a:hover {
    background: var(--theme-color-light);
    color: var(--theme-color);
    border-color: var(--theme-color);
}

.section-header .view-all {
    white-space: nowrap;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.view-all {
    color: var(--theme-color);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--accent-green);
}

/* Tab导航样式 */
.shouchaobao-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}



.cat-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* 首页网格布局 */
.homepage-grid .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 每列显示4则 */
    gap: 16px;
}

.shouchaobao-sidebar{
    width: 300px;
    float: left;
    margin-left: -300px;
    margin-top: 150px;
}

/* 确保图片正确缩放 */
.shouchaobao-card.landscape .card-thumbnail {
    object-fit: cover;
}

.shouchaobao-card.portrait .card-thumbnail {
    object-fit: cover;
}

/* 首页响应式布局 */
@media (max-width: 1200px) {
    .homepage-grid .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .homepage-grid .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage-grid .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .tab-nav {
        gap: 5px;
    }
    
    .tab-item a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .homepage-grid .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
