/* YouTube and LinkedIn indexes: the blog's row layout (css/blog-index.css)
   with a rounded-rectangle thumbnail on the right. */

/* Thumbnails sit at the top of the row, level with the title. */
.row-thumb-link,
.row-thumb-empty {
  align-self: flex-start;
  margin-top: 4px;
}

.row-thumb-link {
  order: 2;
  flex-shrink: 0;
  line-height: 0;
}

.thumb-rect {
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.blog-row:hover .thumb-rect {
  filter: none;
}

.row-thumb {
  display: block;
  width: 128px;
  height: 72px;
}

/* Rows without media keep the space, so titles line up. */
.row-thumb-empty {
  order: 2;
  flex-shrink: 0;
}

.media-archive .blog-meta .fas {
  font-size: 0.85em;
  opacity: 0.7;
}

@media (max-width: 760px) {
  .row-thumb {
    width: 96px;
    height: 54px;
    border-radius: 8px;
  }
}

/* Keep each metric's icon and value on the same line. */
.meta-item {
  white-space: nowrap;
}
