.page-blog {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #0d0d0d; /* Inherited from shared, but explicit for context */
}

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

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

.page-blog__hero-container {
  max-width: 900px;
  z-index: 1;
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for text */
  padding: 30px;
  border-radius: 10px;
}

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

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

.page-blog__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  white-space: nowrap;
}

.page-blog__btn--primary {
  background-color: #FFD700;
  color: #8B0000; /* Deep red for text on gold button */
}

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

.page-blog__btn--secondary {
  background-color: #8B0000;
  color: #FFD700; /* Gold for text on deep red button */
  border: 2px solid #FFD700;
}

.page-blog__btn--secondary:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

.page-blog__articles-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.page-blog__articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #8B0000;
  margin: 20px auto 0;
  border-radius: 2px;
}

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

.page-blog__article-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

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

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

.page-blog__article-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #FFD700; /* Gold for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-blog__read-more-btn {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more-btn:hover {
  background-color: #a00000;
}

.page-blog__deep-dive-section {
  padding: 80px 20px;
  background-color: #0d0d0d;
}

.page-blog__deep-dive-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-blog__intro-text {
  font-size: 1.15em;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 40px;
  text-align: center;
}

.page-blog__sub-section-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

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

.page-blog__paragraph a {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-blog__content-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it's a block element */
}

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

.page-blog__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-blog__list-item strong {
  color: #FFD700;
}

.page-blog__list-item a {
  color: #8B0000;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-blog__list-item a:hover {
  color: #FFD700;
}

.page-blog__btn--outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  display: inline-block;
}

.page-blog__btn--outline:hover {
  background-color: #FFD700;
  color: #0d0d0d;
}

.page-blog__cta-section {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  padding: 80px 20px;
  text-align: center;
}

.page-blog__cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__cta-title {
  font-size: 3em;
  color: #0d0d0d; /* Dark text on gradient background */
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.page-blog__cta-description {
  font-size: 1.3em;
  color: #333333; /* Darker text for description */
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-blog__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

@media (max-width: 992px) {
  .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__sub-section-title {
    font-size: 2em;
  }
  .page-blog__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px); /* Ensure mobile padding */
  }
  .page-blog__hero-section {
    min-height: 450px;
    padding: 30px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-blog__articles-section,
  .page-blog__deep-dive-section,
  .page-blog__cta-section {
    padding: 60px 15px;
  }
  .page-blog__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-blog__sub-section-title {
    font-size: 1.8em;
  }
  .page-blog__article-title {
    font-size: 1.5em;
  }
  .page-blog__article-image {
    height: 200px;
  }
  .page-blog__cta-title {
    font-size: 2.5em;
  }
  .page-blog__cta-description {
    font-size: 1.1em;
  }
  .page-blog img {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
}

@media (max-width: 480px) {
  .page-blog__hero-section {
    min-height: 400px;
  }
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__sub-section-title {
    font-size: 1.6em;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
}

/* Ensure all content images are at least 200px wide and tall */
.page-blog img:not(.page-blog__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Override specific small image rules if they exist, to ensure minimum size */
.page-blog__article-image,
.page-blog__content-image {
  min-width: 200px !important;
  min-height: 200px !important;
}

/* Ensure no filter is used on images */
.page-blog img {
  filter: none !important;
}