.page-blog {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Aligned with fixed header requirement */
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Using clamp for responsive H1 */
  color: #F2C14E; /* Gold */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-blog__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__section-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-blog__article-card,
.page-blog__guide-card,
.page-blog__update-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-blog__article-image,
.page-blog__guide-image,
.page-blog__update-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__article-content,
.page-blog__guide-content,
.page-blog__update-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title,
.page-blog__guide-title,
.page-blog__update-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-excerpt,
.page-blog__guide-text,
.page-blog__update-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__article-date {
  font-size: 0.85rem;
  color: #2E7A4E; /* Border */
  margin-top: auto; /* Pushes date to bottom */
}

.page-blog__text-link {
  color: #2AD16F; /* Lighter green from button gradient */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__text-link:hover {
  color: #F2C14E; /* Gold */
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

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

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

.page-blog__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Lighter green from button gradient */
  border: 2px solid #2AD16F;
  margin-left: 20px;
}

.page-blog__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
}

.page-blog__guide-section,
.page-blog__updates-section,
.page-blog__faq-section,
.page-blog__cta-section {
  padding: 60px 0;
}

.page-blog__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  position: relative;
}

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

.page-blog__faq-item summary:focus {
  outline: none;
}

.page-blog__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__faq-answer p {
  margin: 0;
}

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

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

/* Desktop/Tablet */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .page-blog__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
  }

  .page-blog__articles-grid,
  .page-blog__guide-grid,
  .page-blog__updates-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-blog__article-image,
  .page-blog__guide-image,
  .page-blog__update-image {
    height: 220px;
  }

  .page-blog__article-title,
  .page-blog__guide-title,
  .page-blog__update-title {
    font-size: 1.3rem;
  }

  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Mobile Styles (max-width: 768px) - MUST INCLUDE ALL LISTED MODULES */
@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* 1. HERO主图区域 */
  .page-blog__hero-section {
    padding-top: 10px !important; /* Fixed header gap */
    padding-bottom: 20px;
  }

  .page-blog__hero-content {
    margin-top: 15px;
    padding: 0 15px;
  }

  .page-blog__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust for smaller screens */
    margin-bottom: 10px;
  }

  .page-blog__intro-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* 2. 产品展示图区域 (General grid items for blog articles, guides, updates) */
  .page-blog__articles-grid,
  .page-blog__guide-grid,
  .page-blog__updates-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 25px;
  }

  .page-blog__article-card,
  .page-blog__guide-card,
  .page-blog__update-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

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

  .page-blog__article-image,
  .page-blog__guide-image,
  .page-blog__update-image {
    height: 200px; /* Adjust height for mobile */
  }

  /* 4. 按钮与按钮容器 */
  .page-blog__cta-button,
  .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: 1rem !important;
    margin-left: 0 !important; /* Reset margin for secondary button */
  }

  .page-blog__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 5. 其他内容模块 */
  .page-blog__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-top: 40px;
    margin-bottom: 15px;
  }

  .page-blog__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-blog__article-content,
  .page-blog__guide-content,
  .page-blog__update-content {
    padding: 15px;
  }

  .page-blog__article-title,
  .page-blog__guide-title,
  .page-blog__update-title {
    font-size: 1.2rem;
  }

  .page-blog__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  .page-blog__guide-section,
  .page-blog__updates-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }
}