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

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

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

.page-blog__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF1E8;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFB04A 0%, #D86A14 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-blog__section-title--light {
  color: #FFF1E8;
}

.page-blog__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-blog__text-highlight {
  color: #FFB04A;
  font-weight: bold;
}

.page-blog__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  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;
  color: #FFF1E8;
}

.page-blog__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  box-shadow: 0 0 15px rgba(255, 176, 74, 0.6);
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: #FFB04A;
  border-color: #FFB04A;
}

.page-blog__btn-secondary:hover {
  background-color: #FFB04A;
  color: #140C0C;
  border-color: #FFB04A;
}

.page-blog__btn-large {
  padding: 15px 35px;
  font-size: 18px;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  height: 500px;
  position: relative;
}

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

.page-blog__hero-content-wrapper {
  padding: 40px 0;
  text-align: center;
  background-color: #140C0C;
  border-bottom: 2px solid #6A1E1E;
}

.page-blog__main-title {
  font-size: clamp(30px, 5vw, 55px);
  font-weight: 800;
  color: #FFF1E8;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

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

/* Latest Articles Section */
.page-blog__latest-articles {
  background-color: #140C0C;
}

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

.page-blog__article-card {
  display: flex;
  flex-direction: column;
}

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

.page-blog__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #6A1E1E;
}

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

.page-blog__article-meta {
  font-size: 13px;
  color: #FFB04A;
  margin-bottom: 10px;
}

.page-blog__article-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: #FFF1E8;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-excerpt {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  font-size: 14px;
  color: #F3C54D;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-blog__read-more:hover {
  color: #FFB04A;
}

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

/* Categories Section */
.page-blog__dark-section {
  background-color: #2A1212;
  color: #FFF1E8;
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

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

.page-blog__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  text-decoration: none;
  color: inherit;
}

.page-blog__category-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-blog__category-description {
  font-size: 15px;
  color: #e0e0e0;
}

/* Featured Guides Section */
.page-blog__featured-guides {
  background-color: #140C0C;
}

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

.page-blog__guide-item {
  display: flex;
  flex-direction: column;
}

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

.page-blog__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #6A1E1E;
}

.page-blog__guide-content {
  padding: 20px;
  flex-grow: 1;
}

.page-blog__guide-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: #FFF1E8;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__guide-description {
  font-size: 15px;
  color: #e0e0e0;
}

/* Why W388 Blog Section (SEO Content) */
.page-blog__why-w388-blog {
  background-color: #140C0C;
}

.page-blog__article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-blog__article-body p {
  margin-bottom: 1em;
}

.page-blog__article-body ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-blog__article-body li {
  margin-bottom: 0.5em;
}

.page-blog__article-body a {
  color: #FFB04A;
  text-decoration: none;
}

.page-blog__article-body a:hover {
  text-decoration: underline;
}

.page-blog__article-figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #6A1E1E;
  display: block;
  margin: 0 auto;
}

.page-blog__article-figure figcaption {
  margin-top: 15px;
  font-size: 14px;
  color: #b0b0b0;
}

/* CTA Section */
.page-blog__cta-section {
  text-align: center;
}

.page-blog__cta-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

/* FAQ Section */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
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;
}
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: #3a1e1e;
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  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: #1e0f0f;
  border-radius: 0 0 10px 10px;
  color: #e0e0e0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog__hero-image-wrapper {
    height: 300px;
  }
  .page-blog__hero-image {
    object-fit: contain !important; /* HERO 主图区域: 移动 object-fit:contain !important; */
    aspect-ratio: unset !important;
  }
  .page-blog__hero-section {
    padding-top: 10px; /* 顶距约 10px */
  }

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

  .page-blog__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

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

  .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;
    padding-right: 15px;
  }

  .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-wrap: wrap !important;
    gap: 10px;
  }

  .page-blog__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Blog grid: 2 columns */
    padding: 0 15px;
    overflow-x: hidden;
  }

  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-blog__guide-list {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

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

  .page-blog__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
  }

  .page-blog__sub-title {
    font-size: clamp(20px, 5vw, 26px);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog__article-body {
    font-size: 15px;
    padding: 0 15px; /* 长文 SEO 区: max-width:100%, padding */
  }

  .page-blog__article-figure img,
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog__latest-articles,
  .page-blog__categories-section,
  .page-blog__featured-guides,
  .page-blog__why-w388-blog,
  .page-blog__cta-section,
  .page-blog__faq-section,
  .page-blog__article-card,
  .page-blog__category-card,
  .page-blog__guide-item,
  .page-blog__card,
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px;
  }
  .page-blog__faq-qtext {
    font-size: 15px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
}