@charset "utf-8";
/* =====================================================================
   万众编剧网 · 文艺评论栏目样式（PC 一期，版式 A：题签 Tab + 杂志卡片）
   仅作用于 .review-page 容器，不污染全站公共样式
   ===================================================================== */

.review-page{
    --rv-paper:#f6f1e7;     /* 宣纸底 */
    --rv-paper-2:#fdfaf3;   /* 卡片纸白 */
    --rv-ink:#2b2620;       /* 墨色主文字 */
    --rv-ink-2:#6f6558;     /* 次要文字 */
    --rv-ink-3:#9b9080;     /* 弱化文字 */
    --rv-line:#e4dac7;      /* 纸色细栏线 */
    --rv-ochre:#8a5a44;     /* 赭褐 */
    --rv-cinnabar:#9c3d36;  /* 印章绛红 */
    --rv-dai:#3f5e5a;       /* 黛青 */
    --rv-serif:"Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;
    --rv-sans:"Microsoft YaHei","PingFang SC","Hiragino Sans GB",sans-serif;

    background:var(--rv-paper);
    padding:34px 0 56px;
    font-family:var(--rv-sans);
    color:var(--rv-ink);
}
.review-page a{ text-decoration:none; transition:color .2s ease,background-color .2s ease,box-shadow .2s ease; }
.review-page .rv-container{ width:960px; max-width:calc(100% - 40px); margin:0 auto; }

/* ============ 刊头 ============ */
.review-hero{ text-align:center; padding:22px 0 26px; position:relative; }
.review-hero .rv-seal{
    display:inline-block; background:var(--rv-cinnabar); color:#f8f1e3;
    font-family:var(--rv-serif); font-size:15px; letter-spacing:4px; text-indent:4px;
    padding:5px 10px 5px 14px; border-radius:3px; transform:rotate(-2deg); margin-bottom:14px;
    box-shadow:0 2px 6px rgba(156,61,54,.25);
}
.review-hero h1{
    font-family:var(--rv-serif); font-size:40px; font-weight:700; letter-spacing:10px; text-indent:10px;
    color:var(--rv-ink); margin:6px 0 12px; line-height:1.2;
}
.review-hero .rv-sub{
    font-family:var(--rv-serif); font-size:14px; letter-spacing:3px; color:var(--rv-ochre);
    text-transform:uppercase; margin-bottom:14px;
}
.review-hero .rv-desc{ font-size:14.5px; color:var(--rv-ink-2); line-height:1.9; max-width:640px; margin:0 auto; }
.review-hero .rv-ornament{ display:flex; align-items:center; justify-content:center; gap:10px; margin-top:18px; color:var(--rv-line); }
.review-hero .rv-ornament::before,.review-hero .rv-ornament::after{ content:""; width:90px; height:1px; background:var(--rv-line); }
.review-hero .rv-ornament span{ width:7px; height:7px; background:var(--rv-cinnabar); transform:rotate(45deg); display:inline-block; }

/* ============ 题签 Tab（页面内切换子栏目） ============ */
.review-tabs{
    display:flex; flex-wrap:wrap; justify-content:center; gap:6px;
    border-bottom:1px solid var(--rv-line); margin:8px 0 30px; padding:0 4px;
}
.review-tabs a{
    position:relative; padding:12px 24px 14px; font-family:var(--rv-serif);
    font-size:17px; letter-spacing:2px; color:var(--rv-ink-2); white-space:nowrap;
}
.review-tabs a::after{
    content:""; position:absolute; left:50%; bottom:-1px; width:0; height:2px;
    background:var(--rv-cinnabar); transition:all .25s ease; transform:translateX(-50%);
}
.review-tabs a:hover{ color:var(--rv-ochre); }
.review-tabs a:hover::after{ width:60%; background:var(--rv-ochre); }
.review-tabs a.active{ color:var(--rv-cinnabar); font-weight:700; }
.review-tabs a.active::after{ width:66%; background:var(--rv-cinnabar); }
.review-tabs .rv-tab-all{ font-family:var(--rv-sans); font-size:15.5px; letter-spacing:1px; }

