/* Base styles for the blog page */
.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F4F7FB;
  text-align: center;
  padding-bottom: 40px;
}

.page-blog__hero-image-wrapper {
  margin-bottom: 20px;
}

.page-blog__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__hero-content {
  padding: 20px;
  border-radius: 8px;
  background-color: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 25px;
}

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

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

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-blog__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog__section-title {
  font-size: 2.2em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__section-intro {
  text-align: center;
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__articles-section {
  background-color: #2F6BFF; /* Main Color as Dark BG */
  padding: 60px 0;
  color: #ffffff;
}

.page-blog__articles-section .page-blog__section-title,
.page-blog__articles-section .page-blog__section-intro {
  color: #ffffff;
}

.page-blog__articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog__article-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__card-link {
  text-decoration: none;
  color: #1F2D3D; /* Text Main */
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-blog__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-blog__card-meta {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
}

.page-blog__card-description {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__btn-outline {
  border: 1px solid #2F6BFF;
  color: #2F6BFF;
  background-color: transparent;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  margin-top: auto;
}

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

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

.page-blog__about-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-blog__about-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog__about-image {
  flex: 0 0 400px;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__about-text {
  flex-grow: 1;
}

.page-blog__about-text p {
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-blog__cta-section {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  padding: 50px 0;
  text-align: center;
  color: #ffffff;
}

.page-blog__cta-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog__cta-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-blog__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  list-style: none;
  outline: none;
  user-select: none;
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

/* Responsive styles for mobile */
@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 !important;
    padding-bottom: 20px;
  }

  .page-blog__hero-title {
    font-size: 1.8em !important;
  }

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

  .page-blog__hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  /* 按钮与按钮容器 */
  .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;
  }

  .page-blog__hero-cta,
  .page-blog__view-all-button-wrapper,
  .page-blog__cta-section .page-blog__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-blog__card-image {
    height: 180px;
  }

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

  .page-blog__about-content {
    flex-direction: column;
  }

  .page-blog__about-image {
    max-width: 100%;
    flex: none;
  }

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

  .page-blog__cta-description {
    font-size: 1em !important;
  }

  .page-blog__faq-question {
    font-size: 1em !important;
    padding: 15px 20px;
  }

  .page-blog__faq-answer {
    padding: 0 20px 15px;
  }

  /* 通用图片与容器 */
  .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;
  }
  /* No specific rules for __home-content, __slider-track, __banners-top-wrapper, __blog-masonry, __blog-slider-track as these are not explicitly used in this blog page structure, or are handled by general rules. */
}

/* Desktop specific rules, ensuring grid/flex for larger screens */
@media (min-width: 769px) {
  .page-blog__articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Fallback for body padding if shared.css doesn't provide it */
.page-blog:first-child {
  padding-top: var(--header-offset, 0px); /* Default to 0 if not set by shared, then hero section handles its own padding */
}

/* Ensure no filter on images */
.page-blog img {
  filter: none !important;
}

/* No long-text gold frame zone, game carousel, or 6-grid gameshow on blog page */
/* The following classes are not applicable for a non-homepage blog page. */
/* .page-blog__home-content {} */
/* .page-blog__row-games, .page-blog__row-sport, .page-blog__row-coop {} */
/* .page-blog__games-title, .page-blog__sport-title, .page-blog__coop-title {} */
/* .page-blog__slider-wrapper {} */
/* .page-blog__slider-track {} */
/* .page-blog__game-slide {} */
/* .page-blog__banners-top-wrapper {} */
/* .page-blog__banner-item img {} */
/* .page-blog__blog-masonry {} */
/* .page-blog__blog-slider-track {} */
/* .page-blog__blog-slide {} */