.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #F8F8F8;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-news__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  padding: 30px 40px;
  border-radius: 8px;
}

.page-news__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #F0F0F0;
  margin-bottom: 30px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-news__btn-primary:hover {
  background-color: #1a7fb8;
  transform: translateY(-2px);
}

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

.page-news__btn-secondary:hover {
  background-color: #e0f2f7;
  transform: translateY(-2px);
}

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

.page-news__latest-news-section,
.page-news__platform-updates-section,
.page-news__industry-insights-section,
.page-news__call-to-action-section {
  padding: 60px 0;
}

.page-news__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

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

.page-news__news-card,
.page-news__insight-card {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.page-news__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__card-date {
  font-size: 0.9em;
  color: #888888;
  margin-bottom: 10px;
}

.page-news__card-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-news__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-news__card-title a:hover {
  text-decoration: underline;
}

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

.page-news__read-more-button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-news__read-more-button:hover {
  background-color: #1a7fb8;
}

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

.page-news__update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news__update-item {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-news__update-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-news__update-date {
  font-size: 0.85em;
  color: #888888;
  margin-bottom: 15px;
  display: block;
}

.page-news__update-text {
  font-size: 1em;
  color: #555555;
}

.page-news__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 50px 20px;
  border-radius: 8px;
  text-align: center;
}

.page-news__dark-section .page-news__section-title {
  color: #FFFFFF;
}

.page-news__dark-section .page-news__section-description {
  color: #F0F0F0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-content {
    padding: 25px 30px;
  }

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

  .page-news__hero-description {
    font-size: clamp(0.9em, 1.3vw, 1.1em);
  }

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

  .page-news__section-title {
    font-size: clamp(1.6em, 2.5vw, 2.2em);
  }

  .page-news__news-card,
  .page-news__insight-card {
    margin-bottom: 20px;
  }
}

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

  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
    padding-bottom: 30px;
  }

  .page-news__hero-image {
    filter: brightness(0.6);
  }

  .page-news__hero-content {
    position: static; /* Change to static for mobile to ensure image-text order */
    transform: none; /* Reset transform */
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for mobile */
    padding: 20px;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-news__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em) !important;
    margin-bottom: 10px;
  }

  .page-news__hero-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em) !important;
    margin-bottom: 20px;
  }

  /* 其他内容模块 */
  .page-news__latest-news-section,
  .page-news__platform-updates-section,
  .page-news__industry-insights-section,
  .page-news__call-to-action-section {
    padding: 40px 0;
  }

  .page-news__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__section-title {
    font-size: clamp(1.5em, 5vw, 2em) !important;
    margin-bottom: 15px;
  }

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

  .page-news__news-grid,
  .page-news__insight-cards {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
  }

  .page-news__news-card,
  .page-news__insight-card {
    margin-bottom: 0;
  }

  .page-news__card-image {
    height: 180px;
    min-height: 180px;
  }

  .page-news__card-title {
    font-size: 1.1em;
  }

  .page-news__card-excerpt {
    font-size: 0.95em;
  }

  .page-news__update-item {
    padding: 20px;
  }

  .page-news__update-title {
    font-size: 1.1em;
  }

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

  /* 按钮与按钮容器 */
  .page-news__cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news 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: 12px 15px !important; /* Adjust padding for mobile */
  }

  .page-news__view-all-button-container {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  .page-news__dark-section {
    padding: 30px 15px;
  }
}