/* style/blog-game-guides.css */
.page-blog-game-guides {
  color: #333333; /* Dark text for light body background #f4f4f4 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-blog-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #1A1A1A;
  color: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
}

.page-blog-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-blog-game-guides__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-blog-game-guides__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-game-guides__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-blog-game-guides__hero-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  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;
}

.page-blog-game-guides__hero-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-blog-game-guides__introduction-section,
.page-blog-game-guides__game-section,
.page-blog-game-guides__responsible-gaming-section,
.page-blog-game-guides__final-cta-section {
  padding: 60px 0;
}

.page-blog-game-guides__introduction-section {
  background-color: #ffffff;
}

.page-blog-game-guides__game-section--alt-bg {
  background-color: #f0f0f0;
}

.page-blog-game-guides__section-title {
  font-size: 2.5em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-blog-game-guides__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-blog-game-guides__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-game-guides__content-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-blog-game-guides__image-right,
.page-blog-game-guides__image-left {
  flex: 1;
  min-width: 400px; /* Ensure images are not too small */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-blog-game-guides__image-right img,
.page-blog-game-guides__image-left img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-game-guides__text-content {
  flex: 2;
  min-width: 400px; /* Ensure text content is not too small */
  font-size: 1.05em;
  text-align: justify;
}

.page-blog-game-guides__cta-button {
  display: inline-block;
  background-color: #1A1A1A;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog-game-guides__cta-button:hover {
  background-color: #000000;
  color: #ffffff;
}

.page-blog-game-guides__game-section .page-blog-game-guides__content-block:nth-child(odd) {
  flex-direction: row-reverse; /* Alternate image and text layout */
}

.page-blog-game-guides__final-cta-section {
  background-color: #1A1A1A;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-blog-game-guides__final-cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-blog-game-guides__final-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-game-guides__final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-blog-game-guides__final-cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-blog-game-guides__final-cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-blog-game-guides__final-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog-game-guides__final-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-game-guides__hero-title {
    font-size: 2.8em;
  }
  .page-blog-game-guides__section-title {
    font-size: 2em;
  }
  .page-blog-game-guides__image-right,
  .page-blog-game-guides__image-left,
  .page-blog-game-guides__text-content {
    min-width: unset;
    flex-basis: 100%;
  }
  .page-blog-game-guides__content-block {
    flex-direction: column;
  }
  .page-blog-game-guides__game-section .page-blog-game-guides__content-block:nth-child(odd) {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-blog-game-guides__hero-section {
    padding: 60px 15px;
  }
  .page-blog-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-blog-game-guides__hero-description {
    font-size: 1.1em;
  }
  .page-blog-game-guides__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog-game-guides__introduction-section,
  .page-blog-game-guides__game-section,
  .page-blog-game-guides__responsible-gaming-section,
  .page-blog-game-guides__final-cta-section {
    padding: 40px 0;
  }
  .page-blog-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-blog-game-guides__section-text,
  .page-blog-game-guides__text-content {
    font-size: 1em;
  }
  .page-blog-game-guides__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-blog-game-guides__final-cta-title {
    font-size: 2.5em;
  }
  .page-blog-game-guides__final-cta-description {
    font-size: 1em;
  }
  .page-blog-game-guides__final-cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content image overflow prevention */
  .page-blog-game-guides img {
    max-width: 100%;
    height: auto;
  }
  .page-blog-game-guides {
    overflow-x: hidden;
  }
  .page-blog-game-guides__content-block img {
    min-width: 200px; /* Ensures content images are not too small */
  }
}

@media (max-width: 480px) {
  .page-blog-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-blog-game-guides__hero-description {
    font-size: 0.9em;
  }
  .page-blog-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-blog-game-guides__final-cta-title {
    font-size: 2em;
  }
}