li {
    line-height: 2;
}

ol {
    margin-bottom: 1rem;
    margin-left: 3rem;
}

ul {
    list-style-type: "★  ";
    padding-bottom: 1rem;
    margin-left: 3rem;
}

.article {
    min-height: 40vw;
    padding: 0 3rem;
}

.article .heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: bold;
    /* margin-bottom: 0.7rem; */
    margin-top: 0;
}

.article code {
   font-size: 0.85rem;
}

.article h1 {
    margin-bottom: 1rem;
}

.article h2 {
    margin-bottom: 1.45rem;
    padding-top: 1rem;
}

.article h3 {
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.article h2::after {
    content: "";       /* Required for pseudo-elements to appear */
    display: block;    /* Places the line on a new row */
    height: 1px;       /* Thickness of your line */
    background: #888787;  /* Color of the line */
    margin-top: 10px;  /* Space between text and line */
    width: 75%;       /* Full width, like a standard hr */
}

.article h3::after {
    content: "";       /* Required for pseudo-elements to appear */
    display: block;    /* Places the line on a new row */
    height: 1px;       /* Thickness of your line */
    background: #c0c0c0;  /* Color of the line */
    margin-top: 10px;  /* Space between text and line */
    width: 35%;       /* Full width, like a standard hr */
}

.article img:not(.in-text-icon) { /* make illustrations shrink with screen */
    max-width: 100%;
    height: auto;
    /*display: block; /* Removes unwanted baseline whitespace */
    vertical-align: middle;
}

.article p {
    padding-bottom: 1rem;
    padding-top: 0;
}

.article pre {
    background-color: white;
    border-radius: 0.5rem;
    /* margin: 1rem 0; */
    margin-bottom: 1.5rem;
    /* margin-top: 0.5rem; */
    overflow-x: auto;
    padding: 1rem 2rem;
}

.article-body {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
    padding-bottom: 0.5rem;
    padding-top: 1.5rem;
}

.author {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

.copy-code-button {
    float: none;
    left: 0;
    margin-top: 1.1rem;
    position: sticky;
    z-index: 10;
}

.datetime-stamp {
    font-family: var(--font-sans-serif);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
}

.pictured-paragraph {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 12rem auto;
    /* margin-top: 2.3rem; */
}

.pictured-paragraph p {
    margin-left: 1.5rem;
}

.pictured-paragraph-left-column {
    align-items: flex-start;
    display: flex;
}

.pictured-paragraph-picture {
    filter: saturate(35%);
    height: 12rem;
    padding-bottom: 1.5rem;
    text-align: center;
    width: 12rem;
}

/* Mobile */
@media (max-width: 900px) {

    .article {
        padding: 0;
    }

    ol {
        margin-left: 1.5rem;
    }

    ul {
        margin-left: 1.5rem;
    }

    .pictured-paragraph {
        display: block;
    }

    .pictured-paragraph p {
        margin-left: 0;
    }

    .pictured-paragraph-picture {
        height: 9rem;
        width: 9rem;
    }

}