/* Kimgid school directory and school identity. */
.school-mark {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  width: 128px; height: 72px; padding: 8px; background: #fff;
  border: 1px solid #ececf2; border-radius: 8px; overflow: hidden;
}
.school-mark img { display: block; max-width: 100%; max-height: 100%; width: 112px; height: 56px; object-fit: contain; }
.school-mark--hero { width: 204px; height: 120px; padding: 12px; }
.school-mark--hero img { width: 180px; height: 96px; }
.school-mark__fallback { display: grid; place-items: center; font: 600 28px/1 var(--font-montserrat); color: #7360f2; }
.school-mark img + .school-mark__fallback { display: none; }
.school-mark--missing img { display: none; }
.school-mark--missing .school-mark__fallback { display: grid; }
.school-directory { border-collapse: collapse; }
.school-directory > :not(caption) > * > * {
  padding: 18px 12px; vertical-align: middle; border-width: 0 0 1px;
  border-color: #e7e7ee; background: transparent; box-shadow: none;
}
.school-directory thead { --bs-table-bg: transparent; --bs-table-accent-bg: transparent; }
.school-directory thead th { color: #686c76; font-size: 12px; font-weight: 500; }
.school-directory th:first-child { width: 48%; }
.school-directory th:not(:first-child) { width: auto; }
.school-directory td:first-child { min-width: 230px; }
.school-directory .school-directory__school { display: flex; align-items: center; gap: 18px; color: #222; text-decoration: none; }
.school-directory__name { overflow-wrap: anywhere; font-weight: 600; }
.school-directory__school:hover .school-directory__name { color: #7360f2; text-decoration: underline; }
.school-directory__rating { white-space: nowrap; font-variant-numeric: tabular-nums; }
.school-directory__star { color: #ff841d; margin-right: 5px; }
.school-directory__no-rating { color: #777; }
.school-profile { display: flex; align-items: center; gap: 26px; margin: 4px 0 30px; }
.school-profile__body { min-width: 0; }
.school-profile__name { margin: 0 0 12px; font: 600 24px/1.3 var(--font-montserrat); color: #222; overflow-wrap: anywhere; }
.school-profile__facts { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.school-profile__facts .global-rate, .school-profile__facts .global-reviews { margin: 0; }
.school-profile__course-count, .school-profile__no-reviews { font-size: 14px; color: #666; }
.school-profile__sentiment { margin-top: 12px; }
.school-logos-page .rw-table_item_in { display: grid; grid-template-columns: 48px 40px minmax(0, 1fr); gap: 3px 10px; }
.school-logos-page .rw-table__item_name { grid-column: 1 / -1; min-width: 0; max-width: none; margin-right: 0; }
.school-logos-page .rw-table__item_name > span { min-width: 0; }
.school-logos-page .rw-table__item_rate { grid-column: 2; grid-row: 2; margin: 0; font-size: 12px; }
.school-logos-page .rw-table__item_review { grid-column: 3; grid-row: 2; margin: 0; font-size: 12px; }
.school-logos-page .rw-table_item_logo { flex: 0 0 48px; max-width: 48px; width: 48px; }
.school-logos-page .rw-table_item_logo img { width: 48px; height: 32px; object-fit: contain; }
@media (max-width: 991px) {
  .school-directory .school-directory__school { gap: 12px; }
  .school-directory th:first-child { width: 48%; }
  .school-directory th:not(:last-child) { width: auto; }
}
@media (max-width: 767px) {
  .school-directory tr { margin-bottom: 14px; border-bottom: 1px solid #e7e7ee; }
  .school-directory td { border: 0; }
  .school-directory td:first-child { padding: 14px 10px 12px; }
  .school-directory td:first-child::before { display: none; }
  .school-directory .school-directory__school { gap: 16px; }
  .school-profile { flex-wrap: wrap; gap: 18px; }
  .school-profile__name { font-size: 21px; }
  .school-profile__facts { gap: 12px; }
}
@media (max-width: 420px) {
  .school-directory .school-mark--list { width: 100px; height: 62px; padding: 6px; }
  .school-directory .school-mark--list img { width: 88px; height: 50px; }
  .school-directory__name { font-size: 13px; }
  .school-mark--hero { width: 180px; height: 108px; }
  .school-mark--hero img { width: 156px; height: 84px; }
}
