/* Contact Us template additions. Main design is driven by its original Tailwind classes. */
body.page-template-page-contact-us main { overflow: visible !important; }


/* Mobile Contact Hero - remove card backgrounds for cleaner layout */
@media (max-width: 767px) {

    .page-contact-us .bg-surface-card,
    .page-contact-us .shadow-md,
    .page-contact-us .shadow-lg,
    .page-contact-us .shadow-2xl {
        background: transparent !important;
        box-shadow: none !important;
    }

    .page-contact-us .rounded-xl.bg-surface-card,
    .page-contact-us .rounded-2xl.bg-surface-deep {
        background: transparent !important;
        box-shadow: none !important;
    }

}


/* Contact Us only: highlight a timeline number when its heading is hovered/focused. */
body.page-template-page-contact-us .contact-engagement-step .contact-step-number {
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

body.page-template-page-contact-us .contact-engagement-step:has(.contact-step-title:hover) .contact-step-number,
body.page-template-page-contact-us .contact-engagement-step:has(.contact-step-title:focus-visible) .contact-step-number {
    background-color: var(--color-primary-container, #2563eb) !important;
    color: var(--color-text-primary, #ffffff) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    body.page-template-page-contact-us .contact-engagement-step .contact-step-number {
        transition: none;
    }
}
