/* Compact search results for the standards portal. */
.results {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line, #d6d7d9);
  border-radius: 6px;
  background: #fff;
}

.result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--line, #d6d7d9);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transition: background-color .15s ease;
}

.result:last-child {
  border-bottom: 0;
}

.result:hover {
  border-color: var(--line, #d6d7d9);
  background: #f5f9fc;
  box-shadow: none;
}

.result h3 {
  margin: 0 0 3px;
  color: #112e51;
  font-size: 15px;
  line-height: 1.45;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: #5b616b;
  font-size: 11px;
}

.result-meta span {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
}

.result-meta span + span::before {
  content: "·";
  margin: 0 6px;
  color: #aeb0b5;
}

.result p {
  display: -webkit-box;
  overflow: hidden;
  max-width: none;
  margin: 5px 0 0;
  color: #5b616b;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.result button {
  align-self: center;
  min-width: 58px;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid #a9c9df;
  border-radius: 3px;
  color: #205493;
  background: #fff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.result button:hover {
  border-color: #0071bc;
  background: #e1f3f8;
}

@media (max-width: 620px) {
  .result {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px 12px;
  }

  .result p {
    -webkit-line-clamp: 2;
  }

  .result button {
    justify-self: end;
  }
}
