@font-face {
    font-family: Inter;
    src: url('InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap
}

:root {
    --paper: #f2f1ef;
    --ink: #111;
    --muted: #626262;
    --line: #bababa;
    --accent: #C0392B
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

button,
input {
    font: inherit
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    /* outline: 3px solid var(--accent);
    outline-offset: 5px */
    outline:none;
}

::selection {
    background: var(--accent);
    color: var(--ink)
}

img {
    max-width: 100%
}

.wrap {
    max-width: 1680px;
    margin: auto;
    padding: 0 3.5vw
}

.meta-label {
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none
}

.accent {
    color: var(--accent)
}

.top {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 2px solid var(--ink)
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 15px
}

.nav a {
    padding: 15px 0
}

.nav a:hover {
    color: var(--accent)
}

.nav a.active {
    font-weight: 700
}

.search-button {
    background: none;
    border: 0;
    padding: 14px 0 14px 14px
}

.search-button svg {
    width: 21px;
    height: 21px;
    display: block
}

.search-panel {
    padding: 25px 0;
    border-bottom: 0 solid;
    display: flex;
    gap: 12px
}

.search-panel[hidden] {
    display: none
}

.search-panel input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid;
    background: transparent;
    padding: 12px 0;
    font-size: 24px;
    min-width: 0;
    border-radius: 0
}

.search-panel button {
    background: var(--ink);
    color: #fff;
    border: 0;
    padding: 0 24px
}

.masthead {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 8vw;
    align-items: end;
    padding: 48px 0 40px;
    border-bottom: 2px solid var(--ink)
}

.wordmark {
    margin: 0;
    line-height: 0;
    font-size: inherit;
    max-width: 850px
}

.wordmark img {
    display: block;
    width: 100%;
    height: auto
}

.mast-bottom {
    padding-bottom: 0
}

.mast-bottom p {
    font-size: clamp(28px, 3.7vw, 62px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -.065em;
    margin: 0
}

.section-label {
    display: flex;
    justify-content: space-between;
    padding: 22px 0;
    font-size: 13px
}

.section-label span:first-child {
    font-weight: 700
}

.section-label span:first-child:before {
    content: '+';
    margin-right: 18px;
    font-size: 20px;
    vertical-align: -1px
}

.feature {
    display: grid;
    grid-template-columns: 1.28fr 1fr;
    gap: 0;
    border: 2px solid var(--ink);
    margin-bottom: 15px
}

.feature-image {
    position: relative;
    display: flex;
    align-items: center;
    background: #ededed;
    min-height: 380px;
    padding: 38px;
    border-right: 2px solid var(--ink);
    overflow: hidden
}

.feature-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .35s
}

.feature-image:hover img {
    transform: scale(1.025)
}

.image-note {
    position: absolute;
    bottom: 13px;
    left: 16px;
    font-size: 12px
}

.feature-copy {
    padding: 28px 34px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--accent)
}

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    font-size: 12px;
    color: var(--muted)
}

.feature-copy .meta {
    color: var(--ink)
}

.tag {
    display: inline-block;
    border: 1px solid;
    padding: 4px 9px;
    border-radius: 0;
    font-size: 12px
}

.feature h2 {
    font-size: clamp(36px, 4.1vw, 68px);
    line-height: 1.01;
    letter-spacing: -.065em;
    font-weight: 600;
    margin: 32px 0 24px
}

.feature p {
    font-size: 16px;
    line-height: 1.55;
    max-width: 460px;
    margin: 0 0 28px
}

.read {
    display: inline-block;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto
}

.read:hover {
    opacity: .65
}

.archive-bar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 38px 0 23px;
    border-bottom: 2px solid
}

.archive-bar h2 {
    font-size: clamp(30px, 3.5vw, 52px);
    font-weight: 500;
    letter-spacing: -.06em;
    line-height: 1.05;
    margin: 0
}

.archive-bar .meta-label {
    font-size: 13px;
    color: var(--muted)
}

.entries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0
}

.entry {
    padding: 25px 25px 30px 0;
    border-bottom: 1px solid var(--ink);
    min-width: 0
}

.entry:nth-child(3n+2) {
    padding-left: 25px;
    border-left: 1px solid;
    border-right: 1px solid
}

.entry:nth-child(3n) {
    padding-left: 25px;
    padding-right: 0
}

.entry-img {
    height: 230px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 22px
}

.entry-img img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s
}

