/* ============================================================
   花径教育官网首页 1:1 还原版样式
   断点：≤768px 移动端 / ≥769px 桌面端
   ============================================================ */

/* ---------- 基础重置 ---------- */
@font-face {
  font-family: "din condensed bold";
  src: url("../assets/fonts/din-condensed-bold.ttf") format("truetype");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #608aff;
  --blue-hover: #6577ff;
  --ink: #1c1d1f;
  --gray: #5e6269;
  --footer-bg: rgba(87, 91, 131, 0.8);
  --font-num: "din condensed bold", "DIN Condensed", "Bahnschrift",
    "Arial Narrow", sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  /* 原站模板在 html 上就设了 overflow-x:hidden（实测 computed 为 hidden），
     作用是：正文里超宽的松散图片（960/863/553px）不会让整页被手指横向拖动。
     只在 body 上设不够——Chrome 仍会把 documentElement.scrollWidth 撑大，
     实测本地能 scrollTo(400) 横向拖走，原站 scrollX 恒为 0。 */
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  border: 0;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.page {
  padding-top: 0;
}

/* ============================================================
   头部导航
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  padding: 0 10px;
  background: #fff;
  box-shadow: 0 1px 0 0 rgba(169, 169, 169, 0.48);
  opacity: 0.8;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo {
  max-width: 43px;
  margin-right: 5px;
  object-fit: contain;
}

.brand-name {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  color: var(--ink);
}

.brand-sub {
  margin-left: 10px;
  margin-top: 6px;
  font-size: 26px;
  font-weight: normal;
  line-height: 1;
  color: var(--ink);
}

/* 桌面端导航 */
.main-nav ul {
  display: flex;
  justify-content: flex-end;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 0 1.5vw;
  font-size: 16px;
  line-height: 80px;
  text-align: center;
  color: var(--ink);
}

.main-nav a span,
.main-nav a {
  position: relative;
}

/* 悬停时底部蓝色下划线展开 */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  margin: 0 auto;
  background: var(--blue-hover);
  transition: all ease 0.3s;
}

.main-nav a:hover::after,
.main-nav a.current::after {
  width: 51%;
}

.main-nav a:hover {
  font-weight: 600;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: flex-end;
  width: 45px;
  height: 45px;
  color: #333;
}

.nav-toggle .icon-close {
  display: none;
}

/* 移动端全屏菜单 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 98;
  width: 100%;
  height: 100%;
  padding: 80px 20px 20px;
  background: #fbfbfb;
}

.mobile-nav ul li {
  border-bottom: 1px solid rgb(0 0 0 / 5%);
  line-height: 50px;
  font-size: 14px;
}

.mobile-nav ul li a {
  display: inline;
  padding: 0;
  line-height: 50px;
  color: #333;
}

body.nav-open .mobile-nav {
  display: block;
}

body.nav-open .nav-toggle .icon-open {
  display: none;
}

body.nav-open .nav-toggle .icon-close {
  display: block;
}

/* ============================================================
   横幅轮播
   ============================================================ */
.banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  /* 横向手势交给轮播拖拽，纵向留给页面滚动（iOS/Android 均需显式声明） */
  touch-action: pan-y;
}

/* Swiper 容器：撑满 .banner。位移、过渡、循环由 Swiper 自己管，
   这里不要再写 transform / transition，否则会和 Swiper 的内联样式打架 */
.banner-swiper {
  width: 100%;
  height: 100%;
}

.banner-swiper .swiper-wrapper {
  height: 100%;
}

.slide {
  height: 100%;
  overflow: hidden;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.slide-video {
  position: relative;
}

.slide-video .video-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  background: url("../assets/img/play.png") no-repeat center center;
  background-size: 72px 72px;
}

.slide-video.playing .video-mask {
  display: none;
}

/* 轮播箭头 */
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
}

.slider-btn::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-top: 2px solid #ddd;
  border-right: 2px solid #ddd;
}

.slider-btn.prev {
  left: 40px;
}

