/*
 * Hides the honeypot field container.
 * Class name is configured in FormSetup.yaml (default: form-group--supplemental).
 * Override per project for additional obscurity.
 *
 * EXT:form renders the label OUTSIDE the container div (Partials/Field/Field.html),
 * so the wrapping .form-group must be hidden too - otherwise a stray label
 * stays visible to users and marks the honeypot for bots.
 */
.form-group:has(> .form-group--supplemental) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Fallback for browsers without :has() support: hides at least the input. */
.form-group--supplemental {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