.entry:hover img {
    transform: scale(1.03)
}

.entry h3 {
    font-size: clamp(23px, 2.35vw, 36px);
    line-height: 1.07;
    letter-spacing: -.055em;
    font-weight: 550;
    margin: 18px 0 16px;
    overflow-wrap: break-word
}

.entry h3 a:hover {
    color: var(--accent)
}

.entry p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0
}

.code-art {
    background: var(--ink);
    color: #fff;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 25px;
    font-size: 14px;
    line-height: 1.8
}

.code-art code {
    font-family: monospace
}

.code-art .orange {
    color: #C0392B
}

.code-art .dim {
    color: #aaa
}

.entry.compact {
    padding-top: 28px;
    padding-bottom: 30px
}

.entry.compact h3 {
    font-size: 26px
}

.archive-.site-footer {
    padding: 28px 0 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.archive-footer{
    padding: 30px 0;
}

.archive-footer a {
    font-size: 14px;
    border-bottom: 1px solid;
    padding-bottom: 6px
}

.archive-footer .meta-label {
    color: var(--muted)
}

.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: 45px 0 25px
}

.footer-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 45px;
    gap: 30px
}

.footer-main p {
    font-size: clamp(32px, 5.3vw, 85px);
    font-weight: 500;
    letter-spacing: -.065em;
    line-height: 1.01;
    margin: 0
}

.footer-main .meta-label {
    color: #aaa;
    line-height: 1.7
}

.footer-bottom {
    padding-top: 20px;
    border-top: 0px solid #666;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #bbb
}

.footer-bottom nav {
    display: flex;
    gap: 25px
}

/* Article */
.article-page .top {
    justify-content: space-between;
    padding: 14px 0;
    gap: 25px
}

.identity {
    display: block;
    width: 105px;
    flex: none;
    line-height: 0
}

.identity img {
    display: block;
    width: 100%;
    height: auto
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 20;
    padding: 12px;
    background: var(--ink);
    color: #fff
}

.skip-link:focus {
    top: 10px
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 10
}

.article-head {
    padding: 25px 0 38px
}

.breadcrumb {
    display: none;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: 12px
}

.breadcrumb a:hover {
    color: var(--accent)
}

.article-kicker {
    display: flex;
    justify-content: space-between;
    margin: 65px 0 24px;
    font-size: 13px;
    gap: 18px
}

.article-kicker>span {
    font-weight: 700
}

.article-kicker>span:before {
    content: '+';
    margin-right: 14px
}

.article-head h1 {
    font-size: clamp(44px, 7.5vw, 122px);
    letter-spacing: -.065em;
    font-weight: 600;
    line-height: 1.01;
    max-width: 1450px;
    margin: 0 0 40px;
    overflow-wrap: break-word
}

.article-intro {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 70px;
    align-items: end
}

.article-intro>p {
    font-size: clamp(20px, 1.85vw, 29px);
    line-height: 1.35;
    letter-spacing: -.035em;
    max-width: 790px;
    margin: 0
}

.byline {
    justify-self: end;
    border-left: 2px solid;
    padding-left: 20px;
    display: none;
}

.byline strong {
    font-size: 14px;
    font-weight: 600
}

.byline .meta-label {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-size: 12px
}

.article-figure {
    margin: 0 0 70px
}

.article-image {
    background: var(--accent);
    background: #fff;
    padding: 4% 12%;
    display: flex;
    justify-content: center;
    border: 2px solid var(--ink)
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1060px
}

.article-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    line-height: 1.5;
    border-bottom: 1px solid;
    padding: 14px 0
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 8vw;
    max-width: 1300px;
    margin: 0 auto
}

.article-aside {
    align-self: start;
    position: sticky;
    top: 45px;
    border-top: 0 solid; 
    padding-top: 0;
}

.article-aside nav {
    display: flex;
    flex-direction: column;
    gap: 17px
}

.article-aside nav p {
    color: var(--muted);
    margin: 0 0 12px
}

.article-aside nav a {
    font-size: 14px;
    line-height: 1.4
}

.article-aside nav a:hover,
.article-aside nav a.is-current {
    color: var(--accent)
}

.aside-tags {
    display: flex;
    gap: 8px;
    margin-top: 0
}

.article-content {
    min-width: 0;
    max-width: 760px
}

.article-content section {
    scroll-margin-top: 35px;
    margin-bottom: 65px
}

