/* Interest form at the end of a course description (course-interest.php, #635). The fields, labels and button
   keep the shared Contact Form 7 look of site-ui.css; this file sets the section apart from the description as one
   card. Colours come from the light/dark variables of appearance.css, so the card follows the visitor's choice. */
body.mec-site-ui #main .mec-course-interest { margin-top: 40px; padding: 28px 24px; border: 1px solid var(--mec-line, #c8d0da); border-radius: 12px; background: var(--mec-surface, #fff); color: var(--mec-ink, #19222e); }
body.mec-site-ui #main .mec-course-interest > h2 { margin: 0 0 8px; color: var(--mec-ink, #19222e); font-size: 24px; line-height: 1.25; }
body.mec-site-ui #main .mec-course-interest > p { margin: 0 0 20px; color: var(--mec-muted, #596574); }
/* The form's own card (site-ui.css, appearance.css) would be a card inside this one. */
body.mec-site-ui #main .mec-course-interest .wpcf7 { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.mec-site-ui #main .mec-course-interest .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"]) { width: 100%; max-width: 100%; }
@media (max-width: 600px) {
  body.mec-site-ui #main .mec-course-interest { padding: 20px 16px; }
  body.mec-site-ui #main .mec-course-interest > h2 { font-size: 21px; }
}
