.page-blog {
  font-family: Arial, sans-serif;
  color: #333333;
  background: var(--bg-color, #f5f5f5);
}

/* Color Contrast Safeguard */
.page-blog__hero-content,
.page-blog__content-area,
.page-blog__blog-card-content,
.page-blog__faq-section {
  background: #ffffff;
  color: #333333;
}

.page-blog__category-card {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

.page-blog__cta-section {
  background: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

/* Specific text color for elements within brand-colored cards/sections */
.page-blog__category-card .page-blog__category-title,
.page-blog__category-card .page-blog__category-description,
.page-blog__cta-section .page-blog__cta-title,
.page-blog__cta-section .page-blog__cta-description {
  color: #FFF5E1; /* Text Main */
}

.page-blog__hero-section {
  padding-top: 10px;
  margin-bottom: 40px;
  position: relative;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

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

.page-blog__hero-content {
  max-width: 1200px;
  margin: -60px auto 0 auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 10;
}

.page-blog__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: bold;
  color: #C91F17;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-blog__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-blog__section-title {
  font-size: 2.2em;
  color: #C91F17;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-blog__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-blog__category-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-blog__category-title {
  font-size: 1.5em;
  padding: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-blog__category-description {
  font-size: 0.95em;
  padding: 0 20px 20px 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.page-blog__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  align-items: stretch;
}

.page-blog__blog-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__blog-card-image {
  width: 100%;
  height: 197px;
  object-fit: cover;
  display: block;
}

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

.page-blog__blog-card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__blog-card-title a {
  color: #C91F17;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__blog-card-title a:hover {
  color: #E53935;
}

.page-blog__blog-card-meta {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 15px;
}

.page-blog__blog-card-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #C91F17;
  color: #C91F17;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto;
  text-align: center;
}

.page-blog__btn-outline:hover {
  background: #C91F17;
  color: #ffffff;
}

.page-blog__view-all {
  text-align: center;
  margin-bottom: 60px;
}

.page-blog__faq-section {
  margin-top: 60px;
  margin-bottom: 60px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.page-blog__faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  padding: 10px 0;
  list-style: none;
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #C91F17;
  margin-left: 15px;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: "-";
}

.page-blog__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-blog__cta-section {
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 60px;
}

.page-blog__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #C91F17;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #C91F17;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* General responsive images */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Start of required "首页模块3-6必出CSS模板" selectors (even if not used by this page) --- */
/* These are included to satisfy the strict output requirement from the prompt */
.page-blog__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
}
.page-blog__row-games, .page-blog__row-sport, .page-blog__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-blog__games-title, .page-blog__sport-title, .page-blog__coop-title {
  color: #fff;
  text-align: center;
}
.page-blog__slider-wrapper {
  overflow: hidden;
}
.page-blog__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}
.page-blog__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
}
.page-blog__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.page-blog__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.page-blog__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.page-blog__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-blog__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}
.page-blog__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}
/* --- End of required "首页模块3-6必出CSS模板" selectors --- */


/*
  🚨 移动端 @media (max-width: 768px) 必写清单
*/
@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }

  .page-blog__hero-content {
    margin: -40px auto 0 auto;
    padding: 20px;
  }

  .page-blog__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-blog__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }

  /* 2. 长文金框区 (Required by template for all pages, even if unused) */
  .page-blog__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }

  /* 3. 游戏轮播 (Required by template for all pages, even if unused) */
  .page-blog__row-games, .page-blog__row-sport, .page-blog__row-coop {
    padding: 20px 15px !important;
  }
  .page-blog__slider-track {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 10px !important;
    justify-content: flex-start !important;
  }
  .page-blog__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    scroll-snap-align: start !important;
  }

  /* 4. 合作品牌六宫格 (Required by template for all pages, even if unused) */
  .page-blog__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 0 15px !important;
  }
  .page-blog__banner-item img {
    
    
  }

  /* 5. 博客卡片区 */
  .page-blog__categories {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
  }

  .page-blog__blog-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
  }

  .page-blog__category-image,
  .page-blog__blog-card-image {
    height: 180px !important;
  }

  /* For the blog slider track, if implemented */
  .page-blog__blog-slider-track {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 10px !important;
    justify-content: flex-start !important;
  }
  .page-blog__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start !important;
  }
  .page-blog__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* 6. 通用图片与容器 */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__content-area,
  .page-blog__categories,
  .page-blog__blog-list,
  .page-blog__faq-section,
  .page-blog__cta-section,
  .page-blog__category-card,
  .page-blog__blog-card,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog__section-title {
    font-size: 1.8em !important;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
  }

  .page-blog__cta-title {
    font-size: 2em !important;
  }

  /* 7. 按钮与按钮容器 */
  .page-blog__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-outline,
  .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;
  }
}