/* 嘉庚专栏前台样式（P1 专题首页对齐设计稿 10-484）
 * 作用域：仅 <body class="jg-page"> 页面
 * 约束：不修改公共样式（main.css / tailwind.css），不定义全局选择器（body/a/img/*）
 * 公共类（.footer / .header / .w1200 / .tulist / .pager）不在此重定义
 */

/* ===== 设计 token 与页面基线 ===== */
.jg-page {
    --jg-green: #00bd6b;
    --jg-green-dark: #137d63;
    --jg-text: #333;
    --jg-muted: #999;
    --jg-line: #eee;
    --jg-bg: #fff;
    --jg-soft: #f7f8f8;
    --jg-beige: #fdf3ec;
    --jg-red: #e94b4b;
    margin: 0;
    background: var(--jg-bg);
    color: var(--jg-text);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    scroll-behavior: smooth;
}
.jg-page a { color: inherit; text-decoration: none; }
.jg-page img {  max-width: 100%; }

/* ===== 头部 header-jiageng ===== */
.jg-page .jg-header { background: #fff; color: #222; }
.jg-page .jg-container { width: 1200px; margin: 0 auto; }
/* 页头：50px，仅内边距 15px，无底色无边框 */
.jg-page .jg-topbar { height: 50px; font-size: 14px; color: #555; }
.jg-page .jg-topbar-inner { height: 50px; display: flex; align-items: center; justify-content: space-between; }
.jg-page .jg-topbar-right { display: flex; align-items: center; }
.jg-page .jg-topbar-account { display: flex; align-items: center; gap: 16px; }
.jg-page .jg-topbar a { color: #555; }
.jg-page .jg-topbar a:hover { color: #00bd6b; }
.jg-page .jg-topbar-split { width: 1px; height: 14px; margin: 0 16px; background: #555; }
.jg-page .jg-topbar-tel { display: flex; align-items: center; gap: 4px; color: #555; }
.jg-page .jg-topbar-tel-icon { width: 20px; height: 20px; flex: 0 0 auto; color: #555; }
/* 品牌区：70px，左侧标题 + 右侧 300×40 搜索框 */
.jg-page .jg-brand { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.jg-page .jg-brand-main { display: flex; align-items: center; }
.jg-page .jg-brand-title { font-size: 36px; font-weight: 400; line-height: 52px; letter-spacing: -0.06em; color: #111; }
.jg-page .jg-search { width: 300px; height: 40px; display: flex; align-items: center; justify-content: space-between; background: #f0f3f7; border-radius: 8px; padding: 10px 16px; }
.jg-page .jg-search-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0; font-size: 14px; line-height: 20px; color: #111; }
.jg-page .jg-search-input::placeholder { color: #999; }
.jg-page .jg-search-btn { width: 18px; height: 18px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; padding: 0; margin-left: 10px; color: #111; cursor: pointer; }
.jg-page .jg-search-icon { width: 18px; height: 18px; }
/* 导航：60px，active 仅底部 2px 绿色下划线 */
.jg-page .jg-nav { height: 60px; }
.jg-page .jg-nav ul { height: 60px; margin: 0; padding: 0; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.jg-page .jg-nav a { height: 60px; display: flex; align-items: center; justify-content: center; padding: 17px 0; color: #111; font-size: 18px; line-height: 26px; box-sizing: border-box; border-bottom: 4px solid transparent; }
.jg-page .jg-nav a:hover { color: #00bd6b; }
.jg-page .jg-nav a.active { color: #00bd6b; font-weight: 700; border-bottom-color: #00bd6b; }

/* ===== 通栏 Banner ===== */
.jg-page .jg-banner { display: block; width: 100%; line-height: 0; font-size: 0; }
.jg-page .jg-banner img { display: block; width: 100%; height: auto; }

/* ===== 通用 section / 标题 ===== */
.jg-page .jg-main { width: 1200px; margin: 0 auto; padding-bottom: 60px; }
.jg-page .jg-section { margin-top: 50px; }
.jg-page .jg-section-title { display: flex; align-items: center; height: 46px; margin-bottom: 22px; }
/* 标题：图标与文字重叠，文字压在图标右侧之上 */
.jg-page .jg-section-title-head { position: relative; display: flex; align-items: center; height: 46px; }
.jg-page .jg-section-icon { position: absolute; left: -1px; top: 5px; width: 44px; height: 36px; object-fit: contain; pointer-events: none; }
.jg-page .jg-section-icon--base { left: 0; top: 4px; width: 42px; height: 39px; }
.jg-page .jg-section-icon--tutor { left: 0; top: 5px; width: 42px; height: 37px; }
.jg-page .jg-section-icon--achieve { left: 2px; top: 0; width: 37px; height: 46px; }
.jg-page .jg-section-icon--partner { left: 0; top: 0; width: 41px; height: 46px; }
.jg-page .jg-section-title h2 { position: relative; margin: 0 0 0 30px; font-size: 28px; font-weight: 400; line-height: 1; color: #111; }
.jg-page .jg-section-title .jg-more { margin-left: auto; display: flex; align-items: center; gap: 4px; color: #555; font-size: 14px; line-height: 20px; }
.jg-page .jg-section-title .jg-more:hover { color: var(--jg-green); }
.jg-page .jg-more-arrow { width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ===== 专题简介 ===== */
.jg-page .jg-intro { position: relative; background: #fff; border: 1px solid #d2d2d2; box-shadow: none; border-radius: 0; padding: 30px 20px; }
.jg-page .jg-intro h2 { margin: 0; text-align: center; font-size: 24px; line-height: 1; font-weight: 400; color: #111; }
.jg-page .jg-intro-content { margin-top: 24px; color: #111; font-size: 16px; line-height: 24px; }
.jg-page .jg-intro-content p { margin: 0; text-indent: 2em; }
.jg-page .jg-intro-content:empty:after { content: "专题简介暂未配置"; color: #aaa; }
.jg-page .jg-intro-shadow { position: absolute; margin-top: 1px; left: 0; top: 100%; width: 100%; height: 30px; pointer-events: none; }
.jg-page .jg-intro-shadow img { display: block; width: 33.3333%; height: auto; }
.jg-page .jg-intro-shadow-left { float: left; }
.jg-page .jg-intro-shadow-right { float: right; }

/* ===== 嘉庚资源库 ===== */
/* 左右两栏（各 390），栏内上下两行，形成 Z 字交错 */
.jg-page .jg-resource { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
/* 左侧 800：上下两行，行内 gap 20，行间 gap 20 */
.jg-page .jg-resource-grid { display: grid; grid-template-columns: 800px; gap: 20px; }
.jg-page .jg-resource-row { display: grid; gap: 20px; }
/* 行1：左 简介卡 390 + 右 两个视频（185+185） */
.jg-page .jg-resource-row--a { grid-template-columns: 390px 390px; }
/* 行2：左 两个视频（185+185） + 右 链接卡 390 */
.jg-page .jg-resource-row--b { grid-template-columns: 390px 390px; }
.jg-page .jg-video-duo { display: grid; grid-template-columns: repeat(2, 185px); gap: 20px; }

.jg-page .jg-resource-intro { display: flex; align-items: center; background: #fcf1eb; border-radius: 12px; overflow: hidden; color: #111; font-size: 14px; line-height: 22px; padding: 16px 20px; box-sizing: border-box; }
.jg-page .jg-resource-intro p { margin: 0; text-indent: 2em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.jg-page .jg-video-card { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: #fff; }
.jg-page .jg-video-media { position: relative; display: block; height: 135.67px; flex: 0 0 auto; overflow: hidden; background: #e9edec; }
.jg-page .jg-video-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 播放按钮：40×40 黑色 40% 半透明圆底 + 白色三角 */
.jg-page .jg-video-play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(0, 0, 0, .4); }
.jg-page .jg-video-play:before { content: ""; position: absolute; left: 50%; top: 50%; margin: -8.5px 0 0 -6px; border-style: solid; border-width: 8.5px 0 8.5px 13px; border-color: transparent transparent transparent #fff; }
.jg-page .jg-video-caption { height: 58px; flex: 0 0 auto; padding: 11px 12px; background: #fff; color: #111; font-size: 14px; line-height: 18px; box-sizing: border-box; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jg-page .jg-resource-links { background: #ebfbfc; border-radius: 12px; overflow: hidden; padding: 16px 20px; box-sizing: border-box; }
.jg-page .jg-resource-links-inner { display: flex; flex-direction: column; gap: 8px; height: 100%; overflow: hidden; }
.jg-page .jg-resource-links-inner a { color: #111; font-size: 14px; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-resource-links-inner a:hover { color: var(--jg-green); }
/* 右侧文档列表卡（无阴影，白色圆角 8，竖向 gap 18） */
.jg-page .jg-resource-docs { min-height: 400px; background: #fff; border-radius: 8px; padding: 18px; }
.jg-page .jg-doc { display: block; padding: 19px 0; border-bottom: 1px solid #eee; }
.jg-page .jg-doc:first-child { padding-top: 0; }
.jg-page .jg-doc:last-child { border-bottom: 0; padding-bottom: 0; }
.jg-page .jg-doc-title { color: #111; font-size: 16px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-doc-tags { margin-top: 8px; display: flex; gap: 8px; font-size: 12px; }
.jg-page .jg-doc-cat { color: #f54444; background: rgba(245, 68, 68, .12); padding: 2px 6px; line-height: 16px; }
.jg-page .jg-doc-ext { color: #f54444; background: rgba(245, 68, 68, .12); padding: 2px 6px; line-height: 16px; text-transform: lowercase; }

/* ===== 课程线路 ===== */
/* ===== 课程线路 ===== */
/* 两列卡片，列间 gap 20，行间 gap 24；每卡 590×200 = 图 288 + 16 + 信息 */
.jg-page .jg-course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.jg-page .jg-course-card { display: flex; gap: 16px; height: 200px; box-sizing: border-box; }
.jg-page .jg-course-thumb { position: relative; width: 288px; height: 200px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; background: #e9edec; }
.jg-page .jg-course-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 左下角标签：黑色 40% 底，左上/右下直角，右上/左下圆角 12 */
.jg-page .jg-course-badge { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; height: 29px; padding: 4px 12px; box-sizing: border-box; background: rgba(0, 0, 0, .4); border-radius: 0 12px 0 12px; color: #fff; font-size: 16px; line-height: 1; }
.jg-page .jg-course-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.jg-page .jg-course-title { color: #111; font-size: 20px; line-height: 25px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 元信息行：16px #999，中间 1px #bbb 竖分隔，gap 12 */
.jg-page .jg-course-tags { margin-top: 8px; display: flex; align-items: center; gap: 12px; color: #999; font-size: 16px; line-height: 20px; }
.jg-page .jg-course-tags i { width: 1px; height: 20px; flex: 0 0 auto; background: #bbb; }
.jg-page .jg-course-mch { margin-top: 8px; color: #999; font-size: 16px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-course-price em { display: block; color: #e7433b; font-size: 24px; font-style: normal; line-height: 32px; }
.jg-page .jg-course-stats { margin-top: 4px; display: flex; gap: 8px; color: #999; font-size: 16px; line-height: 18px; }

/* ===== 基金会 ===== */
.jg-page .jg-foundation { display: flex; align-items: center; gap: 32px; padding: 36px 32px; background: #ebf9ee; border: 1px solid #7dd790; border-radius: 12px; }
.jg-page .jg-foundation-brand { flex: 0 0 200px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.jg-page .jg-foundation-logo { width: 200px; height: 150px; object-fit: contain; }
.jg-page .jg-foundation-actions { display: flex; gap: 8px; }
.jg-page .jg-foundation-actions a { display: flex; align-items: center; justify-content: center; width: 88px; height: 28px; box-sizing: border-box; border-radius: 16px; background: #00bd6b; color: #fff; font-size: 12px; line-height: 16px; white-space: nowrap; }
.jg-page .jg-foundation-actions a:hover { background: #00a85f; }
.jg-page .jg-foundation-desc { flex: 1; min-width: 0; color: #111; font-size: 14px; line-height: 22px; }
.jg-page .jg-foundation-desc p { margin: 0; text-indent: 2em; }
.jg-page .jg-foundation-desc p + p { margin-top: 0; }

/* ===== 基地/机构（横向折叠卡片，参考首页「推荐基地」） ===== */
.jg-page .jidi-info-card { display: flex; height: 260px; border-radius: 8px; overflow: hidden; }
.jg-page .jidi-info-card li { position: relative; flex: 0 0 auto; width: 114px; height: 260px; overflow: hidden; transition: .3s; }
.jg-page .jidi-info-card li.active { width: 402px; }
.jg-page .jidi-info-card li > a { display: block; width: 100%; height: 100%; }
.jg-page .jidi-info-card-image { width: 100%; height: 100%; object-fit: cover; }
.jg-page .jidi-info-card-content { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 0; overflow: hidden; background-color: rgba(0, 0, 0, .3); color: #fff; }
.jg-page .jidi-info-card-content h4 { margin: 0; overflow: hidden; font-size: 16px; font-weight: 700; letter-spacing: 3px; writing-mode: vertical-rl; }
.jg-page .jidi-info-card-content p { height: 0; margin: 0; opacity: 0; overflow: hidden; transition: .3s; }
.jg-page .jidi-info-card li.active .jidi-info-card-content { top: auto; bottom: 0; justify-content: flex-end; align-items: flex-start; padding: 14px; background: linear-gradient(0deg, #000, transparent); }
.jg-page .jidi-info-card li.active .jidi-info-card-content h4 { writing-mode: horizontal-tb; letter-spacing: 0; }
.jg-page .jidi-info-card li.active .jidi-info-card-content p { display: -webkit-box; width: 100%; height: 42px; opacity: 1; font-size: 14px; line-height: 21px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ===== 志愿招募 Banner ===== */
.jg-page .jg-volunteer { position: relative; display: flex; align-items: center; justify-content: center; min-height: 120px; border-radius: 10px; overflow: hidden; background: linear-gradient(90deg, #ffe9a8, #ffdd6f 50%, #ffe9a8); }
.jg-page .jg-volunteer span { position: relative; z-index: 1; color: #c0392b; font-size: 40px; font-weight: 800; letter-spacing: 5px; text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
.jg-page .jg-volunteer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== 研学导师 ===== */
.jg-page .jg-tutor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jg-page .jg-tutor { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; align-items: stretch; padding: 20px; background: #f0f3f7; border-radius: 12px; }
.jg-page .jg-tutor > div { min-width: 0; }
.jg-page .jg-tutor img { width: 100px; height: 140px; object-fit: cover; border-radius: 12px; background: #e9edec; }
.jg-page .jg-tutor h3 { margin: 0 0 10px; font-size: 16px; font-weight: 400; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-tutor p { margin: 0 0 8px; color: #555; font-size: 12px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-tutor p:last-child { margin-bottom: 0; }
.jg-page .jg-tutor .jg-tutor-type { margin-bottom: 10px; color: #111; font-size: 14px; font-weight: 400; line-height: 16px; }

/* ===== 成果展示 ===== */
.jg-page .jg-achievement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.jg-page .jg-achievement { display: flex; gap: 12px; }
.jg-page .jg-achievement img { flex: 0 0 auto; width: 200px; height: 134px; object-fit: cover; border-radius: 12px; background: #e9edec; }
.jg-page .jg-achievement > div { flex: 1; min-width: 0; }
.jg-page .jg-achievement h3 { margin: 0; font-size: 18px; line-height: 26px; font-weight: 400; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-achievement p { margin: 10px 0 0; height: 40px; line-height: 20px; overflow: hidden; color: #555; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jg-page .jg-achievement time { display: block; margin-top: 10px; color: #555; font-size: 14px; line-height: 20px; }

/* ===== 合作单位 ===== */
.jg-page .jg-partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.jg-page .jg-partner { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 16px 32px rgba(56, 81, 104, .08); }
.jg-page .jg-partner-logo { display: flex; align-items: center; justify-content: center; height: 80px; }
.jg-page .jg-partner-logo img { max-width: 100%; max-height: 80px; object-fit: contain; transition: transform .7s ease-in-out; }
.jg-page .jg-partner h3 { margin: 0; font-size: 20px; line-height: 23px; font-weight: 400; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-partner p { margin: 0; font-size: 16px; line-height: 24px; color: #555; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-partner-arrow { display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-top: auto; }
.jg-page .jg-partner-arrow::before { content: ''; width: 7px; height: 7px; border-right: 1.5px solid #4781ff; border-bottom: 1.5px solid #4781ff; transform: rotate(-45deg); }

/* ===== 空态 ===== */
.jg-page .jg-empty { padding: 36px; background: var(--jg-soft); border-radius: 10px; color: #aaa; text-align: center; font-size: 14px; }

/* ===== 资源库总览页（对齐设计稿：1200 容器，左 860 / 右 320，间距 20） ===== */
.jg-page.jg-res-page { background: #f0f3f7; --jg-green: #00bd6b; }
.jg-page .jg-res-main { padding-top: 20px; }
.jg-page .jg-res-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.jg-page .jg-res-left { min-width: 0; }
.jg-page .jg-res-right { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
/* 内容卡片：白底圆角 12，左右 20 内边距，纵向 20 间距 */
.jg-page .jg-res-block { display: flex; flex-direction: column; gap: 20px; padding: 0 20px 20px; margin-bottom: 20px; background: #fff; border-radius: 12px; }
.jg-page .jg-res-block:last-child { margin-bottom: 0; }
.jg-page .jg-res-head { display: flex; align-items: center; box-sizing: border-box; height: 56px; border-bottom: 1px solid #e6e9ed; }
.jg-page .jg-res-body { display: flex; flex-direction: column; gap: 20px; padding: 0; }
.jg-page .jg-res-head:before { content: ""; width: 4px; height: 20px; margin-right: 10px; background: var(--jg-green); }
.jg-page .jg-res-head h2 { margin: 0; font-size: 20px; font-weight: 400; line-height: 25px; color: #111; }
.jg-page .jg-res-head .jg-more { margin-left: auto; display: flex; align-items: center; gap: 4px; color: #555; font-size: 14px; line-height: 20px; }
.jg-page .jg-res-head .jg-more:hover { color: var(--jg-green); }
/* 分类标签：高 24、左右 8、圆角 4 */
.jg-page .jg-res-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.jg-page .jg-tag { display: flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px; background: #f5f7fa; color: #111; font-size: 14px; line-height: 24px; }
.jg-page .jg-tag:hover { color: var(--jg-green); }
.jg-page .jg-tag.active { background: var(--jg-green); color: #fff; }

/* 资讯文章：两列 400，缩略图 160×120 */
.jg-page .jg-article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.jg-page .jg-article { display: flex; align-items: center; gap: 16px; }
.jg-page .jg-article-thumb { width: 160px; height: 120px; flex: 0 0 auto; object-fit: cover; border-radius: 8px; background: #e9edec; }
.jg-page .jg-article-body { min-width: 0; display: flex; flex-direction: column; }
.jg-page .jg-article-title { font-size: 16px; font-weight: 400; line-height: 19px; height: 38px; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-article-sum { margin-top: 13px; font-size: 14px; line-height: 20px; height: 40px; color: #999; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 视频文件：三列 260，卡片描边 1px #e6e9ed */
.jg-page .jg-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jg-page .jg-video-item { display: flex; flex-direction: column; padding: 16px; border: 1px solid #e6e9ed; border-radius: 12px; background: #fff; }
.jg-page .jg-video-cover { position: relative; display: block; margin-bottom: 20px; border-radius: 8px; overflow: hidden; background: #e9edec; }
.jg-page .jg-video-cover img { display: block; width: 100%; aspect-ratio: 228 / 160; object-fit: cover; }
.jg-page .jg-video-item .jg-video-play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(0, 0, 0, .4); color: #fff; font-size: 14px; font-style: normal; }
.jg-page .jg-video-item .jg-video-play:before { content: none; }
.jg-page .jg-video-item-title { font-size: 16px; line-height: 20px; height: 40px; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-video-item-meta { margin-top: 16px; display: flex; gap: 16px; color: #999; font-size: 12px; line-height: 16px; }
.jg-page .jg-video-item-meta em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.jg-page .jg-ico { width: 12px; height: 12px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* 视频卡元信息图标：描边宽度按设计稿节点（时间 1、眼睛 1.1、价签 1.1667/14） */
.jg-page .jg-ico-date { stroke-width: 1; }
.jg-page .jg-ico-eye { stroke-width: 1.1; }
.jg-page .jg-ico-tag { stroke-width: 1.1667; }

/* 文档文件：两列 400，浅灰卡片圆角 12 */
.jg-page .jg-doc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.jg-page .jg-doc-item { display: block; padding: 16px; background: #f0f3f7; border-radius: 12px; }
.jg-page .jg-doc-item-title { display: block; font-size: 16px; line-height: 22px; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-doc-item-tags { margin-top: 8px; display: flex; gap: 8px; }
.jg-page .jg-doc-item-tags .jg-doc-cat,
.jg-page .jg-doc-item-tags .jg-doc-ext { font-style: normal; padding: 2px 6px; font-size: 12px; line-height: 16px; color: #f54444; background: rgba(245, 68, 68, .12); }
.jg-page .jg-doc-item-tags .jg-doc-ext { text-transform: lowercase; }

/* 分页：32×32、圆角 4、间距 4，当前页绿色描边 + 12% 绿底（设计稿 437:1832）
   同时兼容 main.css 中历史遗留的 .pager 样式（.pager li / .pager li.active 红底） */
.jg-page ul.pagination,
.jg-page ul.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 0; line-height: 1; }
.jg-page ul.pagination > li,
.jg-page ul.pager > li { display: flex; margin: 0; padding: 0; background: none; border-radius: 0; color: inherit; list-style: none; }
.jg-page ul.pagination > li > a,
.jg-page ul.pagination > li > span,
.jg-page ul.pager > li > a,
.jg-page ul.pager > li > span { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 32px; height: 32px; padding: 0 6px; border: 1px solid transparent; border-radius: 4px; background: #f5f7fa; color: #000; font-size: 14px; line-height: 1; text-decoration: none; }
.jg-page ul.pagination > li > a:hover,
.jg-page ul.pager > li > a:hover { border-color: var(--jg-green); color: var(--jg-green); }
.jg-page ul.pagination > li.active,
.jg-page ul.pager > li.active { background: none; border-radius: 0; color: inherit; }
.jg-page ul.pagination > li.active > span,
.jg-page ul.pagination > li.active > a,
.jg-page ul.pager > li.active > span,
.jg-page ul.pager > li.active > a { border-color: var(--jg-green); background: rgba(0, 189, 107, .12); color: var(--jg-green); }
/* 上一页/下一页与页码一起显示（箭头项走同一套方块样式） */
.jg-page ul.pagination > li.disabled > span,
.jg-page ul.pager > li.disabled > span { color: #999; }

.jg-page .jg-pager { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.jg-page .jg-pager-item { min-width: 30px; height: 30px; line-height: 28px; text-align: center; border: 1px solid #e2e2e2; border-radius: 6px; color: #666; font-size: 13px; padding: 0 8px; }
.jg-page .jg-pager-item:hover { border-color: var(--jg-green); color: var(--jg-green); }
.jg-page .jg-pager-item.active { background: #fff; border-color: var(--jg-green); color: var(--jg-green); }

/* 右侧：资源库简介 */
.jg-page .jg-res-intro { display: flex; flex-direction: column; gap: 20px; padding: 0 20px 20px; background: #fff; border-radius: 12px; }
.jg-page .jg-res-intro h3 { display: flex; align-items: center; box-sizing: border-box; height: 56px; margin: 0; border-bottom: 1px solid #e6e9ed; font-size: 20px; font-weight: 400; line-height: 25px; color: #111; }
.jg-page .jg-res-intro h3:before { content: ""; width: 4px; height: 20px; margin-right: 10px; background: var(--jg-green); }
.jg-page .jg-res-intro-body { color: #111; font-size: 14px; line-height: 22px; }
.jg-page .jg-res-intro-body p { margin: 0; }

/* 右侧：基金会 */
.jg-page .jg-res-foundation { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px; background: #fff; border-radius: 12px; }
.jg-page .jg-res-foundation-logo { display: block; width: 100%; height: auto; }
.jg-page .jg-res-foundation-actions { display: flex; gap: 8px; }
.jg-page .jg-res-foundation-actions a { display: flex; align-items: center; justify-content: center; width: 110px; height: 28px; border-radius: 16px; background: #00bd6b; color: #fff; font-size: 12px; line-height: 16px; }
.jg-page .jg-res-foundation-actions a:hover { background: #00a85f; }
.jg-page .jg-res-foundation-desc { width: 100%; color: #111; font-size: 14px; line-height: 22px; }
.jg-page .jg-res-foundation-desc p { margin: 0; }

/* 面包屑 */
/* 面包屑（设计稿 437:2065）：高 60、18px/#555，间距 20 / 8 / 8 */
.jg-page .jg-breadcrumb { display: flex; align-items: center; gap: 8px; height: 60px; margin: 0; color: #555; font-size: 18px; line-height: 26px; }
.jg-page .jg-breadcrumb-label { margin-right: 12px; color: #555; }
.jg-page .jg-breadcrumb a { color: #555; }
.jg-page .jg-breadcrumb a:hover { color: var(--jg-green); }
.jg-page .jg-breadcrumb .sep { flex: 0 0 auto; width: 8px; height: 8px; border-top: 1px solid #555; border-right: 1px solid #555; transform: rotate(45deg); font-size: 0; line-height: 0; overflow: hidden; }
.jg-page .jg-breadcrumb .cur { color: #555; }

/* 模块头搜索框（设计稿 480:11440）：200×32、圆角 4、描边 #d2d2d2，图标在左 */
.jg-page .jg-res-search { margin-left: auto; display: flex; align-items: center; gap: 4px; width: 200px; height: 32px; box-sizing: border-box; padding: 0 12px; border: 1px solid #d2d2d2; border-radius: 4px; background: #fff; }
.jg-page .jg-res-search input { flex: 1; min-width: 0; height: 20px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; line-height: 20px; color: #111; }
.jg-page .jg-res-search input::placeholder { color: #999; }
.jg-page .jg-res-search button { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; padding: 0; border: 0; background: transparent; color: #999; cursor: pointer; }
.jg-page .jg-res-search button svg { display: block; width: 18px; height: 18px; }
.jg-page .jg-res-search button svg circle,
.jg-page .jg-res-search button svg path { stroke-width: 1.3; }
.jg-page .jg-res-search button:hover { color: var(--jg-green); }

/* 资讯单列 + 日期 */
/* 分类文章列表（设计稿 437:2080）：单列，条目 820×120，图 160×120 */
.jg-page .jg-article-single { grid-template-columns: 1fr; gap: 20px; }
.jg-page .jg-article-single .jg-article-thumb { width: 160px; height: 120px; }
.jg-page .jg-article-single .jg-article-title { display: block; height: 19px; line-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-article-single .jg-article-sum { margin-top: 13px; height: 40px; line-height: 20px; }
.jg-page .jg-article-single .jg-article-date { margin-top: 13px; color: #999; font-size: 14px; line-height: 20px; }

/* ===== 资源详情页 ===== */
.jg-page .jg-detail-card { background: #fff; border-radius: 10px; padding: 24px; }
.jg-page .jg-detail-title { margin: 0 0 14px; font-size: 20px; font-weight: 700; color: #222; line-height: 1.5; }
.jg-page .jg-detail-meta { display: flex; flex-wrap: wrap; gap: 22px; padding-bottom: 16px; border-bottom: 1px solid #e9e9e9; color: #999; font-size: 13px; }
.jg-page .jg-detail-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.jg-page .jg-detail-player { position: relative; margin-top: 20px; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.jg-page .jg-detail-poster { width: 100%; height: 100%; object-fit: cover; }
.jg-page .jg-detail-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.jg-page .jg-detail-player { cursor: pointer; }
.jg-page .jg-detail-video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.jg-page .jg-detail-play-tip { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: #fff; font-size: 14px; }
.jg-page .jg-detail-content { margin-top: 22px; color: #555; font-size: 14px; line-height: 1.9; }
.jg-page .jg-detail-content p { margin: 0 0 8px; text-indent: 2em; }
.jg-page .jg-detail-content img { max-width: 100%; height: auto; }
.jg-page .jg-detail-doc { width: 100%; height: 760px; margin-top: 20px; border: 0; border-radius: 6px; background: #f5f5f5; }
/* Office 在线预览（doc/docx/ppt/pptx/xls/xlsx）按 A4 比例给足高度 */
.jg-page .jg-detail-doc--office { height: 1180px; background: #fff; }
.jg-page .jg-detail-doc-empty { margin-top: 20px; min-height: 540px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #f5f7f6; border-radius: 6px; color: #999; font-size: 14px; }
.jg-page .jg-detail-doc-icon { width: 74px; height: 90px; border-radius: 6px; background: #fff; border: 1px solid #e5e5e5; display: flex; align-items: center; justify-content: center; color: #2fa878; font-weight: 700; font-size: 16px; text-transform: uppercase; }
.jg-page .jg-detail-cover { margin-top: 20px; border-radius: 6px; overflow: hidden; }
.jg-page .jg-detail-cover img { display: block; width: 100%; height: auto; }
.jg-page .jg-detail-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.jg-page .jg-detail-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 22px; border-radius: 20px; background: var(--jg-green, #2fa878); color: #fff; font-size: 14px; }
.jg-page .jg-detail-btn:hover { opacity: .88; color: #fff; }
.jg-page .jg-detail-btn--ghost { background: #fff; border: 1px solid var(--jg-green, #2fa878); color: var(--jg-green, #2fa878); }
.jg-page .jg-detail-btn--ghost:hover { color: var(--jg-green, #2fa878); background: #f2faf7; }
.jg-page .jg-detail-content img { max-width: 100%; height: auto; }
.jg-page .jg-detail-content h1,
.jg-page .jg-detail-content h2,
.jg-page .jg-detail-content h3,
.jg-page .jg-detail-content h4 { margin: 18px 0 10px; color: #222; line-height: 1.6; }
.jg-page .jg-detail-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.jg-page .jg-detail-content table th,
.jg-page .jg-detail-content table td { border: 1px solid #e5e5e5; padding: 8px 10px; }
.jg-page .jg-detail-content blockquote { margin: 12px 0; padding: 10px 16px; background: #f6f8f7; border-left: 3px solid var(--jg-green, #2fa878); color: #666; }

/* 相关推荐 */
.jg-page .jg-related-list { display: flex; flex-direction: column; gap: 18px; }
.jg-page .jg-related { display: flex; gap: 14px; }
.jg-page .jg-related-thumb { width: 86px; height: 58px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: #e9edec; }
.jg-page .jg-related-body { min-width: 0; }
.jg-page .jg-related-title { color: #333; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-related-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 14px; color: #aaa; font-size: 12px; }
.jg-page .jg-related-meta em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; }
.jg-page .jg-related-doc { display: block; padding: 14px 16px; background: var(--jg-soft); border-radius: 8px; }
.jg-page .jg-related-doc:hover { color: var(--jg-green); }
.jg-page .jg-related-tags { margin-top: 10px; display: flex; gap: 8px; }

/* ===== 课程线路页 ===== */
.jg-page.jg-course-page { background: #f0f3f7; }
.jg-page .jg-course-main { padding-top: 22px; }
.jg-page .jg-filter { background: #fff; border-radius: 10px; padding: 20px 24px; margin-bottom: 20px; }
.jg-page .jg-filter-row { display: flex; align-items: flex-start; gap: 20px; }
.jg-page .jg-filter-row + .jg-filter-row { margin-top: 14px; }
.jg-page .jg-filter-label { flex: 0 0 auto; color: #999; font-size: 14px; line-height: 30px; }
.jg-page .jg-filter-opts { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.jg-page .jg-filter-opt { color: #666; font-size: 14px; padding: 5px 14px; border-radius: 15px; }
.jg-page .jg-filter-opt:hover { color: #f54444; }
.jg-page .jg-filter-opt.active { background: #f54444; color: #fff; }

.jg-page .jg-ccard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.jg-page .jg-ccard { display: block; }
.jg-page .jg-ccard-cover { display: block; border-radius: 6px; overflow: hidden; background: #e9edec; }
.jg-page .jg-ccard-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.jg-page .jg-ccard-title { display: block; margin-top: 12px; font-size: 16px; font-weight: 700; color: #222; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-ccard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jg-page .jg-ccard-tags em { font-style: normal; border: 1px solid #e2e2e2; border-radius: 4px; padding: 2px 8px; color: #777; font-size: 12px; }
.jg-page .jg-ccard-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: #999; font-size: 12px; }
.jg-page .jg-ccard-meta em { font-style: normal; display: inline-flex; align-items: center; }
.jg-page .jg-ccard-mch { display: block; margin-top: 8px; color: #999; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-ccard-price { display: block; margin-top: 10px; color: #f54444; font-size: 18px; font-weight: 700; }

.jg-page .jg-list-pager { margin-top: 26px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; }
.jg-page .jg-list-pager-item { min-width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 6px; color: #666; font-size: 14px; padding: 0 6px; }
.jg-page .jg-list-pager-item:hover { color: #f54444; }
.jg-page .jg-list-pager-item.active { background: #f54444; color: #fff; }
.jg-page .jg-list-pager-dots { color: #bbb; padding: 0 6px; }
.jg-page .jg-list-pager-nav { margin-left: 10px; height: 32px; line-height: 32px; padding: 0 10px; color: #666; font-size: 13px; }
.jg-page .jg-list-pager-nav:hover { color: #f54444; }
.jg-page .jg-list-pager-nav.disabled { color: #ccc; }

/* ===== 研学基地页 ===== */
.jg-page.jg-base-page { background: #f0f3f7; }
.jg-page .jg-base-main { padding-top: 22px; }
.jg-page .jg-bcard-list { display: flex; flex-direction: column; gap: 26px; }
.jg-page .jg-bcard { display: flex; align-items: stretch; gap: 18px; }
.jg-page .jg-bcard-cover { flex: 0 0 240px; width: 240px; border-radius: 8px; overflow: hidden; background: #e9edec; }
.jg-page .jg-bcard-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jg-page .jg-bcard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jg-page .jg-bcard-main { display: block; }
.jg-page .jg-bcard-name { display: block; font-size: 18px; font-weight: 700; color: #222; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-bcard-sum { display: -webkit-box; margin-top: 10px; height: 64px; color: #999; font-size: 12.5px; line-height: 1.7; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-bcard-foot { display: block; margin-top: 12px; }
.jg-page .jg-bcard-addr,
.jg-page .jg-bcard-trips { display: block; margin-top: 6px; color: #999; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page .jg-bcard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jg-page .jg-bcard-tags em { font-style: normal; border: 1px solid #e2e2e2; border-radius: 4px; padding: 2px 10px; color: #555; font-size: 12px; }
.jg-page .jg-bcard-tags em.jg-bcard-level { color: #f60; border-color: #f5b183; }

/* ===== 研学导师页 ===== */
.jg-page.jg-tutor-page { background: #f0f3f7; }
.jg-page .jg-tutor-main { padding-top: 22px; }

/* ===== 成果展示页 ===== */
.jg-page.jg-ach-page { background: #f0f3f7; }
.jg-page .jg-ach-main { padding-top: 22px; }.jg-page.jg-ach-page .jg-article { align-items: stretch; }
.jg-page.jg-ach-page .jg-article-thumb { width: 160px; height: 120px; }
.jg-page.jg-ach-page .jg-article-body { height: 120px; }
.jg-page.jg-ach-page .jg-article-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-page.jg-ach-page .jg-article-sum { display: block; margin-top: 8px; height: 40px; line-height: 20px; overflow: hidden; }
.jg-page.jg-ach-page .jg-article-date { margin-top: auto; }

/* ===== 合作单位页 ===== */
.jg-page.jg-partner-page { background: #f0f3f7; }
.jg-page .jg-partner-main { padding-top: 20px; }
.jg-page .jg-pcard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jg-page .jg-pcard { position: relative; display: flex; flex-direction: column; align-items: center; padding: 20px; background: #fff; border: 1px solid #e6e9ed; border-radius: 12px; text-align: center; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.jg-page .jg-pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #2fa878, #8fd9b8); opacity: 0; transition: opacity .25s ease; }
.jg-page .jg-pcard:hover { transform: translateY(-4px); border-color: #d8ece3; box-shadow: 0 16px 32px rgba(47, 168, 120, .13); }
.jg-page .jg-pcard:hover::before { opacity: 1; }
.jg-page .jg-pcard-logo-wrap { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: 0 0 20px; border-radius: 50%; background: #f4f9f7; border: 1px solid #eaf3ef; transition: transform .25s ease; }
.jg-page .jg-pcard:hover .jg-pcard-logo-wrap { transform: scale(1.04); }
.jg-page .jg-pcard-logo { max-width: 72px; max-height: 72px; object-fit: contain; }
.jg-page .jg-pcard-name { display: -webkit-box; margin: 0; min-height: 38px; font-size: 16px; font-weight: 400; color: #111; line-height: 19px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-pcard-intro { display: -webkit-box; margin: 13px 0 0; font-size: 14px; color: #999; line-height: 20px; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.jg-page .jg-res-count { margin-left: 10px; color: #9aa5a0; font-size: 13px; font-weight: 400; }

/* ===== 鼠标指向（hover）交互（参考原站点 group-hover:scale / text-green）===== */
.jg-page .jg-video-media img,
.jg-page .jg-video-cover img,
.jg-page .jg-course-thumb img,
.jg-page .jg-ccard-cover img,
.jg-page .jg-bcard-cover img,
.jg-page .jg-article-thumb,
.jg-page .jg-related-thumb,
.jg-page .jg-tutor img,
.jg-page .jg-achievement img,
.jg-page .jg-partner-logo img,
.jg-page .jidi-info-card-image { transition: transform .7s ease-in-out; }

.jg-page .jg-video-card:hover .jg-video-media img,
.jg-page .jg-video-item:hover .jg-video-cover img,
.jg-page .jg-ccard:hover .jg-ccard-cover img,
.jg-page .jg-bcard:hover .jg-bcard-cover img,
.jg-page .jidi-info-card li:hover .jidi-info-card-image { transform: scale(1.15); }

.jg-page .jg-course-card:hover .jg-course-thumb img,
.jg-page .jg-article:hover .jg-article-thumb,
.jg-page .jg-related:hover .jg-related-thumb,
.jg-page .jg-tutor:hover img,
.jg-page .jg-achievement:hover img,
.jg-page .jg-partner:hover .jg-partner-logo img { transform: scale(1.05); }

.jg-page .jg-course-title,
.jg-page .jg-ccard-title,
.jg-page .jg-bcard-name,
.jg-page .jg-article-title,
.jg-page .jg-related-title,
.jg-page .jg-video-item-title,
.jg-page .jg-tutor h3,
.jg-page .jg-achievement h3,
.jg-page .jg-video-caption { transition: color .3s ease-in-out; }

.jg-page .jg-course-card:hover .jg-course-title,
.jg-page .jg-video-card:hover .jg-video-caption,
.jg-page .jg-video-item:hover .jg-video-item-title,
.jg-page .jg-article:hover .jg-article-title,
.jg-page .jg-related:hover .jg-related-title,
.jg-page .jg-tutor:hover h3,
.jg-page .jg-achievement:hover h3,
.jg-page .jg-doc-item:hover .jg-doc-item-title { color: var(--jg-green); }

.jg-page .jg-ccard:hover .jg-ccard-title,
.jg-page .jg-bcard:hover .jg-bcard-name { color: #f54444; }

/* ===== 页脚 footer-jiageng ===== */
.jg-page .jg-footer { background: #1f1f1f; color: #b4b4b4; padding: 46px 0 30px; font-size: 13px; }
.jg-page .jg-footer-main { width: 1200px; margin: 0 auto; display: flex; gap: 60px; }
.jg-page .jg-footer-links { flex: 1; }
.jg-page .jg-footer-title { color: #fff; font-size: 19px; font-weight: 700; padding-left: 14px; border-left: 3px solid #fff; line-height: 1; margin-bottom: 24px; }
.jg-page .jg-footer-link-row { line-height: 2.3; }
.jg-page .jg-footer-link-row a { color: #b4b4b4; margin-right: 26px; }
.jg-page .jg-footer-link-row a:hover { color: #fff; }
.jg-page .jg-footer-qr { flex: 1; }
.jg-page .jg-footer-code { display: inline-flex; align-items: center; gap: 12px; background: #2b2b2b; border-radius: 8px; padding: 12px 18px; color: #d5d5d5; margin: 0 16px 16px 0; }
.jg-page .jg-footer-code img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; background: #fff; }
.jg-page .jg-footer-bottom { width: 1200px; margin: 30px auto 0; padding-top: 22px; border-top: 1px solid #333; text-align: center; color: #8a8a8a; line-height: 2.1; font-size: 12.5px; }
.jg-page .jg-footer-bottom a { color: #8a8a8a; }
.jg-page .jg-footer-bottom a:hover { color: #fff; }
.jg-page .jg-footer-org { color: #9a9a9a; }

/* ===== 响应式 ===== */
@media (max-width: 1240px) {
    .jg-page .jg-container,
    .jg-page .jg-footer-main,
    .jg-page .jg-footer-bottom { width: calc(100% - 40px); }
    .jg-page .jg-main { width: calc(100% - 40px); }
    .jg-page .jg-nav a { padding: 17px 8px; font-size: 15px; }
    .jg-page .jg-resource { grid-template-columns: 1fr; }
    .jg-page .jg-course-grid { grid-template-columns: 1fr; }
    .jg-page .jg-partner-grid { grid-template-columns: repeat(2, 1fr); }
    .jg-page .jidi-info-card { height: 220px; }
    .jg-page .jidi-info-card li { width: 90px; height: 220px; }
    .jg-page .jidi-info-card li.active { width: 320px; }
    .jg-page .jg-res-layout { grid-template-columns: 1fr; }
    .jg-page .jg-res-right { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .jg-page .jg-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jg-page .jg-ccard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .jg-page .jg-pcard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .jg-page .jg-resource-grid { grid-template-columns: 1fr; }
    .jg-page .jg-resource-row--a,
    .jg-page .jg-resource-row--b { grid-template-columns: 1fr; }
    .jg-page .jg-video-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jg-page .jg-video-media { height: 140px; }
    .jg-page .jg-course-grid { grid-template-columns: 1fr; }
    .jg-page .jg-course-card { height: auto; }
    .jg-page .jg-course-thumb { width: 240px; height: 200px; }
    .jg-page .jg-tutor-grid { grid-template-columns: 1fr; }
    .jg-page .jg-achievement-grid { grid-template-columns: 1fr; }
    .jg-page .jg-partner-grid { grid-template-columns: repeat(2, 1fr); }
    .jg-page .jg-foundation { flex-direction: column; text-align: center; gap: 26px; }
    .jg-page .jg-article-list,
    .jg-page .jg-doc-list { grid-template-columns: 1fr; }
    .jg-page .jg-res-right { grid-template-columns: 1fr; }
    .jg-page .jg-ccard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jg-page .jg-pcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jg-page .jg-bcard { flex-direction: column; }
    .jg-page .jg-bcard-cover { width: 100%; }
}
@media (max-width: 760px) {
    .jg-page .jg-topbar-inner { height: auto; min-height: 50px; padding: 8px 0; }
    .jg-page .jg-topbar-account { display: none; }
    .jg-page .jg-topbar-split { display: none; }
    .jg-page .jg-brand { height: auto; padding: 18px 0; }
    .jg-page .jg-brand-title { font-size: 22px; line-height: 1.4; letter-spacing: 0; }
    .jg-page .jg-search { display: none; }
    .jg-page .jg-nav { height: auto; overflow-x: auto; }
    .jg-page .jg-nav ul { width: max-content; height: 52px; }
    .jg-page .jg-nav a { height: 52px; white-space: nowrap; padding: 13px 14px; font-size: 14px; }
    .jg-page .jg-main { width: calc(100% - 24px); }
    .jg-page .jg-intro { padding: 24px 16px; }
    .jg-page .jg-intro h2 { font-size: 20px; }
    .jg-page .jg-intro-content { font-size: 15px; line-height: 24px; }
    .jg-page .jg-resource-grid { grid-template-columns: 1fr; }
    .jg-page .jg-course-card { flex-direction: column; gap: 12px; }
    .jg-page .jg-course-thumb { width: 100%; height: 180px; }
    .jg-page .jg-course-body { gap: 12px; }
    .jg-page .jidi-info-card { flex-direction: column; height: auto; }
    .jg-page .jidi-info-card li { width: 100%; height: 120px; }
    .jg-page .jidi-info-card li.active { width: 100%; height: 220px; }
    .jg-page .jidi-info-card-content h4 { writing-mode: horizontal-tb; letter-spacing: 1px; }
    .jg-page .jg-volunteer span { font-size: 22px; letter-spacing: 2px; }
    .jg-page .jg-section-title h2 { font-size: 20px; }
    .jg-page .jg-achievement img { width: 120px; height: 90px; }
    .jg-page .jg-achievement h3 { font-size: 16px; line-height: 22px; -webkit-line-clamp: 2; }
    .jg-page .jg-achievement p { margin-top: 6px; font-size: 12px; line-height: 18px; height: 36px; }
    .jg-page .jg-achievement time { margin-top: 6px; font-size: 12px; line-height: 18px; }
    .jg-page .jg-footer-main { flex-direction: column; gap: 30px; }
    .jg-page .jg-ccard-grid { grid-template-columns: 1fr; }
    .jg-page .jg-pcard-grid { grid-template-columns: 1fr; }
    .jg-page .jg-detail-doc--office { height: 720px; }
}

/* ===== 微信公众号弹层 ===== */
body.jg-modal-open { overflow: hidden; }
.jg-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.jg-modal[hidden] { display: none; }
.jg-modal-mask { position: absolute; inset: 0; background: rgba(12, 22, 18, .55); }
.jg-modal-panel { position: relative; width: 360px; max-width: calc(100% - 40px); padding: 28px 26px 24px; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .22); text-align: center; }
.jg-modal-panel h3 { margin: 0 0 8px; font-size: 18px; color: #1f2d27; }
.jg-modal-tip { margin: 0; color: #8b9691; font-size: 13px; }
.jg-modal-qr { display: block; width: 180px; height: 180px; margin: 16px auto 4px; border-radius: 8px; background: #fff; }
.jg-modal-account { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 14px; padding: 12px 14px; background: #f4f9f7; border-radius: 10px; }.jg-modal-account span { font-size: 15px; font-weight: 700; color: #1f2d27; }
.jg-modal-copy { border: 1px solid #2fa878; background: #fff; color: #2fa878; font-size: 12px; padding: 4px 10px; border-radius: 12px; cursor: pointer; }
.jg-modal-copy:hover { background: #2fa878; color: #fff; }
.jg-modal-note { margin: 0; color: #a7b0ac; font-size: 12px; line-height: 1.7; }
.jg-modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: #b3bcb8; cursor: pointer; }
.jg-modal-close:hover { color: #2fa878; }
