In a manner that relates to or is based on a system of ideas and ideals, especially concerning economic or political theory and policy. The two candidates are ideologically opposed, with one supporting free-market policies and the other advocating for government intervention.