/* Contact page (Components/Pages/ContactUs.razor) */
.contact-page { padding: 3rem 5% 3rem; }
.contact-heading { margin-bottom: 1.5rem; }
.contact-address-line { margin-bottom: 0.5rem; }
.contact-address-line a { color: var(--color-secondary-dark); text-decoration: none; }
.contact-address-line a:hover { text-decoration: underline; }
.contact-honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.contact-send-btn { border-radius: 2rem; margin-top: 0.5rem; }

.contact-intro-text { margin-bottom: 3rem; font-size: 1.1rem; line-height: 1.6; }
.contact-building-image {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 2rem auto 0;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    object-fit: cover;
}

/* Address info + building picture together in one white card, same look as the newsletter
   signup card (NewsletterSignup.css) */
.contact-location-card {
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0px 4px 15px 2px rgba(0,0,0,0.08);
}
.contact-location-card .contact-address-cell { text-align: center; }
.contact-location-card .contact-address-line:last-child { margin-bottom: 0; }
@media (max-width: 599.98px) {
    .contact-location-card { padding: 1.5rem 1rem; border-radius: 1rem; }
}

/* Newsletter signup sits under the address + building picture, as wide as both together */
.contact-page .contact-newsletter-signup {
    max-width: none;
    margin: 2.5rem 0 0;
}

/* Mobile: stacked in DOM order (intro text, form, address, picture).
   Tablet/desktop (768px+): text + form left, address + picture right. */
@media (min-width: 768px) {
    .contact-page .mud-grid-item.contact-form-column,
    .contact-page .mud-grid-item.contact-info-column {
        flex-basis: 50%;
        max-width: 50%;
    }
    /* Narrower intro text + form, centred in the left column */
    .contact-form-column > * {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Horizontal breathing room between the form and the address column */
    .contact-page .mud-grid-item.contact-info-column { padding-left: 4rem; }

    /* More space below the nav bar; columns centred vertically against each other */
    .contact-page { padding-top: 5rem; padding-bottom: 5rem; }
    .contact-page > .mud-grid { align-items: center; }

    /* Address info left, building picture right; address centred vertically to the picture */
    .contact-info-grid { align-items: center; }
    .contact-info-grid > .mud-grid-item.contact-address-cell,
    .contact-info-grid > .mud-grid-item.contact-image-cell {
        flex-basis: 50%;
        max-width: 50%;
    }
    .contact-image-cell .contact-building-image { margin-top: 0; }
}
