1♣ was variable, showing either any balanced hand or a strong hand with one/both minors. RHO has a necessity to overcall this bid, so it's not 100% assured that he has all remaining 9 points. Now the opponents are heckling you for thinking when a 21 pt dummy has come up. In a higher level contract you would test clubs for lack of tricks, but is there a better line in 3NT than the double diamond finesse or a better way to combine chances? Spades are 6-3 with no blockage.
Second hand, you're South again.:
P-P-1♣-P
1NT-P-2♣-P
2♠-P-3NT-AP
Wrongsided! 1♣ was a strong club, 1NT showed heart length, 2♣ was a relay, 2♠ showed spade shortness. What are you leading if a) the spade shortness promises a singleton or void, or b ) if RHO could have up to two cards in the suit?

Help

1♣-2♠-X-P-
3♠-P-3NT-AP
Lead is ♠2 in 3NT in the South