.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog__section {
  padding: 60px 0;
}

.page-blog__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog__section-title--light {
  color: #ffffff;
}

.page-blog__section-intro {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.page-blog__section-intro--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-blog__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  margin-top: 100px; /* Push content down to avoid header overlap visually */
  margin-bottom: 80px;
}

.page-blog__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-blog__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  margin: 0 10px;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  margin: 0 10px;
}

.page-blog__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  border-color: #2F6BFF;
  transform: translateY(-2px);
}

/* Latest Articles Section */
.page-blog__latest-articles-section {
  background-color: #F4F7FB;
}

.page-blog__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__article-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-blog__article-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-blog__article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog__article-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog__article-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #1F2D3D; /* Text Main */
}

.page-blog__article-title a {
  text-decoration: none;
  color: #1F2D3D; /* Text Main */
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #2F6BFF; /* Main Color */
}

.page-blog__article-meta {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 16px;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #2F6BFF; /* Main Color */
  border: 1px solid #2F6BFF; /* Main Color */
  transition: all 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more-btn:hover {
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
}

/* Categories Section */
.page-blog__categories-section {
  background: #2F6BFF; /* Main Color */
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-blog__category-item {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-blog__category-item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.page-blog__category-title {
  font-size: 20px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
}

.page-blog__category-description {
  font-size: 15px;
  color: #333333;
  margin-bottom: 20px;
}

.page-blog__read-more-btn--dark {
  color: #2F6BFF;
  border-color: #2F6BFF;
  background: transparent;
}

.page-blog__read-more-btn--dark:hover {
  background: #2F6BFF;
  color: #ffffff;
}

/* About Blog Section */
.page-blog__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-blog__about-text {
  flex: 1;
}

.page-blog__about-text p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__about-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-blog__about-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: block;
}

/* FAQ Section */
.page-blog__faq-section {
  background-color: #F4F7FB; /* Background */
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #ffffff; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: #f5f5f5;
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-blog__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* CTA Section */
.page-blog__cta-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main & Auxiliary color gradient */
  text-align: center;
  padding: 80px 0;
}

.page-blog__cta-content {
  max-width: 800px;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Global image and button responsive styles */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    padding: 60px 20px;
    margin-top: 80px;
    margin-bottom: 60px;
  }
  .page-blog__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-blog__hero-description {
    font-size: clamp(16px, 2vw, 20px);
  }
  .page-blog__section {
    padding: 40px 0;
  }
  .page-blog__about-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog__about-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
  .page-blog__article-image-wrapper {
    height: 180px;
  }
  .page-blog__article-title {
    font-size: 20px;
  }
  .page-blog__category-item img {
    max-width: 80%;
  }
}

@media (max-width: 849px) {
  .page-blog__hero-image img {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important;
    height: auto !important;
    position: relative;
    top: unset;
    left: unset;
  }
  .page-blog__hero-section {
    padding-top: 10px;
    background-color: #2F6BFF; /* Fallback background if image is contain */
  }
  .page-blog__hero-image {
    position: relative;
    height: auto;
    margin-bottom: 20px;
  }
  .page-blog__hero-content {
    margin-top: 0;
    background: none; /* Remove overlay if image is contain */
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .page-blog__container,
  .page-blog__section,
  .page-blog__card,
  .page-blog__cta-content,
  .page-blog__about-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-blog__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important;
  }
  .page-blog__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .page-blog__hero-description {
    font-size: 16px;
  }
  .page-blog__hero-content {
    padding: 30px 15px;
    margin-bottom: 40px;
  }

  /* 产品展示图区域 (通用文章卡片) */
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__article-card {
    margin-bottom: 15px;
  }
  .page-blog__article-image-wrapper {
    height: 160px;
  }
  .page-blog__article-title {
    font-size: 18px;
  }
  .page-blog__article-excerpt {
    font-size: 15px;
  }
  /* 确保无横向滚动 */
  .page-blog__latest-articles-section {
    overflow-x: hidden;
  }

  /* 装饰主标题 + 长文 SEO 区 (Section Title) */
  .page-blog__section-title {
    font-size: clamp(24px, 7vw, 32px);
    text-align: center;
    word-break: break-word;
  }
  .page-blog__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
    word-break: break-word;
  }

  /* 通用图片与容器 */
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__category-item img {
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-blog__about-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-blog__about-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
  .page-blog__about-text p {
    font-size: 16px;
  }

  /* 按钮与按钮容器 */
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    margin: 5px 0 !important;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

  /* FAQ */
  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px;
  }
  .page-blog__faq-qtext {
    font-size: 16px;
  }
  .page-blog__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
  .page-blog__faq-answer p {
    font-size: 15px;
  }
}