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

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

.page-blog__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Primary to Secondary for dark sections */
  color: #ffffff;
}

.page-blog__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding if body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  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: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.05em;
}

.page-blog__intro-text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
  opacity: 0.9;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(47, 107, 255, 0.3);
}

/* Section Titles */
.page-blog__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
  letter-spacing: -0.03em;
}

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

.page-blog__section-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
  opacity: 0.8;
}

.page-blog__dark-section .page-blog__section-description {
  color: #ffffff;
}

/* Recent Posts Section */
.page-blog__recent-posts {
  padding: 60px 0;
}

.page-blog__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-blog__blog-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #D6E2FF; /* Border */
}

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

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

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

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

.page-blog__blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-blog__blog-title a:hover {
  color: #2F6BFF; /* Primary */
}

.page-blog__blog-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
  display: block;
}

.page-blog__blog-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  color: #2F6BFF; /* Primary */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-blog__read-more:hover {
  text-decoration: underline;
  color: #000000; /* Custom Color_1776249996415 */
}

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

.page-blog__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Primary */
  border: 2px solid #2F6BFF; /* Primary */
}

.page-blog__btn-secondary:hover {
  background: #2F6BFF; /* Primary */
  color: #ffffff;
  box-shadow: 0 8px 15px rgba(47, 107, 255, 0.3);
}

/* Categories Section */
.page-blog__categories-section {
  padding: 60px 0;
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.page-blog__category-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-blog__category-card:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.page-blog__category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-blog__category-desc {
  font-size: 0.95rem;
  color: #ffffff;
  opacity: 0.9;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
}

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

.page-blog__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  list-style: none;
  outline: none;
}

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

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-blog__faq-qtext {
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  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;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 80px 0;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-blog__categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }
  .page-blog__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* 深色导语区 (Section description is part of hero/other sections) */
  .page-blog__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }
  .page-blog__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* 博客网格 */
  .page-blog__blog-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 30px;
  }
  .page-blog__blog-card {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-blog__blog-image-wrapper {
    height: 180px;
  }
  .page-blog__blog-title {
    font-size: 1.1rem;
  }
  .page-blog__blog-excerpt {
    font-size: 0.9rem;
  }

  /* 通用图片与容器 */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__container,
  .page-blog__section,
  .page-blog__card,
  .page-blog__hero-section,
  .page-blog__recent-posts,
  .page-blog__categories-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .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 20px;
    font-size: 1rem;
  }
  .page-blog__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  /* FAQ 与其他模块 */
  .page-blog__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-blog__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px;
  }
  .page-blog__categories-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }
  .page-blog__category-card {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-blog__recent-posts,
  .page-blog__categories-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}