/* Signal Through Noise telenovela series styles */

/* Slack chat message styling */
.slack-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: top;
  display: inline-block;
  flex-shrink: 0;
  align-self: flex-start;
}

/* Hide the colored boxes when avatars are present */
.slack-chat p::before {
  display: none !important;
}

.slack-chat p {
  padding-left: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0.75rem !important;
}

.slack-chat p:hover {
  background-color: #f8f8f8;
  padding: 4px 8px;
  margin-left: -8px;
  margin-right: -8px;
  border-radius: 4px;
}

.slack-chat span {
  flex: 1;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

.slack-chat strong {
  font-weight: 900 !important;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 0 !important;
  display: block;
}

/* Related Articles Sidebar */
.related-articles-sidebar {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.related-articles-sidebar h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
}

.related-intro {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1rem;
  font-style: italic;
}

.related-article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.related-article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-article {
  background: white;
  border-left: 3px solid #3498db;
  padding: 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.related-article-link:hover .related-article {
  border-left-color: #2980b9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateX(2px);
}

.related-article h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #2c3e50;
}

.related-article-link:hover .related-article h4 {
  color: #3498db;
}

.related-context {
  font-size: 0.85rem;
  color: #495057;
  margin: 0;
  line-height: 1.5;
}

.related-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
  text-align: center;
}

.related-footer a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.related-footer a:hover {
  text-decoration: underline;
}
