/* Impeccably Black — editorial reading experience, isolated to Ghost posts. */
.post-template {
    --ib-paper: #faf8f4;
    --ib-ink: #181714;
    --ib-muted: #706a62;
    --ib-line: #ded8ce;
    --ib-gold: #907044;
    --content-width: 710px;
    background: var(--ib-paper);
}

.post-template .gh-viewport,
.post-template .gh-navigation {
    background: var(--ib-paper) !important;
}

.post-template .gh-navigation {
    border-bottom: 1px solid var(--ib-line);
}

.post-template .gh-article {
    --container-width: 1140px;
    overflow-wrap: break-word;
}

.post-template .gh-article-header {
    margin: clamp(26px, 4vw, 62px) 0 46px;
}

.post-template .ib-article-edition {
    grid-column: wide;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(34px, 4vw, 54px);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ib-ink);
    color: var(--ib-muted);
    font: 700 10px/1.35 Arial, Helvetica, sans-serif;
    letter-spacing: .19em;
}

.post-template .ib-article-edition span:last-child {
    color: var(--ib-gold);
}

.post-template .gh-article-header > :is(.gh-article-tag, .gh-article-title, .gh-article-excerpt, .gh-meta-share) {
    grid-column: wide;
}

.post-template .gh-article-tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 13px;
    color: var(--ib-gold);
    font: 800 11px/1.5 Arial, Helvetica, sans-serif;
    letter-spacing: .18em;
}

.post-template .gh-article-title {
    max-width: 1010px;
    color: var(--ib-ink);
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(4.2rem, 6.3vw, 8.3rem);
    font-weight: 400;
    line-height: 1.055;
    letter-spacing: -.047em;
    text-wrap: balance;
}

.post-template .gh-article-excerpt {
    max-width: 825px;
    margin-top: 23px;
    color: #5f5a53;
    font: 400 clamp(1.7rem, 1.6vw, 2.15rem)/1.58 Arial, Helvetica, sans-serif;
    letter-spacing: -.015em;
}

.post-template .gh-meta-share {
    margin-top: 31px;
    padding: 20px 0;
    border-top: 1px solid var(--ib-line);
    border-bottom: 1px solid var(--ib-line);
}

.post-template .gh-article-meta {
    margin-left: 0;
}

.post-template .gh-article-author-name {
    color: var(--ib-ink);
    font: 700 14px/1.4 Arial, Helvetica, sans-serif;
}

.post-template .gh-article-meta-content {
    color: var(--ib-muted);
    font: 400 12px/1.4 Arial, Helvetica, sans-serif;
}

.post-template .gh-button-share {
    padding: 10px 19px;
    border: 1px solid var(--ib-line);
    border-radius: 0;
    color: var(--ib-ink);
    font: 700 11px/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.post-template .gh-button-share:hover {
    border-color: var(--ib-ink);
    background: var(--ib-ink);
    color: #fff;
}

.post-template .gh-article-image {
    margin-top: 31px;
}

.post-template .gh-article-image img {
    max-height: 690px;
    object-fit: contain;
    background: #e9e5dd;
}

.post-template figcaption {
    margin-top: 11px;
    color: var(--ib-muted);
    font: 400 12px/1.55 Arial, Helvetica, sans-serif;
    letter-spacing: .01em;
}

.post-template .gh-content {
    color: #292723;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 1.55vw, 2rem);
    line-height: 1.82;
    letter-spacing: -.008em;
}

.post-template .gh-content > p,
.post-template .gh-content > li,
.post-template .gh-content > blockquote {
    font-family: Georgia, 'Times New Roman', serif;
}

.post-template .gh-content > p:first-of-type {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--ib-ink);
}

.post-template .gh-content > * + * {
    margin-top: 28px;
}

.post-template .gh-content > [id]:not(:first-child) {
    margin-top: 62px;
}

.post-template .gh-content :is(h2, h3) {
    color: var(--ib-ink);
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400;
    letter-spacing: -.037em;
    line-height: 1.17;
    text-wrap: balance;
}

.post-template .gh-content h2 {
    font-size: clamp(3.2rem, 3.5vw, 4.5rem);
}

.post-template .gh-content h3 {
    font-size: clamp(2.5rem, 2.7vw, 3.2rem);
}

.post-template .gh-content > [id] + p {
    margin-top: 16px;
}

.post-template .gh-content a {
    color: #806139;
    text-decoration-thickness: 1px;
    text-underline-offset: .17em;
}

.post-template .gh-content blockquote {
    border-left: 3px solid var(--ib-gold);
    padding-left: clamp(18px, 3vw, 36px);
    color: #554d41;
    font-size: 1.18em;
    font-style: italic;
    line-height: 1.6;
}

.post-template .gh-content img {
    height: auto;
}

.post-template .ib-story-end {
    margin-top: 76px;
    margin-bottom: 55px;
}

.post-template .ib-story-end-inner {
    grid-column: main;
    padding: 24px 0;
    border-top: 2px solid var(--ib-ink);
    border-bottom: 1px solid var(--ib-line);
}

.post-template .ib-story-end-inner span {
    color: var(--ib-gold);
    font: 800 10px/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: .2em;
}

.post-template .ib-story-end-inner p {
    margin: 10px 0 0;
    color: var(--ib-ink);
    font: 400 clamp(2.5rem, 3vw, 3.5rem)/1.2 Georgia, 'Times New Roman', serif;
    letter-spacing: -.03em;
}

@media (max-width: 760px) {
    .post-template .gh-article {
        --container-gap: 18px;
    }

    .post-template .gh-article-header {
        margin-top: 20px;
        margin-bottom: 29px;
    }

    .post-template .ib-article-edition {
        margin-bottom: 31px;
        font-size: 9px;
        letter-spacing: .1em;
        padding-bottom: 12px;
    }

    .post-template .ib-article-edition span:last-child {
        display: none;
    }

    .post-template .gh-article-tag {
        margin-bottom: 11px;
        font-size: 10px;
    }

    .post-template .gh-article-title {
        font-size: clamp(3.75rem, 10.9vw, 5.4rem);
        line-height: 1.08;
        letter-spacing: -.042em;
    }

    .post-template .gh-article-excerpt {
        margin-top: 15px;
        font-size: 1.6rem;
        line-height: 1.55;
    }

    .post-template .gh-meta-share {
        margin-top: 22px;
        padding: 14px 0;
    }

    .post-template .gh-article-author-image a {
        width: 44px;
        height: 44px;
    }

    .post-template .gh-article-author-name {
        font-size: 12px;
    }

    .post-template .gh-article-meta-content {
        font-size: 11px;
    }

    .post-template .gh-button-share {
        padding: 9px 11px;
        font-size: 10px;
    }

    .post-template .gh-article-image {
        margin-top: 21px;
    }

    .post-template .gh-article-image img {
        max-height: none;
    }

    .post-template .gh-content {
        font-size: 1.8rem;
        line-height: 1.76;
    }

    .post-template .gh-content > * + * {
        margin-top: 23px;
    }

    .post-template .gh-content > [id]:not(:first-child) {
        margin-top: 47px;
    }

    .post-template .gh-content h2 {
        font-size: 3.2rem;
    }

    .post-template .gh-content h3 {
        font-size: 2.65rem;
    }

    .post-template figcaption {
        font-size: 11px;
    }

    .post-template .ib-story-end {
        margin-top: 48px;
        margin-bottom: 36px;
    }
}
