/* Add white wash overlay to header images */
.intro-header.big-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(200, 202, 205, 0.65); /* Darker grey overlay with 65% opacity */
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays above the overlay */
.intro-header.big-img .container-md {
  position: relative;
  z-index: 1;
}

/* Reduce header image height - make it more compact */
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
  padding: 1.5rem 0 !important; /* Reduced from 6.25rem */
}

/* On larger screens, still keep it compact */
@media (min-width: 768px) {
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading {
    padding: 2rem 0 !important; /* Reduced from 9.375rem */
  }
}

/* Fix navigation buttons styling when over header image */
.intro-header.big-img .post-heading a {
  color: inherit !important;
  text-shadow: none !important;
  background: rgba(250, 250, 250, 0.6) !important; /* 60% opacity */
  border: none !important;
}

.intro-header.big-img .post-heading a:hover {
  background: rgba(250, 250, 250, 0.95) !important;
  border-color: #e85d4d !important;
}

/* Ensure button text stays dark even with header image */
.intro-header.big-img .post-heading a div {
  color: #e85d4d !important;
  text-shadow: none !important;
}

.intro-header.big-img .post-heading a div:nth-child(2) {
  color: #404040 !important;
  text-shadow: none !important;
}

.intro-header.big-img .post-heading a div:nth-child(3) {
  color: #888 !important;
  text-shadow: none !important;
}
