/* Small Blazor-specific adjustments; the original site's CSS and media remain intact. */
.navbar .nav-link.active { border-bottom-color: var(--blue) !important; }
#application form { margin-bottom: 5rem; }
#application .validation-message { color: #a02020; font-size: .875rem; }
#application .validation-summary-errors ul { padding-left: 1.5rem; }
#application input.invalid, #application select.invalid { border-color: #dc3545; }
#contact_us .validation-message { color: white; }
#contact_us .validation-summary-errors { color: white; }
#burial-rules { padding-top: 5rem; }
#burial-rules .img-rules { min-height: 360px; }
/* Avoid the original global form slide-up affecting the contact page. */
#contact_us form { animation: none; opacity: 1; transform: none; margin-bottom: 0; }
/* Make pages visible when motion is disabled and support reduced motion. */
@media (prefers-reduced-motion: reduce) {
    .hidden { opacity: 1; }
    img, h1, h2, h3, h4, h5, h6, p, #application form {
        animation: none !important; opacity: 1 !important; transform: none !important;
    }
}
@media (max-width: 767.98px) {
    #home { min-height: 700px; height: auto; }
    .home-contact-us { position: relative; display: block; bottom: auto; margin-top: 3rem; }
    .home-contact-us .card-info, .home-contact-us .card-info-right { max-width: 100%; margin-bottom: 1rem; }
    #info .card { min-height: auto; margin-bottom: 1.5rem; }
    .contact-form { border-radius: 1rem; margin: 2rem 0 0; }
    #contact_us .contact-info { padding-bottom: 2rem; }
    #about_pg img { width: 85%; }
}
