.thread-related-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(121, 116, 126, 0.25);
}

.thread-related-info__title {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-on-surface, #1c1b1f);
}

.thread-related-info__group + .thread-related-info__group {
  margin-top: 1rem;
}

.thread-related-info__label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary, #79747e);
}

.thread-related-info__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thread-related-info__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  max-width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(121, 116, 126, 0.22);
  border-radius: 9999px;
  background: var(--color-surface-container, #f3f3f3);
  color: var(--color-on-surface, #1c1b1f);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.thread-related-info__chip:hover {
  color: var(--color-cricket-green, #079d50);
  border-color: rgba(7, 157, 80, 0.35);
  background: rgba(7, 157, 80, 0.08);
}

.thread-related-info__chip--tag {
  background: transparent;
}

.thread-related-info__chip-icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex-shrink: 0;
}

.thread-related-info__chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-related-info__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
}

.thread-related-info__cards--news {
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}

.thread-related-info__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.625rem;
  border: 1px solid rgba(121, 116, 126, 0.18);
  border-radius: 0.75rem;
  background: var(--color-surface-container-lowest, #fff);
  color: var(--color-on-surface, #1c1b1f);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.thread-related-info__card:hover {
  border-color: rgba(7, 157, 80, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.thread-related-info__card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--color-surface-container, #f3f3f3);
}

.thread-related-info__card-media--series {
  height: 4.5rem;
  padding: 0.5rem;
}

.thread-related-info__card-media--series img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.thread-related-info__card-media--news {
  aspect-ratio: 16 / 10;
}

.thread-related-info__card-media--news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thread-related-info__card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-on-surface-variant, #49454f);
}

.thread-related-info__card:hover .thread-related-info__card-title {
  color: var(--color-cricket-green, #079d50);
}

@media (max-width: 639px) {
  .thread-related-info__cards,
  .thread-related-info__cards--news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thread-related-info__card-media--series {
    height: 3.75rem;
  }
}
