Schema: CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What was the earliest week the team played the chicago cardinals in front of less than 25,312?
SQL: SELECT MIN(week) FROM table_name_12 WHERE opponent = "chicago cardinals" AND attendance < 25 OFFSET 312