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

/* 内页通用 */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

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

.page-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 50px 0;
  }
  
  .page-banner h1 {
    font-size: 26px;
  }
  
  .page-banner p {
    font-size: 15px;
  }
}

/* 页面内容区 */
.page-content {
  padding: 60px 0;
  background-color: var(--white);
  min-height: 500px;
}

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

.page-content h2 {
  font-size: 28px;
  color: var(--primary);
  margin: 40px 0 20px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

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

.page-content h3 {
  font-size: 22px;
  color: var(--primary);
  margin: 30px 0 15px;
  font-weight: 600;
}

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

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

.page-content ul li,
.page-content ol li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--text);
}

.page-content ul li {
  list-style-type: disc;
}

.page-content ol li {
  list-style-type: decimal;
}

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

.page-content a:hover {
  color: var(--primary);
}

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

.page-content blockquote {
  margin: 25px 0;
  padding: 20px 25px;
  background-color: var(--light-bg);
  border-left: 4px solid var(--secondary);
  font-style: italic;
  color: var(--text-light);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.page-content th,
.page-content td {
  padding: 12px 15px;
  border: 1px solid var(--border);
  text-align: left;
}

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

.page-content tr:nth-child(even) {
  background-color: var(--light-bg);
}

@media (max-width: 768px) {
  .page-content {
    padding: 40px 0;
  }
  
  .page-content h2 {
    font-size: 22px;
  }
  
  .page-content h3 {
    font-size: 18px;
  }
  
  .page-content p,
  .page-content ul li,
  .page-content ol li {
    font-size: 15px;
  }
}

/* 两栏布局 */
.two-column {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.main-content {
  min-width: 0;
}

.sidebar {
  flex-shrink: 0;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-widget h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}

.sidebar-widget ul li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

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

.sidebar-widget ul li a {
  font-size: 15px;
  color: var(--text);
  transition: all 0.3s ease;
  display: block;
}

.sidebar-widget ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.sidebar-widget .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-widget .tag-cloud a {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--light-bg);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text);
  transition: all 0.3s ease;
}

.sidebar-widget .tag-cloud a:hover {
  background-color: var(--secondary);
  color: var(--white);
}

@media (max-width: 992px) {
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: -1;
  }
}

/* 案例展示 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.case-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-item-content {
  padding: 25px;
}

.case-item-content h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.case-item-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.case-meta span {
  font-size: 13px;
  color: var(--text-light);
}

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

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

/* 荣誉资质 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.honor-item {
  text-align: center;
  padding: 35px 25px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.honor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.honor-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: rgba(212, 165, 116, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--secondary);
}

.honor-item h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.honor-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

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

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

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 40px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--secondary);
}

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

.timeline-content h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

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

/* 团队展示 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-item {
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.team-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.team-avatar {
  width: 100%;
  height: 200px;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--border);
}

.team-info {
  padding: 20px;
}

.team-info h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 600;
}

.team-info p {
  font-size: 14px;
  color: var(--text-light);
}

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

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