/* ==========================================================================
   桂林理工大学 · 大数据AI智能技术定向就业班
   参考实现: https://cjy.glut.edu.cn/pags/hkb/index.html (lianhang.css)
   ========================================================================== */

* {
  padding: 0;
  margin: 0;
}

html {
  font-family: Arial, Helvetica, "Microsoft Yahei", sans-serif;
  color: #585858;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  background-color: #f4f4f4;
}

p {
  text-indent: 2em;
  font-size: 18px;
  line-height: 35px;
  text-align: justify;
}

ul li {
  list-style: none;
  text-align: left;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrap {
  width: 1204px;
  max-width: 94%;
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   头部
------------------------------------------------------------------ */
.header {
  background-color: #fff;
  border-bottom: 3px solid #015ea4;
}

.header .header-box {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .brand-name {
  font-size: 34px;
  font-weight: bold;
  color: #015ea4;
  letter-spacing: 4px;
}

.header .brand-name img {
  height: 52px;
  width: auto;
  display: block;
}

.header .brand-sub {
  font-size: 15px;
  color: #999;
  letter-spacing: 2px;
  margin-top: 8px;
}

.header .header-slogan {
  font-size: 16px;
  color: #015ea4;
  letter-spacing: 1px;
}

/* ------------------------------------------------------------------
   导航
------------------------------------------------------------------ */
.nav {
  background-color: #005ea4;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.nav .nav-box {
  height: 49px;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  line-height: 49px;
  font-size: 20px;
}

.nav .nav-box a {
  color: #fff;
  display: inline-block;
  padding: 0 6px;
  transition: background-color .2s;
}

.nav .nav-box a:hover {
  background-color: #015ea4;
}

/* ------------------------------------------------------------------
   banner
------------------------------------------------------------------ */
.banner {
  background: url("../images/classroom2.jpg") no-repeat center center;
  background-size: cover;
}

.banner .banner-mask {
  background-color: rgba(1, 45, 82, 0.78);
  padding: 72px 0 64px;
}

.banner .banner-inner {
  text-align: center;
  color: #fff;
}

.banner .banner-inner h1 {
  font-size: 42px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.banner .banner-sub {
  text-indent: 0;
  font-size: 22px;
  color: #d0ebff;
  letter-spacing: 2px;
  margin-bottom: 26px;
}

.banner .banner-tags {
  margin-bottom: 26px;
}

.banner .banner-tags span {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 30px;
  color: #fff;
  font-size: 17px;
  padding: 7px 26px;
  margin: 0 8px;
}

.banner .banner-intro {
  text-indent: 0;
  font-size: 17px;
  line-height: 32px;
  text-align: center;
  color: #e8f3fc;
  width: 860px;
  max-width: 92%;
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   内容区
------------------------------------------------------------------ */
.content {
  background-color: #f4f4f4;
  padding: 30px 0 40px;
}

.content .content-box .panel {
  width: 1154px;
  max-width: 100%;
  padding: 30px 25px;
  box-sizing: border-box;
  background-color: #fff;
  margin: 0 auto 28px;
}

/* 区块标题: 中文标题 + 英文标题 + 灰色横线 */
.content .content-box .title {
  text-align: center;
  position: relative;
  margin-bottom: 22px;
}

.content .content-box .title .sec-num {
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 46px;
  font-weight: bold;
  color: #e3eff9;
  letter-spacing: 2px;
}

.content .content-box .title .chititle {
  color: #015ea4;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: 8px;
}

.content .content-box .title .engtitle {
  color: #BCBCBC;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.content .content-box .title .graylind {
  width: 291px;
  height: 2px;
  background-color: #bcbcbc;
  margin: 10px auto 0;
}

/* 正文段落 */
.content .content-box .intro-detail p {
  margin-bottom: 8px;
}

/* ------------------------------------------------------------------
   表格(参考页: 浅蓝表头 + 灰色细边框)
------------------------------------------------------------------ */
.content .content-box table.data-table,
.content .content-box table.kv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 19px;
  margin-top: 10px;
}

.content .content-box table.data-table th,
.content .content-box table.data-table td,
.content .content-box table.kv-table th,
.content .content-box table.kv-table td {
  border: 1px solid #e5e5e5;
  padding: 16px 14px;
  text-align: center;
  line-height: 30px;
}

.content .content-box table th {
  background-color: #d0ebff;
  color: #333;
  font-weight: 100;
  white-space: nowrap;
}

.content .content-box table.kv-table th {
  width: 180px;
  background-color: #015ea4;
  color: #fff;
}

.content .content-box table.kv-table td {
  text-align: left;
}

.content .content-box .table-note {
  margin-top: 16px;
  color: #777;
  font-size: 17px;
}

/* ------------------------------------------------------------------
   蓝色胶囊小标题(参考页 h4 圆角胶囊样式)
------------------------------------------------------------------ */
.pill-title {
  background-color: #015ea4;
  color: #fff;
  width: 360px;
  max-width: 100%;
  font-size: 22px;
  font-weight: normal;
  border-radius: 30px;
  text-align: center;
  height: 37px;
  line-height: 37px;
  margin: 0 auto 24px;
}

/* ------------------------------------------------------------------
   图组
------------------------------------------------------------------ */
.pic-group {
  margin-top: 30px;
}

.pic-group .group-note {
  text-indent: 0;
  text-align: center;
  color: #999;
  font-size: 16px;
  margin: -12px 0 16px;
}

.pic-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.pic-grid .pic-word {
  flex: 1 1 0;
  min-width: 220px;
  text-align: center;
}

.pic-grid .pic-word img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border: 1px solid #e5e5e5;
  display: block;
}

.pic-grid .pic-word p {
  text-indent: 0;
  margin-top: 6px;
  font-size: 16px;
  color: #666;
}

.pic-grid-2 .pic-word img {
  height: 420px;
}

.pic-grid-4 .pic-word img {
  height: 180px;
}

.pic-grid .pic-word:nth-child(1) img { object-position: center; }

/* 学员案例长图：固定视窗，由 JS 每秒向下滚动 */
.pic-scroll-view {
  height: 420px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.pic-grid .pic-word.pic-scroll img {
  height: auto;
  object-fit: unset;
  object-position: top center;
  border: none;
  animation: none;
  will-change: transform;
}

/* ------------------------------------------------------------------
   项目/岗位 标签墙
------------------------------------------------------------------ */
.pill-wall {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.pill-wall span {
  background-color: #f3faff;
  border: 1px solid #9fc9ec;
  color: #015ea4;
  font-size: 17px;
  padding: 9px 24px;
  border-radius: 30px;
}

/* ------------------------------------------------------------------
   课程亮点 编号卡片
------------------------------------------------------------------ */
.num-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.num-card {
  width: 214px;
  flex: 1 1 0;
  min-width: 200px;
  background-color: #f3faff;
  border-top: 3px solid #015ea4;
  padding: 20px 18px;
  box-sizing: border-box;
}

.num-card .num {
  font-size: 34px;
  font-weight: bold;
  color: #9fc9ec;
  margin-bottom: 8px;
}

.num-card h3 {
  font-size: 20px;
  color: #015ea4;
  text-align: center;
  margin-bottom: 12px;
}

.num-card p {
  text-indent: 0;
  font-size: 16px;
  line-height: 28px;
  color: #666;
}

/* ------------------------------------------------------------------
   教学特色 2x2 网格
------------------------------------------------------------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.feature-item {
  width: calc(50% - 8px);
  box-sizing: border-box;
  background-color: #f3faff;
  border: 1px solid #dceefb;
  padding: 24px 26px;
}

.feature-item h3 {
  font-size: 20px;
  color: #015ea4;
  margin-bottom: 10px;
}

.feature-item h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 20px;
  background-color: #015ea4;
  margin-right: 10px;
  vertical-align: -3px;
}

.feature-item p {
  text-indent: 0;
  font-size: 17px;
  line-height: 30px;
  color: #666;
}

/* ------------------------------------------------------------------
   就业保障 A/B/C/D 卡片(参考页 workrule/woritem)
------------------------------------------------------------------ */
.work-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.work-box .woritem {
  flex: 1 1 0;
  min-width: 200px;
  text-align: center;
  padding: 24px 16px;
  border: 1px solid #e5e5e5;
  box-sizing: border-box;
}

.work-box .woritem h3 {
  font-size: 20px;
  color: #015ea4;
  text-align: center;
  margin-bottom: 14px;
}

.work-box .woritem h3 span {
  font-size: 32px;
  margin-right: -5px;
}

.work-box .woritem p {
  text-indent: 0;
  font-size: 16px;
  line-height: 28px;
  color: #666;
  text-align: left;
}

.job-direction {
  margin-top: 30px;
}

/* ------------------------------------------------------------------
   咨询报名
------------------------------------------------------------------ */
.panel-contact {
  background: linear-gradient(180deg, #ffffff 0%, #f3faff 100%);
}

.contact-box {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
}

.contact-box .contact-item {
  flex: 1 1 0;
  background-color: #fff;
  border: 1px solid #dceefb;
  border-top: 3px solid #015ea4;
  padding: 26px 24px;
  text-align: center;
}

.contact-box .contact-label {
  display: inline-block;
  background-color: #015ea4;
  color: #fff;
  font-size: 18px;
  border-radius: 30px;
  height: 37px;
  line-height: 37px;
  padding: 0 30px;
  margin-bottom: 18px;
}

.contact-box .contact-item p {
  text-indent: 0;
  font-size: 19px;
  line-height: 32px;
  color: #444;
}

.contact-box .contact-phone {
  font-size: 30px !important;
  font-weight: bold;
  color: #015ea4 !important;
  letter-spacing: 1px;
}

.contact-box .contact-phone span {
  font-size: 18px;
  font-weight: normal;
  color: #666;
}

.tel-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.contact-qr {
  flex: 0 0 auto;
}

.contact-qr img {
  width: 170px;
  height: auto;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  padding: 6px;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
}

.contact-box .contact-item .contact-qr p {
  text-indent: 0;
  font-size: 15px;
  line-height: 22px;
  color: #888;
  text-align: center;
  margin-top: 10px;
}

.tel-info {
  text-align: center;
}

.contact-box .contact-item .tel-info .contact-person {
  text-indent: 0;
  font-size: 24px;
  line-height: 26px;
  color: #666;
  margin-top: 6px;
  text-align: center;
}

.closing-line {
  margin-top: 30px;
  background-color: #005ea4;
  color: #fff;
  font-size: 20px;
  letter-spacing: 3px;
  text-align: center;
  height: 56px;
  line-height: 56px;
  border-radius: 30px;
}

/* ------------------------------------------------------------------
   页脚
------------------------------------------------------------------ */
.footer {
  width: 100%;
  background-color: #005ea4;
}

.footer .footerbox {
  border: 1px solid transparent;
  height: 163px;
  text-align: center;
}

.footer .footerbox .footer-detail {
  margin: 44px auto 0;
  color: #fff;
  max-width: 980px;
}

.footer .footerbox .footer-detail p {
  text-indent: 0;
  text-align: center;
  color: #dceefb;
  font-size: 16px;
  line-height: 30px;
}

.footer .footerbox .footer-detail p:first-child {
  font-size: 20px;
  color: #fff;
  letter-spacing: 2px;
}

/* ------------------------------------------------------------------
   响应式
------------------------------------------------------------------ */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 100px;
  }

  .header .header-box {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 14px 0;
  }

  .header .header-slogan {
    margin-top: 8px;
  }

  .nav .nav-box {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 38px;
    font-size: 17px;
  }

  .banner .banner-inner h1 {
    font-size: 28px;
  }

  .banner .banner-sub {
    font-size: 18px;
  }

  .content .content-box .title .chititle {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .content .content-box .title .sec-num {
    display: none;
  }

  .work-box,
  .contact-box,
  .feature-grid {
    flex-direction: column;
  }

  .tel-split {
    flex-direction: column;
  }

  .work-box .woritem,
  .contact-box .contact-item,
  .feature-item,
  .num-card {
    width: 100%;
    flex: auto;
  }

  .pic-grid .pic-word img {
    height: 200px;
  }

  .pic-grid-2 .pic-word img {
    height: 260px;
  }

  .pic-scroll-view {
    height: 280px;
  }

  .pic-grid .pic-word.pic-scroll img {
    height: auto;
  }
}
