/* Responsive overrides for 乐柠教育官网 — PC + 移动端自适应
 *
 * responsive.css     — 全站通用 + AI短视频首页 (/)
 * responsive-harmony.css — 鸿蒙页 (/harmony/) 专用，在 LandingLayout 中按 variant 加载
 * landing-common.css — 落地页共享（侧边栏、bounce 动画）
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0 !important;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* 中文标题：避免单字断行 */
.title-wrapper .title,
.le-content .title-wrapper .title,
.le-content2 .title-wrapper .title,
.le-content3 .title-wrapper .title,
.le-content4 .title-wrapper .title,
.le-content-ai-yy .title-wrapper .title,
.le-content-ai-kcsx .title-wrapper .title,
.le-content-ai-report .title-wrapper .title {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.45;
}

@media (min-width: 769px) {
  .news-site-header .news-mobile-nav-toggle,
  .news-site-header .news-mobile-nav {
    display: none !important;
  }
}

/* ── Tablet & below ── */
@media (max-width: 1199px) {
  body {
    overflow-y: auto !important;
  }

  .header-inner,
  .footer-top,
  .news-container,
  .article-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .le-swiper-container .le-nav-header-title .inner,
  .le-swiper-container .le-header,
  .le-content .banner-wrapper,
  .le-content3 .img-nav,
  .le-content3 .content-wrapper .content,
  .aigc-container .banner-btns,
  .aigc-container .aigc-banner-wrapper,
  .le-content4 .content-wrapper .left-wrapper,
  .le-content4 .content-wrapper .right-wrapper,
  .le-content-ai-yy .img-nav,
  .le-content-ai-kcsx .content-wrapper,
  .le-content-ai-report .content-wrapper,
  .mask_video .video_con,
  .le-harmony-mode .content-wrapper,
  .le-harmony-boss .content-wrapper,
  .le-harmony-study .content-wrapper,
  .le-harmony-develop .content-wrapper,
  .le-harmony-use .content-wrapper,
  .le-harmony-certificate .content-wrapper,
  .le-harmony-future .content-wrapper,
  .le-harmony-service .content-wrapper,
  .le-harmony-news .content-wrapper,
  .le-harmony-os .content-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .le-content2 .content-wrapper,
  .le-content3 .content-wrapper .content,
  .le-content3 .content-wrapper .content .container,
  .le-content4 .content-wrapper,
  .le-content-ai-yy .content-wrapper .content,
  .le-content-ai-kcsx .content-wrapper,
  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* 第三屏：三阶段卡片 — 平板/窄屏字号与全站统一 */
  .le-content2 .content-wrapper .content {
    padding: 0.425rem 0 !important;
  }

  .le-content2 .content-wrapper .content:nth-child(2) {
    margin: 0 !important;
  }

  .le-content2 .content-wrapper .text1,
  .le-content2 .content-wrapper .content .text1 {
    display: block;
    width: auto !important;
    max-width: 100%;
    white-space: normal !important;
    line-height: 1.4 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #ff483b !important;
    text-align: center;
    padding-bottom: 0.25rem !important;
    border-bottom: 4px solid #ffe3d7 !important;
    margin: 0 auto 0.35rem;
  }

  .le-content2 .content-wrapper .text2,
  .le-content2 .content-wrapper .content .text2 {
    display: block;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #727272 !important;
    text-align: center;
    margin: 0 0 0.65rem !important;
  }

  .le-content2 .content-wrapper .text3,
  .le-content2 .content-wrapper .content .content-box .text3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: #505050 !important;
    text-align: center;
    margin: 0.65rem 0 0.25rem !important;
    padding: 0 0.5rem;
    white-space: normal !important;
    word-break: break-word;
  }

  .le-content2 .content-wrapper .text4,
  .le-content2 .content-wrapper .content .content-box .text4 {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: #8a8a8a !important;
    text-align: center;
    margin: 0 !important;
    padding: 0 0.5rem 0.25rem;
    white-space: normal !important;
  }

  .le-content2 .content-wrapper .content .content-box {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.65rem !important;
    border-radius: 12px !important;
  }

  .le-content2 .content-wrapper .content .content-box:hover {
    transform: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  }

  .le-content2 .content-wrapper .content .content-box img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  .le-harmony-boss .content-wrapper .content-container,
  .le-harmony-study .content-wrapper .content-container,
  .le-harmony-develop .content-wrapper .content-container {
    flex-direction: column !important;
    height: auto !important;
    align-items: center;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }

  /* ─── 首屏：轮播 + 顶栏 + 三快捷入口 ─── */
  .header-container {
    overflow: visible !important;
  }

  .header-container .le-swiper-container {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible !important;
  }

  /* 顶栏浮在轮播上，深色底保证白字/白 logo 可见 */
  .le-swiper-container .le-nav-header-title {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: auto !important;
    min-height: 0;
    padding: max(0.05rem, env(safe-area-inset-top, 0px)) 0 0.1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 85%, transparent 100%);
    overflow: visible !important;
  }

  .le-swiper-container .le-nav-header-title:has(.nav.open) {
    z-index: 9999 !important;
  }

  .le-swiper-container .le-nav-header-title .inner {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    height: auto;
    padding: 0 0.3rem;
    gap: 0;
    overflow: visible !important;
  }

  .le-swiper-container .le-nav-header-title .inner .logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    align-items: center;
    align-self: center;
    justify-self: start;
  }

  .le-swiper-container .le-nav-header-title .inner .logo h1,
  .le-swiper-container .le-nav-header-title .inner .logo .hp {
    margin: 0;
    line-height: 0;
  }

  .le-swiper-container .le-nav-header-title .inner .logo img,
  .le-swiper-container .le-nav-header-title .inner .logo .hp a img {
    max-height: 40px !important;
    height: 40px !important;
    width: auto;
    display: block;
  }

  .le-swiper-container .le-nav-header-title .inner .logo p {
    display: none;
  }

  .le-swiper-container .le-nav-header-title .inner .nav {
    display: none;
    grid-column: 2;
    grid-row: 2;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    justify-self: end;
    z-index: 10000;
    flex-direction: column;
    flex: none !important;
    width: max-content !important;
    min-width: max-content;
    max-width: calc(100vw - 1rem);
    margin: 2px 0 0;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.92);
    border-radius: 8px;
    padding: 0.15rem 0.2rem;
    overflow: visible;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }

  .le-swiper-container .le-nav-header-title .inner .nav.open {
    display: flex;
  }

  .le-swiper-container .le-nav-header-title .inner .nav a,
  .le-swiper-container .le-nav-header-title .inner .nav .nav-item {
    display: block;
    width: 100% !important;
    max-width: none;
    height: auto !important;
    line-height: 1.25;
    padding: 0.28rem 0.35rem !important;
    text-align: center;
    white-space: nowrap;
    font-size: 11px !important;
    border-radius: 0 !important;
    box-sizing: border-box;
  }

  .le-swiper-container .le-nav-header-title .inner .nav .nav-item.active,
  .le-swiper-container .le-nav-header-title .inner .nav a.active {
    border-radius: 4px !important;
    margin: 0;
  }

  .landing-mobile-nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin: 0 0 0 auto !important;
    flex-shrink: 0;
    border-color: rgba(255, 255, 255, 0.65) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    position: relative;
    z-index: 10001;
  }

  .landing-mobile-nav-toggle span {
    background: #fff !important;
  }

  /* 轮播区高度 */
  .le-swiper-container .le-swiper-wrapper {
    width: 100%;
    order: 1;
  }

  .le-swiper-container .le-swiper-wrapper .swiper-slide img {
    width: 100%;
    min-height: 200px;
    max-height: 42vh;
    object-fit: cover;
  }

  .swiper-pagination {
    bottom: 12px !important;
  }

  /* 四快捷入口：轮播下方单行四列，图标与文字同行 */
  .le-swiper-container .le-header {
    position: relative !important;
    top: 0 !important;
    order: 2;
    z-index: 1;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.2rem !important;
    width: calc(100% - 0.5rem) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0.375rem auto 0.25rem !important;
    padding: 0.35rem 0.4rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    box-sizing: border-box;
  }

  .le-swiper-container .le-header .le-header-item {
    display: flex !important;
    flex: unset !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    text-align: left;
    gap: 0.15rem;
  }

  .le-swiper-container .le-header .le-header-item .img {
    flex-shrink: 0;
    width: 18px !important;
    height: 16px !important;
  }

  .le-swiper-container .le-header .le-header-item .text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 9px !important;
    line-height: 1.15 !important;
    display: block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 鸿蒙首屏四快捷入口（含描述文案）— 单行四列 */
  .le-swiper-container .le-header:has(.nav-text-item) {
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 0.22rem 0.25rem !important;
    gap: 0.1rem !important;
    margin: 0.28rem auto 0.15rem !important;
    align-items: stretch !important;
  }

  .le-swiper-container .le-header:has(.nav-text-item) .le-header-item {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.06rem !important;
    padding: 0.06rem 0.04rem !important;
    text-align: center;
  }

  .le-swiper-container .le-header:has(.nav-text-item) .le-header-item .img {
    width: 24px !important;
    height: 22px !important;
  }

  .le-swiper-container .le-header .le-header-item .nav-text-item {
    margin: 0 !important;
    flex: 1;
    min-width: 0;
    width: 100%;
  }

  .le-swiper-container .le-header .le-header-item .nav-text-item .text {
    font-size: 9px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: keep-all !important;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 !important;
    display: block !important;
  }

  .le-swiper-container .le-header .le-header-item .nav-text-item .text-desc {
    margin-top: 0.03rem !important;
    line-height: 1.15 !important;
    font-size: 7px !important;
    min-height: 0 !important;
    text-align: center;
  }

  .le-swiper-container .le-header .le-header-item .nav-text-item .text-desc p {
    margin: 0 !important;
    white-space: normal;
    line-height: 1.2 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .le-swiper-container .le-header .le-header-item .nav-text-item .text-desc p:not(:first-child) {
    display: none !important;
  }

  /* ─── 区块标题（移动端阅读字号） ─── */
  .le-content,
  .le-content2,
  .le-content3,
  .le-content4,
  .le-content-ai-yy,
  .le-content-ai-kcsx,
  .le-content-ai-report {
    width: 100% !important;
    align-items: stretch !important;
  }

  .title-wrapper {
    margin-top: 0.875rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .le-content .title-wrapper,
  .le-content2 .title-wrapper,
  .le-content3 .title-wrapper,
  .le-content4 .title-wrapper,
  .le-content-ai-yy .title-wrapper,
  .le-content-ai-kcsx .title-wrapper,
  .le-content-ai-report .title-wrapper,
  .le-harmony-mode .title-wrapper,
  .le-harmony-os .title-wrapper,
  .le-harmony-boss .title-wrapper,
  .le-harmony-study .title-wrapper,
  .le-harmony-develop .title-wrapper,
  .le-harmony-use .title-wrapper,
  .le-harmony-certificate .title-wrapper,
  .le-harmony-future .title-wrapper,
  .le-harmony-service .title-wrapper,
  .le-harmony-news .title-wrapper {
    margin-top: 0.875rem !important;
    margin-bottom: 0.5rem !important;
  }

  .title-wrapper p.title,
  .title-wrapper .title,
  .le-content .title-wrapper p.title,
  .le-content .title-wrapper .title,
  .le-content2 .title-wrapper p.title,
  .le-content2 .title-wrapper .title,
  .le-content3 .title-wrapper p.title,
  .le-content3 .title-wrapper .title,
  .le-content4 .title-wrapper p.title,
  .le-content4 .title-wrapper .title,
  .le-content-ai-yy .title-wrapper p.title,
  .le-content-ai-yy .title-wrapper .title,
  .le-content-ai-kcsx .title-wrapper p.title,
  .le-content-ai-kcsx .title-wrapper .title,
  .le-content-ai-report .title-wrapper p.title,
  .le-content-ai-report .title-wrapper .title,
  .le-harmony-mode .title-wrapper p.title,
  .le-harmony-os .title-wrapper p.title,
  .le-harmony-boss .title-wrapper p.title,
  .le-harmony-study .title-wrapper p.title,
  .le-harmony-develop .title-wrapper p.title,
  .le-harmony-use .title-wrapper p.title,
  .le-harmony-certificate .title-wrapper p.title,
  .le-harmony-future .title-wrapper p.title,
  .le-harmony-service .title-wrapper p.title,
  .le-harmony-news .title-wrapper p.title,
  .le-harmony-os .title-wrapper .title,
  .le-harmony-boss .title-wrapper .title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.65 !important;
    overflow: visible !important;
    padding: 0 0 0.35rem !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    letter-spacing: 0;
  }

  .title-wrapper p.desc,
  .title-wrapper .desc,
  .le-content .title-wrapper p.desc,
  .le-content .title-wrapper .desc,
  .le-content2 .title-wrapper p.desc,
  .le-content2 .title-wrapper .desc,
  .le-content3 .title-wrapper p.desc,
  .le-content3 .title-wrapper .desc,
  .le-content4 .title-wrapper p.desc,
  .le-content4 .title-wrapper .desc,
  .le-content-ai-yy .title-wrapper p.desc,
  .le-content-ai-yy .title-wrapper .desc,
  .le-content-ai-kcsx .title-wrapper p.desc,
  .le-content-ai-kcsx .title-wrapper .desc,
  .le-content-ai-report .title-wrapper p.desc,
  .le-content-ai-report .title-wrapper .desc,
  .le-harmony-mode .title-wrapper p.desc,
  .le-harmony-os .title-wrapper p.desc,
  .le-harmony-boss .title-wrapper p.desc,
  .le-harmony-study .title-wrapper p.desc,
  .le-harmony-develop .title-wrapper p.desc,
  .le-harmony-use .title-wrapper p.desc,
  .le-harmony-certificate .title-wrapper p.desc,
  .le-harmony-future .title-wrapper p.desc,
  .le-harmony-service .title-wrapper p.desc,
  .le-harmony-news .title-wrapper p.desc {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #666 !important;
    padding: 0 0.25rem !important;
    text-align: center !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .section-title {
    font-size: 1.0625rem !important;
  }

  /* ─── 第二屏：轻入行 tab + 大图 ─── */
  .header-container .le-content {
    padding: 0 0.75rem 0 !important;
    width: 100%;
    overflow: visible !important;
  }

  .le-content {
    padding: 0 0.75rem;
    width: 100%;
    overflow: visible !important;
    /* 轻入行 Tab 大图：视觉宽度 100%，等比放大（改此值可调清晰度，建议 1.12–1.22） */
    --le-banner-img-scale: 1.18;
  }

  /* 轻入行：三 Tab 单行 + 下方大图完整展示 */
  .le-content .banner-btn {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: stretch;
    width: 100%;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    font-size: 12px;
  }

  .le-content .banner-btn .btn-tab {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 52px;
    line-height: 1.3 !important;
    padding: 0.45rem 0.3rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px !important;
    border-radius: 10px !important;
    box-sizing: border-box;
    border: 1px solid #e8e8e8;
    background: #fff !important;
    color: #333 !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .le-content .banner-btn .btn-tab:nth-child(2) {
    margin: 0 !important;
  }

  .le-content .banner-btn .btn-tab.active,
  .le-content .banner-btn .active {
    background: linear-gradient(135deg, #1a9cf0 0%, #2dd4bf 100%) !important;
    background-image: linear-gradient(135deg, #1a9cf0 0%, #2dd4bf 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    height: auto !important;
    min-height: 52px;
    line-height: 1.3 !important;
    border-color: transparent !important;
    box-shadow: 0 2px 8px rgba(26, 156, 240, 0.25);
  }

  .le-content .banner-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    overflow: visible;
    padding: 0;
    margin: 0 !important;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .le-content .bd-tab,
  .le-content .bd-tab ul {
    width: 100% !important;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .le-content .bd-tab li.con-tab {
    width: 100% !important;
    margin: 0;
    padding: 0;
  }

  .le-content .bd-tab .li_in,
  .le-content .bd-tab .li_in a {
    display: block;
    width: 100% !important;
    line-height: 0;
    overflow: visible;
    padding: 0;
    padding-bottom: calc((var(--le-banner-img-scale) - 1) * 18vw);
  }

  .le-content .banner-wrapper {
    overflow: visible;
  }

  /* 先缩小再 scale，视觉宽度仍为 100%，高度随比例增加且不裁切左右 */
  .le-content .banner-wrapper img,
  .le-content .bd-tab .con-tab img {
    width: calc(100% / var(--le-banner-img-scale)) !important;
    height: auto !important;
    max-width: none !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transform: scale(var(--le-banner-img-scale));
    transform-origin: top center;
    object-fit: contain;
    object-position: center top;
  }

  .header-container .le-content .title-wrapper {
    margin-top: 0.4375rem !important;
    margin-bottom: 0.375rem !important;
  }

  .le-content-footer {
    margin-top: 0.375rem !important;
    margin-bottom: 0.5rem !important;
  }

  /* 首屏轻入行：了解短视频运营 / 就业前景分析 — 按钮区上下留白对称 */
  .header-container > .le-content-footer.common-btn {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0.5rem 0.75rem !important;
    width: 100%;
    box-sizing: border-box;
  }

  /* ─── 第三屏：三阶段卡片（移动端间距微调）─── */
  .le-content2 .content-wrapper {
    width: 100%;
    padding: 0 0.75rem;
  }

  .le-content2 .content-wrapper .content {
    width: 100% !important;
  }

  /* ─── 第四屏：课程卡片（移动端两列并排）─── */
  .le-content3 {
    padding: 0 0.75rem 0.75rem !important;
  }

  .le-content3 .img-nav {
    display: none;
  }

  .le-content3 .content-wrapper .content {
    margin-top: 1rem !important;
    width: 100% !important;
  }

  .le-content3 .content-wrapper .content .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    row-gap: 0.25rem !important;
    column-gap: 0.5rem !important;
  }

  .le-content3 .content-wrapper .content .card {
    flex: 1 1 calc(50% - 0.25rem) !important;
    width: calc(50% - 0.25rem) !important;
    max-width: calc(50% - 0.25rem) !important;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0.25rem;
  }

  .le-content3 .content-wrapper .content .card h2 {
    font-size: 12px !important;
    height: auto !important;
    line-height: 1.35 !important;
    padding: 8px 4px !important;
  }

  .le-content3 .content-wrapper .content .card p {
    font-size: 11px !important;
    margin-bottom: 6px !important;
    padding: 0 6px !important;
    line-height: 1.45 !important;
  }

  .le-content3 .content-wrapper .content .card h3 {
    font-size: 11px !important;
    margin: 6px 0 !important;
  }

  .le-content3 .content-wrapper .content .card:hover {
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }

  .le-content3 .content-wrapper .content .card .studyafter {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0.25rem !important;
    padding: 8px !important;
    text-align: center !important;
  }

  .le-content3 .content-wrapper .content .card .studyafter ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .le-content3 .content-wrapper .content .card .studyafter ul li {
    height: auto !important;
    line-height: 1.5 !important;
    padding: 0.1rem 0;
    font-size: 10px !important;
    text-align: center !important;
  }

  .le-content3 .content-wrapper .content > :not(:last-child) {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  /* ─── AIGC / AI 区块 ─── */
  .aigc-container {
    padding-bottom: 0.75rem !important;
  }

  .aigc-container .banner-btns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    width: 100%;
    padding: 0 0.5rem;
    min-width: 0 !important;
    margin-bottom: 0.375rem !important;
  }

  .aigc-container .banner-btns .btn {
    flex: none !important;
    height: auto !important;
    min-height: 40px;
    line-height: 1.3 !important;
    padding: 0.4rem 0.2rem !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 22px;
    border: 1px solid #ddd;
    background: #fff !important;
    color: #333 !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .aigc-container .banner-btns .btn.active {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000;
  }

  .aigc-container .aigc-banner-wrapper {
    border-radius: 16px !important;
    margin: 0 0.5rem;
    width: calc(100% - 1rem) !important;
    min-width: 0 !important;
    overflow: hidden;
    position: relative;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content {
    display: none !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content.active {
    display: block !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    padding: 0.5rem !important;
    gap: 0.5rem;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .vertical-divider {
    display: none !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .aigc-left,
  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .aigc-right {
    flex: none !important;
    width: 100% !important;
    float: none !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .aigc-left .title {
    line-height: 1.35 !important;
    font-size: 16px !important;
    white-space: normal !important;
    display: block !important;
    padding-bottom: 0.35rem !important;
    border-bottom: 4px solid #000 !important;
    margin-bottom: 0.75rem;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .aigc-right .title {
    display: none !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .aigc-left .aigc-content,
  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .aigc-right .aigc-content {
    margin: 0 !important;
    padding: 0.45rem 0.35rem !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .aigc-right .aigc-content {
    background-color: rgba(255, 255, 255, 0.12);
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .study {
    font-size: 13px !important;
    padding: 6px 12px !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .study-list {
    margin-top: 0.5rem !important;
  }

  .aigc-container .aigc-banner-wrapper .aigc-tab-content .con-tab .study-list p {
    height: auto !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
    font-size: 13px !important;
    white-space: normal !important;
  }

  .aigc-container .footer-btn {
    position: static !important;
    display: block !important;
    width: calc(100% - 1.5rem) !important;
    margin: 1rem 0.75rem 0 !important;
    text-align: center !important;
    box-sizing: border-box;
    padding: 14px 20px !important;
    border-radius: 28px !important;
    cursor: pointer !important;
  }

  /* 第七屏 AI 核心图 — 可调参数（宽度/高度/间距） */
  .le-content-ai-yy {
    --ai-yy-img-width: 92%;
    --ai-yy-img-scale-x: 1;
    --ai-yy-img-scale-y: 1.2;
    --ai-yy-img-gap-base: 0.35rem;
    --ai-yy-img-gap-scale: 25vw;
    padding-bottom: 0.2rem !important;
  }

  .le-content-ai-yy .content-wrapper {
    width: 100% !important;
    padding: 0 0.35rem !important;
    box-sizing: border-box;
  }

  .le-content-ai-yy .img-nav {
    width: var(--ai-yy-img-width) !important;
    max-width: calc(100% - 1.25rem);
    height: auto !important;
    margin: 0 auto !important;
    display: block;
    transform: scale(var(--ai-yy-img-scale-x), var(--ai-yy-img-scale-y));
    transform-origin: top center;
    margin-bottom: calc(var(--ai-yy-img-gap-base) + (var(--ai-yy-img-scale-y) - 1) * var(--ai-yy-img-gap-scale)) !important;
  }

  .le-content-ai-yy .img-nav:last-child {
    margin-bottom: 0.25rem !important;
  }

  .le-content-ai-report .img-nav {
    width: calc(100% - 1.5rem) !important;
    margin: 0.75rem auto !important;
  }

  .le-content-ai-report .content-wrapper .content {
    flex-direction: column !important;
    padding: 0 0.75rem;
  }

  .le-content-ai-report .content-wrapper .content > :not(:last-child) {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  .le-content-ai-report .content-wrapper .content img {
    width: 100% !important;
    height: auto !important;
  }

  .le-content-ai-yy .content-wrapper .content > :not(:last-child),
  .le-content-ai-kcsx .content-wrapper > :not(:last-child) {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  /* ─── 第八屏：课程实训 ─── */
  .le-content-ai-kcsx {
    padding-bottom: 0.75rem !important;
  }

  .le-content-ai-kcsx .content-wrapper {
    width: 100% !important;
    padding: 0 0.75rem;
    flex-direction: column !important;
  }

  .le-content-ai-kcsx .content-wrapper .container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .le-content-ai-kcsx .content-wrapper .sidebar {
    width: 100% !important;
    float: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 0.375rem;
    border-radius: 0 !important;
  }

  .le-content-ai-kcsx .content-wrapper .sidebar ul {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .le-content-ai-kcsx .content-wrapper .sidebar li {
    height: auto !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    border: none !important;
  }

  .le-content-ai-kcsx .content-wrapper .sidebar a,
  .le-content-ai-kcsx .content-wrapper .sidebar .active a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.4rem 0.2rem !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    border-radius: 22px !important;
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #e8bb68;
    font-weight: 600 !important;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .le-content-ai-kcsx .content-wrapper .sidebar .li-tab.active a {
    background: #e8bb68 !important;
    color: #fff !important;
    border-color: #e8bb68;
  }

  .le-content-ai-kcsx .content-wrapper .content {
    display: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .le-content-ai-kcsx .content-wrapper .content.active {
    display: block !important;
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right {
    width: 100% !important;
    float: none !important;
    padding: 0.75rem !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right .nav {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem !important;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    color: #666;
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right .nav .header {
    flex: 1;
    font-size: 17px !important;
    line-height: 1.35 !important;
    color: #131313 !important;
    font-weight: 700 !important;
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right .nav span {
    padding: 0 !important;
    background: none !important;
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    white-space: nowrap;
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right .btn {
    display: inline-block !important;
    margin-top: 0.4rem !important;
    margin-bottom: 0.25rem !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 20px !important;
    background-color: #e8af68 !important;
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right .nav + .btn {
    margin-top: 0.25rem !important;
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right .description {
    margin: 0 0 0.35rem !important;
    padding: 0.65rem !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #444 !important;
    background: #fafafa;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .le-content-ai-kcsx .content-wrapper .content .content-right .description + .btn {
    margin-top: 0.35rem !important;
  }

  .le-content-ai-kcsx .le-content-footer.common-btn {
    flex-direction: row !important;
    justify-content: center;
    padding: 0 0.75rem;
    margin-bottom: 0.25rem !important;
  }

  .le-content-ai-kcsx .le-content-footer.common-btn .btn {
    flex: 1 1 auto;
    max-width: 280px !important;
  }

  /* ─── 通用 CTA 按钮 ─── */
  .common-btn {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
    gap: 0.75rem;
    width: 100%;
  }

  .common-btn .btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 16px !important;
    height: 50px !important;
    line-height: 50px !important;
  }

  .common-btn .btn:hover {
    transform: none !important;
  }

  /* 底部双按钮：一行均匀居中 */
  .le-content-footer.common-btn {
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.75rem;
    width: 100%;
  }

  .le-content-footer.common-btn .btn {
    flex: 1 1 0;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    font-size: 14px !important;
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 0.35rem;
  }

  /* ─── 视频区块（第六屏学员作品） ─── */
  .le-content4 .content-wrapper {
    padding: 0 0.75rem !important;
    gap: 0.5rem;
  }

  .le-content4 .content-wrapper .left-wrapper {
    height: auto !important;
    margin: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: transparent !important;
  }

  .le-content4 .content-wrapper .left-wrapper .bg {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #111 !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .le-content4 .content-wrapper .left-wrapper .bg img {
    width: 48px !important;
    height: auto !important;
  }

  .le-content4 .content-wrapper .left-wrapper .play {
    margin-top: 0.5rem !important;
    font-size: 14px !important;
  }

  .le-content4 .content-wrapper .left-wrapper .info-wrapper {
    padding: 0.75rem 0.5rem 0 !important;
    background: #fff;
    border-radius: 0 0 16px 16px;
  }

  .le-content4 .content-wrapper .left-wrapper .info-wrapper .left-info .text1 {
    margin-left: 0 !important;
    margin-bottom: 0.35rem !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .le-content4 .content-wrapper .right-wrapper {
    width: 100% !important;
    background-size: cover;
    border-radius: 16px !important;
    overflow: hidden;
  }

  .le-content4 .content-wrapper .right-wrapper ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    width: 100%;
    padding: 0.35rem 0.25rem !important;
    margin: 0;
  }

  .le-content4 .content-wrapper .right-wrapper li {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    border-bottom: none !important;
  }

  .le-content4 .content-wrapper .right-wrapper li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-height: 28px;
    box-sizing: border-box;
    font-size: inherit !important;
    line-height: 1.25 !important;
    padding: 0.3rem 0.15rem !important;
    border-radius: 12px !important;
    background-color: transparent;
    color: #fff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .le-content4 .content-wrapper .right-wrapper li.active a,
  .le-content4 .content-wrapper .right-wrapper .tab-wrapper.active a {
    background-color: #fff !important;
    color: #e8a268 !important;
  }

  /* 第六屏底部按钮 */
  .le-content4 > .le-content-footer.common-btn {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0.75rem auto 10px !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .le-content4 > .le-content-footer.common-btn .btn {
    display: block !important;
    width: 280px !important;
    max-width: 280px !important;
    height: 40px !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 40px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
    box-sizing: border-box;
  }

  .hero-content {
    left: 1rem !important;
    bottom: 1rem !important;
  }

  .hero-content h2 {
    font-size: 1.125rem;
  }

  /* ─── 底部咨询栏 ─── */
  .le-sidebar {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    padding: 0 !important;
    border: none !important;
    border-top: 1px solid #eee !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 200;
  }

  .le-sidebar hr.divider {
    display: none;
  }

  .le-sidebar .sidebar-item,
  .le-sidebar a.sidebar-item {
    flex: 1;
    width: auto !important;
    height: 56px !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .le-sidebar .sidebar-item .text {
    font-size: 12px !important;
  }

  .le-sidebar .sidebar-item:hover {
    border-radius: 0 !important;
  }

  /* ─── 页脚 ─── */
  .footer .footer-top {
    width: 100% !important;
    padding: 0.75rem 1rem 0.5rem !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.3125rem !important;
    text-align: center;
  }

  .footer .logo img {
    width: 110px !important;
    height: auto;
  }

  .footer .footer-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 0 !important;
    width: 100%;
    max-width: 100%;
    padding: 0 0.35rem;
  }

  .footer .footer-nav a {
    flex: 1 1 0;
    min-width: 0;
    font-size: 11px !important;
    padding: 0.35rem 0.15rem !important;
    text-align: center;
    white-space: nowrap;
  }

  .footer .footer-nav a:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.35);
  }

  .footer .footer-nav a:not(:last-child)::after {
    display: none !important;
  }

  .footer .footer-bottom {
    font-size: 11px !important;
    line-height: 1.65 !important;
    padding: 6px 16px 16px !important;
    word-break: break-all;
  }

  /* ─── 资讯列表/详情 ─── */
  .landing-mobile-nav-toggle,
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .landing-mobile-nav-toggle span,
  .mobile-nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 1px;
  }

  /* 首屏轮播顶栏：菜单按钮更小（覆盖上方通用 40px） */
  .le-swiper-container .le-nav-header-title .landing-mobile-nav-toggle {
    width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
    gap: 4px !important;
    border-radius: 5px !important;
    align-self: center;
    margin: 0 0 0 auto !important;
    flex-shrink: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    position: relative;
    z-index: 10001;
  }

  .le-swiper-container .le-nav-header-title .landing-mobile-nav-toggle span {
    background: #fff !important;
  }

  /* ─── 资讯列表/详情 ─── */
  article .news-container .article-item {
    flex-direction: column;
    transform: none !important;
  }

  article .news-container .article-item:hover {
    transform: none !important;
  }

  article .news-container .article .title {
    font-size: 0.4rem;
  }

  .article-container,
  .news-container {
    width: 100% !important;
    padding: 1rem !important;
  }

  .mask_video .video_con {
    width: calc(100vw - 2rem) !important;
    max-width: 100% !important;
  }

  .mask_video .video_con video {
    width: 100% !important;
    height: auto !important;
    max-height: 70vh;
  }

  .mask_video .video_con .close {
    right: 0 !important;
    top: -40px !important;
  }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .footer .footer-nav a {
    font-size: 10px !important;
    padding: 0.3rem 0.08rem !important;
  }

  .le-swiper-container .le-header {
    width: calc(100% - 0.35rem) !important;
    padding: 0.3rem 0.3rem !important;
    gap: 0.12rem !important;
  }

  .le-swiper-container .le-header .le-header-item {
    gap: 0.1rem;
  }

  .le-swiper-container .le-header .le-header-item .text {
    font-size: 8px !important;
  }

  .le-swiper-container .le-header .le-header-item .img {
    width: 16px !important;
    height: 14px !important;
  }

  .le-swiper-container .le-header:has(.nav-text-item) .le-header-item .img {
    width: 22px !important;
    height: 20px !important;
  }

  .le-swiper-container .le-header:has(.nav-text-item) .le-header-item .nav-text-item .text {
    font-size: 8px !important;
    white-space: nowrap !important;
  }

  .le-swiper-container .le-header:has(.nav-text-item) .le-header-item .nav-text-item .text-desc {
    font-size: 6.5px !important;
  }

