/* TopFakeID Modern Blog Posts
 * Accent: #78a96b
 */

.tfid-modern-single-post {
    --tfid-green: #78a96b;
    --tfid-bg: #080b09;
    --tfid-panel: #101511;
    --tfid-border: rgba(120,169,107,.18);
    --tfid-text: #d9dedb;
    --tfid-muted: #929b96;
}

/* Main Blocksy content area */
.tfid-modern-single-post .entry-content {
    max-width: 860px;
    margin-inline: auto;
}

/* Post title */
.tfid-modern-single-post .entry-header .page-title,
.tfid-modern-single-post .entry-header h1,
.tfid-modern-single-post h1.page-title {
    max-width: 980px;
    margin-inline: auto;
    color: #fff;
    font-size: clamp(36px, 5.2vw, 58px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 750;
}

/* Header breathing room */
.tfid-modern-single-post .entry-header {
    max-width: 1100px;
    margin-inline: auto;
    padding-top: 48px;
    padding-bottom: 20px;
}

/* Meta */
.tfid-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    color: var(--tfid-muted);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .01em;
}

.tfid-post-meta strong {
    color: #c9d0cc;
    font-weight: 650;
}

/* Summary */
.tfid-summary {
    margin: 0 0 32px;
    padding: 24px 26px;
    background: var(--tfid-panel);
    border: 1px solid var(--tfid-border);
    border-left: 3px solid var(--tfid-green);
    border-radius: 12px;
}

.tfid-summary-label {
    margin-bottom: 9px;
    color: var(--tfid-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.tfid-summary-text,
.tfid-summary-text p {
    margin: 0;
    color: #d9dedb;
    font-size: 17px;
    line-height: 1.65;
}

/* TOC */
.tfid-toc {
    margin: 0 auto 38px;
    padding: 23px 26px;
    max-width: 860px;
    background: var(--tfid-panel);
    border: 1px solid var(--tfid-border);
    border-radius: 12px;
}

.tfid-toc-title {
    margin-bottom: 13px;
    color: #fff;
    font-size: 16px;
    font-weight: 750;
}

.tfid-toc ol {
    margin: 0;
    padding-left: 20px;
}

.tfid-toc li {
    margin: 6px 0;
    padding-left: 2px;
    color: #69736d;
}

.tfid-toc li.tfid-toc-sub {
    margin-left: 15px;
    font-size: .94em;
}

.tfid-toc a {
    color: #cbd2ce;
    text-decoration: none;
}

.tfid-toc a:hover {
    color: var(--tfid-green);
}

/* Article */
.tfid-article-content {
    color: var(--tfid-text);
    font-size: 18px;
    line-height: 1.82;
}

.tfid-article-content p {
    margin: 0 0 1.25em;
}

.tfid-article-content h2 {
    margin: 1.9em 0 .65em;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 37px);
    line-height: 1.18;
    letter-spacing: -.02em;
}

.tfid-article-content h3 {
    margin: 1.55em 0 .6em;
    color: #fff;
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.28;
}

.tfid-article-content h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: .85em;
    margin-right: 11px;
    vertical-align: -.05em;
    background: var(--tfid-green);
    border-radius: 4px;
}

.tfid-article-content a {
    color: var(--tfid-green);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tfid-article-content a:hover {
    color: #a8c99d;
}

.tfid-article-content img,
.tfid-article-content figure {
    border-radius: 12px;
}

.tfid-article-content figure {
    margin: 1.7em 0;
}

.tfid-article-content blockquote {
    margin: 1.8em 0;
    padding: 20px 24px;
    background: var(--tfid-panel);
    border-left: 3px solid var(--tfid-green);
    border-radius: 0 10px 10px 0;
}

.tfid-article-content table {
    width: 100%;
    margin: 1.8em 0;
    border-collapse: collapse;
    background: var(--tfid-panel);
    border: 1px solid var(--tfid-border);
}

.tfid-article-content th,
.tfid-article-content td {
    padding: 12px 14px;
    border: 1px solid var(--tfid-border);
}

.tfid-article-content th {
    color: #fff;
}

.tfid-article-content hr {
    border: 0;
    border-top: 1px solid var(--tfid-border);
    margin: 2.5em 0;
}

/* Smooth anchor positioning */
.tfid-article-content h2,
.tfid-article-content h3 {
    scroll-margin-top: 100px;
}

/* Mobile */
@media (max-width: 689px) {
    .tfid-modern-single-post .entry-header {
        padding-top: 28px;
        padding-bottom: 14px;
    }

    .tfid-modern-single-post .entry-header .page-title,
    .tfid-modern-single-post .entry-header h1,
    .tfid-modern-single-post h1.page-title {
        font-size: 35px;
        line-height: 1.12;
    }

    .tfid-modern-single-post .entry-content,
    .tfid-article-content {
        font-size: 17px;
    }

    .tfid-post-meta {
        gap: 6px;
        font-size: 12px;
        margin-bottom: 22px;
    }

    .tfid-summary,
    .tfid-toc {
        padding: 20px;
    }

    .tfid-article-content h2::before {
        width: 3px;
        margin-right: 8px;
    }
}
