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

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

.page-news__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bb7); /* Brand color gradient */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__btn-primary, .page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-news__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-news__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

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

.page-news__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0; /* Light grey for readability on dark backgrounds */
}

.page-news__latest-news, .page-news__casino-slot-news, .page-news__security-gaming, .page-news__cta-bottom {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

.page-news__sports-news, .page-news__promotions-events, .page-news__faq-section {
  padding: 60px 0;
  background-color: #000000; /* Darker background for sections */
  color: #ffffff;
}

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

.page-news__news-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

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

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

.page-news__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.3;
}

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

.page-news__card-title a:hover {
  color: #EA7C07; /* Login color on hover */
}

.page-news__card-meta {
  font-size: 0.9em;
  color: #aaaaaa;
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more:hover {
  background-color: #1a7bb7;
}

.page-news__cta-bottom {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a, #000000);
  color: #ffffff;
}

.page-news__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-news__faq-title {
  margin: 0;
  color: #ffffff;
}

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

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

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  color: #cccccc;
}

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

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

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

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }
  .page-news__hero-title {
    font-size: 2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__section-intro {
    font-size: 0.95em;
  }
  .page-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-news__news-card {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-news__card-title {
    font-size: 1.2em;
  }
  .page-news__read-more {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  .page-news__cta-bottom {
    padding: 60px 0;
  }
  .page-news__cta-title {
    font-size: 2em;
  }
  .page-news__cta-description {
    font-size: 1em;
  }
  .page-news__btn-primary, .page-news__btn-secondary {
    display: block;
    width: calc(100% - 30px); /* Account for padding */
    margin: 10px auto;
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  
  /* Mobile responsive image, video, button rules */
  .page-news img {
    max-width: 100% !important;
    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;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__btn-primary, .page-news__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}