.subject-list-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px 24px;
  background: #ffffff;
  box-sizing: border-box;
}

.subject-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.subject-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  background: #FFF;
  text-decoration: none;
  color: inherit;
  min-height: 56px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.subject-list-card:hover,
.subject-list-card:active {
  border-color: #BBBBBB;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.subject-list-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.subject-list-card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.subject-list-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.subject-list-card-count {
  font-size: 13px;
  color: #666666;
  line-height: 1.3;
}

.subject-list-card-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.45;
}

@media (max-width: 991.98px) {
  .subject-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
