/* Executive Profile Card Styles */

.helydev-executive-card {
    position: relative;
    /* Height will be controlled by widget settings, defaulting to 100vh or explicit height */
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    width: 100%;
    min-height: 400px; /* Base height */
}

/* Background Image */
.helydev-executive-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.7s ease;
    z-index: 0;
}

/* Dark Overlay */
.helydev-executive-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    transition: background 0.5s ease;
}

/* Content Container */
.helydev-executive-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    color: white;
    padding: 2.5rem;
    padding-bottom: 4rem;
    transform: translateY(0);
    transition: padding-bottom 0.5s ease;
}

/* Name */
.helydev-executive-card__name {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

/* Decorative Line under Name */
.helydev-executive-card__name::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #fff;
    margin: 15px 0 0 0;
    transition: width 0.3s ease;
}

/* Role / Title */
.helydev-executive-card__role {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    transition: all 0.5s ease;
    color: #f0f0f0;
}

/* Bio / Description */
.helydev-executive-card__bio {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
    margin-top: 0;
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    overflow: hidden;
}

/* Awards / Footer Info */
.helydev-executive-card__awards {
    font-size: 0.9rem;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid rgba(255,255,255,0.3);
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    overflow: hidden;
    font-style: italic;
}

/* --- HOVER STATES --- */

/* Zoom Image */
.helydev-executive-card:hover .helydev-executive-card__image {
    transform: scale(1.1);
}

/* Darker Overlay */
.helydev-executive-card:hover .helydev-executive-card__overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
}

/* Expand Decorative Line */
.helydev-executive-card:hover .helydev-executive-card__name::after {
    width: 100px;
    background: #ffdb58; /* Gold color */
}

/* Show Bio and Awards */
.helydev-executive-card:hover .helydev-executive-card__bio,
.helydev-executive-card:hover .helydev-executive-card__awards {
    opacity: 1;
    transform: translateY(0);
}

.helydev-executive-card:hover .helydev-executive-card__bio {
    margin-top: 20px;
    max-height: 300px; /* Allow enough space */
}

.helydev-executive-card:hover .helydev-executive-card__awards {
    margin-top: 15px;
    padding-top: 15px;
    max-height: 150px;
}

/* Responsive */
@media (max-width: 768px) {
    .helydev-executive-card__name {
        font-size: 1.8rem;
    }
    .helydev-executive-card__content {
        padding: 1.5rem;
        padding-bottom: 2rem;
    }
}
