From the Darkness spell in PHB:
Completely covering the source of the darkness with an opaque object, such as a bowl or a helm, blocks the darkness. If any of this spell’s area overlaps with an area of light created by a spell of 2nd level or lower, the spell that created the light is dispelled.
Suppose somebody casts Light or Continual Flame on a coin or similar small object, then drops it into a sealed opaque container.
Would they be able to carry it through the area of a darkness spell so long as the container remains sealed?
Stands to reason that if the Darkness can be blocked if it's completely covered, then it would also not be able to penetrate the container, even though the container is within its area of effect – i.e. is the Darkness's AoE limited to "outside the container" and the Light's AoE to "inside the container", so that they don't actually overlap?