.page-blog {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly setting for clarity, though shared.css might handle body */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px; /* Adjust padding as needed, ensuring it doesn't overlap with header */
  background-color: #000000; /* Dark background for hero text */
  color: #FFFFFF;
}

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

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

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

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

.page-blog__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
  font-size: 1.1em;
}

.page-blog__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-blog__hero-button--register:hover {
  background-color: #F0F0F0;
  color: #000000;
}

.page-blog__hero-button--download {
  background-color: #FCBC45; /* Login color for download button */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__hero-button--download:hover {
  background-color: #E6A73A;
  color: #000000;
}

/* General Container */
.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-bottom: 40px;
  padding-top: 60px;
}

/* Featured Articles */
.page-blog__featured-articles {
  background-color: #F8F8F8;
  padding: 80px 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: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  min-height: 450px; /* Ensure cards have a minimum height */
  display: flex;
  flex-direction: column;
}

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

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  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.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.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-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow excerpt to take available space */
}

.page-blog__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to the bottom */
}

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

/* All Articles List */
.page-blog__all-articles {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-blog__articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-blog__list-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease;
}

.page-blog__list-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-blog__list-content {
  flex-grow: 1;
  margin-right: 20px;
}

.page-blog__list-title {
  font-size: 1.3em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-blog__list-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-blog__list-description {
  font-size: 0.95em;
  color: #555555;
}

.page-blog__view-details-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-blog__view-details-button:hover {
  background-color: #E6A73A;
}

/* Call to Action Section */
.page-blog__cta-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background-color: #000000; /* Dark background for CTA text */
  color: #FFFFFF;
}

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

.page-blog__cta-section .page-blog__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

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

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
  font-size: 1.1em;
}

.page-blog__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-blog__cta-button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__cta-button--download:hover {
  background-color: #E6A73A;
  color: #000000;
}


/* Deep Content Section */
.page-blog__deep-content {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-blog__deep-content-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
}

.page-blog__deep-content-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog__deep-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-blog__feature-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-blog__feature-list li {
  margin-bottom: 10px;
}

.page-blog__feature-list strong {
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__section-title,
  .page-blog__deep-content-title {
    font-size: 2em;
  }
  .page-blog__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has header offset */
  }

  .page-blog__hero-section {
    padding: 60px 15px 30px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__hero-button {
    width: 100%;
    max-width: 300px;
  }

  .page-blog__container {
    padding: 0 15px;
  }

  .page-blog__section-title,
  .page-blog__deep-content-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__article-card {
    min-height: auto;
  }

  .page-blog__list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .page-blog__list-content {
    margin-right: 0;
    width: 100%;
  }
  .page-blog__view-details-button {
    width: 100%;
    text-align: center;
  }

  .page-blog__cta-section {
    padding: 80px 15px;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
  }

  .page-blog__deep-content-subtitle {
    font-size: 1.5em;
  }
  .page-blog__deep-content p,
  .page-blog__feature-list {
    font-size: 1em;
  }

  /* Mobile content area image constraint */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content images are not too small */
/* This rule targets any img within the .page-blog content area */
.page-blog img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px; /* Minimum display width */
    min-height: 200px; /* Minimum display height */
}

/* Specific overrides for smaller images that are part of content, if any, to ensure they meet the 200px minimum */
/* However, the requirement is to prohibit small icons, so this serves as a safeguard */
.page-blog__article-image,
.page-blog__cta-image,
.page-blog__hero-image {
    min-width: 200px; /* Redundant for these large images, but enforces the rule */
    min-height: 200px; /* Redundant for these large images, but enforces the rule */
}