.page-resources-latest-games-guide {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-latest-games-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
  gap: 30px;
}

.page-resources-latest-games-guide__hero-content {
  max-width: 800px;
}

.page-resources-latest-games-guide__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-resources-latest-games-guide__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-resources-latest-games-guide__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-resources-latest-games-guide__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-latest-games-guide__cta-button:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-resources-latest-games-guide__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-resources-latest-games-guide__cta-button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register color */
  margin-left: 15px;
}

.page-resources-latest-games-guide__cta-button--secondary:hover {
  background-color: #333333;
}

.page-resources-latest-games-guide__content-area {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-latest-games-guide__article {
  flex: 3;
  max-width: 800px;
}

.page-resources-latest-games-guide__sidebar {
  flex: 1;
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.page-resources-latest-games-guide__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-latest-games-guide__sub-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-latest-games-guide__article p {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
}

.page-resources-latest-games-guide__image-figure {
  margin: 30px 0;
  text-align: center;
}

.page-resources-latest-games-guide__image-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-resources-latest-games-guide__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-resources-latest-games-guide__tips-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-latest-games-guide__tips-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-latest-games-guide__tips-list li strong {
  color: #000000;
}

.page-resources-latest-games-guide__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-resources-latest-games-guide__cta-text {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-resources-latest-games-guide__sidebar-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 20px;
  border-bottom: 1px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-latest-games-guide__resource-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-latest-games-guide__resource-list li {
  margin-bottom: 15px;
}

.page-resources-latest-games-guide__resource-list a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-latest-games-guide__resource-list a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-resources-latest-games-guide__sidebar-cta {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-latest-games-guide__sidebar-cta p {
  margin-bottom: 15px;
  font-weight: bold;
  color: #000000;
}

.page-resources-latest-games-guide__back-to-resources {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.page-resources-latest-games-guide__back-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  padding: 10px 20px;
  border: 2px solid #000000;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-latest-games-guide__back-link:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-latest-games-guide__hero-title {
    font-size: 2.4em;
  }

  .page-resources-latest-games-guide__section-title {
    font-size: 2em;
  }

  .page-resources-latest-games-guide__sub-title {
    font-size: 1.6em;
  }

  .page-resources-latest-games-guide__content-area {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources-latest-games-guide__article {
    max-width: 100%;
  }

  .page-resources-latest-games-guide__sidebar {
    order: -1; /* Move sidebar above article on smaller screens */
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-games-guide__hero-section {
    padding: 40px 15px;
  }

  .page-resources-latest-games-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-latest-games-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-latest-games-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-latest-games-guide__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-resources-latest-games-guide__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px; /* Stack buttons vertically */
  }

  .page-resources-latest-games-guide__content-area {
    padding: 0 15px;
  }

  .page-resources-latest-games-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-games-guide__sub-title {
    font-size: 1.4em;
  }

  .page-resources-latest-games-guide__article p,
  .page-resources-latest-games-guide__tips-list li {
    font-size: 0.95em;
  }

  .page-resources-latest-games-guide__cta-section {
    padding: 30px 20px;
  }

  .page-resources-latest-games-guide__cta-text {
    font-size: 1.2em;
  }

  .page-resources-latest-games-guide__sidebar-title {
    font-size: 1.3em;
  }

  .page-resources-latest-games-guide__back-link {
    font-size: 1em;
    padding: 8px 15px;
  }

  /* Mobile content image constraint */
  .page-resources-latest-games-guide__article img,
  .page-resources-latest-games-guide__image-figure img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  .page-resources-latest-games-guide {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
}