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

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

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

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

.page-blog__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog__highlight {
  color: #2AD16F; /* A lighter green from button gradient */
  font-weight: 600;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
}

.page-blog__hero-image {
  width: 100%;
  max-height: 550px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensure image covers area */
  display: block;
}

.page-blog__hero-content {
  max-width: 900px;
  padding: 0 15px;
  position: relative; /* Ensure content is above any potential background overlap */
  z-index: 10;
}

.page-blog__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure text breaks word */
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-blog__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
  margin-left: 15px;
}

.page-blog__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #57E38D;
}

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

/* Introduction Section */
.page-blog__introduction-section {
  background-color: #08160F; /* Background */
}

/* Featured Topics Section */
.page-blog__featured-topics {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
}

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

.page-blog__topic-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-blog__topic-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-blog__topic-title a:hover {
  color: #57E38D; /* Glow */
}

.page-blog__topic-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Follow Section */
.page-blog__why-follow-section {
  background-color: #08160F; /* Background */
}

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

.page-blog__reason-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-blog__reason-item:hover {
  transform: translateY(-5px);
}

.page-blog__reason-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #57E38D; /* Glow */
}

.page-blog__reason-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-blog__article-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  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 12px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__article-image {
  width: 100%;
  height: 250px;
  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;
  flex-grow: 1;
}

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

.page-blog__article-title a:hover {
  color: #57E38D; /* Glow */
}

.page-blog__article-meta {
  font-size: 14px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-blog__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-blog__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 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;
}

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: rgba(17, 168, 78, 0.2);
}

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

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D; /* 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: #0A4B2C; /* Deep Green */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

/* CTA Section */
.page-blog__cta-section {
  background-color: #08160F; /* Background */
  padding-bottom: 80px;
}

/* Global image settings for content area */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-blog__hero-image {
    max-height: 450px;
  }

  .page-blog__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }

  .page-blog__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }

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

  .page-blog__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

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

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

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 40px;
  }

  .page-blog__hero-image {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-blog__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Constrained font size */
    margin-bottom: 15px;
  }

  .page-blog__hero-description {
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: 25px;
  }

  /* 通用图片与容器 */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-blog__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
  }

  .page-blog__text-block {
    font-size: 16px;
  }

  /* 按钮与按钮容器 */
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-left: 0; /* Remove margin-left for secondary button */
  }

  .page-blog__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-blog__btn-secondary {
    margin-top: 10px; /* Add some space between stacked buttons if needed */
  }

  /* 产品展示图区域 (Latest Articles Grid) */
  .page-blog__latest-articles-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-blog__topic-card,
  .page-blog__reason-item,
  .page-blog__article-card {
    margin: 0 10px; /* Add some side margin for cards */
  }

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

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

  .page-blog__article-image {
    height: 200px;
  }

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

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

  .page-blog__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

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