/* Scoped to the shortcode; the surrounding page is styled and edited in Elementor. */
.mg-contact {
    color: #262626;
    font: 400 14px/1.65 'Open Sans', sans-serif;
    text-align: left;
}
.mg-contact *, .mg-contact *::before, .mg-contact *::after { box-sizing: border-box; }
.mg-contact .mg-contact__hint { margin: 0 0 22px; color: #666; font-size: 12px; }
.mg-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.mg-contact__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mg-contact__field--wide { grid-column: 1 / -1; }
.mg-contact__optional { color: #666; font-size: 12px; font-weight: 300; }
.mg-contact input:not([type="checkbox"]):not([type="hidden"]), .mg-contact textarea {
    width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px;
    border: 1px solid #ccc; border-radius: 4px; background: #fff;
    color: #262626; font: inherit; box-shadow: none;
}
.mg-contact textarea { resize: vertical; min-height: 150px; }
.mg-contact textarea::placeholder { color: #777; font-weight: 300; }
.mg-contact input:focus-visible, .mg-contact textarea:focus-visible, .mg-contact a:focus-visible, .mg-contact button:focus-visible {
    outline: 2px solid #262626; outline-offset: 3px; border-color: #ed1c24;
}
.mg-contact__consent { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; font-size: 12px; color: #555; cursor: pointer; }
.mg-contact__consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #ed1c24; }
.mg-contact a { color: #262626; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.mg-contact a:hover { color: #c4121b; }
.mg-contact .mg-contact__submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 30px;
    min-height: 50px; padding: 13px 26px; border: 1px solid #262626; border-radius: 4px;
    background: #262626; color: #fff; font: 600 15px/1.5 'Open Sans', sans-serif; cursor: pointer;
}
.mg-contact .mg-contact__submit:hover { background: #c4121b; border-color: #c4121b; }
.mg-contact .mg-contact__submit:disabled { cursor: wait; opacity: .65; }
.mg-contact .mg-contact__alternative { margin: 18px 0 0; font-size: 12px; color: #666; }
.mg-contact__status { padding: 16px; margin: 0 0 22px; border-left: 3px solid #262626; background: #f7f7f7; overflow-wrap: anywhere; }
.mg-contact__status[data-error="true"] { border-color: #ed1c24; }
.mg-contact__status[hidden] { display: none; }
.mg-contact__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) {
    .mg-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .mg-contact input:not([type="checkbox"]):not([type="hidden"]), .mg-contact textarea { font-size: 16px; }
    .mg-contact .mg-contact__submit { width: 100%; }
}