.slider-btn.prev::after {
  transform: rotate(-135deg) translate(2px, 2px);
}

.slider-btn.next {
  right: 40px;
}

.slider-btn.next::after {
  transform: rotate(45deg) translate(2px, 2px);
}

/* ============================================================
   通用标题
   ============================================================ */
.section-title {
  font-size: 22px;
  font-weight: bold;
  line-height: normal;
  color: var(--ink);
}

.section-inner {
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
}

/* ============================================================
   关于花径
   ============================================================ */
.about {
  padding-top: 65px;
  background: #fff;
}

.about-body {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

.about-text {
  flex: 0 0 32%;
}

/* 桌面端：正文在 300px 高的滚动容器内展示 */
.about-scroll {
  height: 300px;
  margin-top: 17px;
  overflow-y: auto;
}

.about-scroll p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 28px;
}

.about-mission {
  margin-top: 0;
}

.about-more {
  margin-top: 25px;
  margin-bottom: 0;
}

.about-more a {
  font-size: 16px;
  font-weight: bold;
  color: var(--blue);
}

.about-videos {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  flex-direction: row;
}

.video-card {
  flex: 1 1 0;
  min-width: 0;
}

.video-thumb {
  display: block;
  width: 90%;
  margin: 0 auto;
}

.video-thumb img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.video-caption {
  display: block;
  width: 90%;
  margin: -10px auto 0;
  padding: 8px;
  font-size: 14px;
  color: #fff;
  background: var(--blue);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   企业发展史（时间线）
   ============================================================ */
.history {
  margin-top: 77px;
}

.history .section-inner {
  padding-left: 20px;
}

.timeline {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 93px auto 0;
}

.timeline-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.timeline-row .tl-item {
  flex: 0 0 auto;
  min-width: 0;
}

/* 桌面端气泡宽度与间隔完全对齐原站（内容自适应宽 + 空白间隔项） */
.timeline-top .tl-item:nth-child(1) {
  width: 187px;
}

.timeline-top .tl-item:nth-child(2) {
  width: 208px;
  margin-left: 83px;
}

.timeline-top .tl-item:nth-child(3) {
  width: 218px;
  margin-left: 83px;
}

.timeline-top .tl-item:nth-child(4) {
  width: 208px;
  margin-left: 52px;
}

/* 下排气泡为流式宽度（行宽的 18%，随视口缩放，对齐原站） */
.timeline-bottom .tl-item {
  width: 18%;
}

.timeline-bottom .tl-item + .tl-item {
  margin-left: 8%;
}

/* 蓝色气泡框 */
.tl-box {
  position: relative;
  width: 100%;
  padding: 25px 10px;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
}

/* 第 3、4 个上排气泡内边距与原站一致（水平加大迫使换行，垂直 15px） */
.timeline-top .tl-item:nth-child(3) .tl-box {
  padding: 15px 46px;
}

.timeline-top .tl-item:nth-child(4) .tl-box {
  padding: 15px 42px;
}

/* 气泡小尾巴：骑在盒子左下角（距顶 56px，盒子高 72 → 一半在盒内一半挂出，对齐原站 71-15） */
.timeline-top .tl-box::after {
  content: "";
  position: absolute;
  left: 0;
  top: 56px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 13px;
  border-color: transparent transparent transparent var(--blue);
}

/* 年份数字 */
.tl-year {
  position: relative;
  max-width: 59px;
  margin-top: 18px;
  font-family: var(--font-num);
  font-size: 38px;
  line-height: normal;
  color: var(--ink);
}

.tl-year-wide {
  max-width: 160px;
}

/* 上排年份：圆点在下方 */
.timeline-top .tl-year::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 13px;
  height: 13px;
  background: var(--blue);
  border-radius: 100%;
}

.timeline-top .tl-item {
  padding-bottom: 10px;
}

/* 时间线横线 */
.timeline-line {
  width: 100%;
  height: 2px;
  border: 0;
  border-top: 2px solid var(--blue);
  position: relative;
}

