/* page.css - 内页通用布局（内页加载） */

/* ===== 页面头部 ===== */
.page-header {
  background-color: var(--primary);
  padding: 60px 0;
  text-align: center;
  color: var(--text-white);
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 600;
}

.page-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .page-header {
    padding: 40px 0;
  }
  .page-header h1 {
    font-size: 26px;
  }
  .page-header p {
    font-size: 14px;
  }
}

/* ===== 内容区域 ===== */
.page-content {
  padding: 48px 0;
}

.page-content .container {
  max-width: 900px;
}

.page-content h2 {
  font-size: 26px;
  color: var(--primary);
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.page-content h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 24px 0 12px;
}

.page-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.page-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}

.page-content ol li {
  list-style: decimal;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}

.page-content strong {
  color: var(--primary);
  font-weight: 600;
}

.page-content a {
  color: var(--secondary);
  text-decoration: underline;
}

.page-content a:hover {
  color: #c1121f;
}

@media screen and (max-width: 767px) {
  .page-content {
    padding: 32px 0;
  }
  .page-content h2 {
    font-size: 22px;
    margin: 24px 0 12px;
  }
  .page-content h3 {
    font-size: 18px;
  }
  .page-content p {
    font-size: 15px;
  }
}

/* ===== 时间线（发展历程） ===== */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px;
  height: 14px;
  background-color: var(--secondary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-year {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
}

/* ===== 团队风采 ===== */
.team-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.team-member {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
  text-align: center;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--page-bg);
  margin: 0 auto 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  overflow: hidden;
}

.team-avatar svg {
  width: 50px;
  height: 50px;
  fill: var(--border-color);
}

.team-name {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: var(--text-gray);
}

@media screen and (max-width: 1024px) {
  .team-member {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .team-member {
    width: 50%;
    margin-bottom: 24px;
  }
  .team-avatar {
    width: 80px;
    height: 80px;
  }
}

/* ===== 案例卡片 ===== */
.case-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.case-card {
  width: 33.333333%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.case-inner {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.case-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.case-image {
  width: 100%;
  height: 200px;
  background-color: var(--page-bg);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-body {
  padding: 24px;
}

.case-title {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.case-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.case-meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(27,58,75,0.08);
  color: var(--primary);
  border-radius: 4px;
  font-size: 12px;
}

@media screen and (max-width: 1024px) {
  .case-card {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .case-card {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* ===== 资质认证 ===== */
.honor-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.honor-card {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
  text-align: center;
}

.honor-inner {
  background: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.honor-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.honor-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(230,57,70,0.1);
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.honor-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--secondary);
}

.honor-title {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.honor-text {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

@media screen and (max-width: 1024px) {
  .honor-card {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .honor-card {
    width: 50%;
    margin-bottom: 20px;
  }
  .honor-icon {
    width: 56px;
    height: 56px;
  }
  .honor-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ===== 侧边栏 ===== */
.page-with-sidebar {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.page-main {
  width: 70%;
  padding: 0 15px;
}

.page-sidebar {
  width: 30%;
  padding: 0 15px;
}

.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.widget-title {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}

.widget-list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.widget-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-list a {
  color: var(--text-dark);
  font-size: 14px;
  display: block;
  transition: color 0.3s ease;
}

.widget-list a:hover {
  color: var(--secondary);
}

.widget-list .item-date {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 4px;
}

@media screen and (max-width: 1024px) {
  .page-main,
  .page-sidebar {
    width: 100%;
  }
  .page-sidebar {
    margin-top: 32px;
  }
}
