:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #0A2463;
  --border-color: #e0e0e0;
}

.page-news-game-releases {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--dark-bg-1); /* Assuming shared.css defines --dark-bg-1 as dark */
}

/* Ensure the main content starts below the fixed header */
.page-news-game-releases__introduction-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-news-game-releases__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-news-game-releases__main-title,
.page-news-game-releases__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-news-game-releases__section-description,
.page-news-game-releases__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: var(--text-light);
}

.page-news-game-releases__keyword {
  color: var(--secondary-color);
  font-weight: bold;
}

/* --- Section Backgrounds and Text Colors --- */
.page-news-game-releases__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-news-game-releases__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-news-game-releases__light-bg .page-news-game-releases__main-title,
.page-news-game-releases__light-bg .page-news-game-releases__section-title,
.page-news-game-releases__light-bg .page-news-game-releases__section-description,
.page-news-game-releases__light-bg .page-news-game-releases__intro-text {
  color: var(--text-dark);
}

/* --- Buttons --- */
.page-news-game-releases__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--background-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-news-game-releases__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Core Games Section --- */
.page-news-game-releases__core-games-section {
  padding: 80px 0;
}

.page-news-game-releases__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-news-game-releases__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-news-game-releases__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news-game-releases__game-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-news-game-releases__game-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-news-game-releases__game-card-text {
  font-size: 15px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* --- Promotions Section --- */
.page-news-game-releases__promotions-section {
  padding: 80px 0;
}

.page-news-game-releases__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-news-game-releases__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-news-game-releases__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-news-game-releases__promo-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-news-game-releases__promo-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-news-game-releases__promo-card-text {
  font-size: 15px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* --- Latest Blog Section --- */
.page-news-game-releases__latest-blog-section {
  padding: 80px 0;
}

.page-news-game-releases__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-news-game-releases__blog-card {
  background: #ffffff;
  border-radius: 12px;
  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;
  color: var(--text-dark);
}

.page-news-game-releases__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news-game-releases__blog-image {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
}

.page-news-game-releases__blog-card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-news-game-releases__blog-card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-game-releases__blog-card-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-news-game-releases__blog-excerpt {
  font-size: 15px;
  padding: 0 20px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news-game-releases__blog-date {
  font-size: 14px;
  color: #777777;
  padding: 0 20px 20px 20px;
  display: block;
}

.page-news-game-releases__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* --- FAQ Section --- */
.page-news-game-releases__faq-section {
  padding: 80px 0;
}

.page-news-game-releases__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-game-releases__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  color: var(--text-dark);
}

.page-news-game-releases__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-news-game-releases__faq-item.active .page-news-game-releases__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-news-game-releases__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news-game-releases__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-news-game-releases__faq-question:active {
  background: #eeeeee;
}

.page-news-game-releases__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-news-game-releases__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-news-game-releases__faq-item.active .page-news-game-releases__faq-toggle {
  color: var(--secondary-color);
}

.page-news-game-releases__faq-answer p a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-news-game-releases__faq-answer p a:hover {
  color: var(--secondary-color);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-news-game-releases__main-title,
  .page-news-game-releases__section-title {
    font-size: 32px;
  }
  .page-news-game-releases__intro-text,
  .page-news-game-releases__section-description {
    font-size: 16px;
  }
  .page-news-game-releases__container {
    padding: 30px 15px;
  }
  .page-news-game-releases__game-card-title,
  .page-news-game-releases__promo-card-title {
    font-size: 22px;
  }
  .page-news-game-releases__blog-card-title {
    font-size: 18px;
  }
  .page-news-game-releases__game-image,
  .page-news-game-releases__promo-image {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .page-news-game-releases__introduction-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile fixed header height */
  }
  .page-news-game-releases__main-title,
  .page-news-game-releases__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-news-game-releases__intro-text,
  .page-news-game-releases__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-news-game-releases__container {
    padding: 20px 15px;
  }
  .page-news-game-releases__game-grid,
  .page-news-game-releases__promo-grid,
  .page-news-game-releases__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news-game-releases__game-card,
  .page-news-game-releases__promo-card,
  .page-news-game-releases__blog-card {
    padding: 20px;
  }
  .page-news-game-releases__game-image,
  .page-news-game-releases__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news-game-releases__blog-image {
    height: 180px;
  }
  .page-news-game-releases__game-card-title,
  .page-news-game-releases__promo-card-title {
    font-size: 20px;
  }
  .page-news-game-releases__blog-card-title {
    font-size: 16px;
    margin: 15px 15px 8px 15px;
  }
  .page-news-game-releases__blog-excerpt,
  .page-news-game-releases__game-card-text,
  .page-news-game-releases__promo-card-text {
    font-size: 14px;
    padding: 0 15px;
  }
  .page-news-game-releases__blog-date {
    padding: 0 15px 15px 15px;
  }
  .page-news-game-releases__btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-news-game-releases__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-news-game-releases__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-news-game-releases__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-news-game-releases__faq-answer {
    padding: 0 15px;
  }
  .page-news-game-releases__faq-item.active .page-news-game-releases__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image container adaptation */
  .page-news-game-releases__section,
  .page-news-game-releases__card,
  .page-news-game-releases__container,
  .page-news-game-releases__game-card,
  .page-news-game-releases__promo-card,
  .page-news-game-releases__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}