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

.page-blog__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  min-height: 500px;
}

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

.page-blog__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 40px 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-content {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

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

.page-blog__featured-article {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-blog__article-card {
  display: flex;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
}

.page-blog__article-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog__article-content {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

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

.page-blog__article-meta {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1.1em;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-blog__article-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-blog__latest-posts {
  padding: 60px 0;
}

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

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

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

.page-blog__post-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-blog__post-link {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-link:hover {
  color: #FCBC45;
}

.page-blog__post-meta {
  font-size: 0.85em;
  color: #777777;
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1em;
  color: #444444;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__post-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-blog__post-button:hover {
  background-color: #e0a73b;
}

.page-blog__call-to-action {
  background-color: #000000;
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-blog__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

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

.page-blog__responsible-gaming {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-blog__responsible-gaming-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
}

.page-blog__responsible-gaming-content p {
  margin-bottom: 20px;
}

.page-blog__responsible-gaming-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__text-link {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__text-link:hover {
  color: #e0a73b;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    min-height: 400px;
  }
  .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;
  }
  .page-blog__section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-blog__featured-article {
    padding: 40px 0;
  }
  .page-blog__article-card {
    flex-direction: column;
  }
  .page-blog__article-image,
  .page-blog__article-content {
    width: 100%;
  }
  .page-blog__article-image {
    height: 250px;
  }
  .page-blog__article-title {
    font-size: 1.5em;
  }
  .page-blog__article-excerpt {
    font-size: 0.95em;
  }
  .page-blog__latest-posts {
    padding: 40px 0;
  }
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__post-image {
    height: 200px;
  }
  .page-blog__post-title {
    font-size: 1.3em;
  }
  .page-blog__post-excerpt {
    font-size: 0.9em;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-blog__responsible-gaming {
    padding: 40px 0;
  }
  .page-blog__responsible-gaming-subtitle {
    font-size: 1.5em;
  }
  .page-blog__responsible-gaming-content p {
    font-size: 1em;
  }
  /* Mobile content area image constraint */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__hero-content {
    padding: 20px;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 0.9em;
  }
}