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

/* ===== 内页通用 ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.page-banner h1 {
  color: var(--white);
  font-size: 2em;
  margin-bottom: 10px;
}
.page-banner p {
  opacity: 0.8;
  font-size: 1.05em;
}

.page-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px;
}
.page-content h2 {
  color: var(--primary);
  margin-top: 2em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--border);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  color: var(--primary);
  margin-top: 1.5em;
}
.page-content p {
  line-height: 1.9;
  margin: 1em 0;
  text-align: justify;
}
.page-content ul, .page-content ol {
  margin: 1em 0;
  padding-left: 2em;
}
.page-content li {
  margin: 0.5em 0;
  line-height: 1.8;
}
.page-content strong {
  color: var(--primary);
  font-weight: 600;
}
.page-content a {
  color: var(--secondary);
  text-decoration: underline;
}
.page-content a:hover {
  color: var(--primary);
}
.page-content img {
  border-radius: var(--radius);
  margin: 1.5em auto;
}
.page-content table {
  margin: 1.5em 0;
  border: 1px solid var(--border);
}
.page-content th,
.page-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.page-content th {
  background: var(--light);
  color: var(--primary);
  font-weight: 600;
}
.page-content tr:nth-child(even) {
  background: rgba(243,240,247,0.5);
}
.page-content blockquote {
  border-left: 4px solid var(--secondary);
  padding: 15px 20px;
  margin: 1.5em 0;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
}
.page-content code {
  background: var(--light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--secondary);
}

/* ===== 发展历程时间线 ===== */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 30px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--secondary);
}
.timeline-year {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1em;
  margin-bottom: 5px;
}
.timeline-content {
  background: var(--white);
  padding: 15px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ===== 团队风采 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-member {
  text-align: center;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--white);
  font-size: 1.8em;
  font-weight: 600;
}
.team-member h4 {
  color: var(--primary);
  margin-bottom: 5px;
}
.team-member p {
  color: var(--text-muted);
  font-size: 0.9em;
  margin: 0;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ===== 资质认证 ===== */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.honor-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.honor-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}
.honor-icon {
  width: 70px;
  height: 70px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--secondary);
  font-size: 1.8em;
}
.honor-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
}
.honor-item p {
  color: var(--text-muted);
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .honor-grid { grid-template-columns: 1fr; }
}

/* ===== 案例展示 ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.case-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
}
.case-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}
.case-img {
  height: 200px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9em;
}
.case-body { padding: 25px; }
.case-body h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.2em;
}
.case-body p {
  color: var(--text-muted);
  font-size: 0.95em;
  margin: 0;
}
.case-data {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.case-data span {
  font-size: 0.9em;
  color: var(--secondary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ===== 侧边栏 ===== */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid var(--border);
}
.sidebar-widget h3 {
  color: var(--primary);
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-widget li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget li:last-child { border-bottom: 0; }
.sidebar-widget a {
  color: var(--text);
  font-size: 0.95em;
}
.sidebar-widget a:hover { color: var(--secondary); }

/* 热门标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud .tag {
  margin: 0;
  font-size: 0.85em;
}
