* {
/* Include padding and border in size calculation. */
box-sizing: border-box;
/* Position based on immediate parent and allow adjusting top/right/bottom/left */
position: relative;
/* Prevent grid and flex ítems from spill ing out of their container. */
min-width: 0;
}
body {
/* Ensure that the body fills the entire viewport. */
min-height: 100dvh;
}
hl,
h2,
h3,
h4,
h5,
h6 {
/* Balance headings across multiple lines into an even block. */
text-wrap: Balance;
}
p {
/* Prevent text orphans (single words on last line). */
text-wrap: pretty;
}