/* ==========================================================================
   Study Materials page (study_materials.php, 2026-12-01). Loaded only by that page, after v2.css and
   v2-compact.css. Same colors, fonts and soft raised finish as the rest of the site; compact spacing.
   ========================================================================== */
.kt .kt-sm-form div { flex-wrap: wrap; }
.kt .kt-sm-form input { flex: 1 1 260px; }
.kt .kt-sm-form select {
  flex: 0 1 190px; min-height: 48px; padding: 8px 12px; border: 1px solid #6f8aa3; border-radius: var(--kt-r-sm);
  background: var(--kt-base); box-shadow: var(--kt-inset); color: var(--kt-text); font: inherit; font-size: 16px;
}
.kt .kt-sm-form select:focus-visible { outline: 3px solid var(--kt-orange-2); outline-offset: 2px; }

.kt-sm-topics { margin: 0 0 12px; }
.kt-sm-topics ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kt-sm-topics li { margin: 0; }
.kt .kt-sm-topics a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border: 1px solid #c3ddef;
  border-radius: 999px; background: #f3f9fe; color: var(--kt-navy); font-size: 14.5px; font-weight: 700; text-decoration: none;
}
.kt .kt-sm-topics a small { color: var(--kt-text-2); font-weight: 400; font-size: 13px; }
.kt .kt-sm-topics a:hover { background: #fff; color: var(--kt-blue); }
.kt .kt-sm-topics a[aria-current="page"] { border-color: var(--kt-blue); background: var(--kt-blue); color: #fff; }
.kt .kt-sm-topics a[aria-current="page"] small { color: #eaf3fc; }
.kt .kt-sm-topics a:focus-visible { outline: 3px solid var(--kt-orange-2); outline-offset: 2px; }

.kt-sm-status { margin: 0 0 8px; color: var(--kt-text-2); }
.kt .kt-sm-list a { min-height: 44px; padding: 5px 8px; }
.kt .kt-sm-list a > span { flex-direction: column; justify-content: center; gap: 1px; }
.kt .kt-sm-list small { font-size: 13.5px; }

@media (max-width: 639px) {
  /* the shared search form stacks its fields in a column here: no flex-basis, or it becomes a height */
  .kt .kt-sm-form input, .kt .kt-sm-form select { flex: none; width: 100%; }
  .kt .kt-sm-topics a { min-height: 40px; }
}
