/* =====================================================
   Blog (home.php, archive.php, single.php)
   Reuses :root variables from home-v2.css
   ===================================================== */

.nt-blog {
    background: var(--mp-bg);
    color: var(--mp-fg);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}
.nt-blog * { box-sizing: border-box; }
.nt-blog img { max-width: 100%; height: auto; display: block; }

.nt-blog__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.nt-blog__container--narrow { max-width: 760px; }

/* -------- Hero header -------- */
.nt-blog__hero {
    position: relative;
    padding: 100px 0 60px;
    background:
        radial-gradient(circle at 20% 20%, rgba(52, 211, 153, 0.15), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.08), transparent 55%);
    border-bottom: 1px solid var(--mp-border);
    overflow: hidden;
}
.nt-blog__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(52, 211, 153, 0.18) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}
.nt-blog__hero > .nt-blog__container { position: relative; z-index: 1; }

.nt-blog__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.nt-blog__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--mp-fg);
    margin: 0 0 16px;
    max-width: 820px;
}
.nt-blog__subtitle {
    font-size: 18px;
    color: var(--mp-muted);
    margin: 0;
    max-width: 640px;
}

/* -------- Listing -------- */
.nt-blog__list {
    padding: 70px 0 100px;
}

.nt-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* -------- Card -------- */
.nt-post-card {
    position: relative;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(.16,1,.3,1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}
.nt-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.25);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
}
.nt-post-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.nt-post-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--mp-card-2);
}
.nt-post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}
.nt-post-card:hover .nt-post-card__media img {
    transform: scale(1.05);
}
.nt-post-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-subtle);
    font-size: 40px;
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.08), transparent 60%),
        var(--mp-card-2);
}
.nt-post-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.nt-post-card__cat {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.nt-post-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--mp-fg);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    transition: color 0.2s ease;
}
.nt-post-card:hover .nt-post-card__title { color: var(--mp-accent); }
.nt-post-card__excerpt {
    font-size: 14.5px;
    color: var(--mp-muted);
    margin: 0 0 18px;
}
.nt-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--mp-subtle);
    margin-bottom: 18px;
}
.nt-post-card__meta i { margin-right: 6px; color: var(--mp-accent); }
.nt-post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mp-accent);
}
.nt-post-card__more i { transition: transform 0.25s ease; }
.nt-post-card:hover .nt-post-card__more i { transform: translateX(4px); }

/* -------- Pagination -------- */
.nt-pagination {
    margin-top: 56px;
}
.nt-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.nt-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 10px;
    color: var(--mp-fg);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nt-pagination .page-numbers:hover {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.4);
    transform: translateY(-1px);
}
.nt-pagination .page-numbers.current {
    background: var(--mp-accent);
    border-color: var(--mp-accent);
    color: #0B0B0F;
    font-weight: 700;
}
.nt-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--mp-subtle);
}

/* -------- Empty state -------- */
.nt-blog__empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--mp-muted);
}
.nt-blog__empty i {
    font-size: 48px;
    color: var(--mp-accent);
    margin-bottom: 18px;
    display: inline-block;
}
.nt-blog__empty h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--mp-fg);
    margin: 0 0 10px;
}
.nt-blog__empty p { margin: 0 0 24px; }

/* =====================================================
   Single post — editorial layout
   ===================================================== */

/* Reading progress bar */
.nt-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mp-accent), #6EE7B7);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 200;
    pointer-events: none;
}
body.admin-bar .nt-reading-progress { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .nt-reading-progress { top: 46px; }
}

.nt-single__hero {
    position: relative;
    padding: 96px 0 40px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(52, 211, 153, 0.14), transparent 55%);
}
.nt-single__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(52, 211, 153, 0.18) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.nt-single__hero > .nt-blog__container { position: relative; z-index: 1; }

/* Breadcrumb */
.nt-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    font-size: 13px;
    color: var(--mp-subtle);
}
.nt-breadcrumb a {
    color: var(--mp-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nt-breadcrumb a:hover { color: var(--mp-accent); }
.nt-breadcrumb i { font-size: 9px; color: var(--mp-subtle); }

.nt-single__cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.nt-single__cat:hover { background: rgba(52, 211, 153, 0.22); }
.nt-single__title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--mp-fg);
    margin: 0 0 22px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.nt-single__lede {
    font-size: 19px;
    color: var(--mp-muted);
    line-height: 1.55;
    margin: 0 auto 34px;
    max-width: 680px;
}

.nt-single__byline {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}
.nt-author-mini {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.nt-author-mini:hover { border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.04); }
.nt-author-mini__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--mp-border-strong);
}
.nt-author-mini__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    text-align: left;
}
.nt-author-mini__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-fg);
}
.nt-author-mini__sub {
    font-size: 12px;
    color: var(--mp-muted);
}
.nt-dot-sep { margin: 0 4px; opacity: 0.5; }

