.page-resources-latest-game-updates {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF;
}

.page-resources-latest-game-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-latest-game-updates__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources-latest-game-updates__section:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.page-resources-latest-game-updates__section-title {
  font-size: 36px;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-latest-game-updates__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-latest-game-updates__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-resources-latest-game-updates__text-block a:hover {
  color: #005a2b;
}

/* Hero Section */
.page-resources-latest-game-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #f0f8f0; /* Light green background */
  overflow: hidden;
}

.page-resources-latest-game-updates__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-resources-latest-game-updates__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-game-updates__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-resources-latest-game-updates__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-latest-game-updates__hero-content h1 {
  font-size: 48px;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-game-updates__hero-content p {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-game-updates__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-latest-game-updates__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping initially */
}

.page-resources-latest-game-updates__btn-register {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-latest-game-updates__btn-register:hover {
  background: #a80707;
  border-color: #a80707;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-resources-latest-game-updates__btn-learn-more {
  background: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-resources-latest-game-updates__btn-learn-more:hover {
  background: #005a2b;
  border-color: #005a2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Game Grid */
.page-resources-latest-game-updates__game-grid,
.page-resources-latest-game-updates__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-latest-game-updates__game-card,
.page-resources-latest-game-updates__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-resources-latest-game-updates__game-card:hover,
.page-resources-latest-game-updates__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-game-updates__game-card img,
.page-resources-latest-game-updates__promo-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-resources-latest-game-updates__game-card .page-resources-latest-game-updates__card-title,
.page-resources-latest-game-updates__promo-card .page-resources-latest-game-updates__card-title {
  font-size: 22px;
  color: #017439;
  padding: 20px 25px 10px;
  margin: 0;
  font-weight: bold;
}

.page-resources-latest-game-updates__game-card p,
.page-resources-latest-game-updates__promo-card p {
  padding: 0 25px;
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 16px;
}

.page-resources-latest-game-updates__game-card .page-resources-latest-game-updates__btn-primary,
.page-resources-latest-game-updates__promo-card .page-resources-latest-game-updates__btn-primary {
  display: inline-block;
  background: #017439;
  color: #FFFFFF;
  padding: 12px 25px;
  margin: 0 25px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources-latest-game-updates__game-card .page-resources-latest-game-updates__btn-primary:hover,
.page-resources-latest-game-updates__promo-card .page-resources-latest-game-updates__btn-primary:hover {
  background: #005a2b;
}

/* Feature List */
.page-resources-latest-game-updates__feature-list,
.page-resources-latest-game-updates__why-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-latest-game-updates__feature-list li,
.page-resources-latest-game-updates__why-list li {
  background: #ffffff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #017439;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 17px;
  color: #333333;
}

.page-resources-latest-game-updates__feature-list li strong,
.page-resources-latest-game-updates__why-list li strong {
  color: #017439;
}

/* Call to Action Section */
.page-resources-latest-game-updates__call-to-action {
  background-color: #017439; /* Brand color as background */
  color: #FFFFFF; /* White text for contrast */
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-game-updates__call-to-action .page-resources-latest-game-updates__section-title {
  color: #FFFFFF;
  font-size: 38px;
  margin-bottom: 25px;
}

.page-resources-latest-game-updates__call-to-action .page-resources-latest-game-updates__text-block {
  font-size: 19px;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-resources-latest-game-updates__call-to-action .page-resources-latest-game-updates__text-block a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-resources-latest-game-updates__cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-latest-game-updates__btn-download {
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #FFFFFF;
}

.page-resources-latest-game-updates__btn-download:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Dark background specific for CTA */
.page-resources-latest-game-updates__dark-bg {
  background: #017439;
  color: #ffffff;
}

/* FAQ Section */
.page-resources-latest-game-updates__faq-section {
  background-color: #f0f8f0;
}

.page-resources-latest-game-updates__faq-list {
  margin-top: 40px;
}

.page-resources-latest-game-updates__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.page-resources-latest-game-updates__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 20px;
  opacity: 0;
  background: #fdfdfd;
  color: #444444;
}

.page-resources-latest-game-updates__faq-item.active .page-resources-latest-game-updates__faq-answer {
  max-height: 2000px !important; /* Ensure content fits */
  padding: 20px !important;
  opacity: 1;
  border-top: 1px solid #eee;
}

.page-resources-latest-game-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-latest-game-updates__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-latest-game-updates__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #017439;
  pointer-events: none;
}

.page-resources-latest-game-updates__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f0f0f0;
}

.page-resources-latest-game-updates__faq-item.active .page-resources-latest-game-updates__faq-toggle {
  color: #017439;
  transform: rotate(180deg);
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-game-updates__hero-content h1 {
    font-size: 40px;
  }
  .page-resources-latest-game-updates__hero-content p {
    font-size: 18px;
  }
  .page-resources-latest-game-updates__section-title {
    font-size: 32px;
  }
  .page-resources-latest-game-updates__game-grid,
  .page-resources-latest-game-updates__promo-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-game-updates__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-latest-game-updates__hero-content h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-resources-latest-game-updates__hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-resources-latest-game-updates__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-resources-latest-game-updates__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-latest-game-updates__hero-buttons .page-resources-latest-game-updates__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-latest-game-updates__section {
    padding: 40px 0;
  }
  .page-resources-latest-game-updates__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-resources-latest-game-updates__text-block {
    font-size: 15px;
  }
  
  .page-resources-latest-game-updates__game-card img,
  .page-resources-latest-game-updates__promo-card img {
    height: 200px; /* Adjust height for mobile */
  }

  /* Ensure all images are responsive */
  .page-resources-latest-game-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-latest-game-updates__section,
  .page-resources-latest-game-updates__game-card,
  .page-resources-latest-game-updates__promo-card,
  .page-resources-latest-game-updates__container,
  .page-resources-latest-game-updates__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsiveness */
  .page-resources-latest-game-updates__cta-button,
  .page-resources-latest-game-updates__btn-primary,
  .page-resources-latest-game-updates__btn-secondary,
  .page-resources-latest-game-updates a[class*="button"],
  .page-resources-latest-game-updates 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-resources-latest-game-updates__cta-buttons,
  .page-resources-latest-game-updates__button-group,
  .page-resources-latest-game-updates__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-resources-latest-game-updates__call-to-action .page-resources-latest-game-updates__section-title {
    font-size: 28px;
  }
  .page-resources-latest-game-updates__call-to-action .page-resources-latest-game-updates__text-block {
    font-size: 17px;
  }

  .page-resources-latest-game-updates__faq-question {
    padding: 15px 20px;
  }
  .page-resources-latest-game-updates__faq-question h3 {
    font-size: 16px;
  }
  .page-resources-latest-game-updates__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-resources-latest-game-updates__faq-item.active .page-resources-latest-game-updates__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-resources-latest-game-updates__hero-content h1 {
    font-size: 26px;
  }
  .page-resources-latest-game-updates__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-resources-latest-game-updates__section-title {
    font-size: 24px;
  }
  .page-resources-latest-game-updates__game-card img,
  .page-resources-latest-game-updates__promo-card img {
    
  }
  .page-resources-latest-game-updates__game-card .page-resources-latest-game-updates__card-title,
  .page-resources-latest-game-updates__promo-card .page-resources-latest-game-updates__card-title {
    font-size: 19px;
    padding: 15px 20px 8px;
  }
  .page-resources-latest-game-updates__game-card p,
  .page-resources-latest-game-updates__promo-card p {
    font-size: 14px;
    padding: 0 20px;
  }
  .page-resources-latest-game-updates__game-card .page-resources-latest-game-updates__btn-primary,
  .page-resources-latest-game-updates__promo-card .page-resources-latest-game-updates__btn-primary {
    padding: 10px 20px;
    margin: 0 20px 20px;
    font-size: 14px;
  }
  .page-resources-latest-game-updates__feature-list li,
  .page-resources-latest-game-updates__why-list li {
    font-size: 15px;
    padding: 15px 20px;
  }
  .page-resources-latest-game-updates__call-to-action .page-resources-latest-game-updates__section-title {
    font-size: 24px;
  }
  .page-resources-latest-game-updates__call-to-action .page-resources-latest-game-updates__text-block {
    font-size: 15px;
  }
  .page-resources-latest-game-updates__faq-question h3 {
    font-size: 14px;
  }
  .page-resources-latest-game-updates__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
}