.page-news {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-news__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

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

.page-news__section-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.page-news__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  box-sizing: border-box;
}

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

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
  z-index: -1;
}

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

.page-news__hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

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

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__hero-button,
.page-news__card-link,
.page-news__analysis-button,
.page-news__responsible-link,
.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-news__btn-primary,
.page-news__hero-button,
.page-news__cta-button {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Navy Blue for contrast */
  border: 2px solid #FFD700;
}

.page-news__btn-primary:hover,
.page-news__hero-button:hover,
.page-news__cta-button:hover {
  background-color: #e6c200;
  color: #ffffff;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-news__btn-secondary,
.page-news__card-link,
.page-news__analysis-button,
.page-news__responsible-link {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-news__btn-secondary:hover,
.page-news__card-link:hover,
.page-news__analysis-button:hover,
.page-news__responsible-link:hover {
  background-color: #FFD700;
  color: #000080; /* Navy Blue */
  transform: translateY(-2px);
}

/* Latest News Section */
.page-news__latest-news {
  background-color: #0a0a0a;
}

.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);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.page-news__card-title a:hover {
  color: #e6c200;
}

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

.page-news__card-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__card-link {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto;
}

/* Analysis Section */
.page-news__analysis-section {
  background-color: #000080; /* Navy Blue background */
}

.page-news__analysis-section .page-news__section-title {
  color: #FFD700;
}

.page-news__analysis-section .page-news__section-description {
  color: #f0f0f0;
}

.page-news__analysis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.page-news__analysis-item {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__analysis-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-news__analysis-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-news__analysis-image {
  width: 50%;
  height: 400px;
  object-fit: cover;
}

.page-news__analysis-content {
  width: 50%;
  padding: 40px;
  box-sizing: border-box;
}

.page-news__analysis-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-news__analysis-button {
  font-size: 1em;
}

/* Promotions & Events Section */
.page-news__promotions-events {
  background-color: #0a0a0a;
}

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

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

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

/* Responsible Gaming Section */
.page-news__responsible-gaming {
  background-color: #1a1a1a;
  text-align: center;
}

.page-news__responsible-link {
  margin-top: 20px;
  font-size: 1.1em;
}

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

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #000080; /* Navy Blue */
  color: #FFD700; /* Gold */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-news__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Override default h3 size */
}

.page-news__faq-toggle {
  font-size: 1.8em;
  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;
  color: #f0f0f0;
  line-height: 1.7;
  font-size: 1.05em;
}

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

/* CTA Bottom Section */
.page-news__cta-bottom {
  background-color: #000080;
  text-align: center;
  padding-bottom: 80px;
}

.page-news__cta-bottom .page-news__section-title {
  color: #FFD700;
}

.page-news__cta-bottom .page-news__section-description {
  color: #f0f0f0;
}

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

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

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

  .page-news__analysis-item {
    flex-direction: column;
  }

  .page-news__analysis-item:nth-child(even) {
    flex-direction: column;
  }

  .page-news__analysis-image,
  .page-news__analysis-content {
    width: 100%;
    height: auto;
  }

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

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

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 80vh;
    min-height: 400px;
  }

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

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

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

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

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

  .page-news__news-grid,
  .page-news__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-news__news-card,
  .page-news__promo-card {
    margin: 0 15px;
  }

  .page-news__card-title {
    font-size: 1.4em;
  }

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

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

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

  .page-news__analysis-text {
    font-size: 1em;
  }

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

  .page-news__cta-button {
    width: 100% !important;
  }

  /* Mandatory responsive styles for images, videos, and buttons */
  .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__analysis-item,
  .page-news__promo-card,
  .page-news__faq-item,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Ensure padding-top for video section (if any) or hero section */
  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news__hero-button,
  .page-news__card-link,
  .page-news__analysis-button,
  .page-news__responsible-link,
  .page-news__cta-button {
    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 {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

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

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

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