/* Career Alternatives - student portal: "choose a subtopic" list that opens
   when a student clicks PDF on a purchased career book. Loaded by books.html. */

.subtopic-list-wrap {
  width: 100%;
  padding: 20px 4px 60px;
}

.stl-intro {
  margin: 4px 0 18px;
}
.stl-intro .stl-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a73c7;
  margin-bottom: 4px;
}
.stl-intro h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #14203a;
}
.stl-intro p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #5b6472;
}

.stl-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.stl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid #eef0f5;
}
.stl-item:first-child { border-top: 0; }
.stl-item.is-locked { opacity: .6; }

.stl-ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef4ff;
  display: grid;
  place-items: center;
}
.stl-ic img { width: 22px; height: 22px; display: block; }

.stl-c { flex: 1; min-width: 0; }
.stl-c b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #14203a;
  line-height: 1.3;
}
.stl-c span {
  display: block;
  font-size: 12.5px;
  color: #6b7482;
  margin-top: 2px;
}

.stl-open {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #1a73c7;
  color: #fff;
  transition: background .15s;
}
.stl-open:hover { background: #155ea6; }
.stl-open .material-symbols-rounded { font-size: 18px; }

/* Scoped as .stl-c .stl-stats / .stl-c .stl-stat* (two classes, specificity 20)
   so these beat the generic ".stl-c span { display:block }" rule above (one
   class + one element, specificity 11) that would otherwise force every chip
   onto its own full-width line. */
.stl-c .stl-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 5px;
}
.stl-c .stl-stat {
  display: inline;
  font-size: 12px;
  font-weight: 700;
}
.stl-c .stl-stat-salary { color: #0a58a8; }
.stl-c .stl-stat-growth { color: #0a7d3c; }
.stl-c .stl-stat-openings { color: #6b4fbb; }
.stl-c .stl-stat-demand {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1a73c7;
}
.stl-c .stl-stat-demand.demand-high { background: #e7f7ee; color: #0a7d3c; }
.stl-c .stl-stat-demand.demand-growing { background: #eaf1ff; color: #1a56c4; }
.stl-c .stl-stat-demand.demand-steady { background: #fff4e5; color: #a5690a; }
.stl-c .stl-stat-demand.demand-niche { background: #f1f0fb; color: #6b4fbb; }

.stl-badge {
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
  color: #98a0ac;
}

.stl-status {
  text-align: center;
  color: #6b7482;
  font-size: 14px;
  padding: 40px 0;
}

@media (max-width: 560px) {
  .stl-item { flex-wrap: wrap; }
  .stl-open { margin-left: 54px; }
}
