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

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF; /* White text for hero content over dark image */
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary action */
  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__hero-button:hover {
  background-color: #E0A83A;
}

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

.page-blog__introduction-section,
.page-blog__core-values-section,
.page-blog__security-section,
.page-blog__responsible-gaming-section,
.page-blog__articles-overview-section,
.page-blog__cta-section {
  padding: 60px 0;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 40px;
  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; /* Accent color */
  border-radius: 2px;
}

.page-blog__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-blog__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

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

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

.page-blog__article-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  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;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-blog__article-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  line-height: 1.4;
  color: #000000;
}

.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;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
}

.page-blog__read-more-btn {
  display: inline-block;
  background-color: #000000; /* Primary color for secondary action */
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin: 20px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

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

.page-blog__cta-container {
  text-align: center;
  background-color: #F8F8F8;
  padding: 60px 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-blog__cta-container .page-blog__section-title {
  color: #000000;
}

.page-blog__cta-container .page-blog__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-blog__cta-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  margin-right: 15px;
}

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

.page-blog__cta-button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
}

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

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  }
  .page-blog__hero-content {
    padding: 30px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 0.95em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__introduction-section,
  .page-blog__core-values-section,
  .page-blog__security-section,
  .page-blog__responsible-gaming-section,
  .page-blog__articles-overview-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }
  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog__paragraph {
    font-size: 0.9em;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__image-full-width, .page-blog__article-image {
    max-width: 100%;
    height: auto;
  }
  .page-blog__cta-button {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-blog__cta-button--primary {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__article-image {
    height: 200px;
  }
}