/*******************************************************************************
CUSTOM STYLES

Add your custom CSS styles here to override or extend the default styles.
*******************************************************************************/

/* Friend links */
.friend-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.friend-link-card {
  min-width: 0;
}

.friend-link-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
}

.friend-link-body:hover {
  background-color: rgba(17, 17, 17, 0.06);
}

html[data-theme="dark"] .friend-link-body:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.friend-link-avatar {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
}

.friend-link-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.friend-link-text {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.friend-link-title {
  color: var(--theme-heading);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.friend-link-intro {
  color: var(--theme-footer, #777);
  font-size: 0.85rem;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Waline comments */
#comments {
  margin-top: 2.5rem;
}
