In 1994, Ryan took a role that differed from the romantic-comedy ingenue character for which she had become famous. In Luis Mandoki's When a Man Loves a Woman (1994), a romantic social drama film also starring Andy Garcia, she played an alcoholic high-school guidance counselor. The film and her performance were both well received by critics. One critic called the film "a first-class production, accentuated by fine performances and an unflinching script", and another praised Ryan for her "roller-coaster role". The film was a notable success in its domestic run, grossing $50 million in the United States alone, and garnered the actress her first Screen Actors Guild Award. The same year, Ryan returned to type, starring alongside Tim Robbins in Fred Schepisi's romantic comedy I. Q. The film centers on a mechanic and a Princeton doctoral candidate who fall in love, with the aid of the graduate student's uncle, Albert Einstein (played by Walter Matthau). Ryan later won Harvard's Hasty Pudding Woman of the Year award, and People Magazine dubbed her one of "the 50 most beautiful people in the world".