.section-number {
    font-size: 12px
}

.article-content h2 {
    font-size: clamp(31px, 3.2vw, 50px);
    font-weight: 550;
    line-height: 1.03;
    letter-spacing: -.055em;
    margin: 20px 0 26px
}

.article-content p {
    font-size: 18px;
    line-height: 1.75;
    margin: 0 0 22px
}

.article-content strong {
    font-weight: 650
}

.pullquote {
    padding: 30px 0;
    border-top: 2px solid;
    border-bottom: 2px solid;
    margin: 38px 0
}

.pullquote p {
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 550;
    line-height: 1.1;
    letter-spacing: -.055em;
    margin-bottom: 20px
}

.pullquote .meta-label {
    font-size: 12px;
    color: var(--muted)
}

.tool-panel {
    background: var(--ink);
    color: var(--paper);
    padding: 40px
}

.tool-panel>.meta-label {
    color: #bbb
}

.tool-panel h2 {
    font-size: 42px
}

.tool-button {
    display: inline-block;
    background: var(--accent);
    color: var(--ink);
    padding: 16px 23px;
    font-size: 16px;
    font-weight: 550;
    margin: 3px 0 28px
}

.tool-button:hover {
    background: #982d22
}

.tool-panel p {
    font-size: 14px;
    line-height: 1.7;
    color: #bbb;
    margin: 0
}

.article-end {
    border-top: 2px solid;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px
}

.article-end a:hover {
    color: var(--accent)
}

.related {
    margin: 55px 0 65px;
    border-top: 2px solid
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr
}

.related-item {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 25px;
    padding: 28px 30px 28px 0
}

.related-item+.related-item {
    padding-left: 30px;
    padding-right: 0;
    border-left: 1px solid
}

.related-item img {
    width: 100%;
    height: auto;
    background: #eee;
    padding: 15px
}

.related-item .meta-label {
    font-size: 12px;
    color: var(--muted)
}

.related-item h3 {
    font-size: 28px;
    font-weight: 550;
    line-height: 1.08;
    letter-spacing: -.055em;
    margin: 15px 0 20px
}

.related-item:hover h3 {
    color: var(--accent)
}

