.page-blog {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero content */
  text-align: center;
}

.page-blog__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 8px;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-blog__articles-section,
.page-blog__about-section,
.page-blog__responsible-gaming-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

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

.page-blog__articles-container {
  margin-top: 40px;
}

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

.page-blog__article-card {
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

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

.page-blog__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  min-height: 60px; /* Ensure consistent height for titles */
}

.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-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  min-height: 100px; /* Ensure consistent height for descriptions */
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

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

.page-blog__about-container,
.page-blog__responsible-gaming-container {
  margin-top: 40px;
}

.page-blog__about-content,
.page-blog__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.page-blog__about-image,
.page-blog__responsible-gaming-image {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure image fills its flex container */
  height: auto;
  object-fit: cover;
}

.page-blog__about-text,
.page-blog__responsible-gaming-text {
  flex: 1 1 50%;
  min-width: 300px;
  font-size: 1.1em;
  color: #333333;
}

.page-blog__about-text p,
.page-blog__responsible-gaming-text p {
  margin-bottom: 15px;
}

.page-blog__cta-section--alt-bg {
  background-color: #000000; /* Dark background for this CTA section */
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

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

.page-blog__cta-description--light {
  color: #FFFFFF;
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

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

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

@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-content {
    width: 90%;
    padding: 15px;
  }
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__about-content,
  .page-blog__responsible-gaming-content {
    flex-direction: column;
  }
  .page-blog__about-image,
  .page-blog__responsible-gaming-image {
    min-width: unset;
    width: 100%; /* Ensure mobile images are responsive */
    max-width: 100%;
    height: auto;
  }
  .page-blog__about-text,
  .page-blog__responsible-gaming-text {
    min-width: unset;
    width: 100%;
  }

  /* Mobile image sizing for content area */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-image {
    height: 200px; /* Adjust height for smaller screens if needed, still >= 200px */
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__article-description {
    min-height: unset;
  }
}