.page-blog {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Fallback gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-blog__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 1400px; /* Constrain container width */
  margin: 0 auto;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

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

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Dark red text */
  padding: 15px 30px;
  border-radius: 5px;
  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: #b39700; /* Darker gold on hover */
  color: #ffffff;
}

.page-blog__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: grid;
  gap: 40px;
}

.page-blog__article {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for articles */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-blog__article-heading {
  font-size: 2.2em;
  color: #FFD700; /* Gold for main article headings */
  margin-bottom: 20px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

.page-blog__article-subheading {
  font-size: 1.6em;
  color: #f0f0f0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__article-paragraph {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-blog__article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-blog__button {
  display: inline-block;
  background-color: #8B0000; /* Dark red button */
  color: #FFD700; /* Gold text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__button:hover {
  background-color: #ae4d4d; /* Lighter red on hover */
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3em;
  }
  .page-blog__article-heading {
    font-size: 2em;
  }
  .page-blog__article-subheading {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    min-height: 400px;
  }
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__content-area {
    padding: 15px;
  }
  .page-blog__article-heading {
    font-size: 1.8em;
  }
  .page-blog__article-subheading {
    font-size: 1.2em;
  }
  .page-blog__article-paragraph {
    font-size: 0.95em;
  }
  .page-blog__article-image {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-blog__article-heading {
    font-size: 1.5em;
  }
  .page-blog__article-subheading {
    font-size: 1.1em;
  }
}