@media(max-width:950px) {
    .feature-image {
        padding: 24px;
        min-height: 330px
    }

    .feature-copy {
        padding: 24px
    }

    .feature h2 {
        font-size: 40px
    }

    .entry-img {
        height: 190px;
        padding: 16px
    }

    .entry {
        padding-right: 18px
    }

    .entry:nth-child(3n+2),
    .entry:nth-child(3n) {
        padding-left: 18px
    }

    .code-art {
        font-size: 12px
    }

    .article-layout {
        gap: 35px;
        grid-template-columns: 180px 1fr
    }

    .article-intro {
        gap: 25px
    }

    .article-image {
        padding: 5%
    }

    .related-item {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .tool-panel {
        padding: 28px
    }

    .desktop-break {
        display: none
    }
}

@media(max-width:600px) {
    .wrap {
        padding: 0 18px
    }

    .top {
        min-height: 60px
    }

    .nav {
        gap: 24px;
        font-size: 14px
    }

    .nav .extra {
        display: none
    }

    .masthead {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0
    }

    .wordmark {
        max-width: none
    }

    .mast-bottom p {
        font-size: 26px;
        line-height: 1.15;
        letter-spacing: -.045em;
        max-width: 330px
    }

    .mast-bottom br {
        display: none
    }

    .mast-bottom br:after {
        content: ' '
    }

    .section-label {
        padding: 17px 0;
        font-size: 12px
    }

    .section-label span:first-child:before {
        margin-right: 10px
    }

    .feature {
        grid-template-columns: 1fr
    }

    .feature-image {
        min-height: 230px;
        padding: 30px 20px;
        border-right: 0;
        border-bottom: 2px solid
    }

    .feature-copy {
        padding: 24px
    }

    .feature h2 {
        font-size: 45px;
        margin: 24px 0 20px
    }

    .feature p {
        font-size: 16px
    }

    .archive-bar {
        display: block;
        padding: 28px 0 20px
    }

    .archive-bar h2 {
        font-size: 36px
    }

    .archive-bar .meta-label {
        display: block;
        font-size: 12px;
        margin-top: 12px
    }

    .entries {
        grid-template-columns: 1fr
    }

    .entry,
    .entry:nth-child(3n+2),
    .entry:nth-child(3n) {
        padding: 24px 0;
        border-left: 0;
        border-right: 0
    }

    .entry-img {
        height: auto;
        min-height: 230px;
        padding: 25px
    }

    .code-art {
        font-size: 15px
    }

    .entry h3 {
        font-size: 33px
    }

    .entry.compact h3 {
        font-size: 29px
    }

    .archive-.site-footer {
        padding-bottom: 40px
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px
    }

    .footer-main p {
        font-size: 43px
    }

    .footer-bottom {
        font-size: 12px;
        gap: 12px
    }

    .footer-bottom nav {
        gap: 15px
    }

    .search-panel input {
        font-size: 18px
    }

    .search-panel button {
        padding: 0 14px
    }

    .article-page .top {
        gap: 15px
    }

    .identity {
        width: 76px
    }

    .article-page .nav {
        gap: 17px;
        font-size: 13px
    }

    .article-page .search-button {
        padding-left: 0
    }

    .article-head {
        padding-top: 22px;
        padding-bottom: 28px
    }

    .article-head h1 {
        font-size: clamp(42px, 10.8vw, 64px);
        margin-bottom: 28px
    }

    .article-kicker {
        margin-top: 36px;
        flex-wrap: wrap;
        font-size: 12px;
        gap: 12px
    }

    .article-intro {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .article-intro>p {
        font-size: 21px;
        line-height: 1.4
    }

    .byline {
        justify-self: start
    }

    .article-figure {
        margin-bottom: 35px
    }

    .article-image {
        padding: 25px 10px
    }

    .article-figure figcaption {
        display: block;
        font-size: 12px
    }

    .article-figure figcaption span {
        display: block
    }

    .article-figure figcaption .meta-label {
        margin-bottom: 7px
    }

    .article-layout {
        display: block
    }

    .article-aside {
        position: static;
        border-top: 0;
        border-bottom: 1px solid;
        padding: 0 0 28px;
        margin-bottom: 36px
    }

    .article-aside nav {
        gap: 14px
    }

    .article-aside nav p {
        margin-bottom: 4px
    }

    .aside-tags {
        display: none
    }

    .article-content section {
        margin-bottom: 44px
    }

    .article-content h2 {
        font-size: 37px
    }

    .article-content p {
        font-size: 17px;
        line-height: 1.75
    }

    .pullquote p {
        font-size: 33px;
        line-height: 1.1
    }

    .tool-panel {
        padding: 26px
    }

    .tool-panel h2 {
        font-size: 36px
    }

    .tool-panel p {
        font-size: 14px
    }

    .related {
        margin: 30px 0 40px
    }

    .related-grid {
        grid-template-columns: 1fr
    }

    .related-item,
    .related-item+.related-item {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 25px 0;
        border-left: 0;
        border-bottom: 1px solid
    }

    .related-item h3 {
        font-size: 25px
    }

    .related-item img {
        padding: 6px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

@media print {

    .top,
    .article-aside,
    .reading-progress,
    .related,
    footer,
    .article-end,
    .skip-link {
        display: none
    }

    .article-layout,
    .article-intro {
        display: block
    }

    .article-content {
        max-width: none
    }

    .article-head h1 {
        font-size: 42px
    }

    .article-image {
        padding: 0;
        background: none
    }

    .article-figure {
        max-width: 600px;
        margin: 20px auto
    }

    .tool-panel {
        background: white;
        color: black;
        border: 1px solid
    }

    .tool-panel p,
    .tool-panel>.meta-label {
        color: #333
    }

    .tool-button {
        background: none;
        border: 1px solid
    }

    body {
        background: white
    }

    .article-content section {
        break-inside: avoid
    }
}

/* WordPress + Bootstrap integration */
body {
    --bs-body-bg: var(--paper);
    --bs-body-color: var(--ink);
    --bs-body-font-family: Inter, Arial, sans-serif;
    --bs-link-color: var(--ink);
    --bs-link-hover-color: var(--accent)
}

button,
input,
textarea,
select,
kbd,
samp {
    font-family: Inter, Arial, sans-serif
}

a:hover {
    color: var(--accent)
}

.feature-copy {
    color: #fff
}

.feature-copy .meta,
.feature-copy a,
.feature-copy a:hover {
    color: #fff
}

.tool-button {
    color: white
}

.tool-button:hover {
    background: #982d22;
    color: white
}

::selection {
    background: var(--accent);
    color: white
}

.site-header {
    border-bottom: 0 solid;
    min-height: 75px;
    padding: 14px 0;
    gap: 25px
}

.navbar-toggler {
    border: 1px solid var(--ink);
    border-radius: 0;
    font-size: 14px;
    padding: 10px
}

.site-menu,
.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
    align-items: center
}

.site-menu li {
    position: relative
}

.site-menu a {
    font-size: 15px;
    display: block;
    padding: 12px 0
}

.site-menu .current-menu-item>a {
    font-weight: 700
}

.site-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    z-index: 20;
    list-style: none;
    padding: 12px 18px;
    background: var(--paper);
    border: 1px solid
}

.site-menu li:hover>.sub-menu,
.site-menu li:focus-within>.sub-menu {
    display: block
}

.site-menu .sub-menu .sub-menu {
    left: 100%;
    top: 0
}

.site-menu>li:last-child .sub-menu {
    left: auto;
    right: 0
}

.site-menu>li:last-child .sub-menu .sub-menu {
    right: 100%
}

.custom-logo-link {
    display: block
}

.custom-logo {
    display: block;
    width: 100%;
    height: auto
}

.footer-menu {
    gap: 20px
}

.listing-header {
    padding: 55px 0 35px;
    border-bottom: 2px solid
}

.listing-header h1 {
    font-size: clamp(36px, 5vw, 75px);
    letter-spacing: -.055em
}

.entry h2 {
    font-size: clamp(23px, 2.35vw, 36px);
    line-height: 1.07;
    letter-spacing: -.055em;
    font-weight: 550;
    margin: 18px 0 16px;
    overflow-wrap: anywhere
}

.feature-no-image {
    grid-template-columns: 1fr
}

.feature-no-image h2 {
    max-width: 1100px
}

.feature-no-image p {
    max-width: 780px
}

.entry-content {
    padding-bottom: 30px;
}

.article-content .entry-content p {
    margin-bottom: 1.5em
}

.entry-content h2,
.entry-content h3 {
    scroll-margin-top: 45px
}

.entry-content h2:not(:first-child) {
    margin-top: 1.6em
}

.entry-content h3 {
    font-size: 30px;
    letter-spacing: -.04em
}

.entry-content img {
    height: auto
}

.entry-content figure {
    max-width: 100%;
    margin: 2em 0
}

.entry-content figcaption {
    font-size: 13px;
    color: var(--muted)
}

.entry-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px
}

.entry-content iframe,
.entry-content video {
    max-width: 100%
}

.entry-content pre {
    background: #fff;
    color: #f2f1ef;
    padding: 24px;
    overflow: auto;
    font-size: 14px
}

.entry-content blockquote {
    border-top: 2px solid;
    border-bottom: 2px solid;
    margin: 2em 0;
    padding: 24px 0;
    font-size: 26px
}

.entry-content table {
    width: 100%;
    border-collapse: collapse
}

.entry-content td,
.entry-content th {
    padding: 12px;
    border: 1px solid var(--line)
}

.entry-content .wp-block-table {
    overflow-x: auto
}

.entry-content ul,
.entry-content ol {
    font-size: 18px;
    line-height: 1.75;
    padding-left: 1.3em
}

.aside-tags {
    flex-wrap: wrap
}

.aside-tags a {
    border: 1px solid;
    padding: 4px 9px;
    font-size: 12px
}

.article-intro .byline {
    grid-column: 2
}

.page-content {
    margin: 0 auto 70px;
    max-width: 1000px
}

.page-article .article-head {
    padding-top: 60px
}

.entry-content:after {
    content: '';
    display: table;
    clear: both
}

.alignleft {
    float: left;
    margin: 0 24px 18px 0
}

.alignright {
    float: right;
    margin: 0 0 18px 24px
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block
}

.wp-caption {
    max-width: 100%
}

.wp-caption-text,
.gallery-caption {
    font-size: 13px
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap
}

.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    width: auto;
    height: auto;
    left: 10px;
    top: 10px;
    padding: 15px;
    background: white;
    z-index: 100000
}

