/* EduResource ZA - Resource Collections Stylesheet */
@import url('/scripts/document-collection.css?v=20261003-r1');
.edu-collection-controls input,
.edu-collection-controls select {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 680px) {
  .edu-collection-controls { width: 100%; min-width: 0; }
  .edu-collection-controls label,
  .edu-collection-controls label:last-child { min-width: 0; width: 100%; }
  .edu-collection-controls input,
  .edu-collection-controls select { width: 100%; }
}
/* Give the title its own row even when several cards fit across a wide screen. */
.edu-workspace .edu-collection-file,
.edu-collection-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-content: start;
  align-items: center;
  gap: 12px 8px;
}
.edu-collection-file > .edu-collection-file-kind {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  white-space: normal;
  overflow-wrap: anywhere;
}
.edu-collection-file > .edu-collection-year { grid-column: 2; grid-row: 1; }
.edu-collection-file > .edu-collection-ext { grid-column: 3; grid-row: 1; }
.edu-collection-file > a:not(.edu-collection-preview) {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.55;
}
.edu-collection-file > .edu-collection-preview {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow-wrap: normal;
}
.edu-collection-file > .edu-collection-actions {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.edu-collection-actions > .edu-collection-preview {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .edu-workspace .edu-collection-files { grid-template-columns: minmax(0, 1fr); }
}
/* A card's flex layout must not override the native hidden state used by filtering. */
.edu-collection-files > .edu-collection-file[hidden],
.edu-collection-empty[hidden] { display: none !important; }
