/* ============================================================
   home.css — 首页版块：服务办理、新闻/公告、安全警示/政策法规、
   视频资料、友情链接、页脚
   要求3：新闻动态 / 通知公告 左右协调
   要求4：安全警示 / 政策法规 各占 50%
   ============================================================ */

/* ============ 通用区块 ============ */
.section { padding: 52px 0; }
.section.alt { background: var(--blue-soft); }

/* 区块标题：中文 + 英文副标题 + 更多 */
.sec-title {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 10px;
}
.sec-title .st-cn {
  position: relative;
  font-size: 1.65rem; font-weight: 700; color: var(--blue);
  padding-left: 16px; line-height: 1.3;
}
.sec-title .st-cn::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 5px; background: var(--blue); border-radius: 3px;
}
.sec-title .st-en {
  margin-left: 14px; font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.18); letter-spacing: 2px; text-transform: uppercase;
  line-height: 1.3;
}
.sec-title .more {
  flex-shrink: 0; margin-bottom: 2px; padding: 4px 18px;
  background: var(--line); color: #666; font-size: .82rem; border-radius: 20px;
  transition: background-color .25s, color .25s;
}
.sec-title .more:hover { background: var(--blue); color: #fff; }

/* 居中区块标题（服务办理）：两侧渐变短线装饰 */
.sec-title.center { justify-content: center; border-bottom: none; padding-bottom: 0; margin-bottom: 36px; }
.sec-title.center > div { display: flex; align-items: center; padding: 0 60px; position: relative; }
.sec-title.center > div::before,
.sec-title.center > div::after {
  content: ""; position: absolute; top: 50%; width: 44px; height: 2px; transform: translateY(-50%);
}
.sec-title.center > div::before { right: 100%; margin-right: 16px; background: linear-gradient(270deg, var(--blue), rgba(1, 82, 147, 0)); }
.sec-title.center > div::after { left: 100%; margin-left: 16px; background: linear-gradient(90deg, var(--blue), rgba(1, 82, 147, 0)); }
.sec-title.center .st-cn { padding-left: 0; }
.sec-title.center .st-cn::before { display: none; }

/* ============ 服务办理（卡片） ============ */
.services { background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); }
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.service-card {
  width: 272px; background: #fff; border-radius: var(--radius);
  border-top: 3px solid var(--navy); box-shadow: var(--shadow);
  padding: 30px 24px 24px; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue-light), #7FB3E8);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-top-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 66px; height: 66px; margin: 0 auto 16px;
  background: linear-gradient(145deg, rgba(26, 79, 139, 0.12), rgba(46, 110, 181, 0.04));
  border: 1px solid rgba(26, 79, 139, 0.14); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); transition: transform .3s ease, color .3s ease, border-color .3s ease;
}
.service-card:hover .service-icon { transform: translateY(-2px) scale(1.06); color: var(--blue-light); border-color: rgba(46, 110, 181, 0.35); }
.service-icon svg { width: 32px; height: 32px; stroke-width: 1.7; }
.service-card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.service-card .desc { font-size: .82rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 12px; min-height: 40px; }
.service-phones {
  font-size: .76rem; color: var(--ink-soft); line-height: 1.8; margin-bottom: 18px;
  text-align: left; padding-left: 10px; border-left: 2px solid var(--blue-pale);
}
.btn-detail {
  display: inline-block; padding: 7px 24px; background: var(--navy); color: #fff;
  border-radius: 20px; font-size: .86rem; transition: background-color .25s, box-shadow .25s;
}
.btn-detail:hover { background: var(--blue-light); box-shadow: 0 4px 12px rgba(46, 110, 181, 0.35); }

/* ============ 双栏版块（新闻/公告、安全警示/政策法规） ============ */
.hj-row { padding: 52px 0; }
.hj-row1 { padding: 55px 0 48px; }
.hj-row4, .hj-row2 { background: url(../images/hjnu/row4-bg.png) no-repeat center top / cover; }
.hj-row2 { background-image: url(../images/hjnu/row2-bg.png); }

