/* page.css - 内页通用布局 */
/* 太原市斯航网络科技有限公司 - 内页样式 */

/* ===== 页面标题区 ===== */
.page-header {
  background-color: #261A17;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ===== 页面主体 ===== */
.page-main {
  padding: 3rem 0;
}

.page-content-inner {
  background-color: #FFFFFF;
  padding: 2.5rem;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 12px rgba(38, 26, 23, 0.06);
  -moz-box-shadow: 0 2px 12px rgba(38, 26, 23, 0.06);
  box-shadow: 0 2px 12px rgba(38, 26, 23, 0.06);
}

.page-content-inner h2 {
  color: #3E2723;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #4DB6AC;
}

.page-content-inner h2:first-child {
  margin-top: 0;
}

.page-content-inner h3 {
  color: #3E2723;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content-inner p {
  color: #333333;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.page-content-inner ul,
.page-content-inner ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content-inner li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* ===== 侧边栏 ===== */
.page-sidebar {
  padding-left: 1.5rem;
}

.sidebar-widget {
  background-color: #FFFFFF;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 12px rgba(38, 26, 23, 0.06);
  -moz-box-shadow: 0 2px 12px rgba(38, 26, 23, 0.06);
  box-shadow: 0 2px 12px rgba(38, 26, 23, 0.06);
}

.sidebar-widget h4 {
  color: #3E2723;
  font-size: 1.0625rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #4DB6AC;
}

.sidebar-list {
  list-style: none;
  padding-left: 0;
}

.sidebar-list li {
  padding: 0.625rem 0;
  border-bottom: 1px solid #F5F2F0;
  margin-bottom: 0;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: #333333;
  font-size: 0.875rem;
  display: block;
}

.sidebar-list a:hover {
  color: #4DB6AC;
  text-decoration: none;
}

/* ===== 子页面导航 ===== */
.sub-nav {
  background-color: #FFFFFF;
  border-bottom: 1px solid #D5CFCB;
  margin-bottom: 2rem;
}

.sub-nav-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  overflow-x: auto;
}

.sub-nav-list li {
  margin-bottom: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.sub-nav-list a {
  display: block;
  padding: 1rem 1.5rem;
  color: #666666;
  font-size: 0.9375rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.sub-nav-list a:hover,
.sub-nav-list a.active {
  color: #4DB6AC;
  border-bottom-color: #4DB6AC;
  text-decoration: none;
}

/* ===== 内容卡片 ===== */
.content-card {
  background-color: #F5F2F0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-left: 4px solid #4DB6AC;
}

.content-card h3 {
  margin-top: 0;
  color: #3E2723;
}

/* ===== 时间线 ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #D5CFCB;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #4DB6AC;
  border: 2px solid #FFFFFF;
  -webkit-box-shadow: 0 0 0 2px #4DB6AC;
  -moz-box-shadow: 0 0 0 2px #4DB6AC;
  box-shadow: 0 0 0 2px #4DB6AC;
}

.timeline-content h4 {
  color: #3E2723;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666666;
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ===== 资质展示 ===== */
.qual-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.qual-item {
  width: 33.333333%;
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
  float: left;
}

.qual-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background-color: rgba(77, 182, 172, 0.1);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 2rem;
  color: #4DB6AC;
}

.qual-item h4 {
  color: #3E2723;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.qual-item p {
  color: #666666;
  font-size: 0.8125rem;
  margin-bottom: 0;
}

/* ===== Logo墙 ===== */
.logo-wall {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.logo-wall-item {
  width: 25%;
  padding: 0.5rem;
  float: left;
}

.logo-wall-inner {
  background-color: #F5F2F0;
  border: 1px solid #D5CFCB;
  padding: 1.5rem 1rem;
  text-align: center;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.logo-wall-inner:hover {
  border-color: #4DB6AC;
}

.logo-wall-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #3E2723;
}

/* ===== 案例展示 ===== */
.case-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.case-item {
  width: 50%;
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
  float: left;
}

.case-item-inner {
  background-color: #F5F2F0;
  padding: 1.5rem;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-left: 4px solid #4DB6AC;
}

.case-item h4 {
  color: #3E2723;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.case-item p {
  color: #666666;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.case-item .case-data {
  font-size: 0.8125rem;
  color: #4DB6AC;
  font-weight: 600;
}

/* ===== 数据展示通用 ===== */
.data-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 2rem;
  background-color: #F5F2F0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.data-col {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
  padding: 0 0.75rem;
}

.data-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #4DB6AC;
}

.data-desc {
  font-size: 0.875rem;
  color: #666666;
  margin-top: 0.5rem;
}

/* ===== 响应式 ===== */
@media screen and (max-width: 1023px) {
  .page-sidebar {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .qual-item {
    width: 50%;
  }
  
  .logo-wall-item {
    width: 33.333333%;
  }
  
  .case-item {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .page-content-inner {
    padding: 1.5rem;
  }
  
  .qual-item {
    width: 100%;
  }
  
  .logo-wall-item {
    width: 50%;
  }
  
  .data-col {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    margin-bottom: 1rem;
  }
}
