Continuum shell-model investigation of the photoexcited giant dipole resonance in the non-magic nucleus 13C