.page-blog {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-blog__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #1a1a1a; /* Dark background for hero for contrast with gold/red */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Make image a subtle background */
  z-index: 0;
}

.page-blog__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
  font-weight: bold;
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-blog__hero-cta, .page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.page-blog__hero-cta:hover, .page-blog__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-blog__cta-button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  margin-left: 20px;
}

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

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-blog__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-blog__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-blog__about-section, .page-blog__why-jili77-section, .page-blog__articles-section, .page-blog__responsible-gaming-section, .page-blog__cta-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.page-blog__about-section .page-blog__container {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog__why-jili77-section {
  background-color: #f2f2f2;
}

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

.page-blog__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-blog__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-blog__articles-section {
  background-color: #ffffff;
}

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

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

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

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

.page-blog__article-title {
  font-size: 1.5em;
  padding: 20px 20px 10px;
  color: #8B0000;
  font-weight: bold;
}

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

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

.page-blog__article-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 15px;
  text-align: justify;
}

.page-blog__article-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-blog__article-cta:hover {
  background-color: #e6c200;
}

.page-blog__responsible-gaming-section {
  background-color: #f8f8f8;
}

.page-blog__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-blog__cta-section .page-blog__section-title {
  color: #FFD700;
}

.page-blog__cta-section .page-blog__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-content {
  position: relative;
  z-index: 1;
}

.page-blog__cta-section .page-blog__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-blog__cta-buttons {
  margin-top: 30px;
  margin-bottom: 20px;
}

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding: 40px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__hero-cta, .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-blog__container {
    padding: 30px 15px;
  }
  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog__paragraph {
    font-size: 1em;
  }
  .page-blog__feature-grid, .page-blog__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__article-image {
    height: 200px;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  /* Ensure content area images do not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-blog__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.95em;
  }
  .page-blog__hero-cta, .page-blog__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__feature-title {
    font-size: 1.3em;
  }
  .page-blog__article-title {
    font-size: 1.1em;
  }
  .page-blog__article-image {
    height: 180px;
  }
}