/* 横线右端的小花装饰（挂在横线自身上，任何断点都自动居中于线，对齐原站 e_line-10::after） */
.timeline-line::after {
  content: "";
  position: absolute;
  top: -16px;
  right: 0;
  width: 34px;
  height: 34px;
  background: url("../assets/img/timeline-star.png") no-repeat center;
}

/* 上排为固定 1040px 宽的行，在容器内居中；下排整体右移 110px（对齐原站） */
.timeline-top {
  width: 1040px;
  margin: 0 auto;
}

.timeline-bottom {
  margin-left: 110px;
}

.timeline-bottom .tl-item {
  padding-bottom: 10px;
}

/* 下排年份：圆点在上方，压在线上 */
.timeline-bottom .tl-year {
  margin-top: 10px;
}

.timeline-bottom .tl-year::after {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--blue);
  border-radius: 100%;
}

.timeline-bottom .tl-box {
  margin-top: 15px;
  padding: 25px 10px;
  text-align: left;
}

/* 下排第 3 个气泡垂直内边距 20px（对齐原站） */
.timeline-bottom .tl-item:nth-child(3) .tl-box {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* 下排气泡尾巴：骑在盒子左上角（距顶 -8px，一半挂出盒外指向年份，对齐原站 78-15-71） */
.timeline-bottom .tl-box::after {
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 13px;
  border-color: transparent transparent transparent var(--blue);
}

/* ============================================================
   老师 / 课程 / 动态 三栏卡片
   ============================================================ */
.showcase {
  margin-top: 80px;
  padding: 80px 0;
  background: url("../assets/img/cards-bg.png") no-repeat center center;
  background-size: cover;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 18px;
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
}

.card {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.card-cover {
  height: 189px;
  overflow: hidden;
}

/* 封面内链接块级化，避免 inline 基线空隙 */
.card-cover a {
  display: block;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.42, 0, 0.58, 1);
}

.card-body {
  min-height: 272px;
  padding: 32px 15px 40px;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.42, 0, 0.58, 1);
}

.card:nth-child(2) .card-body,
.card:nth-child(3) .card-body {
  min-height: 314px;
}

.card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--ink);
}

.card-line-lg {
  margin-top: 12px;
  font-size: 16px;
  color: var(--gray);
}

.card-line-md {
  margin-top: 17px;
  font-size: 14px;
  color: var(--gray);
}

.card-line-sm {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray);
}

/* 悬停：图片放大、底板变蓝、文字变白 */
.card:hover .card-cover img {
  transform: scale(1.05);
}

.card:hover .card-body {
  background: var(--blue);
}

.card:hover .card-title,
.card:hover .card-line-lg,
.card:hover .card-line-md,
.card:hover .card-line-sm {
  color: #fff;
}

/* 新闻列表（仅首页卡片内；限定 .card 作用域，避免影响子页面的 ul.news-list） */
.card .news-list {
  padding-top: 5px;
  text-align: left;
}

.card .news-list li {
  margin-top: 12px;
}

.card .news-list li:first-child {
  margin-top: 0;
}

.card .news-list a {
  position: relative;
  display: block;
  padding-left: 15px;
  font-family: "Microsoft YaHei", 微软雅黑, sans-serif;
  font-size: 16px;
  line-height: normal;
  color: var(--gray);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: 0.5s;
}

.card .news-list a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 6px;
  height: 6px;
  background: #8b8b8b;
  border-radius: 100%;
}

.card .news-list a:hover {
  font-weight: bold;
}

.card:hover .news-list a {
  color: #fff;
}

.card:hover .news-list a::before {
  background: #fff;
}

/* 移动端触摸反馈：tap 卡片时显示与 hover 相同的蓝色特效
   （微信等 WebView 不稳定触发 :hover，由 js/touch-card.js 加 .touching 类） */
.card.touching .card-body {
  background: var(--blue);
}

.card.touching .card-title,
.card.touching .card-line-lg,
.card.touching .card-line-md,
.card.touching .card-line-sm {
  color: #fff;
}

