#sg-tabs {
  display: flex;
  gap: 0px;
  justify-content: flex-start;
}

#subject-guides-tab, #general-guides-tab, #topic-guides-tab {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--border-gray);
  background-color: var(--bg-gray);
  cursor: pointer;
  font-weight: bold;
}

#subject-guides-tab.active, #general-guides-tab.active, #topic-guides-tab.active {
  background-color: var(--bg-red);
  color: white;
}


#general-guides, #topic-guides {
  display: none;
}

.guide-card {
  margin-top: 20px;
  padding:10px;
  line-height: 1.6rem;
}

.guide-card:nth-of-type(odd) {
  background-color:var(--bg-gray);
}

@media screen and (max-width: 768px) {
  #sg-tabs {
    font-size: 15px;
  }
}
