.page-blog {
  color: #000000; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero overlay */
  color: #FFFFFF;
  overflow: hidden;
  min-height: 500px;
}

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

.page-blog__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title */
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Dark text on yellow button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog__hero-button:hover {
  background-color: #e0a53b;
}

.page-blog__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-blog__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
}

.page-blog__section-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__latest-articles,
.page-blog__game-guides,
.page-blog__industry-insights,
.page-blog__cta-section {
  padding: 60px 0;
}

.page-blog__latest-articles {
  background-color: #FFFFFF;
}

.page-blog__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-blog__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #000000;
}

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

.page-blog__article-title a:hover {
  color: #FCBC45;
}

.page-blog__article-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-blog__read-more-button:hover {
  background-color: #333333;
}

.page-blog__view-all-button-container {
  text-align: center;
}

.page-blog__view-all-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog__view-all-button:hover {
  background-color: #e0a53b;
}

.page-blog__game-guides {
  background-color: #f2f2f2;
}

.page-blog__guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog__guide-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-blog__guide-card:hover {
  transform: translateY(-5px);
}

.page-blog__guide-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-blog__guide-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__guide-link {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__guide-link:hover {
  color: #e0a53b;
}

.page-blog__dark-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-blog__dark-section .page-blog__section-title,
.page-blog__dark-section .page-blog__section-intro,
.page-blog__dark-section .page-blog__section-text,
.page-blog__dark-section .page-blog__insight-title,
.page-blog__dark-section .page-blog__insight-text {
  color: #FFFFFF;
}

.page-blog__industry-insights {
  padding: 60px 0;
}

.page-blog__insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog__insight-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__insight-title {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-blog__insight-text {
  font-size: 1em;
  opacity: 0.9;
}

.page-blog__cta-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for CTA overlay */
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-blog__cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__cta-button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

.page-blog__cta-button--register:hover {
  background-color: #f0f0f0;
}

.page-blog__cta-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-blog__cta-button--login:hover {
  background-color: #e0a53b;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.5em;
  }

  .page-blog__hero-description {
    font-size: 1em;
  }

  .page-blog__section-title {
    font-size: 2em;
  }

  .page-blog__section-intro {
    font-size: 0.95em;
  }

  .page-blog__articles-grid,
  .page-blog__guide-cards,
  .page-blog__insights-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__article-image,
  .page-blog__article-card img,
  .page-blog__guide-card img,
  .page-blog__insight-card img,
  .page-blog__cta-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__cta-button {
    width: 100%;
  }

  .page-blog__article-card,
  .page-blog__guide-card,
  .page-blog__insight-card {
    margin-bottom: 20px;
  }

  .page-blog__hero-section,
  .page-blog__latest-articles,
  .page-blog__game-guides,
  .page-blog__industry-insights,
  .page-blog__cta-section {
    padding: 40px 0;
  }

  .page-blog__content-wrapper {
    padding: 20px 15px;
  }
  
  /* Ensure no horizontal scroll for content area */
  .page-blog {
    overflow-x: hidden;
  }
}