/* ══════ Post Content ══════ */
.post-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #a1a1aa;
}

/* Заголовки */
.post-content h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #e4e4e7;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}
.post-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(99,102,241,.2);
}
.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #d4d4d8;
    margin: 2rem 0 0.75rem;
}
.post-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #a1a1aa;
    margin: 1.5rem 0 0.5rem;
}
.post-content h5,
.post-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #71717a;
    margin: 1.25rem 0 0.5rem;
}

/* Параграфи */
.post-content p {
    margin: 0 0 1.25rem;
    color: #a1a1aa;
}

/* Посилання */
.post-content a {
    color: #818cf8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}
.post-content a:hover { color: #a78bfa; }

/* Списки */
.post-content ul,
.post-content ol {
    margin: 0 0 1.25rem 1.5rem;
    padding: 0;
    color: #a1a1aa;
}
.post-content ul { list-style-type: disc; }
.post-content ol { list-style-type: decimal; }
.post-content li { margin-bottom: 0.4rem; }
.post-content li > ul,
.post-content li > ol { margin-top: 0.4rem; margin-bottom: 0; }

/* Цитата */
.post-content blockquote {
    border-left: 3px solid rgba(99,102,241,.6);
    background: rgba(99,102,241,.06);
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    border-radius: 0 8px 8px 0;
    color: #71717a;
    font-style: italic;
}
.post-content blockquote p { margin-bottom: 0; color: #71717a; }

/* Код inline */
.post-content code {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.88em;
    color: #c084fc;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Код блок */
.post-content pre {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.post-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #d4d4d8;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Таблиця */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.95rem;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(99,102,241,.2);
}
.post-content thead th {
    background: rgba(99,102,241,.1);
    color: #a78bfa;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(99,102,241,.2);
    letter-spacing: 0.03em;
}
.post-content tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .15s;
}
.post-content tbody tr:hover { background: rgba(99,102,241,.04); }
.post-content tbody td {
    padding: 10px 16px;
    color: #a1a1aa;
    vertical-align: top;
}

/* Горизонтальна лінія */
.post-content hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.06);
    margin: 2.5rem 0;
}

/* Зображення */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255,255,255,.08);
    display: block;
}

/* Strong / Em */
.post-content strong { color: #e4e4e7; font-weight: 600; }
.post-content em { color: #71717a; font-style: italic; }

/* Mark */
.post-content mark {
    background: rgba(99,102,241,.2);
    color: #c7d2fe;
    padding: 1px 4px;
    border-radius: 3px;
}

/* ══════ Мобільна адаптація ══════ */
@media (max-width: 768px) {
    .post-content { font-size: 1rem; }
    .post-content h1 { font-size: 1.6rem; }
    .post-content h2 { font-size: 1.3rem; }
    .post-content h3 { font-size: 1.15rem; }
    .post-content table { font-size: 0.85rem; }
    .post-content pre { padding: 0.85rem; }
}