/* ===== 彩翼官网公共样式（index / gonggao / gonggao_detail 共用） ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- 顶部导航（默认：深蓝实底，用于公告等子页） ---------- */
.site-header { background: #0d42b4; }
.header-inner { height: 80px; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text strong { display: block; font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.brand-text em { display: block; font-style: normal; font-size: 11px; color: rgba(255,255,255,.85); letter-spacing: 3px; margin-top: 2px; white-space: nowrap; }
.site-nav { display: flex; gap: 108px; }
.site-nav a { font-size: 16px; color: rgba(255,255,255,.85); }
.site-nav a:hover, .site-nav a.active { color: #fff; font-weight: 600; }

/* 首页：头部透明，直接叠在 banner 深蓝天空中（按设计稿定位） */
.page-home .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; z-index: 20; }
.page-home .header-inner { max-width: none; height: 80px; padding: 0 20.5% 0 16%; }

/* ---------- Banner ---------- */
.banner { position: relative; }
.banner-pic { width: 100%; height: auto; max-height: 720px; object-fit: cover; }
.banner-text { position: absolute; left: 20%; top: 73%; }
.banner-text h2 { font-family: "YouYuan", "幼圆", "Microsoft YaHei", sans-serif; font-size: 31px; font-weight: 700; color: #1252ae; letter-spacing: 2px; line-height: 1.55; }

/* ---------- 服务卡片（上叠 banner 底部） ---------- */
.services { max-width: 840px; margin: -40px auto 0; position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.service-card { background: #fff; border-radius: 10px; box-shadow: 0 4px 16px rgba(40, 90, 170, .12); padding: 24px 8px 28px; text-align: center; }
.service-card img { height: 72px; width: auto; max-width: 100%; margin: 0 auto 14px; object-fit: contain; }
.service-card p { font-size: 16px; color: #1e56b0; letter-spacing: 1px; }

/* ---------- 公司简介 ---------- */
.about { max-width: 800px; margin: 0 auto; padding: 38px 20px 0; text-align: center; }
.section-title { font-size: 27px; font-weight: 700; color: #2465b5; letter-spacing: 3px; }
.section-sub { font-size: 14px; color: #a8abb3; letter-spacing: 2px; margin-top: 6px; text-transform: uppercase; }
.about-text { max-width: 760px; margin: 22px auto 0; font-size: 17px; line-height: 1.85; color: #3e6ca8; text-align: center; }

/* ---------- 业务图集 ---------- */
.gallery { max-width: 812px; margin: 0 auto; padding: 38px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 17px; }
.gallery img { width: 100%; height: 202px; object-fit: cover; }

/* ---------- 服务客户 ---------- */
.customers { background: #f7f7f7; margin-top: 70px; padding: 34px 20px 56px; text-align: center; }
.customers .wall-pic { width: 894px; max-width: 100%; margin: 24px auto 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: #fff; padding: 20px 16px 26px; text-align: center; font-size: 13px; color: #9aa3ad; }
.site-footer a { color: #9aa3ad; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- 侧边栏「进入平台」 ---------- */
.side-entry { position: fixed; right: 0; top: 44%; z-index: 120; }
.side-entry a { display: block; writing-mode: vertical-rl; letter-spacing: 6px; background: #1a6fe0; color: #fff; font-size: 15px; font-weight: 600; padding: 20px 13px; border-radius: 10px 0 0 10px; box-shadow: -4px 4px 14px rgba(26, 111, 224, .35); transition: background .25s, padding .25s; }
.side-entry a:hover { background: #0d56c2; padding-right: 18px; }

/* ---------- 公告列表页 ---------- */
.page-wrap { max-width: 1000px; margin: 0 auto; padding: 44px 20px 70px; min-height: 46vh; }
.page-title { font-size: 26px; color: #0d3f8f; letter-spacing: 3px; border-left: 6px solid #1a6fe0; padding-left: 14px; margin-bottom: 30px; }
.notice-item { display: block; background: #f7faff; border: 1px solid #e3eefc; border-radius: 10px; padding: 22px 26px; margin-bottom: 18px; transition: box-shadow .25s, transform .25s; }
.notice-item:hover { box-shadow: 0 10px 24px rgba(30, 90, 180, .12); transform: translateY(-2px); }
.notice-item h3 { font-size: 17px; color: #1a5cc8; line-height: 1.6; }
.notice-item .date { display: inline-block; font-size: 13px; color: #8aa5c9; margin: 10px 0 8px; }
.notice-item p.summary { font-size: 14px; color: #666; line-height: 1.9; }
.notice-item .more { display: inline-block; margin-top: 10px; color: #1a6fe0; font-size: 14px; font-weight: 600; }
.notice-empty { text-align: center; color: #999; padding: 60px 0; font-size: 14px; }

/* ---------- 公告详情页 ---------- */
.detail-title { text-align: center; font-size: 24px; color: #222; line-height: 1.7; }
.detail-meta { text-align: center; color: #999; font-size: 13px; margin: 16px 0 34px; }
.detail-body { font-size: 15px; line-height: 2.1; color: #333; }
.detail-body h3 { font-size: 17px; color: #1a5cc8; margin: 26px 0 12px; }
.detail-body ul { padding-left: 26px; }
.detail-body li { margin: 4px 0; }
.detail-body .table-wrap { width: 100%; overflow-x: auto; margin: 18px 0; }
.detail-body table { width: 100%; border-collapse: collapse; min-width: 760px; }
.detail-body th, .detail-body td { border: 1px solid #d7e5f8; padding: 10px 12px; font-size: 14px; text-align: center; }
.detail-body th { background: #eaf3fe; color: #1a5cc8; font-weight: 600; }
.detail-sign { text-align: right; margin-top: 44px; line-height: 2.2; color: #333; }
.detail-back { display: inline-block; margin-top: 40px; color: #1a6fe0; font-size: 14px; }
.detail-back:hover { text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .page-home .header-inner { padding: 0 4%; }
  .site-nav { gap: 40px; }
  .banner-text { left: 8%; }
}
@media (max-width: 900px) {
  .services { max-width: 560px; grid-template-columns: repeat(2, 1fr); }
  .banner-text h2 { font-size: 24px; }
  .gallery { padding: 38px 16px 0; }
  .customers { margin-top: 46px; }
}
@media (max-width: 600px) {
  .header-inner { height: 60px; }
  .brand img { height: 40px; }
  .brand-text strong { font-size: 15px; }
  .brand-text em { display: none; }
  .site-nav { gap: 22px; }
  .banner-text { left: 6%; top: 62%; }
  .banner-text h2 { font-size: 17px; letter-spacing: 1px; }
  .services { margin-top: -24px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 200px; }
  .about-text { font-size: 15px; }
}
