.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main for dark background */
  background-color: #0D0E12; /* Background */
}

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

.page-blog__hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  color: #FFF3E6;
  background-color: #0D0E12;
}

.page-blog__hero-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop carousel */
  overflow: hidden;
}

.page-blog__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.page-blog__hero-slide.is-active {
  opacity: 1;
}

.page-blog__hero-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 800px;
}

.page-blog__hero-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-slider-prev,
.page-blog__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFF3E6;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 3;
  font-size: 1.5em;
  border-radius: 5px;
}

.page-blog__hero-slider-prev {
  left: 10px;
}

.page-blog__hero-slider-next {
  right: 10px;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

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

.page-blog__recent-posts-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-blog__dark-section {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

.page-blog__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.page-blog__blog-card {
  background-color: #0D0E12;
  border-radius: 10px;
  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 #A84F0C; /* Border */
}

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

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

.page-blog__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog__blog-card-content {
  padding: 20px;
}

.page-blog__blog-card-title {
  font-size: 1.4em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__blog-card-meta {
  font-size: 0.9em;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-blog__blog-card-excerpt {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-blog__blog-card-read-more {
  color: #FF8C1A;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-blog__blog-card-read-more:hover {
  color: #FFA53A;
}

.page-blog__button-container {
  text-align: center;
  margin-top: 50px;
}

.page-blog__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #FFF3E6;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background-color: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A; /* Border */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
  transform: translateY(-2px);
}

.page-blog__categories-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-blog__light-bg {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-blog__category-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog__category-item a {
  display: block;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #A84F0C; /* Border */
}

.page-blog__category-item a:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
}

.page-blog__f1686s-insights-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

.page-blog__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog__content-text {
  flex: 2;
}

.page-blog__content-text h3 {
  font-size: 1.8em;
  color: #FFB04D; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__content-text p {
  margin-bottom: 1em;
  color: #FFF3E6;
  text-align: justify;
}

.page-blog__content-text p strong {
  color: #FF8C1A;
}

.page-blog__content-image {
  flex: 1;
  min-width: 300px;
}

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

.page-blog__cta-section {
  padding: 60px 0;
  background-color: #0D0E12;
  text-align: center;
}

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

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

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog__hero-slider {
    height: 500px;
  }

  .page-blog__hero-content {
    padding: 25px 30px;
  }

  .page-blog__hero-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }

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

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

  .page-blog__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-blog__content-image {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区轮播 */
  .page-blog__hero-carousel-section {
    padding-top: 10px !important;
  }

  .page-blog__hero-slider {
    height: 400px !important;
  }

  .page-blog__hero-content {
    padding: 20px !important;
    max-width: 90% !important;
  }

  .page-blog__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em) !important;
  }

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

  .page-blog__hero-slider-prev,
  .page-blog__hero-slider-next {
    padding: 10px !important;
    font-size: 1.2em !important;
  }

  /* 2. 操作指引外框 + 五张 `team` 竖型卡 - CSS for these elements is included as per strict instructions, even if HTML is not generated for this page */
  .page-blog__guide-box {
    padding: 10px !important;
  }
  .page-blog__guide-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important; /* Forces a 6-column grid for mobile for specific card layouts */
    gap: 8px !important;
  }
  .page-blog__guide-card {
    padding-top: 0 !important;
  }
  .page-blog__guide-card--pos-1, .page-blog__guide-card--pos-2 {
    grid-column: span 3 !important;
  }
  .page-blog__guide-card--pos-3, .page-blog__guide-card--pos-4, .page-blog__guide-card--pos-5 {
    grid-column: span 2 !important;
  }
  .page-blog__guide-card img {
    aspect-ratio: 250/350 !important;
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 3. `home_content` 外框 - CSS for these elements is included as per strict instructions, even if HTML is not generated for this page */
  .page-blog__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .page-blog__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }

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

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

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

  .page-blog__section-title {
    font-size: 2em !important;
    margin-bottom: 20px !important;
  }

  .page-blog__section-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  .page-blog__container {
    padding: 15px !important;
  }

  /* Buttons responsive */
  .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__button-container,
  .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-direction: column !important;
    gap: 10px !important;
  }

  .page-blog__content-wrapper {
    gap: 20px !important;
  }

  .page-blog__content-text h3 {
    font-size: 1.5em !important;
  }

  .page-blog__category-list {
    gap: 10px !important;
  }

  .page-blog__category-item a {
    padding: 8px 15px !important;
    font-size: 0.9em !important;
  }
}