.page-news {
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--bg-color, #ffffff); /* Inherit from shared or default to white */
}

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

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

.page-news__section-title {
  font-size: 36px;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Hero Section */
.page-news__hero-section {
  padding: 100px 20px; /* Adjust padding for hero */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  background-color: #26A9E0; /* Brand blue background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-news__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-news__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: #f0f0f0;
}

/* Buttons */
.page-news__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login/CTA color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-news__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

/* Article Grid */
.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: 10px;
  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 {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__article-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-news__article-title {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__article-title a {
  color: #26A9E0; /* Brand color for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #1a7fb2;
}

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

.page-news__read-more {
  display: inline-block;
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

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

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

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

.page-news__cta-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: #f0f0f0;
}

/* FAQ Section */
.page-news__faq-section {
  background-color: #f9f9f9;
}

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

.page-news__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  list-style: none;
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-news__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

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

.page-news__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-news__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 42px;
  }
  .page-news__section-title {
    font-size: 32px;
  }
  .page-news__cta-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-news__hero-title {
    font-size: 32px;
  }
  .page-news__hero-description {
    font-size: 18px;
  }
  .page-news__section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 28px;
  }
  .page-news__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-image {
    height: 200px;
  }
  .page-news__article-title {
    font-size: 20px;
  }
  .page-news__article-excerpt {
    font-size: 15px;
  }
  .page-news__cta-section {
    padding: 60px 15px;
  }
  .page-news__cta-title {
    font-size: 32px;
  }
  .page-news__cta-description {
    font-size: 16px;
  }
  .page-news__btn-primary,
  .page-news__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Specific padding for sections on mobile to ensure content isn't flush with edges */
  .page-news__latest-news .page-news__container,
  .page-news__game-updates .page-news__container,
  .page-news__promotions .page-news__container,
  .page-news__industry-insights .page-news__container,
  .page-news__faq-section .page-news__container,
  .page-news__cta-section .page-news__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-news__faq-question {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 0 20px 15px 20px;
  }
}