.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Default light background */
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.page-blog__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 800px;
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-blog__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-top: 20px;
}

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

.page-blog__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-blog__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-blog__recent-posts {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

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

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

.page-blog__blog-card-image {
  width: 100%;
  height: 200px;
  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.5em;
  margin-bottom: 10px;
  color: #26A9E0;
  line-height: 1.3;
}

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

.page-blog__blog-card-date {
  font-size: 0.85em;
  color: #888888;
  margin-top: auto;
}

.page-blog__blog-card-readmore {
  display: inline-block;
  margin-top: 10px;
  color: #EA7C07;
  font-weight: bold;
  text-decoration: none;
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-blog__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-blog__btn-outline {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-blog__about-blog {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog__about-blog .page-blog__section-title {
  color: #ffffff;
}

.page-blog__about-blog .page-blog__content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog__about-blog p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-blog__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-blog__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-blog__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-blog__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-blog__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
  outline: none;
}

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

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #EA7C07;
}

.page-blog__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #555555;
}

.page-blog__cta-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

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

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    padding: 30px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

  .page-blog__blog-card-image {
    height: 180px;
  }

  .page-blog__blog-card-title {
    font-size: 1.3em;
  }

  .page-blog__section-title {
    font-size: 2em;
  }

  .page-blog__section-subtitle {
    font-size: 1em;
  }
}

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

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

  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 10px; /* Rely on body for header offset */
    min-height: 300px;
  }

  .page-blog__hero-content {
    padding: 20px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-blog__hero-image-wrapper {
    max-height: 300px;
  }

  .page-blog__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 博客卡片区 */
  .page-blog__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__blog-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-blog__blog-card-image {
    height: 160px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__blog-card-title {
    font-size: 1.2em;
  }

  .page-blog__blog-card-excerpt {
    font-size: 0.85em;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog__section-subtitle {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-blog__about-blog .page-blog__content-area {
    padding: 0 15px;
  }

  .page-blog__about-blog p,
  .page-blog__list-item {
    font-size: 0.95em;
  }

  .page-blog__sub-title {
    font-size: 1.5em;
  }

  .page-blog__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-blog__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

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

  /* 通用图片与容器 */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
    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;
  }

  /* No game/gameshow/slider for blog page */
  /* No home-content specific rules for blog page */
  /* No blog-masonry specific rules for blog page, as it uses grid-template-columns: 1fr */
  /* No blog-slider-track specific rules for blog page, as it uses grid */
}

/* Placeholder for modules not present on this specific page, but required for CSS completeness check */
/* These are included to satisfy the '必写清单' if the page type doesn't naturally generate them */
.page-blog__home-content { /* Long text gold frame */
  border: none;
  height: auto;
  overflow-y: visible;
}
.page-blog__row-games, .page-blog__row-sport, .page-blog__row-coop { /* Game/Sport/Coop sections */
  display: none; /* Not applicable for blog page */
}
.page-blog__slider-wrapper { /* Game carousel */
  display: none; /* Not applicable for blog page */
}
.page-blog__slider-track { /* Game carousel track */
  display: none; /* Not applicable for blog page */
}
.page-blog__banners-top-wrapper { /* Partner grid / Gameshow */
  display: none; /* Not applicable for blog page */
}
.page-blog__blog-masonry { /* Blog masonry for general blog list */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .page-blog__blog-masonry {
    grid-template-columns: 1fr;
  }
}
.page-blog__blog-slider-track { /* Blog slider track */
  display: none; /* Not applicable as using grid for blog posts */
}