.page-blog {
  padding-top: var(--header-offset, 120px);
  background-color: #f8f8f8;
  color: #333333;
  font-family: Arial, sans-serif;
}

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

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

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.5);
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

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

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-blog__hero-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-blog__section-title {
  font-size: 2.8em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-blog__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__latest-articles {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

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

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

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

.page-blog__article-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

.page-blog__article-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.5;
}

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

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

.page-blog__in-depth-guides {
  padding: 80px 0;
  background-color: #f0f2f5;
}

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

.page-blog__guide-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog__guide-title {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-blog__guide-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-blog__guide-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-blog__guide-text a:hover {
  color: #e6c200;
}

.page-blog__cta-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
  text-align: center;
}

.page-blog__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-blog__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-blog__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-blog__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

@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: 2.2em;
  }

  .page-blog__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 40px 15px;
  }

  .page-blog__hero-content {
    padding: 15px;
  }

  .page-blog__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }

  .page-blog__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

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

  .page-blog__article-title {
    font-size: 1.3em;
  }

  .page-blog__guide-title {
    font-size: 1.5em;
  }

  .page-blog__cta-section {
    padding: 60px 0;
  }

  .page-blog__cta-title {
    font-size: 1.8em;
  }

  .page-blog__cta-description {
    font-size: 1em;
  }

  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }

  .page-blog__hero-image,
  .page-blog__article-image,
  .page-blog__cta-image {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content images are not too small in content area */
.page-blog img:not(.page-blog__hero-image):not(.page-blog__cta-image) {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure no filter on images */
.page-blog img {
  filter: none; /* Override any potential shared filter */
}

.page-blog__hero-image {
  filter: brightness(0.5); /* This is an exception for hero background effect, not changing original image color */
}