/* Cover image */
.nt-single__cover {
    margin: 0;
    padding: 28px 0 0;
}
.nt-single__cover-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--mp-border-strong);
    aspect-ratio: 16 / 8;
    background: var(--mp-card);
    box-shadow: 0 40px 80px -30px rgba(52, 211, 153, 0.2),
                0 30px 60px -20px rgba(0, 0, 0, 0.7);
    max-width: 1080px;
    margin: 0 auto;
}
.nt-single__cover-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.08);
    pointer-events: none;
    z-index: 1;
}
.nt-single__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nt-single__body {
    padding: 64px 0 80px;
    position: relative;
}

/* Floating Table of Contents */
.nt-toc {
    position: fixed;
    top: 110px;
    right: 24px;
    width: 240px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 18px 18px 16px;
    background: rgba(24, 24, 27, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--mp-border);
    border-radius: 14px;
    z-index: 50;
    font-size: 13px;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
}
body.admin-bar .nt-toc { top: 142px; }
.nt-toc__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mp-accent);
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--mp-border);
}
.nt-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: nt-toc;
}
.nt-toc__item { position: relative; }
.nt-toc__item a {
    display: block;
    padding: 6px 10px 6px 14px;
    color: var(--mp-muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    line-height: 1.4;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.nt-toc__item--h3 a { padding-left: 26px; font-size: 12.5px; }
.nt-toc__item a:hover { color: var(--mp-fg); }
.nt-toc__item a.is-active {
    color: var(--mp-accent);
    border-left-color: var(--mp-accent);
    background: rgba(52, 211, 153, 0.06);
    font-weight: 600;
}

/* Floating share rail (desktop) */
.nt-share {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    z-index: 50;
}
.nt-share__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mp-subtle);
    margin-bottom: 4px;
}
.nt-share__btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 50%;
    color: var(--mp-muted);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nt-share__btn:hover {
    background: var(--mp-accent);
    color: #0B0B0F;
    border-color: var(--mp-accent);
    transform: translateY(-2px);
}
.nt-share__btn.is-copied {
    background: var(--mp-accent);
    color: #0B0B0F;
    border-color: var(--mp-accent);
}

@media (max-width: 1280px) {
    .nt-toc { display: none; }
}
@media (max-width: 1100px) {
    .nt-share {
        position: static;
        flex-direction: row;
        transform: none;
        justify-content: center;
        margin-bottom: 28px;
    }
    .nt-share__label {
        writing-mode: horizontal-tb;
        transform: none;
        margin: 0 6px 0 0;
        align-self: center;
    }
}
.nt-single__content {
    color: #E4E4E7;
    font-size: 18px;
    line-height: 1.8;
}
.nt-single__content > * { max-width: 100%; }
.nt-single__content p,
.nt-single__content ul,
.nt-single__content ol,
.nt-single__content blockquote,
.nt-single__content pre,
.nt-single__content figure { margin: 0 0 26px; }

/* Drop cap on first paragraph */
.nt-single__content > p:first-of-type::first-letter {
    float: left;
    font-size: 64px;
    line-height: 0.9;
    font-weight: 800;
    color: var(--mp-accent);
    margin: 6px 12px 0 0;
    letter-spacing: -0.04em;
}

.nt-single__content h2,
.nt-single__content h3,
.nt-single__content h4 {
    color: var(--mp-fg);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    scroll-margin-top: 100px;
    position: relative;
}
.nt-single__content h2 {
    font-size: 30px;
    margin: 56px 0 16px;
    padding-top: 8px;
}
.nt-single__content h3 { font-size: 22px; margin: 40px 0 12px; }
.nt-single__content h4 { font-size: 18px; margin: 32px 0 10px; }
.nt-single__content h2::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: var(--mp-accent);
    border-radius: 2px;
    margin-bottom: 14px;
}
.nt-single__content a {
    color: var(--mp-accent);
    text-decoration: underline;
    text-decoration-color: rgba(52, 211, 153, 0.4);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}
.nt-single__content a:hover { text-decoration-color: var(--mp-accent); }
.nt-single__content blockquote {
    position: relative;
    padding: 24px 28px 24px 56px;
    border-left: 3px solid var(--mp-accent);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0.02));
    color: var(--mp-fg);
    border-radius: 0 12px 12px 0;
    font-size: 19px;
    font-style: italic;
    line-height: 1.6;
}
.nt-single__content blockquote::before {
    content: "\201C";
    position: absolute;
    left: 18px;
    top: 0;
    font-family: Georgia, serif;
    font-size: 56px;
    color: var(--mp-accent);
    line-height: 1;
    font-style: normal;
    opacity: 0.5;
}
.nt-single__content pre {
    padding: 22px 24px;
    background: #0F0F12;
    border: 1px solid var(--mp-border);
    border-radius: 14px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
}
.nt-single__content pre::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 99, 99, 0.55);
    box-shadow:
        16px 0 0 rgba(255, 191, 80, 0.55),
        32px 0 0 rgba(80, 220, 120, 0.55);
}
.nt-single__content pre {
    padding-top: 36px;
}
.nt-single__content code {
    background: rgba(52, 211, 153, 0.1);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #6EE7B7;
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.nt-single__content pre code {
    background: transparent;
    padding: 0;
    color: #E4E4E7;
    font-size: 14px;
}
.nt-single__content img {
    border-radius: 14px;
    border: 1px solid var(--mp-border);
}
.nt-single__content figure { text-align: center; }
.nt-single__content figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--mp-subtle);
    font-style: italic;
}
.nt-single__content ul,
.nt-single__content ol { padding-left: 24px; }
.nt-single__content li { margin-bottom: 8px; }
.nt-single__content ul li::marker { color: var(--mp-accent); }
.nt-single__content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mp-border-strong), transparent);
    margin: 48px 0;
}
.nt-single__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 26px;
    font-size: 15px;
}
.nt-single__content th,
.nt-single__content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--mp-border);
    text-align: left;
}
.nt-single__content th {
    color: var(--mp-fg);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
}

