.feed-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
  margin: 5px 0;
  padding: 3px 8px;
  border: 1px solid #d5e0e8;
  border-radius: 5px;
  background: #f3f6f8;
  color: #174d79;
  font-size: .8rem;
  line-height: 1.25;
}

.feed-preview-link:has(img) { padding-left: 3px; }
.feed-preview-link:hover { background: #edf3f8; }
.feed-preview-link img {
  display: block;
  width: 72px;
  height: 47px;
  object-fit: cover;
  border-radius: 3px;
  background: #e1e7ee;
}

dialog.feed-preview-dialog {
  width: min(670px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 14px;
}

.feed-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.feed-preview-header h2 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.feed-preview-close {
  min-height: 34px;
  padding: 3px 10px;
  border: 1px solid #cbd9e4;
  border-radius: 5px;
  background: #fff;
  color: #174d79;
  font-size: .85rem;
}

.feed-preview-body .agency-media {
  margin: 0;
}

.feed-preview-body .agency-images { grid-template-columns: minmax(0, 1fr); }
.feed-preview-body .agency-images img {
  width: auto;
  max-height: 65vh;
  margin-inline: auto;
  background: transparent;
}

.feed-preview-source {
  display: inline-block;
  margin-top: 8px;
  font-size: .86rem;
  font-weight: 670;
}
