/* Hero Image Styles */
.hero-image-container {
    margin: -3rem -3rem 2rem -3rem;
    /* Cancel out parent padding */
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    height: 250px;
    /* Adjust height as needed */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Focus on faces */
    transition: transform 0.5s ease;
}

.card:hover .hero-image {
    transform: scale(1.05);
    /* Subtle zoom effect */
}

/* Add a gradient overlay at the bottom of the image for better text contrast if needed, 
   or just let it flow into the card content */
.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
    pointer-events: none;
}