.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--auxiliary-color);
  color: #333333;
  padding-bottom: 40px;
}

.page-blog__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-blog__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default to cover for desktop */
  aspect-ratio: 16/9;
  border-radius: 8px;
}

.page-blog__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333333;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  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: #1e87c0;
  border-color: #1e87c0;
}

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

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

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

.page-blog__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

.page-blog__latest-posts {
  background-color: var(--auxiliary-color);
  color: #333333;
}

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

.page-blog__post-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-blog__post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

.page-blog__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
  line-height: 1.4;
}

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

.page-blog__card-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.page-blog__read-more {
  color: #26A9E0;
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.page-blog__read-more::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.page-blog__post-card:hover .page-blog__read-more::after {
  margin-left: 10px;
}

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

.page-blog__categories {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-blog__categories .page-blog__section-title {
  color: #FFFFFF;
}

.page-blog__categories .page-blog__section-description {
  color: #f0f0f0;
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-blog__category-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-blog__category-card img {
  width: 100%;
  max-width: 200px; /* Adjust max-width for category images */
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-blog__category-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  margin-top: auto;
}

.page-blog__featured-guides {
  background-color: var(--auxiliary-color);
  color: #333333;
}

.page-blog__guide-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-blog__guide-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-blog__guide-content {
  flex: 1;
}

.page-blog__guide-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-blog__guide-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555;
}

.page-blog__guide-image {
  flex-shrink: 0;
  width: 45%;
  max-width: 500px;
  border-radius: 8px;
  overflow: hidden;
}

.page-blog__guide-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog__faq-section {
  background-color: var(--auxiliary-color);
  color: #333333;
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: #f5f5f5;
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.page-blog__faq-answer p {
  margin-bottom: 10px;
}

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

.page-blog__cta-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-blog__cta-section .page-blog__section-title {
  color: #FFFFFF;
}

.page-blog__cta-section .page-blog__section-description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Override for Login button color */
.page-blog__cta-section .page-blog__btn-secondary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-blog__cta-section .page-blog__btn-secondary:hover {
  background-color: #c46404;
  border-color: #c46404;
}

/* Global image and container responsive styles */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog__section,
.page-blog__card,
.page-blog__container,
.page-blog__posts-grid,
.page-blog__categories-grid,
.page-blog__guide-item {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-blog__intro-text {
    font-size: 1rem;
  }
  .page-blog__section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
  }
  .page-blog__guide-item {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog__guide-item:nth-child(even) {
    flex-direction: column;
  }
  .page-blog__guide-image {
    width: 100%;
    max-width: 600px;
  }
  .page-blog__faq-qtext {
    font-size: 1.05rem;
  }
  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-bottom: 20px;
  }
  .page-blog__hero-image img {
    object-fit: contain !important; /* HERO 主图区域 */
    aspect-ratio: unset !important;
  }
  .page-blog__hero-content {
    padding: 0 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-blog__intro-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog__container {
    padding: 40px 15px;
  }
  .page-blog__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }
  .page-blog__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden; /* 产品展示图区域 / 博客列表防溢出 */
  }
  .page-blog__post-card img {
    
  }
  .page-blog__card-title {
    font-size: 1.15rem;
  }
  .page-blog__card-meta,
  .page-blog__card-excerpt {
    font-size: 0.9rem;
  }
  .page-blog__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  .page-blog__category-card {
    padding: 15px;
  }
  .page-blog__category-card img {
    
  }
  .page-blog__category-title {
    font-size: 1rem;
  }
  .page-blog__guide-item {
    padding: 20px;
    gap: 20px;
    flex-direction: column;
  }
  .page-blog__guide-item:nth-child(even) {
    flex-direction: column;
  }
  .page-blog__guide-content h3 {
    font-size: 1.5rem;
  }
  .page-blog__guide-content p {
    font-size: 0.95rem;
  }
  .page-blog__guide-image {
    width: 100%;
  }
  .page-blog__faq-qtext {
    font-size: 1rem;
  }
  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 12px 15px;
  }
  .page-blog__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95rem;
  }
  /* 通用图片与容器 */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__posts-grid,
  .page-blog__categories-grid,
  .page-blog__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__section-title-wrap, /* 装饰主标题 + 长文 SEO 区 */
  .page-blog__article-body, 
  .page-blog__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center; /* 居中换行 */
  }
  .page-blog__article-body p, .page-blog__article-body li {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    line-height: 1.6;
  }
  .page-blog__article-body h2, .page-blog__article-body h3 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    text-align: center;
  }
  .page-blog__article-body img {
    object-fit: contain;
  }
}