.page-blog {
  color: #333333; /* Dark text for light body background */
}

.page-blog__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-blog__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-blog__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-blog__hero-button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-blog__hero-button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-blog__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__latest-articles,
.page-blog__game-guides,
.page-blog__platform-updates,
.page-blog__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-blog__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-blog__article-card,
.page-blog__update-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-blog__article-card:hover,
.page-blog__update-item:hover {
  transform: translateY(-5px);
}

.page-blog__article-image,
.page-blog__update-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.page-blog__update-image {
  height: 263px; /* Adjusted height for update images */
}

.page-blog__article-content {
  padding: 25px;
}

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

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

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

.page-blog__article-excerpt,
.page-blog__update-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.page-blog__read-more:hover {
  color: #000000;
}

.page-blog__guide-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-blog__guide-text {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
}

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

.page-blog__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-blog__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-blog__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-blog__cta-button--login {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3em;
  }

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

  .page-blog__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }

  .page-blog__hero-title {
    font-size: 2.5em;
  }

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

  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 0;
  }

  .page-blog__articles-grid,
  .page-blog__guides-grid,
  .page-blog__updates-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__latest-articles,
  .page-blog__game-guides,
  .page-blog__platform-updates,
  .page-blog__cta-section {
    margin: 40px auto;
    padding: 30px 15px;
  }

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

  .page-blog__cta-title {
    font-size: 1.8em;
  }

  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 0;
  }

  .page-blog__hero-image,
  .page-blog__article-image,
  .page-blog__update-image {
    max-width: 100%;
    height: auto;
  }

  .page-blog__hero-section {
    padding-top: var(--header-offset, 120px);
  }

  .page-blog img {
    max-width: 100%;
    height: auto;
  }

  .page-blog__article-image,
  .page-blog__update-image {
    height: auto; /* Allow auto height for mobile to maintain aspect ratio */
    min-height: 200px; /* Ensure minimum height for content images */
    object-fit: cover;
  }

  .page-blog__hero-image {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }

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

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

  .page-blog__cta-title {
    font-size: 1.6em;
  }

  .page-blog__hero-button,
  .page-blog__cta-button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .page-blog__article-title,
  .page-blog__update-title {
    font-size: 1.2em;
  }

  .page-blog__guide-title {
    font-size: 1.1em;
  }
}