/* 门户内页通用样式（2026 新版，对齐 content/2026/css 的设计口径）。
 * 消费者：/Home/ZtList（专题集锦）、/Home/Yjpt（远程教育播出平台）。
 * 口径来源：容器 .container = 1304px、区块大标题 28px（同 index.css .section-header .title）、
 *           面包屑 .breadcrumb 在 common.css、翻页 .portal-pager 在 content/css/portal-list.css。
 * 新增内页请复用本文件的 .inner-page / .inner-head / .inner-section 与卡片、列表规则，勿各写一份。 */

/* 内页总容器（_PortalLayout 的 .container 已定宽 1304px） */
.inner-page {
    padding-bottom: 50px;
}

/* 页面主标题条：面包屑下方，28px + 浅灰分隔线（与首页 .section-header 标题同规格） */
.inner-head {
    padding: 2px 0 16px;
    margin-bottom: 26px;
    border-bottom: 2px solid #f0f0f0;
}

.inner-head_title {
    display: inline-block;
    vertical-align: middle;
    font-size: 28px;
    line-height: 42px;
    font-weight: bold;
    color: #333;
}

.inner-head_count {
    display: inline-block;
    vertical-align: middle;
    margin-left: 14px;
    color: #888;
    font-size: 14px;
}

/* 内页小节标题（列表区/表格区） */
.inner-section {
    padding-bottom: 20px;
}

.inner-section_title {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 36px;
    font-weight: bold;
    color: #333;
}

/* ============ 专题集锦卡片网格（/Home/ZtList） ============
 * 4 列：4×311 + 3×20 = 1304，与 .container 等宽。 */
.topic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.topic-grid_item {
    width: 311px;
}

.topic-grid_link {
    display: block;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.topic-grid_link:hover {
    border-color: #f2b6b1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    text-decoration: none;
}

.topic-grid_pic {
    display: block;
    width: 100%;
    height: 88px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.3s ease;
}

.topic-grid_link:hover .topic-grid_pic {
    transform: scale3d(1.06, 1.06, 1.06);
}

.topic-grid_name {
    display: block;
    height: 40px;
    padding: 0 10px;
    color: #555;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ 远程教育播出平台（/Home/Yjpt） ============ */
/* 平台入口横幅（原图 1200×240，按容器宽度自适应） */
.yjpt-entry {
    margin-bottom: 30px;
}

.yjpt-entry_link {
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.yjpt-entry_link img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.yjpt-entry_link:hover img {
    transform: scale3d(1.02, 1.02, 1.02);
}

/* 课件更新表：两列（2×642 + 20 = 1304），长标题单行省略 */
.yjpt-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    padding-top: 8px;
}

.yjpt-list_item {
    position: relative;
    width: 642px;
    padding-left: 14px;
    border-bottom: 1px dashed #ececec;
    overflow: hidden;
}

.yjpt-list_item::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    width: 6px;
    height: 6px;
    background: #d85654;
    border-radius: 50%;
}

.yjpt-list_item a {
    display: block;
    line-height: 38px;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 内页翻页（.portal-pager 主体规则在 content/css/portal-list.css，这里只调内页间距） */
.inner-page .portal-pager {
    padding: 30px 0 0;
}

/* 无数据占位（同 content/css/portal-list.css 的 .empty-message 观感，内页不再依赖该文件） */
.inner-empty {
    padding: 60px 0;
    color: #888;
    text-align: center;
}
