/* A calm reading layout shared by every blog article. */
html[data-design="2"] body.single-post {
    background: #f7f8f4;
}

html[data-design="2"] body.single-post #primary {
    padding: clamp(24px, 4vw, 64px) 16px 56px;
}

html[data-design="2"] body.single-post .ast-article-single {
    box-sizing: border-box;
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(26px, 5vw, 64px);
    background: #fff;
    border: 1px solid #e5e8df;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(9, 58, 45, 0.055);
}

html[data-design="2"] body.single-post .ast-article-single .entry-header,
html[data-design="2"] body.single-post .ast-article-single .entry-content {
    max-width: 70ch;
    margin-inline: auto;
}

html[data-design="2"] body.single-post .entry-header {
    padding-bottom: clamp(22px, 3vw, 34px);
    margin-bottom: clamp(24px, 3vw, 38px);
    border-bottom: 1px solid #e6e8df;
}

html[data-design="2"] body.single-post .entry-header .entry-title {
    max-width: 32ch;
    margin: 0 0 22px;
    color: #0b4437;
    font-family: var(--sans-body, Inter, sans-serif);
    font-size: clamp(2rem, 2.7vw, 2.75rem) !important;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

html[data-design="2"] body.single-post .entry-meta,
html[data-design="2"] body.single-post .entry-meta *,
html[data-design="2"] body.single-post .entry-meta a {
    color: #705a32 !important;
    font-size: 1rem !important;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

html[data-design="2"] body.single-post .entry-content {
    color: #293b37;
}

html[data-design="2"] body.single-post .site-main .entry-content :is(p, li, blockquote, figcaption) {
    font-size: 1.125rem !important;
    line-height: 1.75 !important;
}

html[data-design="2"] body.single-post .entry-content p {
    margin-bottom: 1.35em;
}

html[data-design="2"] body.single-post .entry-content :is(ul, ol) {
    margin: 0 0 1.5em 1.35em;
}

html[data-design="2"] body.single-post .entry-content li + li {
    margin-top: 0.5em;
}

html[data-design="2"] body.single-post .entry-content :is(h2, h3, h4) {
    color: #0b4437;
    font-family: var(--sans-body, Inter, sans-serif);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

html[data-design="2"] body.single-post .entry-content h2 {
    margin: 2em 0 0.7em;
    font-size: clamp(1.5rem, 2vw, 1.875rem) !important;
}

html[data-design="2"] body.single-post .entry-content h3 {
    margin: 1.65em 0 0.6em;
    font-size: clamp(1.25rem, 1.7vw, 1.5rem) !important;
}

html[data-design="2"] body.single-post .entry-content h4 {
    margin: 1.5em 0 0.5em;
    font-size: 1.1875rem !important;
}

html[data-design="2"] body.single-post .entry-content :is(a:not(.wp-block-button__link)) {
    color: #0b634f;
    text-decoration-color: #c6a356;
    text-underline-offset: 0.18em;
}

html[data-design="2"] body.single-post .entry-content img {
    max-width: 100%;
    height: auto;
}

html[data-design="2"] body.single-post .entry-content figure {
    max-width: 100%;
    margin-block: 0 2em;
}

html[data-design="2"] body.single-post .site-main .entry-content blockquote p {
    color: #344841;
    font-size: clamp(1.35rem, 1.2rem + 0.45vw, 1.5rem) !important;
    line-height: 1.55 !important;
}

html[data-design="2"] body.single-post .entry-content iframe {
    max-width: 100%;
}

html[data-design="2"] body.single-post .post-navigation {
    box-sizing: border-box;
    max-width: 900px;
    margin: 28px auto 56px;
    padding: 0;
    background: transparent;
    border: 0;
}

html[data-design="2"] body.single-post .post-navigation .nav-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    padding: 0;
}

html[data-design="2"] body.single-post .post-navigation :is(.nav-previous, .nav-next) {
    width: 100% !important;
    max-width: none;
    margin: 0;
    float: none;
}

html[data-design="2"] body.single-post .post-navigation .nav-previous:after {
    display: none;
}

html[data-design="2"] body.single-post .post-navigation .nav-next {
    grid-column: 2;
}

html[data-design="2"] body.single-post .post-navigation :is(.nav-previous, .nav-next) a {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 132px;
    margin: 0 !important;
    padding: 22px 24px;
    color: #123e34;
    background: #fffdf8;
    border: 1px solid #e7d9b8;
    border-left: 4px solid #c7a45a;
    border-radius: 12px;
    text-align: start;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(9, 58, 45, 0.045);
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

html[data-design="2"] body.single-post .post-navigation a:hover {
    color: #0b4437;
    background: #fff9ec;
    border-color: #b9913d;
    box-shadow: 0 12px 28px rgba(9, 58, 45, 0.1);
}

html[data-design="2"] body.single-post .post-navigation a .ast-post-nav {
    display: block;
    color: #866620;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.4;
    text-transform: none;
}

html[data-design="2"] body.single-post .post-navigation a p {
    display: block !important;
    margin: 10px 0 0;
    color: #123e34;
    font-size: 1.0625rem !important;
    font-weight: 600;
    line-height: 1.45 !important;
    text-align: start;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    overflow-wrap: anywhere;
}

@media (max-width: 720px) {
    html[data-design="2"] body.single-post #primary {
        padding: 20px 12px 42px;
    }

    html[data-design="2"] body.single-post .ast-article-single {
        padding: 26px 20px;
        border-radius: 12px;
    }

    html[data-design="2"] body.single-post .post-navigation .nav-links {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    html[data-design="2"] body.single-post .post-navigation {
        margin-bottom: 42px;
    }

    html[data-design="2"] body.single-post .post-navigation .nav-next {
        grid-column: 1;
    }

    html[data-design="2"] body.single-post .post-navigation :is(.nav-previous, .nav-next) a {
        min-height: 112px;
        padding: 18px 20px;
    }
}
