.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

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

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 0;
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-news__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FFC107; /* Accent color for title */
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-news__hero-button {
  display: inline-block;
  background: #FFC107;
  color: #1A237E;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__hero-button:hover {
  background: #FFA000; /* Darker amber on hover */
  color: #ffffff;
}

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

.page-news__section-title {
  font-size: 2.5rem;
  color: #FFC107;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-news__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-news__latest-articles-section {
  padding: 80px 0;
  background-color: #1A237E; /* Main brand color for background */
  color: #ffffff;
}

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

.page-news__article-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__article-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #FFC107;
}

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

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

.page-news__article-meta {
  font-size: 0.9rem;
  color: #cccccc;
  margin-bottom: 15px;
}

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

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

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

.page-news__featured-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-news__dark-bg {
  background-color: #1A237E; /* Main brand color */
  color: #ffffff;
}

.page-news__light-bg {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333;
}

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

.page-news__featured-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__featured-card:hover {
  transform: translateY(-5px);
}

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

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

.page-news__featured-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #FFC107;
}

.page-news__featured-title a {
  color: #FFC107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__featured-title a:hover {
  color: #ffffff;
}

.page-news__featured-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__game-news-section {
  padding: 80px 0;
  background-color: #0F172A; /* Darker blue for another section */
  color: #ffffff;
}

.page-news__game-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-news__game-news-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news__game-news-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news__game-news-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #FFC107;
}

.page-news__game-news-title a {
  color: #FFC107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__game-news-title a:hover {
  color: #ffffff;
}

.page-news__game-news-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__promotions-section {
  padding: 80px 0;
}

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

.page-news__promotion-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__promotion-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1A237E;
}

.page-news__promotion-title a {
  color: #1A237E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__promotion-title a:hover {
  color: #FFC107;
}

.page-news__promotion-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-news__faq-section {
  padding: 80px 0;
  color: #ffffff;
}

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

.page-news__faq-item {
  background: rgba(255, 255, 255, 0.1);
  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.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #FFC107;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  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-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px 25px;
}

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

.page-news__cta-section {
  padding: 80px 0;
  background-color: #FFC107;
  color: #1A237E;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

.page-news__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-news__cta-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #1A237E;
}

.page-news__cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #333333;
}

.page-news__cta-button {
  display: inline-block;
  background: #1A237E;
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__cta-button:hover {
  background: #0F172A;
  color: #FFC107;
}

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

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

  .page-news__cta-title {
    font-size: 2.4rem;
  }
}

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

  .page-news__hero-title {
    font-size: 2.5rem;
  }

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

  .page-news__hero-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

  .page-news__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-news__articles-grid,
  .page-news__featured-grid,
  .page-news__game-news-grid,
  .page-news__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-news__article-card,
  .page-news__featured-card,
  .page-news__game-news-card,
  .page-news__promotion-card {
    margin-bottom: 20px;
  }

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

  .page-news__article-title,
  .page-news__featured-title,
  .page-news__game-news-title,
  .page-news__promotion-title {
    font-size: 1.3rem;
  }

  .page-news__article-excerpt,
  .page-news__featured-excerpt,
  .page-news__game-news-excerpt,
  .page-news__promotion-excerpt {
    font-size: 0.9rem;
  }

  .page-news__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

  .page-news__faq-answer {
    padding: 0 20px;
  }

  .page-news__faq-item.active .page-news__faq-answer {
    padding: 12px 20px 20px 20px;
  }

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

  .page-news__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .page-news__cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  /* Mobile image, video, button, and container responsiveness */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  
  .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 {
    display: flex;
    flex-direction: column; 
    gap: 10px;
  }
}