.page-blog {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6;
  background-color: #0D0E12;
}

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

.page-blog__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  color: #FFF3E6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__section-description {
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  color: #FFF3E6;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E87800 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

.page-blog__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  color: #FFB04D;
  border-color: #FFB04D;
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.4);
  transform: translateY(-2px);
}

/* HERO Section */
.page-blog__hero-section {
  position: relative;
  padding: 0 0 60px 0;
  overflow: hidden;
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Adjust for shared header offset */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for desktop */
  overflow: hidden;
  position: relative;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  background: rgba(13, 14, 18, 0.8);
  border-radius: 10px;
  margin-top: -100px; /* Overlap with image */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFA53A;
}

.page-blog__hero-description {
  font-size: clamp(18px, 2.5vw, 20px);
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-blog__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Categories Section */
.page-blog__categories-section {
  padding: 80px 0;
  background-color: #17191F;
}

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

.page-blog__category-card {
  background-color: #0D0E12;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-blog__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(255, 165, 58, 0.3);
}

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

.page-blog__category-title {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: #FFA53A;
}

.page-blog__category-title a {
  color: #FFA53A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__category-title a:hover {
  color: #FFB04D;
}

.page-blog__category-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF3E6;
  padding: 0 20px 20px;
}

/* Latest Articles Section */
.page-blog__latest-articles-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-blog__article-card {
  background-color: #17191F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-blog__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(255, 165, 58, 0.3);
}

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

.page-blog__article-content {
  padding: 20px;
}

.page-blog__article-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__article-title a {
  color: #FFA53A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #FFB04D;
}

.page-blog__article-meta {
  font-size: 14px;
  color: #A84F0C;
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 16px;
  color: #FFF3E6;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-blog__read-more-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #D96800;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-blog__read-more-btn:hover {
  background: #FFA53A;
}

.page-blog__view-all-wrapper {
  text-align: center;
}

/* Why Choose Section */
.page-blog__why-choose-section {
  padding: 80px 0;
  background-color: #17191F;
}

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

.page-blog__feature-item {
  background-color: #0D0E12;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
}

.page-blog__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-blog__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-blog__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF3E6;
}

/* FAQ Section */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
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;
  color: #FFA53A;
  font-weight: 600;
}
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(255, 165, 58, 0.1);
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12;
  border-radius: 0 0 12px 12px;
  color: #FFF3E6;
  font-size: 16px;
  line-height: 1.6;
}
.page-blog__faq-answer p {
    margin: 0;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 80px 0;
  background-color: #17191F;
  text-align: center;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-blog__hero-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-blog__hero-description {
    font-size: clamp(16px, 2.2vw, 18px);
  }
  .page-blog__categories-grid,
  .page-blog__articles-grid,
  .page-blog__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-blog__category-title,
  .page-blog__article-title,
  .page-blog__feature-title {
    font-size: 22px;
  }
  .page-blog__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-blog__section-description {
    font-size: clamp(15px, 1.8vw, 17px);
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-blog__hero-image-wrapper {
    height: 300px; /* Smaller height for mobile */
  }
  .page-blog__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-blog__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    border-radius: 8px;
    max-width: calc(100% - 30px);
  }
  .page-blog__hero-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 15px;
  }
  .page-blog__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 25px;
  }
  .page-blog__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Section titles and descriptions */
  .page-blog__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }
  .page-blog__section-description {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* Categories Section */
  .page-blog__categories-section {
    padding: 50px 0;
  }
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-blog__category-card {
    margin: 0 auto;
    max-width: 400px;
  }
  .page-blog__category-title {
    font-size: 20px;
  }
  .page-blog__category-text {
    font-size: 15px;
  }

  /* Latest Articles Section */
  .page-blog__latest-articles-section {
    padding: 50px 0;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-blog__article-card {
    margin: 0 auto;
    max-width: 400px;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-title {
    font-size: 18px;
  }
  .page-blog__article-excerpt {
    font-size: 15px;
  }
  .page-blog__read-more-btn {
    font-size: 14px;
    padding: 10px 18px;
  }
  .page-blog__view-all-wrapper {
    padding: 0 15px;
  }

  /* Why Choose Section */
  .page-blog__why-choose-section {
    padding: 50px 0;
  }
  .page-blog__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-blog__feature-icon {
    width: 120px;
    height: 120px;
  }
  .page-blog__feature-title {
    font-size: 20px;
  }
  .page-blog__feature-text {
    font-size: 15px;
  }

  /* FAQ Section */
  .page-blog__faq-section {
    padding: 50px 0;
  }
  .page-blog__faq-list {
    padding: 0 15px;
  }
  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;
    font-size: 15px;
  }

  /* CTA Section */
  .page-blog__cta-section {
    padding: 50px 0;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin: 0 auto;
  }
  
  /* General image and container responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__categories-section,
  .page-blog__latest-articles-section,
  .page-blog__why-choose-section,
  .page-blog__faq-section,
  .page-blog__cta-section,
  .page-blog__category-card,
  .page-blog__article-card,
  .page-blog__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}