.card.touching .news-list a {
  color: #fff;
}

.card.touching .news-list a::before {
  background: #fff;
}

.card.touching .card-cover img {
  transform: scale(1.05);
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
  padding-top: 50px;
  color: #fff;
  background: var(--footer-bg);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
}

.footer-brand {
  flex: 0 0 45%;
  align-self: center;
}

.footer-brand img {
  max-width: 326px;
  object-fit: contain;
}

.footer-cols {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  flex-direction: row;
}

.footer-col {
  flex: 1;
}

.footer-col:nth-child(1),
.footer-col:nth-child(2) {
  flex: 0 0 25%;
}

.footer-col:nth-child(3) {
  flex: 1;
}

.col-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #fff;
}

.col-link {
  line-height: 40px;
  font-size: 16px;
  color: #fff;
  opacity: 0.8;
}

.col-link.first {
  margin-top: 17px;
}

.col-mail {
  margin-top: 24px;
  font-size: 14px;
  line-height: 24px;
}

.col-mail a {
  color: #fff;
}

/* 二维码 */
.qr-row {
  display: flex;
  margin-top: 12px;
}

.qr-item {
  flex: 1;
}

.qr-item p {
  font-size: 12px;
  line-height: 1;
  text-align: center;
  opacity: 0.8;
}

.qr-item img {
  max-width: 78px;
  margin: 10px auto 0;
  object-fit: contain;
}

/* 版权条 */
.footer-bottom {
  margin-top: 40px;
  padding: 20px 15px;
  background: rgba(0, 0, 0, 0.05);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
}

.fb-left {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  opacity: 0.5;
}

.fb-left a,
.fb-left span {
  margin-left: 10px;
}

.fb-left a:first-child {
  margin-left: 10px;
}

.fb-right {
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  opacity: 0.5;
}

.footer-bottom a {
  color: #fff;
}

/* ============================================================
   视频弹窗
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.modal.open {
  display: block;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(860px, 90vw);
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  top: -34px;
  right: 0;
  color: #fff;
}

.modal-content {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-content video {
  width: 100%;
  height: 100%;
}

/* 视频中央播放按钮 */
.modal-content::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  background: url("../assets/img/play.png") no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.modal-content.playing::after {
  opacity: 0;
}

/* ============================================================
   平板（≤1024px）微调
   ============================================================ */
@media screen and (max-width: 1024px) {
  .timeline-bottom {
    margin-left: 53px;
  }
}

/* ============================================================
   移动端（≤768px）
   ============================================================ */
