/* XPay News Linker — Frontend Related Block */

.xnl-related-block {
  direction: rtl;
  margin-top: 40px;
  padding: 20px 24px;
  background: #f9f9f9;
  border-top: 3px solid #0087FA;
  border-radius: 0 0 6px 6px;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

.xnl-related-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px 0;
  padding: 0;
}

.xnl-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xnl-related-item {
  margin: 0;
  padding: 0;
}

.xnl-related-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
}

.xnl-related-link:hover {
  border-color: #0087FA;
  box-shadow: 0 2px 8px rgba(0,135,250,.1);
  text-decoration: none;
}

.xnl-related-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.xnl-related-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xnl-related-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 1px 7px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}

.xnl-type-news {
  background: #e8f4fd;
  color: #0066cc;
}

.xnl-type-blog {
  background: #edfaee;
  color: #1a7a2e;
}

.xnl-related-text {
  font-size: 14px;
  color: #1a1a2e;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 600px) {
  .xnl-related-block {
    padding: 14px 16px;
  }
  .xnl-related-link {
    gap: 8px;
    padding: 8px 10px;
  }
  .xnl-related-thumb {
    width: 52px;
    height: 40px;
  }
}
