@charset "utf-8";
/* =====================================================================
   自适应排版层（前台）
   断点：≤1240 小笔电 / ≤980 平板竖屏 / ≤768 手机 / ≤480 小屏手机
   说明：public.css 与 css.css 中原本分散的 @media 规则已全部迁移到这里，
        全站的移动端 · 平板端排版统一在本文件维护；本文件必须最后加载。
   ===================================================================== */

/* =====================================================================
   0. 全尺寸生效的基础修补
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, .menu-toggle, .sub-toggle { -webkit-tap-highlight-color: transparent; }

/* 长链接 / 长英文串不撑破容器 */
.article-body,
.td-info .desc,
.contact-card .row-item .v,
.article-foot p,
.index_listC .list li .words h3 { overflow-wrap: break-word; word-break: break-word; }

/* --- 移动端导航的附属结构（桌面端不显示，由 ≤980 断点启用） --- */
.header_bottom .menu .sub-toggle,
.header_bottom .menu .sub-menu,
.header_bottom .menu .menu-tel { display: none; }

/* --- 图集缩略图容器：由模板内联样式改为类名，便于随断点调整 --- */
.zzry_A li .zzry-thumb { display: block; background: none; border-radius: 6px 6px 0 0; overflow: hidden; }
.zzry_A li .zzry-thumb .ph-cover { height: 260px; }
/* 占位文字不再被 .zzry_A li span 的灰底覆盖 */
.zzry_A li .ph-cover span { background: none; border-radius: 0; color: #fff; line-height: 1.4; }

/* =====================================================================
   1. ≤1240px —— 小笔电 / 出现横向滚动条
   ===================================================================== */
@media (max-width: 1240px) {
    /* 版心自适应 */
    .w-1200 { width: 100%; padding-left: 15px; padding-right: 15px; }

    /* 页头 */
    .header_bottom .menu li .text { padding: 0 20px; font-size: 15px; }
    .header_menu { width: 100%; padding-left: 15px; padding-right: 15px; }

    /* 通栏轮播：文字回归左对齐定位 */
    .bannerword { left: 30px; margin-left: 0; }

    /* 首页 · 课程 */
    .ikecheng-m li { width: 46%; margin: 2%; }

    /* 首页 · 讲师：4 列自适应（原来只有固定 280px，981~1240 会掉行错位） */
    .iteam-m li { width: 23%; margin-right: 2.66%; height: auto; }
    .iteam-m li:nth-child(4n) { margin-right: 0; }
    .iteam-m li img { width: 100%; height: auto; aspect-ratio: 3 / 4; }
    .iteam-m li .ph-avatar { height: auto; aspect-ratio: 3 / 4; }
    .iteam-m li .txt { height: 48px; }

    /* 首页 · 新闻：这里原本把百分比层层套用（48% × 48% × 48%），图片会被压到百来 px，现修正为各自 100% */
    .index_listC .m-banner { width: 48%; }
    .index_listC .list { width: 48%; }
    .new-list,
    .new-list ul.ck-slide-wrapper,
    .new-list ul.ck-slide-wrapper li,
    .new-list ul li img { width: 100%; }
    .index_listC .list li .words { width: calc(100% - 92px); }

    /* 内页栅格 */
    .zzry_A li { width: 31.5%; margin-right: 2.75%; }
    .kecheng_page li { width: 31.5%; margin-right: 2.75%; }
    .team_page li { width: 23%; margin-right: 2.6%; }
    .team_page li:nth-child(4n) { margin-right: 0; }
    .team_page li a { height: auto; }
    .team_page li img { width: 100%; height: auto; aspect-ratio: 3 / 4; }
    .team_page li .ph-avatar { height: auto; aspect-ratio: 3 / 4; }

    /* 课程详情 */
    .kd-left { width: 68%; }
    .kd-right { width: 30%; }
}

/* =====================================================================
   2. ≤980px —— 平板竖屏：切换移动端导航 + 三列栅格
   ===================================================================== */
@media (max-width: 980px) {
    /* ---------- 页头：移动端导航 ---------- */
    .header { height: auto; }
    .header_top { display: none; }
    .header_bottom { height: 70px; }
    .header_bottom .logo { height: 70px; line-height: 70px; }
    .header_bottom .logo img { max-height: 46px; }

    .menu-toggle {
        display: block; float: right; width: 44px; height: 44px; margin-top: 13px;
        background: #2aba51; border: 0; border-radius: 6px; cursor: pointer; position: relative;
    }
    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after {
        position: absolute; left: 50%; margin-left: -10px; width: 20px; height: 2px;
        background: #fff; content: ""; transition: transform .3s, top .3s, opacity .3s;
    }
    .menu-toggle span { top: 21px; }
    .menu-toggle span::before { top: -6px; }
    .menu-toggle span::after { top: 6px; }
    .menu-toggle.on span { background: transparent; }
    .menu-toggle.on span::before { top: 0; transform: rotate(45deg); }
    .menu-toggle.on span::after { top: 0; transform: rotate(-45deg); }

    .header_bottom ul.menu {
        display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff;
        box-shadow: 0 12px 22px rgba(0, 0, 0, .13); float: none; z-index: 300;
        padding: 0; max-height: calc(100vh - 70px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    .header_bottom ul.menu.open { display: block; }
    .header_bottom .menu li { float: none; height: auto; margin: 0; border-bottom: 1px solid #f0f0f0; }
    .header_bottom .menu li .text {
        height: 50px; line-height: 50px; padding: 0 18px; font-size: 15px; font-weight: normal;
    }
    .header_bottom .menu li span.line { display: none; }
    .header_bottom .menu li.has-sub > .text { padding-right: 64px; }
    .header_bg { display: none !important; }

    /* 子菜单手风琴（选择器需与基础隐藏规则同特异度才能覆盖） */
    .header_bottom .menu .sub-toggle {
        display: block; position: absolute; right: 0; top: 0; width: 54px; height: 50px; cursor: pointer;
    }
    .sub-toggle::before,
    .sub-toggle::after {
        content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px;
        margin: -1px 0 0 -6.5px; background: #98a2a9; transition: transform .3s;
    }
    .sub-toggle::after { transform: rotate(90deg); }
    .header_bottom .menu li.open .sub-toggle::before { background: #2aba51; }
    .header_bottom .menu li.open .sub-toggle::after { transform: rotate(0deg); background: #2aba51; }

    .header_bottom .menu .sub-menu { display: none; background: #fafbfa; }
    .header_bottom .menu li.open .sub-menu { display: block; }
    .header_bottom .menu .sub-menu li { border-bottom: 0; }
    .header_bottom .menu .sub-menu a {
        display: block; height: 44px; line-height: 44px; padding: 0 18px 0 34px;
        font-size: 14px; color: #5c666d; border-bottom: 1px dashed #eef0f0;
    }
    .header_bottom .menu .sub-menu li:last-child a { border-bottom: 0; }
    .header_bottom .menu .sub-menu a:active { color: #2aba51; }

    .header_bottom .menu .menu-tel { display: block; padding: 12px 18px; background: #f4fbf6; }
    .header_bottom .menu .menu-tel a { color: #6b757c; font-size: 13px; }
    .header_bottom .menu .menu-tel b { color: #2aba51; font-size: 17px; margin-left: 6px; }

    /* ---------- 内页头部条 ---------- */
    .fy_menu { padding: 4px 0 10px; }
    .fy_menu dl.nav { float: none; margin: 6px 0 0; }
    .fy_menu dl.nav dd { font-size: 17px; }
    /* 装饰短线在窄屏下会压住副标题文字，隐藏 */
    .fy_menu dl.nav .line { display: none; }
    .fy_menu .two_menu,
    .fy_menu .crumb { float: none; line-height: 32px; text-align: left; padding-bottom: 8px; }
    .fy_menu .two_menu a { line-height: 32px; padding: 0 8px; }
    .fy_menu .two_menu a:not(:last-child)::after { padding-left: 14px; }

    /* ---------- 页脚 ---------- */
    .footer .ul { padding: 30px 0 26px; }
    .footer .ul .li { width: 50%; padding: 0 0 16px; }
    .footer .ul .lib { float: none; width: 100%; padding: 0; }
    .footer .footb { line-height: 24px; padding: 14px 0; }
    .index-float { display: none; }

    /* ---------- 首页 · 通栏轮播 ---------- */
    .banner, .banner ul, .banner li { height: 320px; }
    .bannerword { top: 64px; left: 22px; max-width: 100%; padding-right: 22px; }
    .bannerword.center { top: 58px; padding: 0 22px; }
    .bannerword .word1 { font-size: 26px; line-height: 38px; }
    .bannerword .word2 { font-size: 15px; line-height: 24px; margin-top: 10px; }
    .banner .banner-btn a { width: 38px; height: 38px; line-height: 36px; font-size: 17px; }

    /* ---------- 通用标题 / 更多按钮 ---------- */
    .gg_title { margin: 36px auto 28px; }
    .gg_title dt { font-size: 25px; line-height: 38px; }
    .gg_title dd { line-height: 22px; font-size: 14px; }
    .gg_title dd i { font-size: 14px; }
    .gg_title .line { top: 49px; }
    .gmore { padding: 40px 0; }
    .gmore a { padding: 10px 40px; }

    /* ---------- 首页 · 公司简介：三个入口并排且瘦身 ---------- */
    .iabout { padding-bottom: 36px; }
    .iabout-tit { padding: 0 0 26px; line-height: 26px; }
    .iabout-txt ul { display: flex; }
    .iabout-txt li { float: none; width: 33.33%; margin: 0; }
    .iabout-txt li .ico { width: 96px; height: 96px; }
    .iabout-txt li .ico svg { width: 42px; height: 42px; }
    .iabout-txt li b { font-size: 16px; line-height: 32px; }
    .iabout-txt li i { font-size: 12px; line-height: 20px; padding: 0 4px; }

    /* ---------- 首页 · 课程 ---------- */
    .ikecheng-m { padding: 10px 0; }
    .ikecheng-m li { float: none; width: 100%; margin: 0 0 14px; }

    /* ---------- 首页 · 讲师：3 列 ---------- */
    .iteam-m { padding: 10px 0 0; }
    .iteam-m li { width: 31.5%; margin: 0 2.75% 18px 0; }
    .iteam-m li:nth-child(4n) { margin-right: 2.75%; }
    .iteam-m li:nth-child(3n) { margin-right: 0; }
    .iteam-m li .txt { height: 46px; padding: 12px 16px; }
    .iteam-m li .txt h4 { font-size: 15px; }

    /* ---------- 首页 · 新闻 ---------- */
    .index_listC .cotent { padding-bottom: 40px; }
    .index_listC .m-banner { width: 100%; height: 260px; float: none; }
    .new-list,
    .new-list ul.ck-slide-wrapper,
    .new-list ul.ck-slide-wrapper li,
    .new-list ul li img { width: 100%; height: 260px; }
    .index_listC .list { width: 100%; float: none; margin-top: 22px; }

    /* ---------- 内页栅格：3 列 ---------- */
    .zzry_A { padding: 26px 0 0; }
    .zzry_A li { width: 31.5%; margin: 0 2.75% 20px 0; }
    .zzry_A li:nth-child(3n) { margin-right: 0; }
    .zzry_A li img { height: auto; aspect-ratio: 4 / 3; }
    .zzry_A li .zzry-thumb .ph-cover { height: 100%; aspect-ratio: 4 / 3; }

    .kecheng_page { padding: 26px 0 0; }
    .kecheng_page li { width: 31.5%; margin: 0 2.75% 20px 0; }
    .kecheng_page li:nth-child(3n) { margin-right: 0; }
    .kecheng_page li .img,
    .kecheng_page li .img img,
    .kecheng_page li .img .ph { height: 170px; }

    .team_page { padding: 26px 0 0; }
    .team_page li { width: 31.5%; margin: 0 2.75% 20px 0; }
    .team_page li:nth-child(3n) { margin-right: 0; }

    /* ---------- 新闻列表 / 搜索 ---------- */
    .news-list-page { padding: 20px 0 10px; }
    .news-list-page .item { padding: 18px 0; }
    .news-list-page .item .date {
        float: none; width: auto; border: 0; margin: 0 0 6px; text-align: left;
        display: flex; align-items: baseline; gap: 8px;
    }
    .news-list-page .item .date strong { font-size: 20px; line-height: 22px; }
    .news-list-page .item .info h3 { font-size: 16px; line-height: 24px; }

    /* ---------- 文章详情 ---------- */
    .article-wrap { padding: 26px 0 6px; }
    .article-head { padding-bottom: 16px; margin-bottom: 20px; }
    .article-head h1 { font-size: 20px; line-height: 32px; }
    .article-foot p { white-space: normal; line-height: 26px; padding-bottom: 4px; }
    /* 相关阅读：允许右侧文字收缩换行，否则长简介会把列表撑出横向滚动 */
    .related ul li { display: flex; align-items: baseline; gap: 10px; line-height: 28px; }
    .related ul li a { flex: 1 1 auto; min-width: 0; }
    .related ul li span {
        float: none; flex: 0 1 auto; min-width: 0;
        overflow-wrap: break-word; word-break: break-word;
    }

    /* ---------- 课程详情 / 讲师详情 ---------- */
    .kd-wrap { padding: 26px 0 10px; }
    .kd-left, .kd-right { float: none; width: 100%; }
    .kd-head .cover { float: none; width: 100%; height: 190px; margin: 0 0 16px; }
    .kd-head .info h1 { font-size: 21px; line-height: 32px; }
    .kd-head .info .price { font-size: 21px; margin: 8px 0; }
    .side-box { margin-bottom: 18px; }

    .td-wrap { padding: 26px 0 10px; }
    .td-photo { float: none; width: 100%; max-width: 300px; margin: 0 auto 22px; }
    .td-info h1 { font-size: 23px; }

    /* ---------- 联系我们 / 留言 / 搜索 ---------- */
    .contact-grid { padding: 16px 0 30px; }
    .contact-card { padding: 22px 20px; }
    .contact-card .row-item .k { width: 80px; }
    .gbook-box { padding: 18px 0 44px; }
    .gbook-box .form-flex { flex-direction: column; gap: 0; }
    .search-bar { margin: 20px auto 0; }

    /* ---------- 404 ---------- */
    .error-page { padding: 80px 0 100px; }
    .error-page .code { font-size: 76px; }
}

/* =====================================================================
   3. ≤768px —— 手机：核心内容改为单列 / 双列
   ===================================================================== */
@media (max-width: 768px) {
    .w-1200 { padding-left: 14px; padding-right: 14px; }

    /* ---------- 页头 ---------- */
    .header_bottom .menu li .text { height: 48px; line-height: 48px; }
    .sub-toggle { height: 48px; }

    /* ---------- 通栏轮播 ---------- */
    .banner, .banner ul, .banner li { height: 270px; }
    .bannerword { top: 48px; left: 18px; padding-right: 18px; }
    .bannerword.center { top: 46px; padding: 0 18px; }
    .bannerword .word1 { font-size: 21px; line-height: 32px; }
    .bannerword .word2 { font-size: 14px; line-height: 22px; margin-top: 8px; }
    .bannerword .word-btn { margin-top: 16px; padding: 9px 30px; font-size: 13px; }
    .banner .btn { bottom: 16px; }
    .banner .banner-btn a { display: none; }

    /* ---------- 通用标题 ---------- */
    .gg_title { margin: 30px auto 22px; }
    .gg_title dt { font-size: 22px; line-height: 34px; }
    .gg_title .line { top: 42px; }
    .gmore { padding: 32px 0; }
    .gmore a { padding: 9px 32px; font-size: 13px; }

    /* ---------- 首页 · 简介 ---------- */
    .iabout-txt li .ico { width: 78px; height: 78px; }
    .iabout-txt li .ico svg { width: 34px; height: 34px; }
    .iabout-txt li b { font-size: 14px; line-height: 28px; }
    .iabout-txt li i { font-size: 11px; line-height: 17px; }

    /* ---------- 首页 · 课程 ---------- */
    .ikecheng-m li a { padding: 14px; }
    .ikecheng-m li .img { width: 88px; margin-right: 14px; }
    .ikecheng-m li .img img { width: 88px; height: 88px; }
    .ikecheng-m li .img .ph-round { width: 88px; height: 88px; font-size: 24px; }
    .ikecheng-m li .txt h4 { font-size: 16px; line-height: 28px; }

    /* ---------- 首页 · 讲师：2 列 ---------- */
    .iteam-m li { width: 48%; margin: 0 4% 16px 0; }
    .iteam-m li:nth-child(4n),
    .iteam-m li:nth-child(3n) { margin-right: 4%; }
    .iteam-m li:nth-child(2n) { margin-right: 0; }
    .iteam-m li .txt { height: 44px; padding: 11px 13px; }

    /* ---------- 首页 · 新闻 ---------- */
    .index_listC .m-banner,
    .new-list,
    .new-list ul.ck-slide-wrapper,
    .new-list ul.ck-slide-wrapper li,
    .new-list ul li img { height: 220px; }
    .index_listC .list li { height: auto; display: flex; gap: 12px; margin-bottom: 14px; }
    .index_listC .list li .data { flex: none; width: 64px; height: 64px; }
    .index_listC .list li .data strong { font-size: 24px; line-height: 34px; }
    .index_listC .list li .data i { top: 18px; height: 26px; }
    .index_listC .list li .words { float: none; width: auto; flex: 1; min-width: 0; }
    .index_listC .list li .words h3 { font-size: 15px; line-height: 26px; }
    .index_listC .list li .words p { height: 44px; line-height: 22px; }

    /* ---------- 内页栅格：2 列 ---------- */
    .zzry_A li,
    .kecheng_page li,
    .team_page li { width: 48%; margin: 0 4% 16px 0; }
    .zzry_A li:nth-child(4n),
    .kecheng_page li:nth-child(4n),
    .team_page li:nth-child(4n),
    .zzry_A li:nth-child(3n),
    .kecheng_page li:nth-child(3n),
    .team_page li:nth-child(3n) { margin-right: 4%; }
    .zzry_A li:nth-child(2n),
    .kecheng_page li:nth-child(2n),
    .team_page li:nth-child(2n) { margin-right: 0; }

    .zzry_A li img { height: auto; aspect-ratio: 4 / 3; }
    .zzry_A li span { line-height: 38px; font-size: 14px; }

    .kecheng_page li .img,
    .kecheng_page li .img img,
    .kecheng_page li .img .ph { height: 150px; }
    .kecheng_page li .txt { padding: 13px 13px 16px; }
    .kecheng_page li .txt h4 { font-size: 16px; line-height: 26px; }
    .kecheng_page li .txt .price { font-size: 16px; }
    .kecheng_page li .txt .more { margin-top: 8px; }

    .team_page li .mask { padding: 34px 12px 12px; }
    .team_page li .mask h4 { font-size: 14px; line-height: 22px; max-height: 44px; overflow: hidden; }
    .team_page li .mask p { font-size: 11px; line-height: 18px; height: 36px; }

    /* ---------- 文章详情 ---------- */
    .article-body { font-size: 15px; line-height: 1.9; }
    .article-body table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .article-body img { display: block; margin: 12px auto; }
    .article-head .meta span { display: inline-block; margin: 0 10px 0 0; font-size: 12px; }
    .related h3 { font-size: 14px; }

    /* ---------- 课程 / 讲师详情 ---------- */
    .kd-head { padding-bottom: 18px; margin-bottom: 20px; }
    .kd-head .cover { height: 170px; }
    .kd-head .info h1 { font-size: 19px; line-height: 30px; }
    .side-box h3 { padding: 11px 14px; font-size: 15px; }
    .side-box ul { padding: 8px 14px 12px; }
    .side-contact { padding: 16px 14px; }
    .td-photo { max-width: 260px; }
    .td-info h1 { font-size: 21px; }
    .td-info .job { font-size: 14px; margin: 6px 0 12px; }

    /* ---------- 联系 / 留言 / 搜索 ---------- */
    .contact-card { padding: 18px 16px; border-radius: 8px; }
    .contact-card .row-item { padding: 13px 0; font-size: 14px; }
    .contact-card .row-item .k { width: 74px; font-size: 13px; }
    .contact-card .row-item .v strong { font-size: 18px; }
    .contact-card .qrcode img { width: 130px; height: 130px; }

    .gbook-box .form-row { margin-bottom: 15px; }
    .gbook-box textarea { height: 130px; }
    /* 16px 可避免 iOS 聚焦时自动放大页面 */
    .gbook-box input[type=text],
    .gbook-box input[type=email],
    .gbook-box textarea,
    .search-bar input { font-size: 16px; }
    .gbook-box .captcha-row input { width: auto; flex: 1; min-width: 0; }
    .gbook-box .captcha-row img { height: 46px; max-width: 130px; }
    .gbook-success { padding: 60px 0; }
    .gbook-success .ico { width: 72px; height: 72px; font-size: 34px; line-height: 72px; }

    .search-bar { gap: 8px; }
    .search-bar input { padding: 11px 14px; }
    .search-bar button { padding: 0 22px; font-size: 14px; }

    .pagination { padding: 28px 0; }
    .pagination a, .pagination span { min-width: 32px; height: 32px; line-height: 32px; padding: 0 8px; }

    /* ---------- 页脚 ---------- */
    .footer .ul .li a span { line-height: 42px; font-size: 15px; }
    .footer .ul .lib .p1 { line-height: 40px; font-size: 15px; margin-bottom: 8px; }
    .footer .footb { font-size: 12px; }

    /* ---------- 404 ---------- */
    .error-page { padding: 62px 0 82px; }
    .error-page .code { font-size: 62px; }
    .error-page h2 { font-size: 18px; }
}

/* =====================================================================
   4. ≤480px —— 小屏手机
   ===================================================================== */
@media (max-width: 480px) {
    .w-1200 { padding-left: 12px; padding-right: 12px; }

    /* ---------- 页头 ---------- */
    .header_bottom { height: 62px; }
    .header_bottom .logo { height: 62px; line-height: 62px; }
    .header_bottom .logo img { max-height: 40px; }
    .header_bottom .logo span { font-size: 20px !important; }
    .menu-toggle { width: 40px; height: 40px; margin-top: 11px; }
    .menu-toggle span { top: 19px; }
    .header_bottom ul.menu { top: 62px; max-height: calc(100vh - 62px); }
    .header_bottom .menu li .text { height: 46px; line-height: 46px; padding: 0 14px; font-size: 14px; }
    .header_bottom .menu li.has-sub > .text { padding-right: 58px; }
    .sub-toggle { width: 48px; height: 46px; }
    .header_bottom .menu .sub-menu a { height: 42px; line-height: 42px; padding-left: 28px; }

    /* ---------- 通栏轮播 ---------- */
    .banner, .banner ul, .banner li { height: 232px; }
    .bannerword { top: 38px; left: 14px; padding-right: 14px; }
    .bannerword.center { top: 38px; padding: 0 14px; }
    .bannerword .word1 { font-size: 18px; line-height: 27px; }
    .bannerword .word2 { font-size: 12.5px; line-height: 20px; }
    .bannerword .word-btn { margin-top: 14px; padding: 8px 24px; font-size: 12px; }
    .banner .btn { bottom: 12px; }
    .banner .btn span { width: 24px; height: 3px; margin: 0 4px; }
    .banner .btn span.on { width: 32px; }

    /* ---------- 通用标题 ---------- */
    .gg_title { margin: 26px auto 18px; }
    .gg_title dt { font-size: 20px; line-height: 30px; }
    .gg_title dd { font-size: 12px; line-height: 18px; }
    .gg_title dd i { font-size: 12px; }
    .gg_title .line { top: 38px; width: 100px; margin-left: -50px; }

    /* ---------- 首页 · 简介 ---------- */
    .iabout { padding-bottom: 26px; }
    .iabout-tit { padding: 0 0 20px; font-size: 13px; }
    .iabout-txt li .ico { width: 64px; height: 64px; }
    .iabout-txt li .ico svg { width: 28px; height: 28px; }
    .iabout-txt li b { font-size: 13px; line-height: 26px; }
    .iabout-txt li i { display: none; }

    /* ---------- 首页 · 课程 ---------- */
    .ikecheng-m li a { padding: 12px; }
    .ikecheng-m li .img { width: 72px; margin-right: 12px; }
    .ikecheng-m li .img img { width: 72px; height: 72px; }
    .ikecheng-m li .img .ph-round { width: 72px; height: 72px; font-size: 20px; }
    .ikecheng-m li .txt h4 { font-size: 15px; line-height: 26px; }
    .ikecheng-m li .txt p { font-size: 12px; line-height: 20px; height: 40px; }

    /* ---------- 首页 · 新闻 ---------- */
    .index_listC .m-banner,
    .new-list,
    .new-list ul.ck-slide-wrapper,
    .new-list ul.ck-slide-wrapper li,
    .new-list ul li img { height: 190px; }
    .new-list .shade { padding: 26px 12px 10px; }
    .shade .new-tt { font-size: 13px; }
    .shade .new-cont { font-size: 11px; line-height: 16px; height: 32px; }
    .new-list .ctrl-slide { width: 26px; height: 26px; line-height: 26px; bottom: 10px; right: 10px; }
    .new-list .ck-prev { margin-right: 32px; }
    .index_listC .list li .data { width: 56px; height: 56px; }
    .index_listC .list li .data strong { font-size: 20px; line-height: 30px; }
    .index_listC .list li .data i { top: 15px; height: 24px; }
    .index_listC .list li .words h3 { font-size: 14px; line-height: 24px; }

    /* ---------- 内页栅格 ---------- */
    .zzry_A li span { line-height: 34px; font-size: 13px; }
    .zzry_A li .zzry-thumb .ph-cover { height: 100%; aspect-ratio: 1 / 1; }
    .zzry_A li img { aspect-ratio: 1 / 1; }
    .kecheng_page li .img,
    .kecheng_page li .img img,
    .kecheng_page li .img .ph { height: 120px; }
    .kecheng_page li .txt { padding: 11px 11px 14px; }
    .kecheng_page li .txt h4 { font-size: 15px; line-height: 24px; }
    .kecheng_page li .txt p { font-size: 12px; line-height: 20px; height: 40px; }
    .team_page li .mask { padding: 24px 10px 10px; }
    .team_page li .mask h4 { font-size: 14px; line-height: 22px; }
    .team_page li .mask p { display: none; }

    /* ---------- 文章详情 ---------- */
    .article-head h1 { font-size: 18px; line-height: 28px; margin-bottom: 10px; }
    .article-head .meta span { font-size: 11.5px; }
    .article-body { font-size: 14.5px; }
    .article-foot { font-size: 12.5px; }

    /* ---------- 课程 / 讲师详情 ---------- */
    .kd-head .cover { height: 150px; }
    .kd-head .info h1 { font-size: 17px; line-height: 27px; }
    .kd-head .info .price { font-size: 18px; }
    .td-photo { max-width: 220px; }
    .td-info h1 { font-size: 19px; }
    .td-info .tags span { font-size: 11px; }

    /* ---------- 联系 / 留言 ---------- */
    .contact-card { padding: 16px 14px; }
    .contact-card .row-item { flex-direction: column; gap: 2px; }
    .contact-card .row-item .k { width: auto; color: #aaa; }
    .gbook-box input[type=text],
    .gbook-box textarea { padding: 11px 12px; }
    .gbook-box .captcha-row { gap: 10px; }

    /* ---------- 页脚 ---------- */
    .footer .ul { padding: 24px 0 20px; }
    .footer .ul .li { width: 50%; }
    .footer .ul .li a { font-size: 12.5px; line-height: 28px; }
    .footer .ul .li a span { line-height: 38px; font-size: 14px; }
    .footer .ul .lib .p2 { font-size: 12.5px; line-height: 24px; }

    /* ---------- 404 ---------- */
    .error-page { padding: 52px 0 68px; }
    .error-page .code { font-size: 52px; letter-spacing: 2px; }
    .error-page h2 { font-size: 16px; }
    .error-page p { font-size: 13px; }
}
