/* Container sizing and positioning */
.mfmg-banner-container {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust banner height as needed */
  overflow: hidden;
  background-color: #0b192c; 
}

/* Flexbox to hold the 9 images in a continuous row */
.mfmg-photo-grid {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Style for individual images */
.mfmg-photo-grid img {
  width: calc(100% / 9); /* Divides width equally among 9 photos */
  height: 100%;
  object-fit: cover; /* Ensures images don't stretch unnaturally */
  filter: grayscale(30%); /* Slightly mutes background colors */
}

/* Fluid, translucent overlay to unify the images and make text readable */
.mfmg-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.85) 0%, rgba(20, 80, 163, 0.6) 100%);
  z-index: 1;
}

/* Typography and content positioning */
.mfmg-banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #ffffff;
  width: 90%;
}

.mfmg-banner-content h1 {
  font-size: 3rem;
  font-family: 'Arial', sans-serif;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.mfmg-banner-content p {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .mfmg-photo-grid {
    flex-wrap: wrap;
  }
  .mfmg-photo-grid img {
    width: calc(100% / 3); /* Drops to a 3x3 grid on smaller screens */
    height: 33.33%;
  }
  .mfmg-banner-content h1 {
    font-size: 2rem;
  }
}
