.page-blog {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-blog__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  background-color: #000000; /* Dark background for hero text contrast */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image for text readability */
}

.page-blog__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-blog__cta-button {
  display: inline-block;
  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;
  white-space: nowrap;
  cursor: pointer;
}

.page-blog__cta-button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog__cta-button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-blog__cta-button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-blog__cta-button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-blog__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-blog__sub-section-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__featured-posts-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.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: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-blog__post-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #FCBC45;
}

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

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

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

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

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-blog__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-blog__cta-content {
  max-width: 800px;
}

.page-blog__cta-section .page-blog__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-blog__cta-section .page-blog__text-content {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-blog__cta-section .page-blog__cta-button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-blog__cta-section .page-blog__cta-button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__sub-section-title {
    font-size: 1.5em;
  }
  .page-blog__post-card {
    margin-bottom: 20px;
  }
  .page-blog__post-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-blog__content-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__post-title {
    font-size: 1.3em;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
  }
}

/* Ensure all images under .page-blog do not display smaller than 200px */
.page-blog img {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile content area images must use max-width: 100%; height: auto; */
@media (max-width: 768px) {
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}