/* ============================================================
   子页面通用样式（公司介绍/业务领域/新闻/联系/知识产权等）
   ============================================================ */

/* ---------- 公司介绍页 ---------- */
.about-page .about-lead {
  padding: 50px 0 30px;
}

.about-page .about-content {
  display: flex;
  gap: 46px;
  align-items: flex-start;
}

.about-page .about-text { flex: 1; }

.about-page .about-text p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 2;
  text-align: justify;
  margin-bottom: 14px;
}

.about-page .about-image {
  flex: 0 0 480px;
}

.about-page .about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* 知识产权页 */
.ip-page .ip-lead {
  padding: 46px 0 20px;
  text-align: center;
  color: var(--text-gray);
  font-size: 15px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 2;
}

.ip-page .ip-gallery {
  display: flex;
  gap: 20px;
  padding: 20px 0 60px;
  justify-content: center;
}

.ip-page .ip-gallery img {
  width: 48%;
  height: 320px;
  object-fit: cover;
}

/* ---------- 业务领域详情页 ---------- */
.biz-detail .biz-section {
  padding: 40px 0 56px;
}

.biz-detail .biz-section h2.biz-title {
  font-size: 26px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 26px;
  font-weight: bold;
}

.biz-detail .biz-section .biz-img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 28px;
}

.biz-detail .biz-section p {
  font-size: 15px;
  color: #444;
  line-height: 2;
  text-align: justify;
  margin-bottom: 16px;
}

/* ---------- 新闻列表页 ---------- */
.news-page .news-layout {
  display: flex;
  gap: 40px;
  padding: 40px 0 60px;
}

.news-list { flex: 1; }

.news-item {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid #EEE;
  transition: background .2s;
}

.news-item:hover { background: #FAFCFE; }

.news-item .news-cover {
  flex: 0 0 260px;
  height: 160px;
  overflow: hidden;
}

.news-item .news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.news-item:hover .news-cover img { transform: scale(1.05); }

.news-item .news-info { flex: 1; }

.news-item .news-title {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-item:hover .news-title { color: var(--brand-blue); }

.news-item .news-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.news-item .news-meta .cat {
  color: var(--brand-blue);
  margin-right: 14px;
}

.news-item .news-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-item .news-more {
  font-size: 13px;
  color: var(--brand-blue);
}

.news-empty {
  padding: 60px 0;
  text-align: center;
  color: #999;
}

/* 侧栏 */
.news-aside { flex: 0 0 260px; }

.news-aside .aside-box {
  border: 1px solid #EEE;
  margin-bottom: 24px;
}

.news-aside .aside-title {
  background: var(--bg-light);
  padding: 12px 16px;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-dark);
  border-bottom: 1px solid #EEE;
}

.news-aside .aside-list { padding: 8px 16px 14px; }

.news-aside .aside-list a {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  color: #666;
  border-bottom: 1px dashed #F0F0F0;
}

.news-aside .aside-list a:hover,
.news-aside .aside-list a.active { color: var(--brand-blue); }

.news-aside .aside-list a:last-child { border-bottom: none; }

/* ---------- 联系我们页 ---------- */
.contact-page .contact-layout {
  padding: 46px 0 60px;
}

.contact-page .contact-grid {
  display: flex;
  gap: 44px;
  margin-bottom: 46px;
}

.contact-page .contact-info { flex: 1; }

.contact-page .contact-map {
  flex: 0 0 520px;
  height: 300px;
}

.contact-page .contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-page .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-page .info-label {
  flex: 0 0 76px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: bold;
}

.contact-page .info-value { font-size: 14px; color: var(--text-gray); }

/* 留言表单 */
.message-form-wrap {
  background: #FAFBFC;
  border: 1px solid #EEE;
  padding: 34px 38px 40px;
}

.message-form-wrap .form-title {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: bold;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}

.form-item.full { grid-column: 1 / -1; }

.form-item label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.form-item label .req { color: #E02020; margin-left: 2px; }

.form-item input,
.form-item textarea {
  width: 100%;
  height: 42px;
  border: 1px solid #DDD;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}

.form-item textarea {
  height: 120px;
  padding: 10px 12px;
  resize: vertical;
}

.form-item input:focus,
.form-item textarea:focus { border-color: var(--brand-blue); }

.form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-tip { font-size: 13px; color: #0a9d4a; }

.form-tip.error { color: #E02020; }

/* ---------- 隐私保护 / 法律声明 ---------- */
.legal-page .legal-content {
  padding: 40px 0 70px;
  max-width: 960px;
  margin: 0 auto;
}

.legal-page .legal-content h1 {
  font-size: 24px;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 30px;
  font-weight: bold;
}

.legal-page .legal-content h3 {
  font-size: 16px;
  color: var(--text-dark);
  margin: 24px 0 10px;
}

.legal-page .legal-content p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  margin-bottom: 12px;
  text-align: justify;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .about-page .about-content { flex-direction: column; }
  .about-page .about-image { flex: none; }

  .news-page .news-layout { flex-direction: column; }
  .news-aside { flex: none; width: 100%; }

  .contact-page .contact-grid { flex-direction: column; }
  .contact-page .contact-map { flex: none; width: 100%; }
}

@media (max-width: 768px) {
  .ip-page .ip-gallery { flex-direction: column; align-items: center; }
  .ip-page .ip-gallery img { width: 100%; height: 220px; }

  .news-item { flex-direction: column; gap: 14px; }
  .news-item .news-cover { flex: none; width: 100%; height: 190px; }

  .form-grid { grid-template-columns: 1fr; }

  .message-form-wrap { padding: 22px 18px 28px; }

  .about-page .about-image img { height: 200px; }

  .biz-detail .biz-section .biz-img { max-height: 240px; }
}
