Senior pupils from a secondary which remains closed amid the Edinburgh schools crisis have been spending lunchtimes at one of the city's main football clubs.

Heart of Midlothian Football Club was asked to help when S4, S5,and S6 pupils from Craigmount High were transferred to Tynecastle High.

Its stadium has been opened up to more than 500 youngsters from Craigmount to help the neighbouring school cope with the extra numbers.

The complex's main function suite has been opened up for them to eat lunch in, while they also have use of the grounds in fair weather.

Craigmount was among 17 schools which were closed after the Easter holidays after structural issues were found by engineers.

The secondary is one of the sites which remains completely closed, and its pupils have been dispatched to four different sites, including Tynecastle High.

Hearts owner and chief executive Ann Budge said: "We are delighted to help. We talk a lot about being a family club, a community club, and I think it's all about the community."

She said that several events had been postponed to accommodate the children.

"It's a huge, huge challenge for the city but happily they have reacted well. We have got to look forward. It's but news for the city but we have to pull together," she said.

City education convener councillor Paul Godzik said the local authority was grateful to Hearts and other organisations including Napier University for helping to accommodate pupils.

Hibernian Football Club also offered to help, however the council did not need additional accommodation in the area near its stadium.

Mr Godzik said of the ongoing disruption: "We are reviewing the situation daily and trying to ensure that the children get the best education possible."

He said the council was hoping to have an update of the extent of the repairs needed by the end of the week.

Mr Godzik added: "We need the full picture of the 17 schools and the work that needs to go ahead. In the coming days, we expect to see that from Edinburgh Schools Partnership".

The rest of the Craigmount youngsters resumed their education on Wednesday at three other locations.

Nearly 600 S1, S2, and S3 from Craigmount have been dispatched to the Forresters/St Augustine's High School campus, Broughton High and a building which is being used by pupils from James Gillespie High who are awaiting a replacement school.

Craigmount High headteacher Tom Rae said moving 1200 students to four different sites had gone "incredibly smoothly".

He said he was confident that senior pupils had worked hard throughout the school year and were now focused on their exam revision.