#singular-main {
    grid-template-areas:
    'a b b'
    'c c c'
    'd e e';
}





#article-category {
    grid-area: a;
    margin-bottom: 0;
    text-transform: lowercase;
}





#article-header {
    grid-area: b;
}
#article-date {
    margin-bottom: 0;
}
#article-title {
    font-size: 4.8rem;
    line-height: 1;
    margin-top: 12rem;
    letter-spacing: -0.025em;
    font-family: "TT Firs Text", sans-serif;
    text-wrap: balance;
}

#article-cover {
    grid-area: c;
    margin-top: calc(var(--padding) * -1);
}
#article-cover div {
    height: 0;
    padding-top: 50%;
    position: relative;
}
#article-cover div img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#article-aside {
    grid-area: d;
}
#article-aside-pin {
    font-size: 1.8rem;
    padding-top: 0;
}
#article-aside-pin > div {
    margin-bottom: var(--padding);
}
#article-aside-pin > div:last-child {
    margin-bottom: 0;
}
#article-aside h3 {
    font-family: "TT Firs Neue", sans-serif;
    font-size: 2rem;
    letter-spacing: 0;
    padding-bottom: 1.8rem;
    border-bottom: solid 0.1rem var(--gray80);
    margin-bottom: 1.8rem;
}
#article-index__anchors a {
    display: block;
    margin-bottom: 0.6rem;
    transition: color 200ms ease-out;
    font-size: 1.6rem;
    position: relative;
}
#article-index__anchors a:hover {
    color: var(--primary);
}
#article-index__anchors a:last-child {
    margin-bottom: 0;
}
#article-index__anchors a.current {
    color: var(--primary);
}
#article-index__anchors a span {
    display: block;
    position: absolute;
    top: 0;
    left: -1.2rem;
}

#article-time {
    margin-bottom: 3.6rem;
    font-size: 1.6rem;
}

#article-social div {
    display: flex;
}
#article-social div .button {
    font-size: 1.4rem;
    padding: 1rem 2rem;
    margin-right: 1.2rem;
}
#article-social div .button:last-child {
    margin-right: 0;
}
#article-social div .button svg {
    height: 1.4rem;
}






#article-content {
    grid-area: e;
    padding-top: 0;
}
#article-content > * {
    margin-bottom: 2rem;
}
#article-content > *:last-child {
    margin-bottom: 0;
}
#article-content a {
    color: var(--primary);
}
#article-content .wp-block-image :where(figcaption) {
    color: var(--gray60);
    font-size: 1.4rem;
}
#article-content .wp-block-separator {
    margin-top: 4.8rem;
    margin-bottom: 4.8rem;
    border-top: solid 1px var(--gray80);;
}
#article-content p {
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 400;
}
#article-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-top: 4rem;
    font-family: "TT Firs Text", sans-serif;
}
#article-content h2:first-child {
    margin-top: 0;
}
#article-content h3 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-top: 3rem;
    font-family: "TT Firs Text", sans-serif;
}
#article-content ul,
#article-content ol {
    list-style-position: inside; 
}
#article-content ul { 
    list-style-type: disc; 
}
#article-content ol { 
    list-style-type: decimal; 
}
#article-content ul li,
#article-content ol li {
    padding: 1.8rem 0;
    border-bottom: solid 0.1rem var(--gray80);
    line-height: 1.4;
}
#article-content ul li:last-child,
#article-content ol li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
#article-content ul li:first-child,
#article-content ol li:first-child {
    padding-top: 0;
}

#article-content blockquote {
    background-color: var(--gray95);
    padding: 2.4rem 3rem 2.4rem 2.4rem;
    border-left: solid 0.6rem var(--primary);
    box-sizing: border-box;
    font-size: 2.4rem;
}
#article-content blockquote p {
    font-size: inherit;
    margin: 0;
    line-height: 1.2;
    text-wrap: balance;
}




#sidebar-pin h2 {
    margin-bottom: 3.6rem;
}
#sidebar-pin div {
    margin-bottom: 2.4rem;
    border-bottom: solid 0.1rem var(--gray80);
    padding-bottom: 2.4rem;
}
#sidebar-pin div:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
#sidebar-pin div a {
    display: block;
}
#sidebar-pin div a h3 {
    font-size: 2rem;
    line-height: 1.2;
    transition: color 200ms ease-out;
    text-wrap: balance;
}
#sidebar-pin div a:hover h3 {
    color: var(--primary);
}
#sidebar-pin div p {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.4;
}





@media only screen and (max-width: 1024px) and (orientation: portrait) {
    #article-social div .button span {
        display: none;
    }
}
@media only screen and (max-width: 640px) and (orientation: portrait) {
    #singular-main {
        grid-template-areas:
        'a'
        'b'
        'c'
        'd'
        'e';
    }

    #article-category {
        font-size: 1.8rem;
    }

    #article-header {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #article-title {
        margin-top: 0;
        font-size: 3.6rem;
        margin-bottom: 2.4rem;
    }
    #article-date {
        font-size: 1.6rem;
    }

    #article-cover {
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
    }
    #article-cover div {
        padding-top: 75%;
    }

    #article-content h2 {
        font-size: 3rem;
    }
    #article-content p {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    #article-aside h3 {
        font-size: 1.8rem;
    }
    #article-aside-pin {
        display: flex;
        flex-direction: row-reverse;
        gap: var(--padding);
        justify-content: space-between;
    }
    #article-aside-pin > div {
        width: 50%;
        margin-bottom: 0;
    }
    #article-index {
        display: none;
    }

    #article-content ul li,
    #article-content ol li {
        padding: 1.8rem 0;
    }
}