/* PC 端模考试卷（汇总页 + 详情页）独立样式 */
.ne-page { background: #f5f6f8; padding-bottom: 30px; }

/* 左上角「下载App」按钮（参考 pc/index 的 .download-app 样式，自包含避免依赖 index.css） */
.download-app {
    float: right;
    margin-left: 15px;
    margin-top: 20px;
    text-align: center;
}
.download-app__btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #2382ff;
    color: #fff !important;
    border: 1px solid #2382ff;
    border-radius: 0;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.download-app__btn:hover,
.download-app__btn:focus {
    background-color: #2382ff;
    color: #fff;
    text-decoration: none;
    outline: none;
}
.download-btn {
    font-size: 12px;
    color: #ec4c0d;
}
.ne-breadcrumb { font-size: 13px; color: #888; padding: 14px 0 6px; }
.ne-breadcrumb a { color: #2382ff; }
.ne-breadcrumb .sep { margin: 0 8px; color: #ccc; }
.ne-breadcrumb .cur { color: #555; }

.ne-layout { display: flex; align-items: flex-start; gap: 24px; }
.ne-article {
    flex: 1 1 auto; min-width: 0;
    background: #fff; border-radius: 8px;
    padding: 28px 32px 36px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.ne-title { font-size: 28px; line-height: 1.4; font-weight: 700; color: #222; margin: 0 0 14px; }
.ne-meta { font-size: 13px; color: #999; padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 22px; }
.ne-meta span { margin-right: 18px; }

/* 富文本正文：图片自适应、段落舒适 */
.ne-content { font-size: 16px; line-height: 1.9; color: #333; word-break: break-word; }
.ne-content p { margin: 0 0 16px; }
.ne-content img { max-width: 100%; height: auto; display: block; margin: 14px auto; border-radius: 4px; }
.ne-content table { max-width: 100%; border-collapse: collapse; margin: 14px 0; }
.ne-content td, .ne-content th { border: 1px solid #ddd; padding: 6px 10px; }

.tag-list-box { margin-top: 28px; padding-top: 18px; border-top: 1px dashed #eee; }
.tag-list-box span {
    display: inline-block; font-size: 13px; color: #2382ff;
    background: #eef5ff; border-radius: 14px; padding: 5px 14px; margin: 0 10px 10px 0;
}

/* 右侧侧边栏：相关推荐 */
.ne-sidebar { flex: 0 0 320px; width: 320px; }
#recommend.ne-recommend {
    background: #fff; border-radius: 8px; padding: 18px 20px 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.ne-recommend__title {
    font-size: 17px; font-weight: 700; color: #222; position: relative;
    padding-left: 12px; margin-bottom: 12px;
}
.ne-recommend__title::before {
    content: ''; position: absolute; left: 0; top: 3px; bottom: 3px;
    width: 4px; border-radius: 2px; background: #2382ff;
}
.ne-recommend ul { list-style: none; margin: 0; padding: 0; }
.ne-recommend li { border-bottom: 1px solid #f0f0f0; padding: 11px 0; }
.ne-recommend li:last-child { border-bottom: none; }
.ne-recommend li a {
    display: block; font-size: 15px; color: #333; line-height: 1.5;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.ne-recommend li a:hover { color: #2382ff; }
.ne-recommend__tag {
    display: inline-block; margin-top: 6px; font-size: 12px; color: #999;
    background: #f5f6f8; border-radius: 10px; padding: 2px 10px;
}

/* ===== 汇总页（course=18）布局，参考 51jiaoxi 合集页：标题→概述→按科目聚合试卷清单 ===== */
.ne-summary-intro {
    font-size: 15px; line-height: 1.8; color: #555;
    background: #f7f9fc; border-left: 3px solid #2382ff;
    padding: 14px 16px; border-radius: 6px; margin: 0 0 26px;
}
.ne-summary-intro p { margin: 0 0 10px; }
.ne-summary-intro p:last-child { margin-bottom: 0; }

.ne-paper-list { margin-top: 4px; }
.ne-subject { margin-bottom: 28px; }
.ne-subject__title {
    position: relative;
    font-size: 19px; font-weight: 700; color: #222;
    padding: 0 0 10px 14px; border-bottom: 2px solid #eef2f7; margin-bottom: 6px;
}
/* 左侧圆角小胶囊标识，参考 51jiaoxi 合集页的科目标签样式 */
.ne-subject__title::before {
    content: ''; position: absolute; left: 0; top: 3px;
    width: 6px; height: 14px; border-radius: 3px;
    background: #2382ff;
}
.ne-subject__count { font-size: 13px; font-weight: 400; color: #999; margin-left: 6px; }

.ne-paper-items { list-style: none; margin: 0; padding: 0; }
.ne-paper-item {
    position: relative; padding: 13px 80px 13px 4px; border-bottom: 1px solid #f2f2f2;
}
.ne-paper-item:last-child { border-bottom: none; }
.ne-paper-item__title {
    display: block;
    font-size: 16px; color: #333; line-height: 1.5;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ne-paper-item__title:hover { color: #2382ff; }
.ne-paper-item__title--disabled { color: #aaa; }
.ne-paper-item__meta {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 8px; margin-top: 8px;
}
.ne-tag {
    display: inline-block; font-size: 12px; line-height: 1;
    padding: 4px 8px; border-radius: 4px; white-space: nowrap;
    border: 1px solid transparent;
}
/* 配色参考安卓端 newsexam 四态语义 */
.ne-tag--paper  { color: #2382FF; background: #F7FAFF; border-color: #2382FF; }  /* 已公布 */
.ne-tag--answer { color: #2382FF; background: #F7FAFF; border-color: #2382FF; }  /* 已公布 */
.ne-tag--parse  { color: #17D49A; background: #F1FBF8; border-color: #17D49A; }  /* 可下载 */
.ne-tag--soon   { color: #FD9138; background: #FFF6EE; border-color: #FD9138; }  /* 即将公布 */
/* 预览按钮是行内唯一可点击动作，绝对定位到卡片右下角，与信息性标签彻底分开 */
.ne-preview-btn {
    position: absolute; right: 4px; bottom: 13px;
    display: inline-block; font-size: 12px; 
    padding: 6px 14px; border-radius: 4px;
    color: #fff; background: #2382ff;
    text-decoration: none;
    transition: background-color .15s ease;
    width: 120px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ne-preview-btn:hover { background: #1a6fe0; color: #fff; }
/* 即将公布状态：安卓"即将公布"配色虚线描边，禁用跳转 */
.ne-preview-btn--disabled {
    color: #adaeaf; background: transparent;
    border: 1px dashed #adaeaf;
    pointer-events: none; cursor: default;
}
.ne-paper-item__icon {
    height: 1em; width: auto; margin-right: 6px;
    vertical-align: -0.125em;
}

@media (max-width: 991px) {
    .ne-layout { flex-direction: column; }
    .ne-sidebar { flex: 1 1 auto; width: 100%; }
    .ne-article { padding: 20px 16px 28px; }
    .ne-title { font-size: 22px; }
    .ne-paper-item__title { white-space: normal; }
}