.bypostauthor>.comment-body {
    border-left: 3px solid var(--accent);
    padding-left: 18px
}

.sticky .feature-copy {
    border-top: 6px solid var(--ink)
}

.related-post {
    padding: 25px;
    border-right: 1px solid;
    border-bottom: 1px solid
}

.related-post:first-child {
    padding-left: 0
}

.related-post:last-child {
    border-right: 0;
    padding-right: 0
}

.related-post img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    margin-bottom: 20px
}

.related-post time {
    display: block;
    font-size: 12px;
    color: var(--muted)
}

.related-post h3 {
    font-size: 27px;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin: 16px 0 25px;
    overflow-wrap: anywhere
}

.pagination .nav-links,
.comments-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.page-numbers {
    padding: 9px 14px;
    border: 1px solid
}

.page-numbers.current {
    background: var(--ink);
    color: var(--paper)
}

.empty-state {
    padding: 70px 0;
    min-height: 50vh
}

.empty-state h1 {
    font-size: clamp(40px, 7vw, 100px);
    letter-spacing: -.055em
}

.comments-area {
    margin: 45px 0 65px;
    padding-top: 20px;
    border-top: 2px solid
}

.comment-list,
.comment-list .children {
    list-style: none;
    padding: 0
}

.comment-list .children {
    padding-left: 26px
}

