Is the marriage contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.
What are the Sharia consequences when the sacrificial time for the uḍḥiyyah comes to an end?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
If the sun sets at the end of the last of the Days of Tashrīq and the sacrificial animal (uḍḥiyyah) has not yet been slaughtered, then its prescribed time has elapsed. Should one slaughter it thereafter, it will not be considered a valid uḍḥiyyah.
However, if the sacrifice was vowed (mandhūrah), then it remains obligatory to slaughter it — and it shall be carried out as a make-up (qaḍā') of the vow, with its meat distributed in the rightful channels designated for such sacrifices.
It is stated in Bushrā al-Karīm (p. 702): "If one slaughters after the sunset of the last of the Days of Tashrīq... it isn`t considered a valid uḍḥiyyah, unless it was vowed — in which case it is carried out as qaḍā'."
And Allah Almighty knows best.
What is the ruling on someone who eats or drinks thinking that the sun has set, then realizes that it has not yet set?
Whoever eats or drinks believing that the sun has set, then later discovers that it has not yet set, their fast is invalid, and they must make up that day after Ramadan. It is not permissible to break the fast before confirming sunset—either by seeing it, through personal reasoning, or by relying on the statement of someone trustworthy in their religious commitment.
What is the ruling on a person in a state of major impurity (junub) walking or eating before performing the ritual bath?
It is from the Sunnah for a Muslim to hasten to perform the ritual bath for major impurity. However, if he delays it, he does not sin provided he does not miss the prayer. It is permissible for the junub to walk, eat, drink, and sleep. It is recommended for him to perform ablution before these actions to reduce the state of impurity, although the best is for him to perform the ritual bath. And Allah the Almighty knows best.