/* ==========================================================================
   Shandong Gaoqiang New Material Technology Co., Ltd. - News Detail CSS
   Optimized Article Reading Width, Typography, Margins & Pagination
   ========================================================================== */

/* --------------------------------------------------
   1. Article Hero Banner & Meta
   -------------------------------------------------- */
.article-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: url('../images/about_building.jpg') center / cover no-repeat;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 29, 60, 0.94) 0%, rgba(8, 29, 60, 0.78) 50%, rgba(8, 29, 60, 0.35) 100%);
}

.article-hero-copy {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
}

.article-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.article-crumb a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.article-crumb a:hover {
  color: #ffffff;
}

.article-crumb i.fa-chevron-right {
  font-size: 0.65rem;
  color: #94a3b8;
}

.article-crumb .active-crumb {
  color: #ffffff;
  font-weight: 700;
}

.article-hero h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-decor-line {
  display: block;
  width: 42px;
  height: 3px;
  margin: 14px 0 16px;
  background: var(--accent);
  border-radius: 2px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 500;
  margin: 0;
}

.article-meta i {
  color: #1665d8;
  font-size: 0.95rem;
}

.meta-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------
   2. Article Main Content Layout (Uses Global Container Width)
   -------------------------------------------------- */
.article-container {
  background: #ffffff;
  padding: 60px 0 80px;
}

.article-content {
  width: 100%;
  padding: 0;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Lead Paragraph Accent */
.article-intro {
  font-size: 1.15rem;
  line-height: 1.75;
  font-weight: 600;
  color: #0f223d;
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 4px solid #1665d8;
}

/* Feature Image Wrap */
.article-image-wrap {
  margin: 32px 0 36px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}

.article-feature-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.image-caption {
  display: block;
  padding: 12px 18px;
  font-size: 0.85rem;
  color: #64748b;
  background: #f1f5f9;
  text-align: center;
  font-style: italic;
  border-top: 1px solid #e2e8f0;
}

/* Article Body Typography */
.article-content h2 {
  margin: 40px 0 16px;
  color: #0f223d;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.article-content p {
  margin: 0 0 20px;
}

.article-list {
  margin: 16px 0 28px 24px;
  padding: 0;
}

.article-list li {
  margin-bottom: 10px;
  color: #334155;
  line-height: 1.65;
}

.article-list li::marker {
  color: #1665d8;
  font-size: 1.1rem;
}

/* --------------------------------------------------
   3. Article Navigation Pagination
   -------------------------------------------------- */
.article-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.article-pagination a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #0f223d;
  transition: all 0.25s ease;
  max-width: 48%;
}

.article-pagination a:hover {
  color: #1665d8;
}

.article-pagination small {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.article-pagination span {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  line-height: 1.35;
}

.article-pagination i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #0f223d;
  transition: all 0.25s ease;
}

.article-pagination a:hover i {
  background: #1665d8;
  color: #ffffff;
  border-color: #1665d8;
  transform: scale(1.06);
}

/* --------------------------------------------------
   4. CTA Banner & Responsive Styles
   -------------------------------------------------- */
.products-cta {
  position: relative;
  min-height: 240px;
  padding: 60px 0;
  overflow: hidden;
  color: #ffffff;
  background: url('../images/index-cta.png') center / cover no-repeat;
}

.products-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(8, 29, 60, 0.94) 0%, rgba(8, 29, 60, 0.82) 100%);
}

.products-cta-wave {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
}

.products-cta-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.products-cta-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.products-cta h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
}

.products-cta p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
}

.products-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  padding: 12px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  color: #ffffff;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.products-cta-btn:hover {
  color: #081d3c;
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .article-hero {
    min-height: 220px;
  }
  .article-container {
    padding: 36px 0 60px;
  }
  .article-content {
    font-size: 0.98rem;
    padding: 0 16px;
  }
  .article-intro {
    font-size: 1.05rem;
  }
  .article-content h2 {
    font-size: 1.3rem;
    margin-top: 30px;
  }
  .article-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .article-pagination a {
    max-width: 100%;
  }
  .products-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
