/* ===== Sidebar Related Posts ===== */
.related-sidebar {
  margin-top: 1px;
  font-family: Arial, sans-serif;
  border: 0px solid #ddd;   /* ✅ Outer border */
  border-radius: 0px;
  overflow: hidden;         /* keeps border clean around title bar */
  background: #fff;
}

.related-title-bar {
  background: #132e52;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 8px;
}

.related-sidebar-list {
  list-style: none;
}

.related-sidebar-item {
  display: flex;
  margin-top: 4px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 10px 4px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #0073aa;
  flex: 1 1 calc(50% - 10px);
  transition: 0.3s;
}

.related-sidebar-item:hover {
  background-color: #f2faff;
  border-color: #3fa9f5;
  color: #005077;
}

.related-sidebar-item:last-child {
  border-bottom: 1px solid #e0e0e0;
}

.related-sidebar-link {
  display: flex;
  text-decoration: none;
  color: #0073aa;
  transition: 0.3s;
  width: 100%;
}

.related-sidebar-link:hover .related-sidebar-title {
  color: #e60000;
}

.related-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
  border: 1px solid #e0e0e0;
}

.related-sidebar-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-sidebar-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
  line-height: 1.4;
}

.related-sidebar-date {
  font-size: 13px;
  color: #666;
}
