/**
 * 关于我们系列子页与入口页（about.html）共用样式
 */

/* —— 入口页四宫格 —— */
.about-hub-lead {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  line-height: 1.85;
  color: var(--gray-color, #6c757d);
}

.about-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.about-hub-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
}

.about-hub-card h2 {
  font-size: 20px;
  color: var(--primary-color, #0066cc);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-hub-card h2 i {
  font-size: 22px;
  opacity: 0.9;
}

.about-hub-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-color, #6c757d);
  margin: 0;
}

.about-hub-card .hub-more {
  margin-top: 16px;
  font-size: 14px;
  color: var(--primary-color, #0066cc);
  font-weight: 500;
}

/* —— 子页通用 —— */
.subpage-section {
  background: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.subpage-section h2 {
  font-size: 26px;
  color: var(--primary-color, #0066cc);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray, #e9ecef);
}

.subpage-section h3 {
  font-size: 19px;
  color: var(--dark-color, #343a40);
  margin: 24px 0 12px;
}

.subpage-section p {
  line-height: 1.9;
  margin-bottom: 16px;
  color: #333;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.value-card {
  background: var(--light-color, #f8f9fa);
  border-radius: 10px;
  padding: 22px;
  border: 1px solid var(--light-gray, #e9ecef);
}

.value-card h4 {
  font-size: 17px;
  color: var(--primary-color, #0066cc);
  margin-bottom: 10px;
}

.value-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-color, #6c757d);
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 32px 0;
}

.stat-item {
  text-align: center;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 168, 150, 0.08));
  border-radius: 10px;
  min-width: 140px;
}

.stat-item strong {
  display: block;
  font-size: 28px;
  color: var(--primary-color, #0066cc);
  font-weight: 700;
}

.stat-item span {
  font-size: 13px;
  color: var(--gray-color, #6c757d);
}

.business-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 20px;
}

@media (max-width: 992px) {
  .business-detail-grid {
    grid-template-columns: 1fr;
  }
}

.business-detail-visual {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.business-detail-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.business-detail-text ul {
  margin: 12px 0 0 1.2em;
  line-height: 1.85;
  color: #444;
}

.timeline-page .timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-page .timeline-container::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: var(--light-gray, #e9ecef);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-page .timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-page .timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-page .timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-page .timeline-content {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-page .timeline-content h3 {
  color: var(--primary-color, #0066cc);
  margin: 0 0 10px;
  font-size: 18px;
}

.timeline-page .timeline-content .date {
  font-weight: 700;
  color: var(--secondary-color, #00a896);
  margin-bottom: 10px;
  font-size: 14px;
}

.timeline-page .timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--primary-color, #0066cc);
  border: 4px solid #fff;
  top: 30px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-page .timeline-item:nth-child(even)::after {
  left: -10px;
}

@media (max-width: 768px) {
  .timeline-page .timeline-container::after {
    left: 31px;
  }

  .timeline-page .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 70px;
    padding-right: 15px;
  }

  .timeline-page .timeline-item::after {
    left: 21px !important;
    right: auto;
  }

  .subpage-section {
    padding: 24px 18px;
  }
}
