.page-blog {
  color: #333333; /* Dark text for default 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 clears fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #f8f8f8;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-blog__hero-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 8px;
  color: #ffffff;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__hero-button:hover {
  background-color: #e6c200;
  color: #660000;
}

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

.page-blog__featured-posts,
.page-blog__latest-articles,
.page-blog__call-to-action,
.page-blog__about-us {
  padding: 60px 0;
}

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

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  border-radius: 2px;
}

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

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

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

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

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

.page-blog__post-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-blog__post-title a {
  color: #8B0000; /* Dark Red */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-blog__post-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__read-more {
  display: inline-block;
  color: #FFD700; /* Gold */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #8B0000; /* Dark Red */
}

.page-blog__article-list {
  list-style: none;
  padding: 0;
}

.page-blog__list-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-blog__list-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__article-title {
  font-size: 1.8em;
  margin-bottom: 10px;
}

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

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

.page-blog__article-meta {
  font-size: 0.85em;
  color: #999999;
  margin-bottom: 15px;
}

.page-blog__article-summary {
  font-size: 1em;
  color: #444444;
}

.page-blog__pagination {
  text-align: center;
  margin-top: 40px;
}

.page-blog__pagination-link {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background-color: #f0f0f0;
  color: #8B0000; /* Dark Red */
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__pagination-link:hover,
.page-blog__pagination-link--active {
  background-color: #FFD700; /* Gold */
  color: #ffffff;
}

.page-blog__call-to-action {
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 25px;
}

.page-blog__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

.page-blog__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700; /* Gold */
  color: #FFD700; /* Gold */
}

.page-blog__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000; /* Dark Red */
}

.page-blog__about-us {
  background-color: #f0f0f0;
  padding-bottom: 80px;
}

.page-blog__about-text {
  font-size: 1.1em;
  color: #555555;
  text-align: justify;
  margin-bottom: 30px;
}

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  }
  .page-blog__hero-image img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__hero-container {
    max-width: 90%;
    padding: 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
    line-height: 1.2;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__featured-posts,
  .page-blog__latest-articles,
  .page-blog__call-to-action,
  .page-blog__about-us {
    padding: 40px 0;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__post-image,
  .page-blog__post-card img,
  .page-blog__list-item img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-title {
    font-size: 1.4em;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1.1em;
  }
  .page-blog__cta-button {
    display: block;
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__post-title {
    font-size: 1.2em;
  }
  .page-blog__article-title {
    font-size: 1.2em;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__container {
    padding: 0 15px;
  }
}

/* Ensure content area images are not small */
.page-blog img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for content images to ensure min size */
.page-blog__post-image {
  min-width: 300px; /* Card images */
  min-height: 168px; /* Maintain aspect ratio if 16:9 for 300px width */
}

.page-blog__hero-image {
  min-width: 100%; /* Hero image should always be large */
  min-height: 300px;
}

/* Responsive images for content area to prevent overflow */
@media (max-width: 768px) {
  .page-blog__post-card img, .page-blog__latest-articles img, .page-blog__about-us img {
    max-width: 100%;
    height: auto;
  }
  .page-blog {
    overflow-x: hidden;
  }
}