.page-news {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for the page, contrasting with body #121212 */
  line-height: 1.6;
  background-color: transparent; /* Main content background is transparent to show body background */
  padding-top: var(--header-offset, 120px);
}

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

.page-news__dark-section {
  background-color: #1A202C; /* Main brand dark color */
  color: #ffffff;
  padding: 80px 0;
}

.page-news__light-bg {
  background-color: #f8f9fa; /* Explicitly light background for contrast sections */
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

/* Hero Section */
.page-news__hero-section {
  text-align: center;
  padding: 100px 0;
}

.page-news__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__read-more-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* For mobile button responsiveness */
  word-wrap: break-word; /* For mobile button responsiveness */
  box-sizing: border-box; /* For mobile button responsiveness */
}

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

.page-news__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
  border-color: #e6c200;
}

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

.page-news__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-news__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: inherit;
}

/* Articles Grid */
.page-news__articles-grid,
.page-news__guides-grid,
.page-news__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__article-card,
.page-news__guide-card,
.page-news__promotion-item {
  background-color: #2a3447; /* Slightly lighter dark for card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-news__light-bg .page-news__article-card,
.page-news__light-bg .page-news__guide-card,
.page-news__light-bg .page-news__promotion-item {
  background-color: #ffffff; /* White background for cards in light sections */
  color: #333333;
}

.page-news__article-card:hover,
.page-news__guide-card:hover,
.page-news__promotion-item:hover {
  transform: translateY(-5px);
}

.page-news__article-image,
.page-news__guide-image,
.page-news__promotion-image,
.page-news__feature-icon {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news__feature-icon {
  max-width: 250px;
  height: 250px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  object-fit: contain;
  background-color: rgba(255,255,255,0.1);
  padding: 20px;
}

.page-news__article-content,
.page-news__guide-content,
.page-news__promotion-content {
  padding: 25px;
}

.page-news__article-title,
.page-news__guide-title,
.page-news__promotion-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__article-title a,
.page-news__guide-title a,
.page-news__promotion-title a {
  color: #FFD700; /* Gold for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__light-bg .page-news__article-title a,
.page-news__light-bg .page-news__guide-title a,
.page-news__light-bg .page-news__promotion-title a {
  color: #1A202C; /* Dark blue-grey for titles in light sections */
}

.page-news__article-title a:hover,
.page-news__guide-title a:hover,
.page-news__promotion-title a:hover {
  color: #ffffff;
}

.page-news__light-bg .page-news__article-title a:hover,
.page-news__light-bg .page-news__guide-title a:hover,
.page-news__light-bg .page-news__promotion-title a:hover {
  color: #FFD700;
}

.page-news__article-excerpt,
.page-news__guide-excerpt,
.page-news__promotion-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-news__light-bg .page-news__article-excerpt,
.page-news__light-bg .page-news__guide-excerpt,
.page-news__light-bg .page-news__promotion-description {
  color: #666666;
}

.page-news__read-more-btn {
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  border: none;
}

.page-news__read-more-btn:hover {
  background-color: #e6c200;
  color: #000000;
}

/* Feature Grid */
.page-news__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
  margin-top: 40px;
}

.page-news__feature-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-news__feature-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-news__feature-text {
  color: #f0f0f0;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 0;
}

.page-news__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.page-news__faq-item {
  background-color: #2a3447;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700;
  background-color: #1A202C;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: #2b3547;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg);
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Ensure it expands */
  padding: 20px 25px;
}

.page-news__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-news__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-news__cta-content {
  background-color: #1A202C;
  padding: 60px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.page-news__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.8em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__cta-title {
    font-size: 2.2em;
  }
}

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

  .page-news__main-title {
    font-size: 2.2em;
  }

  .page-news__hero-description {
    font-size: 1.1em;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news__read-more-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 15px;
  }

  .page-news__section-title {
    font-size: 1.8em;
  }

  .page-news__section-description {
    font-size: 1em;
  }

  .page-news__articles-grid,
  .page-news__guides-grid,
  .page-news__promotions-grid,
  .page-news__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-news__article-image,
  .page-news__guide-image,
  .page-news__promotion-image,
  .page-news__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__article-card,
  .page-news__guide-card,
  .page-news__promotion-item,
  .page-news__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__cta-title {
    font-size: 1.8em;
  }

  .page-news__faq-question {
    font-size: 1em;
  }
  .page-news__faq-answer {
    padding: 0 15px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px;
  }
}