:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

/* Base styles for the page-news scope */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark body background */
  background-color: var(--deep-navy); /* Assumed from shared.css body background */
}

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

.page-news__section {
  padding: 40px 0;
}

.page-news__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-news__text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-news__text-block p {
  margin-bottom: 20px;
}

.page-news__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  background-color: var(--deep-navy);
}

.page-news__hero-image {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-news__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default to cover for desktop */
  aspect-ratio: 16/9;
}

.page-news__hero-content {
  text-align: center;
  padding: 0 15px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-news__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Using clamp for H1 font-size */
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-news__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  box-sizing: border-box;
}

.page-news__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-news__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  margin-left: 20px;
}

.page-news__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-news__cta-buttons--center {
  margin-top: 40px;
}

/* Categories Section */
.page-news__categories-section {
  background-color: var(--deep-navy);
  padding: 60px 0;
}

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

.page-news__category-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  padding-bottom: 20px; /* Space for button */
}

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

.page-news__category-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-news__card-title {
  font-size: 22px;
  color: var(--text-main);
  font-weight: 700;
  margin: 0 20px 15px;
  line-height: 1.4;
}

.page-news__card-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 20px 20px;
  line-height: 1.7;
}

.page-news__category-card .page-news__btn-secondary {
  margin-left: 20px;
  margin-right: 20px;
  width: calc(100% - 40px);
}

/* Benefits Section */
.page-news__benefits-section {
  background-color: var(--deep-navy);
  padding: 60px 0;
}

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

.page-news__benefit-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-news__benefit-title {
  font-size: 24px;
  color: var(--gold-color);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__benefit-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Guide Section */
.page-news__guide-section {
  background-color: var(--deep-navy);
  padding: 60px 0;
}

.page-news__guide-content {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-news__guide-text-block {
  flex: 1;
}

.page-news__guide-subtitle {
  font-size: 24px;
  color: var(--text-main);
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-news__guide-subtitle:first-of-type {
  margin-top: 0;
}

.page-news__guide-text-block p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-news__guide-image {
  flex: 0 0 400px; /* Fixed width for desktop */
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

/* FAQ Section */
.page-news__faq-section {
  background-color: var(--deep-navy);
  padding: 60px 0;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: rgba(var(--primary-color), 0.5); /* Slightly lighter hover */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--card-bg), 0.8); /* Slightly transparent for visual depth */
  border-radius: 0 0 12px 12px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}
details.page-news__faq-item .page-news__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-news__conclusion-section {
  background-color: var(--deep-navy);
  padding: 60px 0 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__container {
    padding: 20px;
  }
  .page-news__hero-content {
    padding: 0 20px 50px;
  }
  .page-news__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-news__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }
  .page-news__guide-content {
    flex-direction: column;
    text-align: center;
  }
  .page-news__guide-image {
    flex: none;
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin-top: 30px;
  }
  .page-news__guide-text-block {
    order: 2; /* Text after image on tablet */
  }
  .page-news__guide-image {
    order: 1; /* Image before text on tablet */
  }
  .page-news__guide-subtitle {
    text-align: center;
  }
  .page-news__cta-buttons {
    justify-content: center;
  }
  .page-news__btn-secondary {
    margin-left: 0; /* Remove margin for centered buttons */
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
  }
  .page-news__hero-image img {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
    height: auto !important; /* Ensure height adjusts */
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-news__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .page-news__hero-description {
    font-size: clamp(15px, 4vw, 18px);
  }
  
  /* 通用图片与容器 */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__container,
  .page-news__section,
  .page-news__introduction-section,
  .page-news__categories-section,
  .page-news__benefits-section,
  .page-news__guide-section,
  .page-news__faq-section,
  .page-news__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .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-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important; /* Remove margin for full width stacking */
    margin-right: 0 !important;
  }
  .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 !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important; /* Add gap between stacked buttons */
  }
  .page-news__cta-buttons--center {
    align-items: center; /* Center stacked buttons */
  }

  /* 产品展示图区域 (Categories Grid) */
  .page-news__categories-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-news__category-card img {
     /* Adjust card image height for mobile */
  }
  .page-news__category-card .page-news__btn-secondary {
    width: calc(100% - 40px);
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-news__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
  }
  .page-news__text-block {
    font-size: 16px;
    padding: 0;
  }
  .page-news__text-block p {
    margin-bottom: 15px;
  }
  .page-news__guide-content {
    gap: 20px;
  }
  .page-news__guide-image {
    height: 250px;
  }
  .page-news__guide-subtitle {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* FAQ Section */
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px 20px;
  }
  .page-news__faq-qtext {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }
}