/* Keep native dropdown behaviour and draw one visible arrow under the WordPress theme. */
:is(.csg-directory-page, .csg-courses, .csg-scholarships, .csg-application-guide, .csg-university-profile-active, .pku-guide, .csg-lead-card)
  select:not([multiple]):is(:not([size]), [size="0"], [size="1"]) {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23082044' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 40px;
}

@media (forced-colors: active) {
  :is(.csg-directory-page, .csg-courses, .csg-scholarships, .csg-application-guide, .csg-university-profile-active, .pku-guide, .csg-lead-card)
    select:not([multiple]):is(:not([size]), [size="0"], [size="1"]) {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}
