/* Jayeman: hide the now-empty Country field group on the post-project wizard
   (project-basic.php) once its <select> has been replaced by a hidden
   "country=IR" input — see Jayeman_Project_Country_Field. The .form-group
   wrapper itself is template markup that can't be edited directly, so it's
   targeted only when it contains our own marker, never the sibling category/
   duration fields that reuse the same .wr-project-select class. */
.form-group:has(.jayeman-hidden-field) {
    display: none;
}

/* project-basic.php also gates State AND City behind its own "Add location"
   Remote-vs-Specific-Location toggle (.wr-loaction-type, shown only once that
   dropdown is set to "location" — see the select2:select handler inline in
   that template). Now that Country is always Iran, State/City are the only
   location inputs left, so they must stay visible regardless of that toggle.
   State is targeted by its own (unambiguous) .wr-state-parent class; City has
   no such class, so it's targeted via the one stable thing about it — being
   the wrapper of input[name="city"] — rather than a shared/ambiguous class.
   !important is required to beat Bootstrap's .d-none{display:none!important},
   which the toggle's JS keeps re-adding whenever "Remote" is selected. */
#service-media-attachments-form .wr-state-parent,
#service-media-attachments-form .form-group-half:has(> input[name="city"]) {
    display: flex !important;
}
