[data-current-context*='section-id=section-earth']
[data-current-context*='section-id=section-mars']
[data-current-context*='section-id=section-mercury']

 Sample CSS selector target

<style>
[data-current-context*='section-id=section-mercury'],
[data-current-context*='section-id=section-mars'] {
  border: 5px dotted rgb(96, 139, 168);
}
<style>