.ata-container-5287301b {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 15px;
    height: 500px;
}

.ata-item-5287301b {
    position: relative;
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: #f0f0f0;
}

.ata-item-5287301b.is-active,
.ata-item-5287301b:hover {
    flex: 4;
}

.ata-bg-5287301b {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.ata-item-5287301b:hover .ata-bg-5287301b,
.ata-item-5287301b.is-active .ata-bg-5287301b {
    transform: scale(1.05);
}

.ata-overlay-5287301b {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 18, 51, 0.9) 0%, rgba(0, 18, 51, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0.8;
    transition: opacity 0.4s ease, height 0.4s ease;
}

.ata-item-5287301b.is-active .ata-overlay-5287301b,
.ata-item-5287301b:hover .ata-overlay-5287301b {
    opacity: 1;
    height: 80%;
}

.ata-content-5287301b {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 2;
}

.ata-header-5287301b {
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.ata-name-5287301b {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ata-role-5287301b {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f2295b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ata-details-5287301b {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 15px;
}

.ata-bio-5287301b {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ata-btn-5287301b {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.ata-btn-5287301b:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.ata-item-5287301b.is-active .ata-header-5287301b,
.ata-item-5287301b:hover .ata-header-5287301b {
    transform: translateY(0);
}

.ata-item-5287301b.is-active .ata-details-5287301b,
.ata-item-5287301b:hover .ata-details-5287301b {
    max-height: 200px;
    opacity: 1;
}

/* Mobile & Tablet Styles */
@media (max-width: 1024px) {
    .ata-container-5287301b {
        flex-direction: column;
        height: auto;
    }
    
    .ata-item-5287301b {
        flex: none;
        height: 100px;
        transition: height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .ata-item-5287301b.is-active {
        height: 400px;
    }

    /* Disable hover expansion on touch devices to rely on click */
    @media (hover: none) {
        .ata-item-5287301b:hover {
            height: 100px; /* Reset hover */
        }
        .ata-item-5287301b.is-active:hover {
            height: 400px;
        }
        
        .ata-item-5287301b:hover .ata-details-5287301b {
            max-height: 0;
            opacity: 0;
        }
        .ata-item-5287301b.is-active .ata-details-5287301b {
            max-height: 200px;
            opacity: 1;
        }
    }
}
