A main-sequence star of mass similar to the Sun has run out of hydrogen fuel in its core, causing the outward radiation pressure and inward gravitational pull to become unbalanced.
Describe how this imbalance affects the physical structure of both the core and the outer layers of the star as it begins its transition to the next stage of its life cycle.