/* AI 情报日报 - 全局样式表 */

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #faf8f2; 
    color: #1a1a1a; 
    line-height: 1.6;
}

.serif { 
    font-family: 'Noto Serif SC', serif; 
}

/* 报纸风格组件 */
.newspaper-border { 
    border: 1px solid #1a1a1a; 
}

.newspaper-shadow { 
    box-shadow: 10px 10px 0px #1a1a1a; 
}

/* 响应式调整 */
@media (max-width: 768px) {
    .newspaper-shadow {
        box-shadow: 5px 5px 0px #1a1a1a;
    }
}

/* 动画效果 */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0px #1a1a1a;
}

/* 报刊架 3D 效果 */
.rack-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    perspective: 1000px;
}

.rack-item:hover {
    transform: translateY(-10px) rotateY(-5deg);
}

.rack-paper {
    background: #fff;
    border: 1px solid #1a1a1a;
    box-shadow: 5px 5px 0px #1a1a1a;
    position: relative;
    overflow: hidden;
}

.rack-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5px;
    bottom: 0;
    width: 2px;
    background: rgba(0,0,0,0.05);
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

/* 分页组件样式 */
.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #1a1a1a;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #1a1a1a;
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 存档列表 */
.archive-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px dashed #ccc;
    transition: all 0.2s;
}

.archive-link:hover {
    padding-left: 10px;
    background: rgba(0,0,0,0.02);
}

/* 首页窄屏（<1250px）：主卡片与报刊架无投影、无悬停位移 */
@media (max-width: 1249px) {
    .home-page .home-report-card {
        box-shadow: none !important;
    }
    .home-page .home-report-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .home-page .rack-item {
        transition: none;
    }
    .home-page .rack-item:hover {
        transform: none;
    }
    .home-page .rack-paper-home {
        box-shadow: none;
    }
}

/* 首页宽屏：主日报卡片报纸阴影 + 悬停抬起（原 newspaper-shadow / hover-lift） */
@media (min-width: 1250px) {
    .home-page .home-report-card {
        box-shadow: 10px 10px 0px #1a1a1a;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .home-page .home-report-card:hover {
        transform: translate(-2px, -2px);
        box-shadow: 12px 12px 0px #1a1a1a;
    }
}

/* 日报正文：换行段落两端对齐；中西文间距由渲染时插入英文空格（mixScriptSpacing） */
.report-masthead-quote {
    text-align: left;
}

.home-report-prose .report-prose-para,
.home-report-prose .report-prose-li {
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: start;
    word-break: break-word;
    overflow-wrap: break-word;
}
