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

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

.page-blog__hero-section {
  padding-top: 10px; /* Adjusted as per rule for body padding-top from shared */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

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

.page-blog__hero-content {
  padding: 40px 20px;
  background: #ffffff; /* Card BG */
  border-radius: 8px;
  margin-top: -80px; /* Overlap slightly for visual effect */
  position: relative;
  z-index: 1;
  max-width: 900px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__hero-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #E53935; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

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

.page-blog__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog__section-description {
  text-align: center;
  font-size: 1.05em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-blog__categories-section,
.page-blog__why-follow-section,
.page-blog__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #F5F7FA; /* Background */
}

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

.page-blog__category-card {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #E0E0E0; /* Border */
}

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

.page-blog__category-title {
  font-size: 1.5em;
  color: #E53935;
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-blog__category-description {
  font-size: 0.95em;
  color: #333333;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #E53935;
  color: #E53935;
  background-color: transparent;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 20px 20px;
  align-self: flex-start;
}

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

.page-blog__recent-posts-section {
  padding: 60px 0;
  background-color: #E53935; /* Main color as dark section background */
  color: #ffffff;
  margin-bottom: 40px;
}

.page-blog__recent-posts-section .page-blog__section-title,
.page-blog__recent-posts-section .page-blog__section-description {
  color: #ffffff;
}

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

.page-blog__blog-card {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #E0E0E0; /* Border */
}

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

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

.page-blog__blog-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-blog__blog-title a {
  color: #E53935;
  text-decoration: none;
}

.page-blog__blog-title a:hover {
  text-decoration: underline;
}

.page-blog__blog-meta {
  font-size: 0.85em;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog__blog-excerpt {
  font-size: 0.95em;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__view-all-posts {
  text-align: center;
  margin-top: 40px;
}

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

.page-blog__benefit-item {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #E0E0E0; /* Border */
}

.page-blog__benefit-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__benefit-item p {
  color: #333333;
  font-size: 0.95em;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  color: #E53935;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
}

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

.page-blog__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient as CTA background */
  color: #ffffff;
}

.page-blog__cta-section .page-blog__section-title,
.page-blog__cta-section .page-blog__section-description {
  color: #ffffff;
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background: #ffffff;
  color: #E53935; /* Main color */
  border: 2px solid #ffffff;
}

.page-blog__btn-primary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

.page-blog__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-blog__btn-secondary:hover {
  background: #ffffff;
  color: #E53935;
}

/* Common button styles from prompt, not explicitly used in HTML but required in CSS output */
.page-blog a[class*="button"],
.page-blog a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* CSS for game/homepage elements - included as per prompt's "必写清单" for CSS output, despite not being in HTML */
.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-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);
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-blog__container {
    padding: 15px;
  }

  .page-blog__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
    max-width: 700px;
  }

  .page-blog__hero-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-blog__hero-description {
    font-size: 1em;
  }

  .page-blog__category-grid,
  .page-blog__blog-masonry,
  .page-blog__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-blog__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-outline {
    padding: 12px 25px;
  }

  /* Game slider specific for 1024px, as per general slider rules */
  .page-blog__game-slide {
    flex: 0 0 180px;
    max-width: 180px;
  }

  .page-blog__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-blog__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }
}