A child theme inherits all functionality and styles from a parent theme but lets you safely make changes. Without a child theme, updating the parent will overwrite all your modifications.
Creating a Child Theme
/*
Theme Name: My Child Theme
Template: twentytwentyfour
*/
✅ Always use a child theme for any customization — even for a single CSS change.