.card {
  border: 1px solid $color-interactive1;
  background-color: $color-light1;
  display: block;
  padding: $gridspacing;
  padding-bottom: 0;
  text-align: left;
  max-width: 264px;
  height: 100%;

  .card-x-title {
    @include textstyle-h2-compact;
    color: $color-interactive1;
    padding-right: $gridspacing * 2;
  }

  .card-x-body {
    padding: ($gridspacing * 2.5) $gridspacing;

    svg {
      fill: $color-interactive1;
      flex-shrink: 0;
      height: 18px;
      width: 18px;
    }
  }

  .card-x-map {
    border-radius: $border-radius;
    height: 180px;
    pointer-events: none;
    width: 248px;
  }

  &:hover {
    .card-x-title {
      text-decoration: underline;
    }
  }
}


.card-college {
  .card-x-body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
}


.card-highschool {
  .card-x-title {
    margin-bottom: $gridspacing / 2;
  }

  .card-x-subtitle {
    // Since the card is a link this text changes color for active and visited, it should always be black.
    color: $color-dark2 !important;
  }
}
