.single-post {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.post-header {
    background: linear-gradient(135deg, var(--header-color), #2a2a2a);
    color: white;
    padding: 30px;
    margin-bottom: 0;
}

.post-category {
    background-color: rgba(255,255,255,0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.post-title {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.8rem;
}

.post-body {
    padding: 30px;
}

.entry-content {
    font-size: 1.05rem;
}

.entry-content > div {
    margin-bottom: 20px;
}

.entry-content strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 5px;
    margin: 15px 0;
    display: block;
    transition: opacity 0.3s;
}

.entry-content img.lazy {
    opacity: 0;
}

.entry-content img.loaded {
    opacity: 1;
}

.entry-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.entry-content table, .entry-content th, .entry-content td {
    border: 1px solid #ddd;
}

.entry-content th, .entry-content td {
    padding: 10px;
    text-align: left;
}

.download-section {
    background-color: var(--light-color);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
}

.btn-download {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    border: none;
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
    transition: all 0.3s;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.4);
    color: white;
}

.share-block {
    padding: 20px 0;
}

.post-tags a {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.previous-post, .next-post {
    flex: 0 0 48%;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.previous-post:hover, .next-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.previous-post a, .next-post a {
    text-decoration: none;
    color: var(--dark-color);
}

.previous-post h6, .next-post h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.previous-post h3, .next-post h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.related-posts-block {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.news-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-color);
}

.list-group-item {
    border: none;
    padding: 12px 0;
    color: var(--dark-color);
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0 !important;
}

.list-group-item:hover {
    background-color: transparent;
    color: var(--primary-color);
    padding-left: 10px;
}

.list-group-item:last-child {
    border-bottom: none !important;
}