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

/* Page Content Area */
.page-content {
  padding: 3rem 0;
  min-height: 500px;
}

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

/* Content Header */
.content-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #D0C8BC;
}

.content-header h1 {
  font-size: 2rem;
  color: #1B4332;
  margin-bottom: 0.75rem;
}

.content-header p {
  color: #666;
  font-size: 1rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

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

.sidebar {
  min-width: 0;
}

/* Sidebar Widget */
.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  color: #1B4332;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #D4A373;
}

.sidebar-widget ul li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0ece6;
}

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

.sidebar-widget a {
  color: #333;
  font-size: 0.9rem;
  display: block;
}

.sidebar-widget a:hover {
  color: #D4A373;
}

.widget-meta {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.25rem;
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: #F5F0EB;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #1B4332;
  transition: all 0.3s ease;
}

.tag-cloud a:hover {
  background: #1B4332;
  color: #fff;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.5rem;
  color: #1B4332;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #D4A373;
  display: inline-block;
}

.content-section h3 {
  font-size: 1.2rem;
  color: #1B4332;
  margin: 1.5rem 0 1rem;
}

.content-section p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.content-section ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: #333;
  line-height: 1.7;
}

.content-section ol li {
  list-style: decimal;
  margin-bottom: 0.5rem;
  color: #333;
  line-height: 1.7;
}

/* Timeline (for about page) */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #D4A373;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  background: #D4A373;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #D4A373;
}

.timeline-year {
  font-size: 0.85rem;
  color: #D4A373;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  font-size: 1.1rem;
  color: #1B4332;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* Case Cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.case-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.case-image {
  height: 200px;
  background: #F5F0EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B4332;
  font-size: 1.2rem;
  font-weight: 600;
}

.case-body {
  padding: 1.5rem;
}

.case-body h3 {
  font-size: 1.1rem;
  color: #1B4332;
  margin-bottom: 0.75rem;
}

.case-body p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

.case-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #999;
}

/* Honor Grid */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.honor-item {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.honor-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.honor-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.honor-item h3 {
  font-size: 1.1rem;
  color: #1B4332;
  margin-bottom: 0.5rem;
}

.honor-item p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0;
}

/* Partner Page */
.partner-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #D0C8BC;
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: #D4A373;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.partner-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F0EB;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1B4332;
}

.partner-card h3 {
  font-size: 1.1rem;
  color: #1B4332;
  margin-bottom: 0.75rem;
}

.partner-card p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0;
}

/* Related Links */
.related-links {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.related-links h3 {
  font-size: 1.2rem;
  color: #1B4332;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #D0C8BC;
}

.related-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.related-links li a {
  color: #333;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  display: block;
}

.related-links li a:hover {
  color: #D4A373;
}

/* Responsive */
@media (max-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: 2;
  }
  
  .case-grid,
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partner-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-content {
    padding: 2rem 0;
  }
  
  .content-header h1 {
    font-size: 1.5rem;
  }
  
  .case-grid,
  .honor-grid,
  .partner-grid-full {
    grid-template-columns: 1fr;
  }
  
  .related-links ul {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 1.5rem;
  }
}
