.page-blog {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-blog__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: 3.5em;
  color: #E5B80B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

.page-blog__hero-cta-button {
  display: inline-block;
  background-color: #E5B80B; /* Auxiliary color for CTA */
  color: #0A2342; /* Main color for text on CTA */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #E5B80B;
}

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

.page-blog__articles-section {
  padding: 60px 0;
  background-color: #051426; /* Dark background from body */
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #E5B80B; /* Auxiliary color for section titles */
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

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

.page-blog__article-card {
  background-color: #0A2342; /* Main color for card background */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 3px solid #E5B80B;
}

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

.page-blog__article-title {
  font-size: 1.5em;
  color: #E5B80B; /* Auxiliary color for article titles */
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 600;
}

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

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

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

.page-blog__read-more-button {
  display: inline-block;
  background-color: #E5B80B; /* Auxiliary color for read more button */
  color: #0A2342; /* Main color for text */
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

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

.page-blog__cta-banner {
  background-color: #0A2342; /* Main color for CTA banner */
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #E5B80B; /* Auxiliary color for CTA title */
  margin-bottom: 25px;
  font-weight: 700;
}

.page-blog__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #E5B80B; /* Auxiliary color for CTA button */
  color: #0A2342; /* Main color for text on CTA */
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #E5B80B;
}

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

.page-blog__about-bingo-plus {
  padding: 60px 0;
  background-color: #0A2342; /* Main color for background */
}

.page-blog__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-blog__text-content:last-of-type {
  margin-bottom: 0;
}

.page-blog__contact-section {
  padding: 60px 0;
  text-align: center;
  background-color: #051426; /* Dark background from body */
}

.page-blog__contact-button {
  display: inline-block;
  background-color: #E5B80B; /* Auxiliary color for contact button */
  color: #0A2342; /* Main color for text */
  padding: 15px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 60px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-cta-button,
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-blog__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image {
    height: 200px;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__article-excerpt {
    font-size: 0.9em;
  }
  .page-blog__cta-banner {
    padding: 40px 20px;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__articles-section,
  .page-blog__about-bingo-plus,
  .page-blog__contact-section {
    padding: 40px 0;
  }
  /* Content area images must not cause horizontal scroll */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-cta-button,
  .page-blog__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__article-title {
    font-size: 1.2em;
  }
  .page-blog__cta-title {
    font-size: 1.6em;
  }
  .page-blog__read-more-button,
  .page-blog__contact-button {
    font-size: 0.85em;
    padding: 8px 15px;
  }
}