.page-news__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background-color: #017439; /* Main brand color for dark background */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
}

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

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

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-news__section-title {
  font-size: 2.8em;
  color: #017439;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-news__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #017439;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Latest News Section */
.page-news__latest-news-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

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

.page-news__article-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

.page-news__article-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__article-link {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-link:hover {
  color: #005f2e;
}

.page-news__article-excerpt {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #005f2e;
  text-decoration: underline;
}

/* Game Updates Section */
.page-news__game-updates-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

.page-news__game-updates-section .page-news__section-title {
  color: #ffffff;
}

.page-news__game-updates-section .page-news__section-title::after {
  background-color: #ffffff;
}

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

.page-news__update-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-news__update-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-news__update-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news__update-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__update-link {
  color: #FFFF00; /* Custom color for links on dark background */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__update-link:hover {
  color: #ffcc00;
}

.page-news__update-description {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-news__explore-btn {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
}

.page-news__explore-btn:hover {
  background-color: #a30606;
  color: #ffffff;
}

/* Promotions & Events Section */
.page-news__promotions-events-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

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

.page-news__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.page-news__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news__promo-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__promo-link {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__promo-link:hover {
  color: #005f2e;
}

.page-news__promo-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-news__view-details {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
}

.page-news__view-details:hover {
  background-color: #005f2e;
}

/* Industry Insights Section */
.page-news__industry-insights-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

.page-news__industry-insights-section .page-news__section-title {
  color: #ffffff;
}

.page-news__industry-insights-section .page-news__section-title::after {
  background-color: #ffffff;
}

.page-news__insight-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-news__insight-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.page-news__insight-content {
  padding: 30px;
}

.page-news__insight-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.3;
}

.page-news__insight-text {
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.7;
  margin-bottom: 15px;
}

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

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

.page-news__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  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;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed; /* Light green for question background */
  transition: background-color 0.3s ease;
}

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

.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;
  background-color: #ffffff;
}

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

.page-news__faq-answer p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-news__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* Final CTA Section */
.page-news__cta-section-bottom {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-news__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* General Button Styles */
.page-news__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__btn-primary:hover {
  background-color: #a30606;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3em;
  }

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

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

  .page-news__article-grid,
  .page-news__update-grid,
  .page-news__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-news__insight-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-news__container {
    padding: 30px 15px;
  }

  /* Images responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__article-image, .page-news__update-image, .page-news__promo-image {
    height: 180px;
  }

  /* Card/Section containers responsive */
  .page-news__latest-news-section,
  .page-news__game-updates-section,
  .page-news__promotions-events-section,
  .page-news__industry-insights-section,
  .page-news__faq-section,
  .page-news__cta-section-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-news__article-card, .page-news__update-card, .page-news__promo-card {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-news__faq-question,
  .page-news__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-news__btn-primary,
  .page-news__explore-btn,
  .page-news__view-details,
  .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;
    text-align: center;
  }

  .page-news__cta-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__article-content, .page-news__update-content, .page-news__promo-content {
    padding: 15px;
  }

  .page-news__insight-content {
    padding: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }

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

  .page-news__article-title,
  .page-news__update-title,
  .page-news__promo-title {
    font-size: 1.3em;
  }

  .page-news__faq-question {
    font-size: 1em;
  }

  .page-news__btn-primary,
  .page-news__explore-btn,
  .page-news__view-details {
    font-size: 1em;
    padding: 12px 25px;
  }
}