/* Document list for the manuals and literature page. */

.doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.doc-list li {
  border-bottom: 1px solid var(--line);
}

.doc-list a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) max-content;
  gap: clamp(16px, 2vw, 34px);
  align-items: center;
  padding: 22px 4px;
  transition: background .2s ease, padding .2s ease;
}

.doc-list a:hover {
  background: var(--soft);
  padding-inline: 16px 20px;
}

.doc-kind {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.doc-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.doc-body strong {
  font-size: 1.11rem;
  font-weight: 600;
  line-height: 1.3;
}

.doc-body small {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.55;
}

.doc-meta {
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
}

.doc-list a:hover .doc-body strong {
  color: var(--blue);
}

@media (max-width: 680px) {
  .doc-list a {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px 16px;
    padding-block: 18px;
  }

  .doc-meta {
    grid-column: 2;
    white-space: normal;
  }
}
