/* ===== БАЗОВАЯ ТИПОГРАФИКА СТАТЕЙ ===== */
/* Премиальный дизайн: шёлковый айвори, золото, графит, Cormorant Garamond */

/* Заголовки */
.article-content h2,
.post-content h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: #3B3A36;
}

.article-content h3,
.post-content h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
    color: #3B3A36;
}

.article-content h4,
.post-content h4 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #3B3A36;
}

/* Абзацы */
.article-content p,
.post-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: #3B3A36;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Списки */
.article-content ul,
.article-content ol,
.post-content ul,
.post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content li,
.post-content li {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    color: #3B3A36;
}

.article-content ul li,
.post-content ul li {
    list-style-type: disc;
}

.article-content ol li,
.post-content ol li {
    list-style-type: decimal;
}

/* Таблицы */
.article-content table,
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    display: block;
}

.article-content th,
.article-content td,
.post-content th,
.post-content td {
    padding: 0.875rem 1rem;
    border: 1px solid #E9DFCE;
    text-align: left;
    background: #FFFFFF;
    font-size: 1rem;
    color: #3B3A36;
}

.article-content th,
.post-content th {
    background-color: #FBF8F2;
    font-weight: 500;
    color: #3B3A36;
}

.article-content tr:nth-child(even),
.post-content tr:nth-child(even) {
    background-color: #FAF9F7;
}

/* Цитаты */
.article-content blockquote,
.post-content blockquote {
    border-left: 3px solid #C6A969;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #8A857C;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.15rem;
}

.article-content blockquote p,
.post-content blockquote p {
    margin-bottom: 0;
}

/* Блок «Важно» */
.article-important,
.post-important {
    background-color: #FFF8F0;
    border-left: 3px solid #C6A969;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.article-important strong,
.post-important strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #B8935A;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.1rem;
}

/* Блок «Совет» */
.article-tip,
.post-tip {
    background-color: #F5F9F4;
    border-left: 3px solid #8FA998;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.article-tip strong,
.post-tip strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #5A7D6E;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.1rem;
}

/* Картинки с подписями */
.article-content figure,
.post-content figure {
    margin: 2rem 0;
}

.article-content img,
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.article-content figcaption,
.post-content figcaption {
    font-size: 0.875rem;
    color: #8A857C;
    margin-top: 0.75rem;
    text-align: center;
    font-style: italic;
    font-family: "Cormorant Garamond", Georgia, serif;
}

/* Ссылки в контенте */
.article-content a,
.post-content a {
    color: #C6A969;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover,
.post-content a:hover {
    color: #3B3A36;
}

/* Дисклеймер */
.article-disclaimer,
.post-disclaimer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E9DFCE;
    font-size: 0.875rem;
    color: #8A857C;
    line-height: 1.6;
}

/* Адаптив */
@media (max-width: 768px) {
    .article-content h2,
    .post-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3,
    .post-content h3 {
        font-size: 1.25rem;
    }

    .article-content p,
    .post-content p,
    .article-content li,
    .post-content li {
        font-size: 1rem;
    }

    .article-content table,
    .post-content table {
        font-size: 0.875rem;
    }

    .article-content th,
    .article-content td,
    .post-content th,
    .post-content td {
        padding: 0.625rem;
    }
}