@media screen and (max-width: 768px) {
  /* ---- 头部 ---- */
  .site-header {
    padding: 10px;
    opacity: 1;
  }

  .header-inner {
    width: auto;
    max-width: none;
  }

  .brand-logo {
    max-width: 35px;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-sub {
    font-size: 20px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    padding-top: 75px;
  }

  /* ---- 轮播 ---- */
  .banner {
    height: auto;
    min-height: 0;
    padding-top: 55px;
  }

  .banner-swiper {
    height: 200px;
  }

  .slider-btn {
    top: 63%;
    width: 34px;
    height: 34px;
  }

  .slider-btn.prev {
    left: 0;
  }

  .slider-btn.next {
    right: 0;
  }

  /* ---- 关于花径 ---- */
  .about {
    padding-top: 40px;
  }

  .about-body {
    display: block;
    padding: 0 20px;
  }

  .about-text {
    flex: 0 0 auto;
  }

  /* 移动端正文完整展示，不限制高度 */
  .about-scroll {
    height: auto;
    margin-top: 20px;
    overflow-y: visible;
  }

  .about-mission {
    margin-top: 10px;
  }

  .about-more {
    margin-top: 30px;
    text-align: left;
  }

  .about-videos {
    display: block;
    margin-top: 20px;
  }

  .video-card {
    width: 100%;
  }

  .video-card + .video-card {
    margin-top: 20px;
  }

  .video-thumb,
  .video-caption {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* ---- 企业发展史 ---- */
  .history {
    margin-top: 40px;
    padding-top: 35px;
  }

  .history .section-inner {
    padding-left: 20px;
  }

  .timeline {
    width: auto;
    margin: 40px 20px 0;
  }

  /* 桌面端固定 1040px 的行宽在移动端必须收回到容器内，否则整页可横向拖动 */
  .timeline-top {
    width: 100%;
  }

  .tl-year {
    font-size: 18px;
  }

  /* 顶排宽度比照原站移动版：21% ×3 + 20%，间隔 4%（合计 95%，单行放得下） */
  .timeline-top .tl-item:nth-child(1) {
    width: 21%;
    margin-left: 0;
  }

  .timeline-top .tl-item:nth-child(2) {
    width: 21%;
    margin-left: 4%;
  }

  .timeline-top .tl-item:nth-child(3) {
    width: 21%;
    margin-left: 4%;
  }

  .timeline-top .tl-item:nth-child(4) {
    width: 20%;
    margin-left: 4%;
  }

  .timeline-top .tl-item {
    flex: 0 0 auto;
    padding-bottom: 10px;
  }

  /* 顶排气泡：高 134px（原站移动版固定值），水平内边距清零靠文字自适应换行；
     第 3、4 个上下内边距为 15px，第 4 个不锁高（内容多时自然撑高，与原站一致） */
  .timeline-top .tl-box {
    height: 134px;
    padding: 15px 0 25px;
  }

  .timeline-top .tl-item:nth-child(3) .tl-box,
  .timeline-top .tl-item:nth-child(4) .tl-box {
    padding: 15px 0 15px;
  }

  .timeline-top .tl-item:nth-child(4) .tl-box {
    height: auto;
  }

  .timeline-bottom {
    margin-left: 53px;
  }

  /* 下排宽度比照原站移动版：25% / 26% / 21% / 21% + 间隔 4%·4%·5%，
     合计 106% —— 第 4 项自然换行（原站同为换行布局），并继承 5% 缩进 */
  .timeline-bottom .tl-item {
    flex: 0 0 auto;
    width: auto;
    padding-bottom: 10px;
  }

  .timeline-bottom .tl-item + .tl-item {
    margin-left: 0;
  }

  .timeline-bottom .tl-item:nth-child(1) {
    width: 25%;
  }

  .timeline-bottom .tl-item:nth-child(2) {
    width: 26%;
    margin-left: 4%;
  }

  .timeline-bottom .tl-item:nth-child(3) {
    width: 21%;
    margin-left: 4%;
  }

  .timeline-bottom .tl-item:nth-child(4) {
    width: 21%;
    margin-left: 5%;
  }

  .timeline-bottom .tl-box {
    height: 148px;
    padding: 11px 4px;
  }

  /* 原站移动端只隐藏下排气泡的小尾巴，顶排的保留 */
  .timeline-bottom .tl-box::after {
    display: none;
  }

  /* ---- 三栏卡片 ---- */
  .showcase {
    margin-top: 40px;
    padding: 40px 0;
  }

  .cards {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    flex: 0 0 auto;
    width: 100%;
  }

  .card-cover {
    height: 162px;
  }

  /* ---- 页脚 ---- */
  .footer {
    padding-top: 20px;
  }

  .footer-main {
    display: block;
    width: auto;
    max-width: none;
    padding: 0 20px;
  }

  .footer-brand {
    width: 80%;
    margin: 0 auto;
  }

  .footer-brand img {
    width: 100%;
    margin: 0 auto;
  }

  /* 移动端仅保留「联系我们」列 */
  .footer-col:nth-child(1),
  .footer-col:nth-child(2) {
    display: none;
  }

  .footer-bottom {
    margin-top: 20px;
  }

  .footer-bottom-inner {
    width: auto;
    max-width: none;
  }

  .fb-left {
    flex: 0 0 100%;
    text-align: left;
  }

  .fb-left a:first-child {
    margin-left: 0;
  }

  .fb-right {
    margin-right: auto;
  }
}
