.page-blog {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body via shared.css */
}

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0; /* Important: No extra padding-top if body already has it */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #1a1a2e; /* Ensure dark background */
}

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

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for better text readability */
}

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

.page-blog__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__description {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Buttons */
.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  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: #1e87b8;
  border-color: #1e87b8;
}

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

.page-blog__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1e87b8;
  border-color: #1e87b8;
}

/* Articles Section */
.page-blog__articles-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background for articles */
  color: #333333; /* Dark text for light background */
}

.page-blog__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

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

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

.page-blog__article-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.page-blog__article-title a {
  color: #1a1a2e;
  text-decoration: none;
}

.page-blog__article-title a:hover {
  color: #26A9E0;
}

.page-blog__article-meta {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  color: #26A9E0;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.page-blog__read-more:hover {
  text-decoration: underline;
}

.page-blog__view-all-wrapper {
  text-align: center;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-blog__cta-content {
  max-width: 800px;
}

.page-blog__cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__cta-description {
  font-size: clamp(1.1rem, 1.3vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

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

.page-blog__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

.page-blog__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-blog__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #eee;
  margin-top: -1px; /* Overlap border */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog__description {
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  }
  .page-blog__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  }
  .page-blog__article-card {
    margin: 0 10px;
  }
  .page-blog__articles-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* LOGO轮播区域 - Placeholder, as it's not present on this page, but mandatory to include the empty media query block */
  .page-blog__logo-carousel-section {
    padding: 10px 15px 20px;
  }
  .page-blog__logo-carousel {
    /* Specific styles if any for mobile logo carousel */
  }
  .page-blog__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
  }

  /* HERO 主图区域 */
  .page-blog__hero-section {
    padding-top: 0 !important;
    padding-bottom: 40px;
  }
  .page-blog__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-blog__hero-content {
    padding: 0 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog__description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 25px;
  }

  /* 游戏展示区域 - Placeholder, as it's not present on this page, but mandatory to include the empty media query block */
  .page-blog__games-section,
  .page-blog__games-layout,
  .page-blog__games-grid,
  .page-blog__featured-game-image,
  .page-blog__game-card,
  .page-blog__game-card-title {
    /* Specific styles if any for mobile game display */
  }

  /* 通用图片与容器 */
  .page-blog img:not(.page-blog__logo-item) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  .page-blog__container,
  .page-blog__articles-section,
  .page-blog__cta-section,
  .page-blog__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__article-image {
    height: 180px;
  }

  /* 按钮与按钮容器 */
  .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;
    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;
    display: flex;
    flex-direction: column;
  }

  /* 其他内容模块 */
  .page-blog__articles-section,
  .page-blog__cta-section,
  .page-blog__faq-section {
    padding: 40px 0;
  }
  .page-blog__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-blog__article-content {
    padding: 20px;
  }
  .page-blog__article-title {
    font-size: 1.2rem;
  }
  .page-blog__article-excerpt {
    font-size: 0.95rem;
  }
  .page-blog__cta-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-blog__cta-description {
    font-size: clamp(1rem, 4vw, 1.1rem);
    margin-bottom: 30px;
  }
  .page-blog__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-blog__faq-answer {
    padding: 0 20px 15px;
  }
}