/* ============ 文章卡片列表 ============ */
.review-list{ display:flex; flex-direction:column; gap:18px; }
.review-item{ display:block; background:var(--rv-paper-2); border:1px solid var(--rv-line); border-radius:5px; padding:24px 26px; }
a.review-item:hover{ box-shadow:0 8px 24px rgba(74,58,42,.10); border-color:#d6c8ae; transform:translateY(-1px); }
.review-item .ri-flex{ display:flex; gap:24px; }
.review-item .ri-cover{ flex:0 0 168px; width:168px; height:116px; border-radius:3px; overflow:hidden; background:#ece3d2; }
.review-item .ri-cover img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.review-item:hover .ri-cover img{ transform:scale(1.04); }
.review-item .ri-body{ flex:1; min-width:0; display:flex; flex-direction:column; }
.review-item .ri-meta-top{ display:flex; align-items:center; gap:12px; font-size:12.5px; color:var(--rv-ink-3); margin-bottom:9px; }
.review-item .ri-cate{
    display:inline-block; font-family:var(--rv-serif); font-size:12.5px; line-height:1;
    padding:4px 9px; border:1px solid currentColor; border-radius:2px; letter-spacing:1px;
}
.review-item .ri-title{
    font-family:var(--rv-serif); font-size:21px; font-weight:700; color:var(--rv-ink);
    line-height:1.45; margin:0 0 10px; transition:color .2s ease;
}
.review-item:hover .ri-title{ color:var(--rv-cinnabar); }
.review-item .ri-desc{
    font-size:14px; line-height:1.9; color:var(--rv-ink-2); margin:0 0 14px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.review-item .ri-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--rv-ink-3); }
.review-item .ri-foot .ri-author span{ margin-right:14px; }
.review-item .ri-more{ color:var(--rv-ochre); font-family:var(--rv-serif); letter-spacing:1px; }
a.review-item:hover .ri-more{ color:var(--rv-cinnabar); }

.review-empty{ text-align:center; padding:70px 0; color:var(--rv-ink-3); font-family:var(--rv-serif); font-size:16px; letter-spacing:2px; }

/* ============ 分页（覆盖 ThinkPHP pagination） ============ */
.review-pager{ text-align:center; margin:34px 0 6px; }
.review-pager ul.pagination{ display:inline-flex; flex-wrap:wrap; gap:7px; list-style:none; padding:0; margin:0; }
.review-pager .pagination li a,.review-pager .pagination li span{
    display:inline-block; min-width:38px; padding:8px 13px; box-sizing:border-box;
    border:1px solid var(--rv-line); border-radius:3px; background:var(--rv-paper-2);
    color:var(--rv-ink-2); font-size:14px; line-height:1.4;
}
.review-pager .pagination li a:hover{ border-color:var(--rv-ochre); color:var(--rv-ochre); background:#fff; }
.review-pager .pagination li.active span{ background:var(--rv-cinnabar); border-color:var(--rv-cinnabar); color:#fdf6ea; }
.review-pager .pagination li.disabled span{ color:#c3b8a4; background:transparent; cursor:not-allowed; }

/* ============ 详情页 ============ */
.review-article{
    background:var(--rv-paper-2); border:1px solid var(--rv-line); border-radius:5px;
    padding:46px 58px 40px; margin-top:6px;
}
.ra-cate-line{ text-align:center; margin-bottom:16px; }
.ra-cate{
    display:inline-block; font-family:var(--rv-serif); font-size:13.5px; letter-spacing:2px;
    padding:5px 14px; border:1px solid currentColor; border-radius:2px;
}
.ra-cate:hover{ background:currentColor; }
.ra-cate:hover span{ color:var(--rv-paper-2) !important; }
.review-article h1.ra-title{
    font-family:var(--rv-serif); font-size:29px; font-weight:700; line-height:1.5;
    color:var(--rv-ink); text-align:center; margin:6px 0 18px;
}
.ra-meta{ text-align:center; font-size:13.5px; color:var(--rv-ink-3); }
.ra-meta span{ margin:0 10px; }
.ra-divider{ display:flex; align-items:center; justify-content:center; gap:9px; margin:22px 0 30px; }
.ra-divider::before,.ra-divider::after{ content:""; width:120px; height:1px; background:var(--rv-line); }
.ra-divider i{ width:6px; height:6px; background:var(--rv-ochre); transform:rotate(45deg); display:inline-block; }

.review-content{ font-family:var(--rv-serif); font-size:16.5px; line-height:1.98; color:#342e27; word-break:break-word; }
.review-content p{ margin:0 0 1.15em; }
.review-content h2,.review-content h3,.review-content h4{ font-family:var(--rv-serif); color:var(--rv-ink); margin:1.6em 0 .8em; line-height:1.5; }
.review-content h2{ font-size:22px; } .review-content h3{ font-size:19px; } .review-content h4{ font-size:17px; }
.review-content img{ max-width:100%; height:auto; border-radius:3px; display:block; margin:14px auto; }
.review-content a{ color:var(--rv-dai); text-decoration:underline; text-underline-offset:3px; }
.review-content blockquote{
    margin:1.2em 0; padding:14px 20px; border-left:3px solid var(--rv-ochre);
    background:var(--rv-paper); color:var(--rv-ink-2); font-size:15.5px; border-radius:0 3px 3px 0;
}
.review-content blockquote p:last-child{ margin-bottom:0; }
.review-content ul,.review-content ol{ padding-left:1.6em; margin:0 0 1.15em; }
.review-content li{ margin:.35em 0; }
.review-content table{ max-width:100%; border-collapse:collapse; margin:14px auto; font-size:14.5px; }
.review-content table td,.review-content table th{ border:1px solid var(--rv-line); padding:7px 12px; }
.review-content table th{ background:var(--rv-paper); }
.review-content pre,.review-content code{ background:#f1eadb; border-radius:3px; font-size:13.5px; }
.review-content pre{ padding:14px; overflow-x:auto; }
.review-content hr{ border:0; border-top:1px solid var(--rv-line); margin:26px 0; }

.ra-link{ margin-top:22px; padding:13px 18px; background:var(--rv-paper); border:1px dashed var(--rv-line); border-radius:3px; font-size:14px; color:var(--rv-ink-2); word-break:break-all; }
.ra-link a{ color:var(--rv-dai); }
.ra-actions{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:32px; padding-top:22px; border-top:1px solid var(--rv-line); flex-wrap:wrap; }
.rv-btn{
    display:inline-block; padding:9px 22px; border:1px solid var(--rv-ink-2); border-radius:3px;
    color:var(--rv-ink); font-family:var(--rv-serif); font-size:15px; letter-spacing:2px; background:transparent;
}
.rv-btn:hover{ border-color:var(--rv-cinnabar); color:var(--rv-cinnabar); background:#fff; }
.ra-actions .share-entry-btn{ flex:0 0 auto; }

/* ============ 响应式（PC 模板在手机浏览器兜底） ============ */
@media screen and (max-width:768px){
    .review-page{ padding:20px 0 40px; }
    .review-page .rv-container{ max-width:calc(100% - 24px); }
    .review-hero{ padding:12px 0 18px; }
    .review-hero h1{ font-size:29px; letter-spacing:6px; text-indent:6px; }
    .review-hero .rv-sub{ font-size:12px; letter-spacing:2px; }
    .review-hero .rv-desc{ font-size:13.5px; }
    .review-tabs{ flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; gap:0; margin-bottom:20px; }
    .review-tabs::-webkit-scrollbar{ display:none; }
    .review-tabs a{ padding:10px 16px 12px; font-size:15.5px; flex:0 0 auto; }
    .review-item{ padding:18px 16px; }
    .review-item .ri-flex{ flex-direction:column; gap:14px; }
    .review-item .ri-cover{ flex:0 0 auto; width:100%; height:188px; }
    .review-item .ri-title{ font-size:18.5px; }
    .review-article{ padding:28px 18px 26px; }
    .review-article h1.ra-title{ font-size:22px; }
    .review-content{ font-size:15.5px; line-height:1.92; }
    .ra-divider::before,.ra-divider::after{ width:56px; }
    .ra-actions{ justify-content:center; }
}
