/* Tailwind is loaded via CDN in main.html */
/* Custom overrides if needed */
.prose img {
    border-radius: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    color: #000;
}
.prose h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    color: #000;
}
.prose a {
    color: #800020;
    text-decoration: underline;
}
.prose a:hover {
    color: #600018;
}
.prose p {
    margin-bottom: 1.5rem;
}

/* Стили статьи как выше, но в сокращенном виде */
.post .main-content-text {
    text-align: justify;
    max-width: 100%;
}

.post .main-content-text p {
    margin: 0 0 1em 0;
    padding: 0;
    text-align: justify;
    line-height: 1.6;
}

.post .main-content-text h1,
.post .main-content-text h2,
.post .main-content-text h3 {
    padding: 0;
    text-align: left;
}

/* Минимальная версия */
.post .main-content-text.minimal p {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .post .main-content-text,
    .post .main-content-text p {
        text-align: left;
    }
}

/* Списки в статье */
.prose ul,
.post .main-content-text ul {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0 1.5rem;
}

.prose ul li,
.post .main-content-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.prose ul li::before,
.post .main-content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: #15803d;
    border-radius: 50%;
    flex-shrink: 0;
}

.prose ol,
.post .main-content-text ol {
    list-style: none;
    counter-reset: ol-counter;
    padding-left: 0;
    margin: 1.25rem 0 1.5rem;
}

.prose ol li,
.post .main-content-text ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
    counter-increment: ol-counter;
}

.prose ol li::before,
.post .main-content-text ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 1.4rem;
    height: 1.4rem;
    background-color: #15803d;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
ntvk-tag.ntvk-frame.banner {
    zoom: 0.8;
}
