/* The education directory follows the same wide, two-column navigation as the Institute. */
body:has([data-education-catalogue]) .page-navigation { display: none; }
[data-education-catalogue].institute-repository,
[data-education-catalogue] > .institute-repository {
  width: var(--page, calc(100% - 64px));
  max-width: none;
}
[data-education-catalogue] .repository-heading { padding-block: 22px 26px; }
[data-education-catalogue] .repository-group + .repository-group { margin-top: 32px; }
[data-education-catalogue] .repository-group h2 {
  margin: 0 0 14px;
  color: var(--repository-text);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
}
[data-education-catalogue] .repository-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 0;
}
[data-education-catalogue] .repository-list > li { min-width: 0; }
[data-education-catalogue] .repository-list > li:nth-child(-n+2) { border-top: 1px solid var(--repository-rule); }
[data-education-catalogue] .repository-row { min-height: 60px; gap: 20px; }
[data-education-catalogue] .repository-row-icon { flex-basis: 36px; width: 36px; height: 36px; }
html[data-theme="dark"] [data-education-catalogue] .repository-row-icon {
  box-sizing: border-box;
  padding: 2px;
  border-radius: 6px;
  background: #edf2fa;
}
@media (max-width: 767px) {
  [data-education-catalogue] .repository-list { grid-template-columns: minmax(0, 1fr); }
  [data-education-catalogue] .repository-list > li:nth-child(2) { border-top: 0; }
  [data-education-catalogue] .repository-heading { padding-block: 20px 22px; }
  [data-education-catalogue] .repository-group h2 { font-size: 20px; }
}
