/*
 * Single post typography.
 *
 * Astra renders the WordPress post title as the page's only H1.
 * Article content should begin its heading hierarchy at H2.
 */

.single-post .site-main > article.post .entry-header,
.single-post .site-main > article.post .entry-content,
.single-post .site-main > article.post .entry-footer {
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
}

.single-post .site-main > article.post .entry-title {
    font-size: 36px;
    line-height: 1.25;
}

.single-post .site-main > article.post .entry-content {
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.single-post .site-main > article.post .entry-content p {
    margin-top: 0;
    margin-bottom: 1.4em;
    font-size: 18px;
    line-height: 1.85;
}

.single-post .site-main > article.post .entry-content h2 {
    margin-top: 1.9em;
    margin-bottom: 0.7em;
    font-size: 28px;
    line-height: 1.35;
}

.single-post .site-main > article.post .entry-content h3 {
    margin-top: 1.6em;
    margin-bottom: 0.65em;
    font-size: 21px;
    line-height: 1.4;
}

.single-post .site-main > article.post .entry-content ul,
.single-post .site-main > article.post .entry-content ol {
    margin-top: 0;
    margin-bottom: 1.4em;
    padding-left: 1.5em;
    font-size: 18px;
    line-height: 1.85;
}

.single-post .site-main > article.post .entry-content li {
    font-size: 18px;
    line-height: 1.85;
}

.single-post .site-main > article.post .entry-content li + li {
    margin-top: 0.45em;
}

.single-post .site-main > article.post .entry-content blockquote {
    margin: 1.8em 0;
    padding: 1em 1.25em;
    border-left: 4px solid #1463a5;
    background: #f3f7fb;
    color: #26384a;
    font-size: 18px;
    line-height: 1.85;
}

.single-post .site-main > article.post .entry-content blockquote > :last-child {
    margin-bottom: 0;
}

.single-post .site-main > article.post .entry-content table {
    width: 100%;
    margin: 1.8em 0;
    border-collapse: collapse;
    font-size: 17px;
    line-height: 1.6;
}

.single-post .site-main > article.post .entry-content th,
.single-post .site-main > article.post .entry-content td {
    padding: 0.75em 0.9em;
    border: 1px solid #d7e0e8;
    text-align: left;
    vertical-align: top;
}

.single-post .site-main > article.post .entry-content th {
    background: #eef4f9;
    font-weight: 600;
}

.single-post .site-main > article.post .entry-content code {
    padding: 0.15em 0.35em;
    border-radius: 3px;
    background: #eef2f5;
    font-size: 0.92em;
}

.single-post .site-main > article.post .entry-content pre {
    max-width: 100%;
    margin: 1.8em 0;
    padding: 1.1em 1.25em;
    overflow-x: auto;
    border-radius: 4px;
    background: #18232e;
    color: #f4f7fa;
    font-size: 15px;
    line-height: 1.65;
}

.single-post .site-main > article.post .entry-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.single-post .site-main > article.post .entry-content details {
    margin: 1em 0;
    font-size: 18px;
    line-height: 1.85;
}

.single-post .site-main > article.post .entry-content details > summary {
    cursor: pointer;
    font-weight: 600;
}

.single-post .site-main > article.post .entry-content details[open] > summary {
    margin-bottom: 0.75em;
}

@media (max-width: 767px) {
    .single-post .site-main > article.post .entry-title {
        font-size: 30px;
    }

    .single-post .site-main > article.post .entry-content {
        font-size: 17px;
        line-height: 1.85;
    }

    .single-post .site-main > article.post .entry-content h2 {
        font-size: 24px;
    }

    .single-post .site-main > article.post .entry-content h3 {
        font-size: 19px;
    }

    .single-post .site-main > article.post .entry-content p,
    .single-post .site-main > article.post .entry-content ul,
    .single-post .site-main > article.post .entry-content ol,
    .single-post .site-main > article.post .entry-content li,
    .single-post .site-main > article.post .entry-content blockquote,
    .single-post .site-main > article.post .entry-content details {
        font-size: 17px;
        line-height: 1.85;
    }

    .single-post .site-main > article.post .entry-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}
