
    
    .article-container {
        background: var(--surface);
        border-radius: 28px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        overflow: hidden;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .article-header {
        padding: 50px 40px 30px 40px;
        border-bottom: 1px solid var(--border);
        background: linear-gradient(to bottom, var(--bg), var(--surface));
    }
    .article-title {
        color: var(--text-main);
        font-size: 3rem;
        margin: 0 0 25px 0;
        line-height: 1.2;
        font-weight: 900;
    }

    .article-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .author-block {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }
    .author-avatar-big {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--accent-light);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--border);
        overflow: hidden;
        color: var(--accent);
        font-weight: 800;
        font-size: 1.2rem;
    }
    .author-avatar-big img { width: 100%; height: 100%; object-fit: cover; }

    .article-content {
        padding: 40px;
        line-height: 1.8;
        font-size: 1.15rem;
        color: var(--text-main);
        white-space: pre-wrap;
    }

    .article-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 0 40px 40px 40px;
    }
    .gallery-img-box {
        aspect-ratio: 1/1;
        border-radius: 16px;
        overflow: hidden;
        background: var(--bg);
        border: 1px solid var(--border);
        cursor: zoom-in;
        position: relative;
    }
    .gallery-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .gallery-img-box:hover img { transform: scale(1.05); }

    .comments-section {
        margin-top: 20px;
        margin-bottom: 60px;
    }
    .comments-title {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--text-main);
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .comments-count-badge {
        background: var(--accent);
        color: white;
        padding: 2px 14px;
        border-radius: 14px;
        font-size: 1.1rem;
    }

    .comment-form-box {
        background: var(--surface);
        padding: 20px;
        border-radius: 20px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        margin-bottom: 30px;
    }
    .comment-textarea {
        width: 100%;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 15px;
        color: var(--text-main);
        font-family: inherit;
        font-size: 1rem;
        resize: vertical;
        outline: none;
        transition: 0.2s;
    }
    .comment-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-light); }

    .comment-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 15px;
        transition: 0.2s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    }
    .comment-card:hover { border-color: var(--accent); }
    .comment-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
    .comment-text {
        font-size: 1.05rem;
        color: var(--text-main);
        line-height: 1.6;
        word-break: break-word;
    }

    @media (max-width: 768px) {
        .article-header { padding: 30px 20px; }
        .article-title { font-size: 2.2rem; }
        .article-content { padding: 20px; font-size: 1.05rem; }
        .article-gallery { padding: 0 20px 30px 20px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeOut {
        from { opacity: 1; transform: scale(1); }
        to { opacity: 0; transform: scale(0.9); height: 0; padding: 0; margin: 0; border: none; }
    }