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

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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px; /* Increased min-height for better visual */
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.65); /* Slightly darker overlay for better text contrast */
  border-radius: 10px;
  max-width: 900px;
}

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-button,
.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark Red */
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
  text-transform: uppercase;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-blog__featured-articles,
.page-blog__explore-categories,
.page-blog__in-depth-analysis {
  padding: 40px 0;
}

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

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

.page-blog__article-card:hover,
.page-blog__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image,
.page-blog__category-image,
.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce min size for all content images */
  min-height: 200px;
}

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

.page-blog__article-title,
.page-blog__category-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #8B0000; /* Dark Red */
  line-height: 1.3;
}

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

.page-blog__article-title a:hover,
.page-blog__category-title a:hover {
  color: #FFD700; /* Gold */
}

.page-blog__article-excerpt,
.page-blog__category-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__read-more-button,
.page-blog__category-button,
.page-blog__promo-button {
  display: inline-block;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-blog__read-more-button:hover,
.page-blog__category-button:hover,
.page-blog__promo-button:hover {
  background-color: #660000;
}

.page-blog__sub-title {
  font-size: 2em;
  color: #8B0000; /* Dark Red */
  margin-top: 50px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.page-blog__sub-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80%;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-blog__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-blog__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-blog__list-item {
  background-color: #fffaf0; /* Light gold tint */
  border-left: 5px solid #FFD700; /* Gold accent */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-blog__list-item strong {
  color: #8B0000; /* Dark Red */
}

.page-blog__content-image {
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure images are responsive */
  height: auto;
  display: block;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-blog__call-to-action {
  text-align: center;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  padding: 60px 20px;
  margin-top: 60px;
  border-radius: 10px;
}

.page-blog__call-to-action-text {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #FFD700; /* Gold */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__hero-section {
    min-height: 350px;
  }

  .page-blog__hero-title {
    font-size: 2.2em;
  }

  .page-blog__hero-description {
    font-size: 1.1em;
  }

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

  .page-blog__article-grid,
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }

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

  .page-blog__sub-title {
    font-size: 1.6em;
  }

  .page-blog__call-to-action-text {
    font-size: 1.4em;
  }

  /* Ensure content images are responsive and do not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }

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

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

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

  .page-blog__sub-title {
    font-size: 1.4em;
  }

  .page-blog__call-to-action-text {
    font-size: 1.2em;
  }
}