body {
	/* so that we have margin on smaller screen */
	width: 90%;
	max-width: 700px;
	margin: 1rem auto;
}

/*
 * paragraph config, remove "spacing" between paragraphs and
 * instead make text look like a printed book
 */
p {
    margin: 0;
    line-height: 1.5;
		/* gives that clean book edge */
    text-align: justify;
		/* prevents large gaps in justified text */
		/*hyphens: auto;*/
}

/* only indent paragraphs that follow another paragraph */
p + p {
    text-indent: 2em; 
}

ul, ol {
    /* Add space above and below the entire list */
    margin: 1rem 0;
    /* Reset padding so markers aren't pushed too far out */
    padding-left: 2em; 
}

li {
    /* Match paragraph line height */
    line-height: 1.5;
    /* Match paragraph justification */
    text-align: justify;
    /* Optional: Small gap between list items for better readability */
    margin-bottom: 0.25rem;
}

/* Ensure a paragraph immediately following a list is NOT indented */
ul + p, ol + p {
    text-indent: 0;
}

/* Add a bit of space if a list follows a paragraph */
p + ul, p + ol {
    margin-top: 0.5rem;
}