.nt-single__tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--mp-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.nt-single__tags-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mp-subtle);
    margin-right: 8px;
}
.nt-single__tags a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    color: var(--mp-muted);
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nt-single__tags a:hover {
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border-color: rgba(52, 211, 153, 0.35);
    transform: translateY(-1px);
}
.nt-single__tags i { font-size: 11px; }

/* Author bio card */
.nt-author-card {
    display: flex;
    gap: 24px;
    margin-top: 56px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.06), transparent 60%), var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.nt-author-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--mp-accent), transparent);
}
.nt-author-card__avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mp-border-strong);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08);
}
.nt-author-card__body { flex: 1; min-width: 0; }
.nt-author-card__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mp-accent);
    margin-bottom: 6px;
}
.nt-author-card__name {
    font-size: 22px;
    font-weight: 800;
    color: var(--mp-fg);
    margin: 0 0 10px;
    letter-spacing: -0.015em;
}
.nt-author-card__bio {
    font-size: 15px;
    color: var(--mp-muted);
    line-height: 1.6;
    margin: 0 0 14px;
}
.nt-author-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-accent);
    text-decoration: none;
}
.nt-author-card__link i { transition: transform 0.25s ease; }
.nt-author-card__link:hover i { transform: translateX(4px); }

/* Prev / Next with thumbnails */
.nt-single__nav {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.nt-single__nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--mp-fg);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    overflow: hidden;
}
.nt-single__nav-link:hover {
    border-color: rgba(52, 211, 153, 0.35);
    transform: translateY(-2px);
    background: rgba(52, 211, 153, 0.04);
}
.nt-single__nav-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--mp-card-2);
    border: 1px solid var(--mp-border);
}
.nt-single__nav-thumb--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-subtle);
    font-size: 22px;
}
.nt-single__nav-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.nt-single__nav-link--next { text-align: right; }
.nt-single__nav-link--next .nt-single__nav-text { align-items: flex-end; }
.nt-single__nav-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--mp-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.nt-single__nav-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--mp-fg);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nt-single__comments {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--mp-border);
}
.nt-single__comments h2,
.nt-single__comments h3 { color: var(--mp-fg); }
.nt-single__comments .comment-list { list-style: none; padding: 0; }
.nt-single__comments input[type="text"],
.nt-single__comments input[type="email"],
.nt-single__comments input[type="url"],
.nt-single__comments textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 10px;
    color: var(--mp-fg);
    font-family: inherit;
    font-size: 15px;
}
.nt-single__comments input[type="submit"],
.nt-single__comments .submit {
    padding: 12px 24px;
    background: var(--mp-accent);
    color: #0B0B0F;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1023px) {
    .nt-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .nt-blog__hero { padding: 64px 0 40px; }
    .nt-blog__list { padding: 50px 0 70px; }
    .nt-post-grid { grid-template-columns: 1fr; }
    .nt-single__hero { padding: 70px 0 24px; }
    .nt-single__title { font-size: clamp(28px, 7vw, 36px); }
    .nt-single__lede { font-size: 16px; }
    .nt-single__nav { grid-template-columns: 1fr; }
    .nt-single__nav-link--next { text-align: left; }
    .nt-single__nav-link--next .nt-single__nav-text { align-items: flex-start; }
    .nt-single__cover-inner { aspect-ratio: 16 / 10; }
    .nt-single__content { font-size: 16.5px; }
    .nt-single__content > p:first-of-type::first-letter { font-size: 50px; }
    .nt-single__content h2 { font-size: 24px; margin-top: 40px; }
    .nt-single__content h3 { font-size: 19px; }
    .nt-single__content blockquote { padding: 20px 20px 20px 48px; font-size: 17px; }
    .nt-single__content blockquote::before { left: 14px; font-size: 44px; }
    .nt-author-card {
        flex-direction: column;
        gap: 18px;
        padding: 24px;
        text-align: center;
    }
    .nt-author-card__avatar { display: flex; justify-content: center; }
    .nt-author-card__avatar img { width: 80px; height: 80px; }
    .nt-single__nav-thumb { width: 64px; height: 64px; }
}
