.page-news {
  color: #ffffff;
  background-color: #121212; /* Body background color is dark */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-news__hero-section {
  position: relative;
  padding-bottom: 80px;
  padding-left: 0;
  padding-right: 0;
  padding-top: var(--header-offset, 120px); /* Adjust based on shared.css body padding */
  margin-top: 0;
  background: linear-gradient(135deg, #000080, #121212);
  text-align: center;
  overflow: hidden;
}

.page-news__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-news__hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-news__btn-primary {
  background-color: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

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

.page-news__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

/* Section Titles & Descriptions */
.page-news__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFD700;
  text-align: center;
  margin-bottom: 15px;
}

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

/* Featured News Section */
.page-news__featured-news {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-news__news-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

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

.page-news__news-card-image-wrapper {
  height: 200px;
  overflow: hidden;
}

.page-news__news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-news__news-card:hover .page-news__news-card-image {
  transform: scale(1.05);
}

.page-news__news-card-content {
  padding: 25px;
}

.page-news__news-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__news-card-excerpt {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news__news-card-date {
  font-size: 14px;
  color: #888888;
}

/* Categories Section */
.page-news__categories {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-news__category-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
}

.page-news__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-news__category-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFD700;
  padding: 20px 15px;
  margin: 0;
}

/* All News Section */
.page-news__all-news {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-news__news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-news__news-item {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

.page-news__news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-news__news-item-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
}

.page-news__news-item-image-wrapper {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  overflow: hidden;
}

.page-news__news-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-news__news-item:hover .page-news__news-item-image {
  transform: scale(1.05);
}

.page-news__news-item-content {
  padding: 25px;
  flex-grow: 1;
}

.page-news__news-item-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__news-item-excerpt {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news__news-item-date {
  font-size: 14px;
  color: #888888;
}

.page-news__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-news__pagination-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3a3a3a;
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-news__pagination-link:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-news__pagination-link--active {
  background-color: #FFD700;
  color: #000080;
}

.page-news__pagination-link:last-child {
  width: auto;
  padding: 0 15px;
  border-radius: 20px;
}

/* CTA Section */
.page-news__cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000080, #121212);
  text-align: center;
}

.page-news__cta-content {
  max-width: 800px;
}

.page-news__cta-title {
  font-size: 42px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__cta-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #3a3a3a;
  border-bottom: 1px solid #4a4a4a;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background-color: #4a4a4a;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-news__faq-item.active .page-news__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Plus to X */
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important;
  padding: 25px !important;
  opacity: 1;
  background-color: #2a2a2a;
  border-radius: 0 0 8px 8px;
}

.page-news__faq-answer p {
  margin: 0;
  color: #cccccc;
  font-size: 16px;
}

/* General Image Responsiveness */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 42px;
  }
  .page-news__hero-description {
    font-size: 16px;
  }
  .page-news__section-title {
    font-size: 32px;
  }
  .page-news__section-description {
    font-size: 16px;
  }
  .page-news__news-item {
    flex-direction: column;
    text-align: center;
  }
  .page-news__news-item-image-wrapper {
    width: 100%;
    height: 250px;
  }
  .page-news__news-item-content {
    padding: 20px;
  }
  .page-news__news-item-title {
    font-size: 20px;
  }
  .page-news__news-item-excerpt {
    font-size: 15px;
  }
  .page-news__cta-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: var(--header-offset, 80px) !important; /* Adjust for mobile header offset */
    padding-bottom: 40px;
  }
  .page-news__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-news__hero-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-news__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* 产品展示图区域 (Not applicable to this page, but including structure for completeness if it were a homepage) */
  /* .page-news__products-section { padding: 40px 15px; width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; } */
  /* .page-news__products-container { grid-template-columns: 1fr !important; gap: 15px !important; width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; } */
  /* .page-news__products-grid--small { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; } */
  /* .page-news__products-grid--large { grid-template-columns: 1fr !important; gap: 15px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; } */
  /* .page-news__product-card, .page-news__product-card-image { max-width: 100% !important; } */
  /* .page-news__product-card-image img { max-width: 100% !important; width: 100% !important; height: auto !important; } */

  /* 通用图片与容器 */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__container,
  .page-news__news-grid,
  .page-news__category-grid,
  .page-news__news-list,
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .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;
    font-size: 16px;
  }
  .page-news__cta-buttons-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Ensure vertical stacking on mobile */
    gap: 15px !important;
  }

  /* 其他内容模块 */
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-news__section-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .page-news__featured-news,
  .page-news__categories,
  .page-news__all-news,
  .page-news__cta-section,
  .page-news__faq-section {
    padding: 50px 0;
  }
  .page-news__news-grid {
    gap: 20px;
  }
  .page-news__news-card-title {
    font-size: 18px;
  }
  .page-news__news-card-excerpt {
    font-size: 14px;
  }
  .page-news__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  .page-news__category-title {
    font-size: 16px;
    padding: 15px 10px;
  }
  .page-news__news-item {
    flex-direction: column;
    text-align: center;
  }
  .page-news__news-item-image-wrapper {
    width: 100%;
    height: 180px;
  }
  .page-news__news-item-title {
    font-size: 18px;
  }
  .page-news__news-item-excerpt {
    font-size: 14px;
  }
  .page-news__pagination {
    margin-top: 30px;
  }
  .page-news__pagination-link {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  .page-news__cta-title {
    font-size: 28px;
  }
  .page-news__cta-description {
    font-size: 15px;
  }
  .page-news__faq-question {
    padding: 15px 20px;
  }
  .page-news__faq-question h3 {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 20px !important;
  }
  .page-news__faq-answer p {
    font-size: 15px;
  }
}