html {
    background-color: #f4ecd8;
    color: #5b4636;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 500;
}

h1,
h2,
/* NOTE: h3 not included intentionally */
h4,
h5,
h6,
body>header,
.post-list-article>header,
.post-list-pagination,
.post-detail-article>header,
.page-detail-article>footer {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

body {
    min-height: 100svh;
    max-width: 675px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

body>header {
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
}

body>header>h1,
body>header>nav {
    font-size: 1.125em;
}

body>header>h1 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

body>header>nav>ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 2rem;
}

main {
    padding: 4rem 0;
}

.post-detail-article,
.page-detail-article {
    font-size: 1.125em;
}

.smaller {
    font-size: .875em;
}

h2 {
    font-size: 1.5em;
    line-height: 1.3;
}

.post-list-article>header>h2 {
    font-weight: 500;
    margin-bottom: .7rem;
}

:is(.post-detail-article, .page-detail-article)>header>h2 {
    font-size: 1.8em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4em;
    font-weight: 650;
    line-height: 1.4
}

h4,
h5,
h6 {
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.4;
}

.post-list-article-content,
.post-detail-article-content,
.page-detail-article-content {
    line-height: 1.6;
}

.post-list-article-content p,
.post-detail-article-content p,
.page-detail-article-content p {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
}

.post-list-article,
.post-detail-article,
.post-detail-article-content,
.page-detail-article,
.page-detail-article-content {
    margin: 4rem 0;
}

:is(.post-list-article-content,
    .post-detail-article-content,
    .page-detail-article-content) :is(h1, h2, h3, h4, h5, h6) {
    margin-top: 4rem;
}

.post-list-pagination {
    margin: 8rem 0 0;
    display: flex;
    gap: 2rem;
}

.post-list-pagination>div {
    flex: 1;
    font-weight: 500;
}

.post-list-pagination>div:nth-child(2) {
    text-align: right;
}

body>footer {
    padding-bottom: 2rem;
    opacity: 70%;
}

body>footer:hover {
    opacity: 100%;
}

main ul,
main ol {
    padding-left: 1.5rem;
}

main ul>li,
main ol>li {
    margin: 1em 0;
}

strong,
b {
    font-weight: 700;
}

blockquote {
    border-inline-start: 4px solid #ead8cb;
    color: #8a7261;
    margin-block: 2rem;
    margin-inline: 0 1rem;
    padding-inline-start: 1.4rem;
}

hr {
    background-color: #dcc1ae;
    width: 70%;
    height: 2px;
    border: 0;
    margin: 3rem auto;
}

pre,
code {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -.025em;
}

a {
    text-decoration: none;
}

.post-list-article-content a,
.post-detail-article-content a,
.page-detail-article-content a {
    text-decoration: underline;
}

a:link,
a:visited {
    color: #5f856f;
}

a:hover,
a:focus,
a:active {
    color: #5b4636;
}
