
/* Contact FR + EN only: reduce the excessive gap between the introduction and contact box. */
body.contact-layout-page #main > .inner > section.contact-hero {
    padding-bottom: 1rem !important;
}

body.contact-layout-page #main > .inner > section.contact-content-section {
    padding-top: 0.9rem !important;
}

body.contact-layout-page .contact-content-section .clinical-box {
    margin-top: 0.55rem !important;
}

@media screen and (max-width: 736px) {
    body.contact-layout-page #main > .inner > section.contact-hero {
        padding-bottom: 0.8rem !important;
    }

    body.contact-layout-page #main > .inner > section.contact-content-section {
        padding-top: 0.7rem !important;
    }

    body.contact-layout-page .contact-content-section .clinical-box {
        margin-top: 0.4rem !important;
    }
}

/* Screening cards on Contact FR + EN: HEP/HPI first row, ADHD/ASD second row. */
body.contact-layout-page .contact-page .screening-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch;
}

body.contact-layout-page .contact-page .screening-grid .modern-card {
    height: 100%;
}

@media screen and (max-width: 736px) {
    body.contact-layout-page .contact-page .screening-grid {
        grid-template-columns: 1fr !important;
    }
}
