.page-news {
  color: #ffffff; /* Body background is dark (#000000), so use light text */
  background-color: #000000;
}

.page-news__hero-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* 🚨 顶部间距以公用片段约定为准，使用 var(--header-offset)，避免被固定页头盖住 */
  padding-top: var(--header-offset, 120px);
}

.page-news__hero-banner img {
  width: 100%;
  height: 400px; /* Fixed height for banner, object-fit will cover */
  object-fit: cover;
  display: block;
}

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

.page-news__intro-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A2239; /* Dark blue background for intro */
}

.page-news__main-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-news__intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

.page-news__main-content-area {
  padding: 60px 0;
  background-color: #000000; /* Black background */
}

.page-news__article-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.page-news__category-button {
  background-color: #0A2239;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #0A2239;
  white-space: nowrap;
}

.page-news__category-button:hover,
.page-news__category-button.active {
  background-color: #FFD700;
  color: #0A2239;
  border-color: #FFD700;
}

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

.page-news__article-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-news__article-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.page-news__article-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700; /* Gold for article titles */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__article-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-news__article-excerpt {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news__article-date {
  font-size: 14px;
  color: #999999;
}

.page-news__read-more-link {
  background-color: #FFD700;
  color: #0A2239;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news__read-more-link:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-news__pagination-item {
  background-color: #0A2239;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #0A2239;
}

.page-news__pagination-item:hover,
.page-news__pagination-item.active {
  background-color: #FFD700;
  color: #0A2239;
  border-color: #FFD700;
}

.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A2239; /* Deep blue for CTA */
}

.page-news__cta-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-news__cta-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 35px auto;
  line-height: 1.7;
}

.page-news__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2239;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-news__faq-section {
  padding: 80px 0;
  background-color: #000000; /* Black background */
}

.page-news__faq-main-title {
  font-size: 32px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08); /* Light background for answer in dark theme */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-news__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: inherit;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A2239; /* Dark blue for question */
  border: 1px solid #1a3a5a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background: #1a3a5a;
  border-color: #2a4a6a;
}

.page-news__faq-question:active {
  background: #2a4a6a;
}

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

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

.page-news__faq-item.active .page-news__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate to form an 'X' or similar for close */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 32px;
  }
  .page-news__intro-text {
    font-size: 17px;
  }
  .page-news__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  .page-news__article-title {
    font-size: 20px;
  }
  .page-news__article-excerpt {
    font-size: 15px;
  }
  .page-news__cta-title {
    font-size: 30px;
  }
  .page-news__cta-description {
    font-size: 17px;
  }
  .page-news__faq-main-title {
    font-size: 28px;
  }
  .page-news__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-banner {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__hero-banner img {
    height: 250px;
  }
  .page-news__intro-section {
    padding: 40px 0;
  }
  .page-news__main-title {
    font-size: 28px;
  }
  .page-news__intro-text {
    font-size: 16px;
  }
  .page-news__main-content-area {
    padding: 40px 0;
  }
  .page-news__article-categories {
    gap: 10px;
    margin-bottom: 30px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .page-news__category-button {
    padding: 10px 18px;
    font-size: 14px;
    flex-shrink: 0;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__article-content {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .page-news__article-excerpt {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .page-news__article-meta {
    padding-top: 10px;
  }
  .page-news__article-date {
    font-size: 13px;
  }
  .page-news__read-more-link {
    padding: 6px 12px;
    font-size: 13px;
  }
  .page-news__pagination {
    margin-top: 40px;
  }
  .page-news__pagination-item {
    padding: 8px 15px;
    font-size: 14px;
  }
  .page-news__cta-section {
    padding: 50px 0;
  }
  .page-news__cta-title {
    font-size: 26px;
  }
  .page-news__cta-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__faq-section {
    padding: 50px 0;
  }
  .page-news__faq-main-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-question h3 {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px !important;
  }
  .page-news__faq-answer p {
    font-size: 15px;
  }

  /* General mobile image and container adaptations */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__article-card,
  .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;
  }
  .page-news__article-categories {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-button {
    margin: 0 auto;
  }
}

/* Ensure all links and buttons are responsive */
.page-news a[class*="button"],
.page-news a[class*="btn"],
.page-news__cta-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__category-button {
  flex-shrink: 0;
}

.page-news__article-categories {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.page-news__article-categories::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}