/* =====================================================
   ABOUT SECTION IMAGE FIX ONLY
   (Highly specific - won't affect other sections)
   ===================================================== */

/* Target ONLY the about section container */
@media screen and (max-width: 767px) {
  
  /* Only target the specific about section */
  section .about-card-images {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 5rem !important;
    padding: 1rem 0 2rem 0 !important;
    gap: 1rem !important;
    clear: both !important;
  }

  /* Only target images inside about-card-images */
  .about-card-images .about-card-image-left,
  .about-card-images .about-card-image,
  .about-card-images .about-card-image-right {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    margin: 0.5rem auto !important;
    z-index: 1 !important;
  }

  /* Specific sizes for each image in about section */
  .about-card-images .about-card-image-left {
    min-width: auto !important;
    max-width: 50% !important;
  }

  .about-card-images .about-card-image {
    min-width: auto !important;
    max-width: 70% !important;
  }

  .about-card-images .about-card-image-right {
    min-width: auto !important;
    max-width: 50% !important;
  }

  /* Only the title wrapper that comes after about-card-images */
  .about-card-images + .space-page-top + .title-wrapper {
    padding-top: 3rem !important;
    margin-top: 2rem !important;
    clear: both !important;
  }

  /* Only space-page-top after about-card-images */
  .about-card-images + .space-page-top {
    min-height: 3rem !important;
    display: block !important;
  }
}

/* Small mobile - Only about section images */
@media screen and (max-width: 479px) {
  .about-card-images {
    padding: 0.5rem 0 2rem 0 !important;
    gap: 0.5rem !important;
    margin-bottom: 4rem !important;
  }

  .about-card-images .about-card-image-left,
  .about-card-images .about-card-image,
  .about-card-images .about-card-image-right {
    max-width: 90% !important;
    margin: 0.25rem auto !important;
  }

  .about-card-images .about-card-image-left {
    max-width: 60% !important;
  }

  .about-card-images .about-card-image {
    max-width: 85% !important;
  }

  .about-card-images .about-card-image-right {
    max-width: 60% !important;
  }
}
