.page-blog {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-blog__container--narrow {
  max-width: 900px;
}

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  text-align: center;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-blog__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for contrast on gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-blog__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-blog__btn--secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #3A2A12; /* Border */
}

.page-blog__btn--secondary:hover {
  background: #222222;
  border-color: #F2C14E;
  color: #FFD36B;
}

.page-blog__articles-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFF6D6;
  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: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

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

.page-blog__article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.page-blog__article-content {
  padding: 20px;
}

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

.page-blog__article-excerpt {
  font-size: 0.95rem;
  color: #FFF6D6;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-blog__article-meta {
  font-size: 0.85rem;
  color: #F2C14E;
}

.page-blog__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.page-blog__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-blog__pagination-link:hover {
  background-color: #F2C14E;
  color: #111111;
}

.page-blog__pagination-link--active {
  background-color: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

.page-blog__cta-banner {
  background: #111111; /* Card BG */
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid #3A2A12;
}

.page-blog__cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-blog__cta-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__btn--large {
  padding: 16px 32px;
  font-size: 1.2rem;
  min-width: 280px;
}

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

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

  /* 1. 顶区标题 + 双 CTA */
  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding, overriding any shared offset */
    padding-bottom: 40px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog__description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-blog__cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 (Articles Grid in this case) */
  .page-blog__articles-section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-blog__article-title {
    font-size: 1.2rem;
  }

  .page-blog__article-excerpt {
    font-size: 0.9rem;
  }

  /* 3. 通用图片与 figure */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* 4. 按钮与按钮容器 */
  .page-blog__cta-banner {
    padding: 50px 0;
  }

  .page-blog__cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-blog__cta-text {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-blog__btn--large {
    font-size: 1.1rem;
    min-width: unset;
  }

  /* 5. 注册教程与 FAQ 区块 - Not present in this blog page */
  /* If present, they would have specific mobile styles here */
}

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

  .page-blog__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-blog__section-title {
    font-size: 2.2rem;
  }

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

  .page-blog__cta-title {
    font-size: 2rem;
  }
}