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

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

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

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

.page-blog__section-title--light {
  color: #FFF5E1; /* Text Main */
}

.page-blog__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #FFF5E1; /* Text Main */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  background: linear-gradient(180deg, #C91F17 0%, #E53935 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-blog__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-blog__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
  font-weight: 700;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__description {
  font-size: 20px;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button Styles */
.page-blog__cta-button,
.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast on gold */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog__btn-secondary {
  background: #FFF5E1; /* Text Main */
  color: #C91F17; /* Main Color */
  border: 2px solid #F2B544; /* Border */
  margin-left: 20px;
}

.page-blog__btn-secondary:hover {
  background: #F4D34D; /* Gold */
  color: #7A0E0E; /* Deep Red */
  border-color: #FFCC66; /* Glow */
}

/* Intro Section */
.page-blog__intro-section {
  background-color: #B71C1C; /* Background */
}

.page-blog__intro-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-blog__intro-text p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
}

.page-blog__intro-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-blog__intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Featured Topics Section */
.page-blog__featured-topics {
  background-color: #D32F2F; /* Card BG */
}

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

.page-blog__topic-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for contrast */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px 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 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__topic-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-blog__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__card-title a {
  color: #FFD86A; /* Gold for titles on dark background */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__card-title a:hover {
  color: #FFCC66; /* Glow */
}

.page-blog__card-content p {
  font-size: 15px;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__card-link {
  display: inline-block;
  color: #F4D34D; /* Gold */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-blog__card-link:hover {
  color: #FFCC66; /* Glow */
  text-decoration: underline;
}

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

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

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

.page-blog__why-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-blog__why-item-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD86A; /* Gold */
  margin-bottom: 15px;
}

.page-blog__why-item p {
  font-size: 16px;
  color: #FFF5E1; /* Text Main */
}

/* FAQ Section */
.page-blog__faq-section {
  background-color: #D32F2F; /* Card BG */
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #C91F17; /* Main Color */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
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;
  color: #FFD86A; /* Gold */
}
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: #E53935; /* Auxiliary Color */
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD86A; /* Gold */
  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: rgba(0, 0, 0, 0.1); /* Slightly darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1; /* Text Main */
}
details.page-blog__faq-item .page-blog__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* CTA Section */
.page-blog__cta-section {
  background-color: #B71C1C; /* Background */
}

.page-blog__cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-blog__cta-text-area {
  flex: 1;
  text-align: left;
}

.page-blog__cta-text-area .page-blog__section-title {
  text-align: left;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold */
}

.page-blog__cta-text-area p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-blog__cta-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-blog__cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

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

  .page-blog__hero-image {
    max-height: 500px;
  }

  .page-blog__hero-image img {
    object-fit: contain;
  }

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

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

  .page-blog__intro-grid,
  .page-blog__cta-content {
    flex-direction: column;
    text-align: center;
  }

  .page-blog__intro-text,
  .page-blog__cta-text-area {
    text-align: center;
  }

  .page-blog__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-blog__cta-buttons {
    justify-content: center;
  }

  .page-blog__topic-card img {
    
  }

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

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

  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: 22px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-blog__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-blog__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px; /* Small top padding */
    min-height: unset;
  }

  .page-blog__hero-image {
    max-height: unset; /* Remove max-height on mobile */
    margin-bottom: 20px;
  }

  .page-blog__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Mobile: contain */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
  }

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

  .page-blog__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-blog__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .page-blog__container,
  .page-blog__intro-section .page-blog__intro-text,
  .page-blog__featured-topics .page-blog__topic-grid,
  .page-blog__why-follow-section .page-blog__why-list,
  .page-blog__faq-section .page-blog__faq-list,
  .page-blog__cta-section .page-blog__cta-content {
    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-left: 15px; /* Add padding for text inside button */
    padding-right: 15px;
    margin-left: 0 !important; /* Remove margin-left for secondary button */
  }

  .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: 0; /* Container padding handled by .page-blog__container */
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px; /* Space between stacked buttons */
  }

  .page-blog__intro-grid {
    gap: 30px;
  }

  .page-blog__intro-text p {
    font-size: 15px;
  }

  .page-blog__topic-grid {
    grid-template-columns: 1fr; /* Single column for cards */
  }

  .page-blog__topic-card img {
    
  }

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

  .page-blog__why-list {
    grid-template-columns: 1fr; /* Single column for why items */
  }

  .page-blog__why-item {
    padding: 25px;
  }

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

  .page-blog__faq-list {
    padding: 0;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-blog__faq-qtext {
    font-size: 15px;
    width: calc(100% - 40px); /* Adjust width for toggle */
  }
  .page-blog__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
  }

  .page-blog__cta-content {
    padding: 30px;
  }

  .page-blog__cta-text-area .page-blog__section-title {
    font-size: 24px;
  }

  .page-blog__cta-text-area p {
    font-size: 16px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}