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

.page-blog__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Dark background for hero to contrast with image */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero has a decent height */
  overflow: hidden;
  color: #FFFFFF;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7; /* Slightly dim image for text readability */
}

.page-blog__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-blog__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary CTA */
  color: #000000;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

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

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

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

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

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

.page-blog__article-image {
  width: 100%;
  height: 250px;
  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.5rem;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
  flex-grow: 0;
}

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

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

.page-blog__article-excerpt {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  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: #e0a53b;
}

.page-blog__promotions-cta {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

.page-blog__cta-description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
  color: #F0F0F0;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-blog__deep-dive-gaming {
  padding: 60px 0;
}

.page-blog__gaming-article {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.page-blog__gaming-article--reverse {
  flex-direction: row-reverse;
}

.page-blog__gaming-image {
  flex: 1;
  max-width: 550px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__gaming-content {
  flex: 1;
  max-width: 600px;
}

.page-blog__gaming-title {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 20px;
}

.page-blog__gaming-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.page-blog__gaming-text {
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-blog__security-responsible-gaming {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
}

.page-blog__security-text {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.7;
  color: #555555;
}

.page-blog__learn-more {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-blog__why-choose-us {
  padding: 80px 0;
}

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

.page-blog__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-blog__feature-item:hover {
  transform: translateY(-5px);
}

.page-blog__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  /* Removed filter to adhere to rules */
}

.page-blog__feature-title {
  font-size: 1.35rem;
  color: #000000;
  margin-bottom: 15px;
}

.page-blog__feature-description {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
}

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3rem;
  }
  .page-blog__gaming-article {
    flex-direction: column;
    text-align: center;
  }
  .page-blog__gaming-article--reverse {
    flex-direction: column;
  }
  .page-blog__gaming-image {
    max-width: 100%;
    height: 300px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.2rem;
  }
  .page-blog__hero-description {
    font-size: 1rem;
  }
  .page-blog__hero-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
  .page-blog__section-title {
    font-size: 2rem;
  }
  .page-blog__cta-title {
    font-size: 2rem;
  }
  .page-blog__gaming-title {
    font-size: 1.6rem;
  }
  .page-blog__gaming-text, .page-blog__security-text, .page-blog__cta-description {
    font-size: 0.95rem;
  }
  .page-blog__articles-grid, .page-blog__features-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
  }
  /* Mobile content area images must be constrained */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8rem;
  }
  .page-blog__hero-description {
    font-size: 0.9rem;
  }
  .page-blog__section-title {
    font-size: 1.8rem;
  }
  .page-blog__cta-title {
    font-size: 1.8rem;
  }
  .page-blog__gaming-title {
    font-size: 1.4rem;
  }
}