.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 space for fixed header */
}

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

.page-blog__hero-section {
  background-color: #f8f8f8;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-blog__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  min-width: 200px;
  text-align: center;
}

.page-blog__button--register {
  background-color: #FCBC45; /* Login color used for register as it's a primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__button--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-blog__button--login {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-blog__button--login:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

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

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-blog__latest-articles, .page-blog__in-depth-guides, .page-blog__player-stories, .page-blog__promotions-highlight, .page-blog__responsible-gaming, .page-blog__final-cta {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

.page-blog__article-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  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 8px 20px rgba(0, 0, 0, 0.12);
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  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;
}

.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 {
  color: #666666;
  font-size: 0.95em;
  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;
  align-self: flex-start;
}

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

.page-blog__categories-section {
  background-color: #000000;
  padding: 60px 0;
}

.page-blog__categories-section .page-blog__section-title {
  color: #FFFFFF;
}

.page-blog__categories-section .page-blog__section-title::after {
  background-color: #FCBC45;
}

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

.page-blog__category-item a {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-blog__guide-card, .page-blog__story-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.page-blog__guide-image, .page-blog__story-image {
  width: 100%;
  height: 200px; /* Consistent height for guide/story images */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-blog__guide-title, .page-blog__story-name {
  font-size: 1.3em;
  padding: 0 20px;
  margin-bottom: 10px;
}

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

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

.page-blog__guide-excerpt, .page-blog__story-quote {
  color: #666666;
  font-size: 0.9em;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__guide-card .page-blog__button {
  margin: 0 20px;
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  min-width: unset;
}

.page-blog__guide-card .page-blog__button:hover {
  background-color: #333333;
}

.page-blog__story-card {
  text-align: center;
}

.page-blog__story-image {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 20px auto 15px auto;
  object-fit: cover;
  border: 4px solid #FCBC45;
}

.page-blog__story-name {
  color: #000000;
  font-weight: bold;
}

.page-blog__story-quote {
  font-style: italic;
}

.page-blog__button--share-story {
  margin-top: 40px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-blog__button--share-story:hover {
  background-color: #e0a53b;
}

.page-blog__promotions-highlight {
  background-color: #f0f0f0;
  text-align: center;
}

.page-blog__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__button--claim {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 18px 40px;
  font-size: 1.3em;
  min-width: 250px;
}

.page-blog__button--claim:hover {
  background-color: #e0a53b;
}

.page-blog__responsible-gaming {
  text-align: center;
}

.page-blog__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  margin-top: 30px;
}

.page-blog__button--learn-more:hover {
  background-color: #333333;
}

.page-blog__final-cta {
  background-color: #000000;
  padding: 80px 0;
  text-align: center;
}

.page-blog__final-cta .page-blog__section-title {
  color: #FFFFFF;
}

.page-blog__final-cta .page-blog__section-title::after {
  background-color: #FCBC45;
}

.page-blog__final-cta .page-blog__section-intro {
  color: #e0e0e0;
}

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

.page-blog__button--join {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 18px 40px;
  font-size: 1.3em;
  min-width: 250px;
}

.page-blog__button--join:hover {
  background-color: #e0a53b;
}

.page-blog__button--download {
  background-color: #FFFFFF;
  color: #000000;
  border: none;
  padding: 18px 40px;
  font-size: 1.3em;
  min-width: 250px;
}

.page-blog__button--download:hover {
  background-color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header if needed */
  }
  .page-blog__hero-section {
    padding: 60px 0;
  }
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-blog__article-grid, .page-blog__guide-grid, .page-blog__story-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image, .page-blog__guide-image, .page-blog__story-image, .page-blog__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-blog__section-intro {
    margin: -20px auto 40px auto;
  }
  .page-blog__category-list {
    flex-direction: column;
    align-items: center;
  }
  .page-blog__category-item a {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  .page-blog__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__button--join, .page-blog__button--download, .page-blog__button--claim {
    width: 80%;
    margin: 0 auto;
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__guide-title, .page-blog__story-name {
    font-size: 1.1em;
  }
  .page-blog__article-image, .page-blog__guide-image, .page-blog__story-image, .page-blog__promo-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not smaller than 200px and prevent overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
    object-fit: cover;
  }
}