/* Footer (Components/Layout/Footer.razor) */
.site-footer { background-color: var(--color-main-deep); padding: 2rem 5%; }
.site-footer-logo { height: 3rem; }
.site-footer-contact { color: white; display: flex; flex-direction: column; align-items: flex-end; }
.site-footer-block { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }   /* text-align: wrapped lines stay right-aligned */
.site-footer-hours { margin-top: 1rem; }   /* mobile: opening hours below the contact details */
.site-footer-heading { color: white; margin-bottom: 0.5rem; }
.site-footer-line { margin-bottom: 0.25rem; color: white; }
.site-footer-line a { color: white; text-decoration: none; }
.site-footer-line a:hover { text-decoration: underline; }

/* Tablet/desktop: opening hours to the left of the contact details, tops aligned.
   The logo column shrinks to the logo and the contact column takes the rest, so the two blocks
   fit side by side at 768px (MudItem xs="6" sets 50% with 2-class selectors; these 3-class rules win). */
@media (min-width: 768px) {
    .site-footer .mud-grid-item.site-footer-logo-col { flex: 0 0 auto; max-width: none; }
    .site-footer .mud-grid-item.site-footer-contact { flex: 1 1 0; max-width: none; }
    .site-footer-contact { flex-direction: row; justify-content: flex-end; align-items: flex-start; gap: 3rem; }
    .site-footer-hours { order: -1; margin-top: 0; }
}

@media (max-width: 599.98px) {
    .site-footer { padding: 1.25rem 5%; }
    .site-footer-logo { height: 2rem; }
    .site-footer-heading { font-size: 1rem; margin-bottom: 0.35rem; }
    .site-footer-hours { margin-top: 0.75rem; }
    .site-footer-line { font-size: 0.8rem; margin-bottom: 0.15rem; }
}

/* Link to the Contact page (replaces the address lines, which could grow long enough to hit the logo) */
.site-footer-line a.site-footer-contact-link { display: inline-flex; align-items: center; gap: 0.15rem; }
.site-footer-contact-link .mud-icon-root { color: var(--color-main-light); }
