.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* From shared.css, assuming it's dark */
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 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: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--deep-navy);
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 8px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog__description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__read-more-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6); /* Glow */
}

.page-blog__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-blog__btn-secondary:hover {
  background: #1B3357; /* Divider */
  color: #F2C14E; /* Gold */
  border-color: #F2C14E;
}

/* Latest Posts Section */
.page-blog__latest-posts {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #113B7A; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-blog__post-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0; /* Add border for contrast */
}

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

.page-blog__post-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.page-blog__post-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__post-title a {
  color: #113B7A; /* Primary color */
  text-decoration: none;
  font-weight: bold;
}

.page-blog__post-title a:hover {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: underline;
}

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

.page-blog__post-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__read-more-btn {
  background: #1D5FD1; /* Auxiliary color */
  color: #ffffff;
  padding: 8px 15px;
  font-size: 0.9em;
  border: none;
}

.page-blog__read-more-btn:hover {
  background: #113B7A; /* Primary color */
}

.page-blog__view-all-btn-container {
  text-align: center;
  margin-top: 40px;
}

/* Categories & Tags Section */
.page-blog__categories-tags {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
  color: #F3F8FF;
}

.page-blog__categories-tags-content {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog__sidebar-title {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-bottom: 25px;
  text-align: center;
}

.page-blog__category-list,
.page-blog__tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.page-blog__category-list li {
  margin-bottom: 10px;
}

.page-blog__category-list a {
  color: #AFC4E8; /* Text Secondary */
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-blog__category-list a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-blog__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.page-blog__tag-item {
  background-color: #1B3357; /* Divider */
  color: #F3F8FF;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__tag-item:hover {
  background-color: #2B73F6;
  color: #ffffff;
}

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

.page-blog__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #113B7A; /* Primary color */
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-blog__faq-item[open] .page-blog__faq-question {
  background-color: #e5e5e5;
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #1D5FD1;
}

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

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

/* CTA Section */
.page-blog__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF;
}

.page-blog__cta-section .page-blog__section-title {
  color: #F2C14E; /* Gold */
}

.page-blog__cta-section .page-blog__description {
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    margin-top: -80px;
  }

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

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

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

  .page-blog__hero-image-wrapper {
    max-height: 300px;
  }

  .page-blog__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }

  .page-blog__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__read-more-btn,
  .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,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 产品展示图区域 (Latest Posts - grid becomes single column) */
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__post-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0;
  }

  .page-blog__post-image-wrapper {
    height: 180px;
  }

  .page-blog__post-content {
    padding: 15px;
  }

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

  .page-blog__section-description {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-blog__categories-tags-content {
    flex-direction: column;
    gap: 40px;
    padding: 0 15px;
  }

  .page-blog__sidebar-title {
    font-size: 1.5em;
  }

  .page-blog__category-list a,
  .page-blog__tag-item {
    font-size: 1em;
  }

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

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

  .page-blog__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-blog__cta-section {
    padding: 60px 0;
  }
}