.blog-page {
    padding: 100px 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-post-card {
    background: rgba(20,20,30,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 10px 40px rgba(0,255,255,0.2);
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.post-category {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
}

.post-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:hover {
    color: #00ffff;
}

.post-excerpt {
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #00ffff;
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.post-stats i {
    color: #00ffff;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: #00ffff;
    color: #000;
    border-color: #00ffff;
}

/* Сайдбар */
.sidebar-widget {
    background: rgba(20,20,30,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,255,255,0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #00ffff;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s;
}

.category-list a:hover {
    background: rgba(0,255,255,0.1);
    transform: translateX(5px);
}

.category-list .count {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.6;
}

.popular-list {
    list-style: none;
}

.popular-list li {
    margin-bottom: 15px;
}

.popular-list a {
    color: inherit;
    text-decoration: none;
}

.popular-list h4 {
    font-size: 16px;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.popular-list a:hover h4 {
    color: #00ffff;
}

.popular-list .meta {
    font-size: 12px;
    opacity: 0.6;
}

/* Страница отдельного поста */
.post-page {
    padding: 100px 0;
}

.post-full {
    max-width: 800px;
    margin: 0 auto;
}

.post-full .post-header {
    margin-bottom: 30px;
}

.post-full .post-title {
    font-size: 42px;
    line-height: 1.3;
    margin: 15px 0;
}

.post-featured-image {
    margin: 30px 0;
    border-radius: 20px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 28px;
    margin: 30px 0 15px;
    color: #00ffff;
}

.post-content h3 {
    font-size: 24px;
    margin: 25px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.post-content pre {
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid rgba(0,255,255,0.2);
    margin: 20px 0;
}

.post-content code {
    font-family: 'Courier New', monospace;
}

.post-tags {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.post-tags i {
    color: #00ffff;
}

.tag {
    padding: 5px 12px;
    background: rgba(0,255,255,0.1);
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.tag:hover {
    background: #00ffff;
    color: #000;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 30px 0;
}

.post-likes {
    display: flex;
    gap: 15px;
}

.like-button,
.dislike-button {
    background: transparent;
    border: 1px solid rgba(0,255,255,0.3);
    color: inherit;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.like-button.active,
.dislike-button.active {
    background: rgba(0,255,255,0.2);
    border-color: #00ffff;
}

.like-button:hover {
    border-color: #ff4444;
    color: #ff4444;
}

.dislike-button:hover {
    border-color: #ffaa00;
    color: #ffaa00;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share a {
    color: inherit;
    font-size: 20px;
    transition: all 0.3s;
}

.post-share a:hover {
    color: #00ffff;
    transform: translateY(-2px);
}

/* Комментарии */
.post-comments-section {
    margin-top: 50px;
}

.comment-form {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.comment-form textarea {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(0,255,255,0.2);
    color: inherit;
    resize: vertical;
    min-height: 80px;
}

.comments-list {
    margin-top: 30px;
}

.comment {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #00ffff;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #00ffff;
}

.comment-date {
    font-size: 12px;
    opacity: 0.6;
}

.comment-text {
    line-height: 1.6;
}

.comment-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.comment-actions button {
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-actions button:hover {
    opacity: 1;
    color: #ff4444;
}