/* style/blog.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */

/* General styles for the blog page, ensuring light text on a dark background */
.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Inherit from body or shared, will be #08160F */
}

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-blog__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog__hero-content {
  position: relative;
  padding: 0 20px;
  max-width: 900px;
}

.page-blog__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__subtitle {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-blog__btn-secondary:hover {
  background-color: #2E7A4E; /* Border */
  color: #ffffff;
}

/* Section Titles */
.page-blog__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-blog__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__text-block {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

/* Content Image */
.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Dark Section styling */
.page-blog__dark-section {
  background-color: #11271B; /* Card BG */
  padding: 60px 0;
}

/* Feature List */
.page-blog__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__feature-item {
  background-color: #0A4B2C; /* Deep Green for feature cards */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__feature-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-blog__feature-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Download Section */
.page-blog__download-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-blog__download-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.page-blog__step-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 300px;
  max-width: 45%; /* Adjust for spacing */
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
}

.page-blog__step-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__step-list {
  list-style: decimal;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__step-list li {
  margin-bottom: 10px;
}

/* Register/Login Section */
.page-blog__register-login-section {
  padding: 60px 0;
}

.page-blog__process-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.page-blog__process-card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 300px;
  max-width: 45%; /* Adjust for spacing */
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
}

.page-blog__process-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__process-list {
  list-style: decimal;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__process-list li {
  margin-bottom: 10px;
}

/* Promotions Section */
.page-blog__promotions-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-blog__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-blog__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-blog__promo-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin: 20px 15px 10px 15px;
}

.page-blog__promo-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 20px 15px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-blog__promo-card .page-blog__btn-secondary {
  margin: 0 15px 20px 15px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-blog__cta-promotions {
  text-align: center;
  margin-top: 40px;
}

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

.page-blog__faq-list {
  margin-top: 30px;
}

.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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  list-style: none;
  outline: none;
}

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

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

.page-blog__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #2AD16F; /* Green from Button */
}

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

/* Conclusion Section */
.page-blog__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #08160F; /* Background */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog__hero-image {
    height: 500px;
  }

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

  .page-blog__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-blog__hero-image {
    height: 300px;
  }

  .page-blog__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .page-blog__subtitle {
    font-size: 1rem;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog__section-title {
    font-size: 1.8rem;
    padding-top: 30px;
  }

  .page-blog__sub-title {
    font-size: 1.5rem;
  }

  .page-blog__text-block {
    font-size: 0.95rem;
  }

  .page-blog__feature-list,
  .page-blog__download-steps,
  .page-blog__process-cards,
  .page-blog__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-blog__step-card,
  .page-blog__process-card {
    max-width: 100%;
  }

  .page-blog__promo-image {
    height: 180px;
  }

  /* Image responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images/content */
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__introduction-section,
  .page-blog__features-section,
  .page-blog__download-section,
  .page-blog__register-login-section,
  .page-blog__promotions-section,
  .page-blog__faq-section,
  .page-blog__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-blog__video-section { /* Kept for general rule, though no video in this page */
    padding-top: 10px !important; 
  }
}

/* Ensure all links and interactive elements have good contrast */
.page-blog a {
  color: #2AD16F; /* Button color for links */
  text-decoration: underline;
}
.page-blog a:hover {
  color: #13994A; /* Darker green on hover */
}

/* Ensure contrast for specific elements if needed */
.page-blog__dark-bg {
  background-color: #11271B; /* Card BG, which is dark */
  color: #F2FFF6; /* Light text */
}

.page-blog__dark-section .page-blog__text-block {
  color: #A7D9B8; /* Secondary text on dark background */
}