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

.page-blog__hero-section {
  padding-top: 10px; /* Adjusted to prevent double padding with shared header */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-blog__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-blog__btn-secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
}

.page-blog__btn-outline {
  background: none;
  color: #2F6BFF;
  border: 1px solid #D6E2FF; /* Border */
  padding: 8px 18px;
  font-size: 0.9em;
}

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

.page-blog__section-spacing {
  padding: 60px 0;
}

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

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

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

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

.page-blog__featured-posts,
.page-blog__recent-posts {
  background-color: #ffffff; /* Card BG */
}

.page-blog__blog-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-blog__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.page-blog__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* For 3 items with 20px gap */
  max-width: calc(33.333% - 14px);
}

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

.page-blog__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

.page-blog__blog-card-title {
  font-size: 1.2em;
  font-weight: 600;
  margin: 15px 15px 10px 15px;
  color: #000000; /* Custom Color_1776249996415 */
}

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

.page-blog__blog-card-date {
  font-size: 0.85em;
  color: #667eea;
  padding: 0 15px 15px 15px;
  display: block;
}

.page-blog__slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-blog__slider-prev,
.page-blog__slider-next {
  background-color: rgba(47, 107, 255, 0.8);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5em;
  line-height: 1;
  pointer-events: all;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-blog__slider-prev {
  margin-left: -20px;
}

.page-blog__slider-next {
  margin-right: -20px;
}

.page-blog__slider-prev::before {
  content: '‹';
}

.page-blog__slider-next::before {
  content: '›';
}

.page-blog__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

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

.page-blog__why-follow-us {
  background: #2F6BFF;
  color: #ffffff;
}

.page-blog__why-follow-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-blog__why-follow-content {
  flex: 1;
}

.page-blog__why-follow-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-blog__why-follow-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-blog__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-blog__why-follow-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-blog__why-follow-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-blog__why-follow-list li::before {
  content: '✔';
  color: #A5C4FF; /* Glow */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-blog__list-highlight {
  color: #A5C4FF; /* Glow */
}

.page-blog__cta-section {
  background-color: #F4F7FB; /* Background */
  padding: 80px 0;
  text-align: center;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.4em;
  }

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

  .page-blog__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .page-blog__blog-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-blog__why-follow-grid {
    flex-direction: column;
  }

  .page-blog__why-follow-image-wrapper {
    margin-top: 30px;
  }
}

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

  .page-blog__hero-section {
    padding-top: 10px !important; /* HERO 主图区域: top padding */
    padding-bottom: 40px;
  }

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

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

  .page-blog__section-spacing {
    padding: 40px 0 !important;
  }

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

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

  /* 博客卡片区 (Slider) */
  .page-blog__blog-slider {
    margin-bottom: 30px;
  }

  .page-blog__slider-track {
    gap: 15px;
  }

  .page-blog__blog-slide {
    flex: 0 0 100% !important; /* 单卡宽度 */
    max-width: 100% !important;
  }

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

  .page-blog__blog-card-title {
    font-size: 1.1em !important;
  }

  .page-blog__blog-card-excerpt {
    font-size: 0.9em !important;
  }

  .page-blog__slider-prev,
  .page-blog__slider-next {
    padding: 8px 12px !important;
    font-size: 1.2em !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  /* 博客卡片区 (Masonry Grid) */
  .page-blog__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-blog__blog-card {
    margin: 0 auto;
    max-width: 400px; /* Optional: constrain single card width on mobile */
  }

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

  .page-blog__container,
  .page-blog__hero-content,
  .page-blog__why-follow-content,
  .page-blog__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !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 !important;
    padding-right: 15px !important;
  }

  .page-blog__cta-buttons {
    flex-direction: column !important; /* 多个按钮垂直排列 */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog__why-follow-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
}