.comment-body {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere
}

.comment-author {
    font-size: 16px
}

.comment-metadata {
    font-size: 12px;
    margin: 8px 0 18px
}

.reply {
    font-size: 14px
}

.comment-content a {
    color: var(--accent);
    text-decoration: underline
}

.comment-respond {
    margin-top: 38px
}

.comment-reply-title {
    font-size: 32px;
    font-weight: 550;
    letter-spacing: -.04em
}

.comment-reply-title small {
    display: block;
    font-size: 14px;
    letter-spacing: 0;
    margin-top: 14px
}

.comment-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px
}

.comment-form input:not([type=checkbox]):not([type=submit]),
.comment-form textarea,
.post-password-form input[type=password] {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--ink)
}

.comment-form input:focus,
.comment-form textarea:focus {
    /* outline: 2px solid var(--accent);
    outline-offset: 2px */
}

.comment-form textarea {
    min-height: 150px
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.comment-form-cookies-consent input {
    margin-top: 6px
}

.comment-form .comment-notes,
.comment-form .logged-in-as,
.comment-form .comment-form-cookies-consent label {
    font-size: 14px;
    line-height: 1.6
}

.comment-submit {
    border-radius: 0;
    background: var(--accent);
    border: 0;
    padding: 14px 24px
}

.comment-submit:hover {
    background: #982d22
}

.comments-area .comment-content p {
    font-size: 16px
}

.admin-bar .article-aside {
    top: 65px
}

.admin-bar .reading-progress {
    top: 32px
}

@media(max-width:991px) {
    .related-post:nth-child(2) {
        border-right: 0
    }

    .related-post:nth-child(3) {
        padding-left: 0
    }

    .related-post:last-child {
        padding-right: 0
    }
}

@media(max-width:767px) {
    .site-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 15px
    }

    .site-menu .sub-menu,
    .site-menu .sub-menu .sub-menu {
        display: block;
        position: static;
        border: 0;
        padding: 0 0 0 20px;
        background: none
    }

    .site-header .search-button {
        margin: 10px 0
    }

    .article-intro .byline {
        grid-column: auto
    }

    .article-aside {
        position: static
    }

    .entry-content .alignleft,
    .entry-content .alignright {
        float: none;
        margin: 20px 0
    }

    .admin-bar .reading-progress {
        top: 46px
    }
}

@media(max-width:600px) {
    .entry h2 {
        font-size: 33px
    }

    .entry.compact h2 {
        font-size: 29px
    }

    .article-intro {
        display: flex;
        flex-direction: column;
        align-items: flex-start
    }

    .article-content .entry-content p {
        font-size: 17px
    }

    .comment-list .children {
        padding-left: 16px
    }

    .related-post,
    .related-post:first-child,
    .related-post:last-child {
        padding: 24px 0;
        border-right: 0
    }

    .footer-bottom {
        flex-wrap: wrap
    }
}

[hidden] {
    display: none !important
}
/* Mobile preview boxes shrink to their image, with a maximum rather than fixed height. */
@media (max-width: 767.98px) {
 .entry-img, .feature-image {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 12px;
  align-self: start;
 }
 .entry-img img, .feature-image img, .related-post img {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 220px;
  max-height: min(220px, 48vw);
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  aspect-ratio: auto;
 }
 .feature-image .image-note { position: static; display: block; margin-top: 10px; }
}
