.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Inherited from shared, but for clarity */
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
}

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

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #666666;
}

.page-news__latest-articles,
.page-news__promotion-updates,
.page-news__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-news__featured-article,
.page-news__responsible-gaming-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-news__featured-article .page-news__section-title,
.page-news__responsible-gaming-section .page-news__section-title {
  color: #FFFF00; /* Yellow title for dark sections */
}

.page-news__featured-article .page-news__section-description,
.page-news__responsible-gaming-section .page-news__section-description,
.page-news__responsible-gaming-section p {
  color: #f0f0f0;
}

.page-news__articles-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__promotion-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__article-card:hover,
.page-news__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__article-title,
.page-news__promotion-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-news__article-title a,
.page-news__promotion-title a {
  text-decoration: none;
  color: #017439;
  transition: color 0.3s ease;
}

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

.page-news__article-excerpt,
.page-news__promotion-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

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

.page-news__read-more:hover {
  color: #017439;
}

.page-news__featured-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-news__featured-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news__featured-text {
  flex: 1;
  max-width: 50%;
}

.page-news__featured-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-news__featured-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

.page-news__btn-secondary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

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

.page-news__responsible-gaming-section p {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  font-size: 1.1em;
}

.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #017439;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-news__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
}

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

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

.page-news__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }

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

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

  .page-news__featured-content {
    flex-direction: column;
    text-align: center;
  }

  .page-news__featured-image,
  .page-news__featured-text {
    max-width: 100%;
  }
}

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

  .page-news__hero-content {
    padding: 40px 15px;
  }

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

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

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

  .page-news__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-news__latest-articles,
  .page-news__promotion-updates,
  .page-news__faq-section,
  .page-news__featured-article,
  .page-news__responsible-gaming-section {
    padding: 50px 0;
  }

  .page-news__articles-grid,
  .page-news__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-news__article-title,
  .page-news__promotion-title {
    font-size: 1.2em;
  }

  .page-news__featured-title {
    font-size: 1.6em;
  }

  .page-news__featured-text p {
    font-size: 0.95em;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    padding: 10px 20px;
    font-size: 1em;
  }

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

  .page-news__cta-buttons .page-news__btn-primary,
  .page-news__cta-buttons .page-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  /* Mobile specific image rules */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__latest-articles,
  .page-news__featured-article,
  .page-news__promotion-updates,
  .page-news__responsible-gaming-section,
  .page-news__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}