.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--card-bg); /* Use shared body background */
}

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

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

.page-blog__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F3F8FF; /* Text Main */
  position: relative;
  padding-bottom: 10px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2B73F6 0%, #1144A6 100%);
  border-radius: 2px;
}

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

.page-blog__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #AFC4E8; /* Text Secondary */
}

.page-blog__description--light {
  color: #AFC4E8;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  color: #ffffff;
}

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

.page-blog__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
}

.page-blog__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F3F8FF;
}

.page-blog__hero-content .page-blog__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #AFC4E8;
}

.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Featured Articles Section */
.page-blog__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog__article-card {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border */
}

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

.page-blog__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.page-blog__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-blog__article-content {
  padding: 25px;
}

.page-blog__article-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.4;
}

.page-blog__article-excerpt {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-blog__article-date {
  font-size: 14px;
  color: #AFC4E8;
  opacity: 0.7;
  display: block;
}

.page-blog__view-all-button-container {
  text-align: center;
}

.page-blog__view-all-button {
  display: inline-block;
  background: #1D5FD1; /* Auxiliary color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__view-all-button:hover {
  background: #2b73f6;
}

/* Categories Section */
.page-blog__dark-section {
  background-color: #08162B; /* Deep Navy */
}

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

.page-blog__category-card {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border */
  text-align: center;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__category-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  padding-bottom: 20px;
}

.page-blog__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-blog__category-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F3F8FF; /* Text Main */
  padding: 0 15px;
}

.page-blog__category-desc {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 15px;
}

/* Why Choose Us Section */
.page-blog__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-blog__feature-item {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-blog__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-blog__feature-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-blog__feature-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-blog__cta-area {
  text-align: center;
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-text {
  font-size: 22px;
  font-weight: bold;
  color: #F3F8FF;
  margin-bottom: 25px;
}

.page-blog__cta-button--secondary {
  background: #F2C14E; /* Gold */
  color: #08162B; /* Deep Navy */
  border: none;
}

.page-blog__cta-button--secondary:hover {
  background: #ffdb85;
  transform: translateY(-3px);
}

/* FAQ Section */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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: #1B3357; /* Divider color for hover */
}

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

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-blog__text-link {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
}

.page-blog__text-link:hover {
  color: #2B73F6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    padding: 30px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }

  .page-blog__description {
    font-size: 17px;
  }

  .page-blog__section-title {
    font-size: 32px;
  }

  .page-blog__articles-grid,
  .page-blog__categories-grid,
  .page-blog__features-grid {
    gap: 20px;
  }

  .page-blog__article-title {
    font-size: 20px;
  }

  .page-blog__category-title {
    font-size: 19px;
  }

  .page-blog__feature-title {
    font-size: 22px;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px 20px;
  }

  .page-blog__faq-qtext {
    font-size: 17px;
  }

  .page-blog__faq-toggle {
    font-size: 26px;
  }

  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 20px 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Small top padding, body handles header offset */
  }
  .page-blog__hero-image {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    height: auto !important;
    aspect-ratio: unset !important;
    max-height: 250px;
    width: 100%;
  }
  .page-blog__hero-image-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
  }
  .page-blog__hero-content {
    padding: 20px 15px;
    position: relative; /* Ensure content is above image when image is object-fit:contain */
    z-index: 1;
    background-color: var(--card-bg);
    margin-top: -10px; /* Adjust if needed to bring content closer */
  }
  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-blog__hero-content .page-blog__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* General content areas */
  .page-blog__section-spacing {
    padding: 40px 0;
  }
  .page-blog__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-blog__description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  /* 文章列表 / 产品展示图区域 (for blog, no product grid, but applies to article grid) */
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  /* 通用图片与容器 */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-content {
    padding: 20px;
  }
  .page-blog__article-title {
    font-size: 18px;
  }
  .page-blog__article-excerpt {
    font-size: 15px;
  }

  .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__category-image {
    height: 160px;
  }
  .page-blog__category-title {
    font-size: 18px;
  }

  .page-blog__features-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__feature-item {
    padding: 25px;
  }
  .page-blog__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-blog__feature-title {
    font-size: 20px;
  }

  .page-blog__cta-area {
    padding: 30px 20px;
  }
  .page-blog__cta-text {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-blog__cta-button,
  .page-blog__view-all-button {
    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;
  }
  .page-blog__cta-area .page-blog__cta-button {
    margin: 0 auto;
  }
  .page-blog__view-all-button-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* FAQ Section */
  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: 24px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
}