.post-header {
    margin-top: 40px;
    margin-bottom: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--accent-subtle);
}

.post-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.post-meta {
    display: flex;
    gap: 25px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
}

.post-tag {
    color: var(--text-secondary);
    opacity: 0.8;
}

.post-content {
    line-height: 1.65;
    font-size: 1rem;
    /* max-width: 760px; */
}

.post-actions {
    position: fixed;
    right: 28px;
    --post-actions-bottom-base: 20px;
    --post-actions-bottom: var(--post-actions-bottom-base);
    bottom: var(--post-actions-bottom);
    display: flex;
    gap: 10px;
    z-index: 50;
}

.post-action {
    width: 44px;
    height: 44px;
    border: 1px solid var(--accent-subtle);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.post-action:hover {
    opacity: 0.55;
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.02);
}

.post-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

.post-top.is-visible {
    opacity: 0.55;
    pointer-events: auto;
    transform: translateY(0);
}

.post-content > :first-child { margin-top: 0; }
.post-content > :last-child { margin-bottom: 0; }

.post-content h2 {
    margin-top: 36px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    letter-spacing: -0.4px;
}

.post-content h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.post-content p { margin-bottom: 14px; }
.post-content hr { margin: 28px 0; }

.post-content ul {
    margin-top: 4px;
    margin-bottom: 10px;
    padding-left: 22px;
    list-style-type: disc;
}

.post-content ol {
    margin-top: 6px;
    margin-bottom: 14px;
    padding-left: 22px;
    list-style-type: decimal;
}

.post-content li {
    margin-top: 1px;
    margin-bottom: 1px;
    padding-left: 4px;
}

.post-content li p {
    margin-bottom: 0;
    margin-top: 0;
}

.post-content li li {
    margin-bottom: 2px;
}

.post-content li:last-child {
    margin-bottom: 0;
}

.post-content ul ul,
.post-content ol ul,
.post-content ul ol,
.post-content ol ol {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .post-actions {
        right: 18px;
        --post-actions-bottom-base: 70px;
    }
}
