/* -------------------------------------- */
/*             Base Styles                */
/* -------------------------------------- */
.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 15px;
  box-sizing: border-box;
}

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

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

.page-blog__section-description {
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  margin-bottom: 40px;
  color: rgba(255, 245, 225, 0.8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #B71C1C; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-blog__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F4D34D; /* Border color */
}

.page-blog__btn-secondary:hover {
  background: rgba(244, 211, 77, 0.1);
  transform: translateY(-2px);
}

.page-blog__link-inline {
  color: #F4D34D; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
}

.page-blog__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 15px;
  color: #FFCC66; /* Glow */
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.5);
}

.page-blog__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #FFF5E1;
  opacity: 0.9;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* -------------------------------------- */
/*          Latest Articles Section       */
/* -------------------------------------- */
.page-blog__latest-articles {
  background-color: #D32F2F; /* Card BG, but used for section background */
  padding: 80px 0;
}

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

.page-blog__article-card {
  background-color: #B71C1C; /* Background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-blog__article-link {
  text-decoration: none;
  display: block;
  color: #FFF5E1;
}

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

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

.page-blog__article-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFCC66; /* Glow */
  line-height: 1.3;
}

.page-blog__article-meta {
  font-size: 14px;
  color: rgba(255, 245, 225, 0.7);
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 15px;
  color: #FFF5E1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-blog__read-more {
  display: flex;
  align-items: center;
  color: #F4D34D; /* Gold */
  font-weight: 600;
}

.page-blog__read-more i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-blog__article-card:hover .page-blog__read-more i {
  transform: translateX(5px);
}

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

/* -------------------------------------- */
/*         Featured Section               */
/* -------------------------------------- */
.page-blog__featured-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 80px 0;
}

.page-blog__featured-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-blog__featured-image-wrapper {
  flex: 1;
  min-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-blog__featured-text {
  flex: 1;
  min-width: 400px;
}

.page-blog__featured-article-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow */
  line-height: 1.2;
}

.page-blog__featured-text p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #FFF5E1;
  opacity: 0.9;
}

/* -------------------------------------- */
/*         Long Form Content              */
/* -------------------------------------- */
.page-blog__long-form-content {
  background-color: #B71C1C; /* Background */
  padding: 80px 0;
}

.page-blog__article-body {
  max-width: 900px;
  margin: 0 auto;
  color: #FFF5E1;
  font-size: 17px;
  line-height: 1.8;
}

.page-blog__article-body h2 {
  color: #FFCC66; /* Glow */
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-blog__article-body h3 {
  color: #F4D34D; /* Gold */
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.page-blog__list-items,
.page-blog__ordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog__list-items li,
.page-blog__ordered-list li {
  margin-bottom: 10px;
  color: #FFF5E1;
}

.page-blog__article-body strong {
  color: #FFCC66; /* Glow */
}

/* -------------------------------------- */
/*            CTA Banner Section          */
/* -------------------------------------- */
.page-blog__cta-banner {
  background: linear-gradient(90deg, #C91F17 0%, #E53935 100%); /* Main color gradient */
  padding: 60px 0;
  text-align: center;
}

.page-blog__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-blog__cta-title {
  font-size: clamp(28px, 4vw, 45px);
  font-weight: 800;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__cta-description {
  font-size: clamp(17px, 2.2vw, 20px);
  color: #FFF5E1;
  max-width: 800px;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border color */
  overflow: hidden;
  background: #B71C1C; /* Background */
  box-shadow: 0 4px 15px 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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFCC66; /* Glow */
  font-weight: 600;
  font-size: 18px;
}

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, 204, 102, 0.1);
}

.page-blog__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
  font-size: 16px;
}

details.page-blog__faq-item .page-blog__faq-answer p {
  margin-bottom: 0;
}

/* -------------------------------------- */
/*           Responsive Styles            */
/* -------------------------------------- */

@media (max-width: 1024px) {
  .page-blog__hero-image-wrapper {
    max-height: 500px;
  }

  .page-blog__featured-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-blog__featured-image-wrapper,
  .page-blog__featured-text {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-blog__hero-image-wrapper {
    max-height: 300px !important; /* Ensure image is not too tall on mobile */
  }

  .page-blog__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 10px;
  }

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

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

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

  /* 产品展示图区域 (Not applicable for blog, but including generic image rules) */
  /* This is a blog page, so no gameshow grid. General image rules apply. */
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-blog__section,
  .page-blog__card,
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-blog__section-title,
  .page-blog__sub-title {
    text-align: center;
    padding: 0 10px;
  }

  .page-blog__article-body {
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }

  .page-blog__article-body h2,
  .page-blog__article-body h3 {
    text-align: left; /* Adjust to left for better readability in long text on mobile */
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog__article-thumbnail {
    height: 180px;
  }

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

  .page-blog__featured-image-wrapper {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .page-blog__featured-article-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .page-blog__cta-title {
    font-size: clamp(26px, 7vw, 38px);
  }

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

  .page-blog__faq-qtext {
    font-size: 16px;
  }

  .page-blog__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

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

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

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: clamp(26px, 9vw, 36px);
  }

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

  .page-blog__article-title {
    font-size: 17px;
  }

  .page-blog__featured-article-title {
    font-size: clamp(22px, 7vw, 30px);
  }

  .page-blog__cta-title {
    font-size: clamp(24px, 8vw, 36px);
  }
}