/* 双栏：每栏等宽（要求3/4 协调、各 50%） */
.hj-cols { display: flex; gap: 40px; }
.hj-cols > .hj-col { flex: 1 1 0; min-width: 0; }

/* 栏目标题（图标 + 蓝色标题 + 更多） */
.hj-title {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 2px solid var(--blue); padding-bottom: 8px; margin-bottom: 18px;
}
.hj-title .cn {
  display: flex; align-items: center;
  font-size: 1.5rem; font-weight: 700; color: var(--blue); line-height: 35px;
}
.ti-ico {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 37px; height: 37px; margin-right: 12px; flex-shrink: 0;
  background: rgba(1, 82, 147, 0.08); border-radius: 8px;
}
.ti-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hj-more {
  flex-shrink: 0; width: 81px; height: 26px; line-height: 26px; text-align: center;
  background: #e4e4e4; border-radius: 20px; font-size: .82rem; color: #777; margin-bottom: 4px;
  transition: background-color .25s, color .25s;
}
.hj-more:hover { background: var(--blue); color: #fff; }

/* 信息列表：日期 + 标题（左右两栏共用，保证协调） */
.hj-news-list li { border-bottom: 1px dashed #e2e2e2; }
.hj-news-list li a { display: flex; align-items: center; gap: 14px; padding: 13px 2px 13px 16px; position: relative; }
.hj-news-list li a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px;
  background: var(--blue); transform: translateY(-50%);
}
.hj-news-list .nt-tit {
  flex: 1; min-width: 0; font-size: .94rem; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s;
}
.hj-news-list .nt-date {
  flex-shrink: 0; font-size: .8rem; color: var(--blue); font-family: Arial, Helvetica, sans-serif;
}
.hj-news-list li a:hover .nt-tit { color: var(--link-hover); }
.hj-news-list li a:hover { padding-left: 22px; }

/* ============ 视频资料（首页缩略） ============ */
.hj-video-head { position: relative; display: flex; justify-content: center; margin-bottom: 30px; }
.hj-video-head .hj-more { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.video-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.video-thumbs.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vt-card {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.vt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vt-card .vt-imgwrap { position: relative; display: block; overflow: hidden; background: var(--navy-dark);aspect-ratio: 16/9; }
.vt-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vt-card:hover img { transform: scale(1.07); }
.vt-card .vt-mask { position: absolute; inset: 0; background: rgba(10, 42, 90, 0.28); transition: background-color .3s; }
.vt-card:hover .vt-mask { background: rgba(10, 42, 90, 0.06); }
.vt-card .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center; color: var(--navy); transition: transform .3s;
}
.vt-card:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.vt-card .play svg { width: 18px; height: 18px; margin-left: 2px; }
.vt-card .vt-tit {
  display: block; padding: 10px; font-size: .82rem; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s;
}
.vt-card:hover .vt-tit { color: var(--link-hover); }

/* ============ 友情链接 ============ */
.links { padding: 30px 0 36px; background: var(--blue-soft); }
.links .links-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.links .links-head h2 { font-size: 1.25rem; color: var(--blue); padding-left: 14px; position: relative; }
.links .links-head h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; background: var(--blue); border-radius: 2px; }
.links .links-head .lh-line { flex: 1; height: 1px; background: var(--line); }
.links ul { display: flex; flex-wrap: wrap; gap: 12px 8px; }
.links ul li a {
  display: inline-block; padding: 5px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; font-size: .84rem; color: #555; transition: all .25s;
}
.links ul li a:hover { border-color: var(--blue); color: var(--link-hover); background: var(--blue-pale); }

/* ============ 页脚 ============ */
.footer { background: var(--blue); color: #fff; padding: 30px 0; }
.footer .container { display: flex; align-items: center; }
.footer .foot-logo { flex-shrink: 0; margin-right: 30px; }
.footer .foot-logo img { height: 52px; width: auto; }
.footer .cory p { font-size: .875rem; color: #fff; line-height: 30px; }