.page-blog {
  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 below fixed header */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  background-color: #000000; /* Fallback background */
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

.page-blog__hero-cta:hover {
  background-color: #e0a33c;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-blog__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 60px auto;
  color: #555555;
}

.page-blog__articles-container,
.page-blog__game-guides-container,
.page-blog__community-container,
.page-blog__news-updates-container,
.page-blog__categories-container,
.page-blog__final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-blog__article-card,
.page-blog__guide-card,
.page-blog__community-card,
.page-blog__news-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover,
.page-blog__guide-card:hover,
.page-blog__community-card:hover,
.page-blog__news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__article-image,
.page-blog__guide-image,
.page-blog__community-image,
.page-blog__news-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #e0e0e0;
}

.page-blog__article-content,
.page-blog__guide-content,
.page-blog__community-content,
.page-blog__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title,
.page-blog__guide-title,
.page-blog__community-title,
.page-blog__news-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.3;
}

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

.page-blog__article-title a:hover,
.page-blog__guide-title a:hover,
.page-blog__community-title a:hover,
.page-blog__news-title a:hover {
  color: #FCBC45;
}

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

.page-blog__read-more {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-blog__read-more:hover {
  color: #e0a33c;
  text-decoration: underline;
}

.page-blog__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-blog__cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-blog__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.2em;
}

.page-blog__cta-button:hover {
  background-color: #e0a33c;
  transform: translateY(-2px);
}

.page-blog__category-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.page-blog__category-item a {
  display: block;
  background-color: #f0f0f0;
  color: #000000;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-blog__category-item a:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-blog__newsletter-section {
  position: relative;
  padding: 80px 20px;
  margin-top: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-blog__newsletter-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 1;
}

.page-blog__newsletter-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-blog__newsletter-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__newsletter-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-blog__newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-blog__newsletter-input {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  width: 100%;
  max-width: 350px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333333;
}

.page-blog__newsletter-input::placeholder {
  color: #888888;
}

.page-blog__newsletter-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-blog__newsletter-button:hover {
  background-color: #e0a33c;
}

.page-blog__final-cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f8f8;
  margin-top: 60px;
}

.page-blog__final-cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__final-cta-text {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 30px;
  font-weight: 500;
}

.page-blog__final-cta-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-blog__final-cta-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__cta-title {
    font-size: 2.2em;
  }
  .page-blog__newsletter-title {
    font-size: 2em;
  }
  .page-blog__articles-grid,
  .page-blog__guides-grid,
  .page-blog__community-grid,
  .page-blog__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-blog__articles-grid,
  .page-blog__guides-grid,
  .page-blog__community-grid,
  .page-blog__news-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image,
  .page-blog__guide-image,
  .page-blog__community-image,
  .page-blog__news-image {
    height: 200px; /* Minimum height for mobile */
  }
  .page-blog__article-content,
  .page-blog__guide-content,
  .page-blog__community-content,
  .page-blog__news-content {
    padding: 15px;
  }
  .page-blog__article-title,
  .page-blog__guide-title,
  .page-blog__community-title,
  .page-blog__news-title {
    font-size: 1.2em;
  }
  .page-blog__cta-section {
    padding: 60px 15px;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-blog__newsletter-section {
    padding: 60px 15px;
    min-height: 350px;
  }
  .page-blog__newsletter-title {
    font-size: 1.8em;
  }
  .page-blog__newsletter-description {
    font-size: 1em;
  }
  .page-blog__newsletter-input {
    max-width: 100%;
  }
  .page-blog__newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  .page-blog__newsletter-button {
    width: 100%;
    max-width: 350px;
  }
  .page-blog__final-cta-section {
    padding: 40px 15px;
  }
  .page-blog__final-cta-text {
    font-size: 1.1em;
  }
  .page-blog__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  /* Ensure images in content area are responsive and not too small */
  .page-blog img {
    max-width: 100%;
    height: auto; /* Override fixed height for responsiveness */
  }
  .page-blog__article-image,
  .page-blog__guide-image,
  .page-blog__community-image,
  .page-blog__news-image {
    min-height: 200px; /* Ensure minimum height */
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__cta-title {
    font-size: 1.6em;
  }
  .page-blog__newsletter-title {
    font-size: 1.6em;
  }
  .page-blog__category-item a {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}