/* Base styles for the news page */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

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

.page-news__section-title,
.page-news__sub-title,
.page-news__highlight-title,
.page-news__article-title {
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
}

.page-news__sub-title {
  font-size: 28px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 15px;
}

.page-news__section-intro,
.page-news__description,
.page-news__contact-description {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
  box-sizing: border-box;
  padding-top: 10px; /* Small top padding to avoid double header offset */
}

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

.page-news__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 15px;
}

.page-news__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-news__description {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-news__highlight-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__highlight-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news__highlight-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-news__highlight-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Market Analysis Section */
.page-news__market-analysis {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  padding: 60px 0;
}

.page-news__market-analysis .page-news__section-title {
  color: #F2FFF6;
}

.page-news__market-analysis .page-news__section-intro {
  color: #A7D9B8;
}

.page-news__analysis-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.page-news__analysis-content p {
  color: #A7D9B8;
  font-size: 16px;
}

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

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

.page-news__article-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-news__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.page-news__article-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: left;
}

.page-news__article-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

.page-news__article-title a:hover {
  color: #2AD16F; /* Button gradient start color */
}

.page-news__article-meta {
  font-size: 14px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-news__article-summary {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

/* FAQ Section */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: #0A4B2C; /* Deep Green */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: #08160F; /* Background */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8; /* Text Secondary */
}

/* CTA Section */
.page-news__cta-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
  text-align: center;
}

.page-news__cta-title {
  font-size: 36px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

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

.page-news__contact-section {
  text-align: center;
  padding-bottom: 60px;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-news__btn-secondary:hover {
  background: #57E38D;
  color: #08160F; /* Background */
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1023px) {
  .page-news__hero-section {
    height: 400px;
  }
  .page-news__main-title {
    font-size: 40px;
  }
  .page-news__description {
    font-size: 17px;
  }
  .page-news__analysis-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__hero-section {
    height: 300px;
    padding-bottom: 20px;
  }
  .page-news__main-title {
    font-size: 32px;
  }
  .page-news__description {
    font-size: 16px;
  }
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-news__sub-title {
    font-size: 22px;
  }
  .page-news__section-intro,
  .page-news__contact-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-news__highlight-item,
  .page-news__article-card {
    padding: 15px;
  }
  .page-news__highlight-title {
    font-size: 20px;
  }
  .page-news__highlight-text,
  .page-news__article-summary,
  .page-news__analysis-content p {
    font-size: 15px;
  }
  .page-news__article-title {
    font-size: 18px;
  }
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-qtext {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }
  .page-news__cta-title {
    font-size: 28px;
  }
  .page-news__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    padding: 10px 20px;
    font-size: 16px;
  }
}

/* No homepage specific trial layout CSS needed for news.html */
/* The following media queries are specifically for homepage game trial and are NOT included in news.css */
/* @media (max-width: 1023px) { ... } */
/* @media (min-width: 1024px) { ... } */
/* The prompt explicitly states "禁止在非首页复制首页全套（试玩壳+优惠条+热门 2 列+品牌+ticker）" */

/* Button responsive adaptation (general) */
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-buttons,
.page-news__button-group,
.page-news__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .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;
  }
  
  .page-news__cta-buttons {
    flex-direction: column;
  }
}