﻿.sidebar-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #154abf;
    position: relative;
}

    .sidebar-title::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 50px;
        height: 3px;
        background: #ff6b35;
    }

.blog-post-single {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
}

    .blog-post-single:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .blog-post-single:last-child {
        margin-bottom: 0;
    }

.blog-post-link {
    display: flex;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

    .blog-post-link:hover {
        text-decoration: none;
    }

.blog-post-thumbnail {
    width: 100px;
    min-width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

    .blog-post-thumbnail::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(21, 74, 191, 0.1), rgba(255, 107, 53, 0.1));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.blog-post-link:hover .blog-post-thumbnail::before {
    opacity: 1;
}


.blog-post-single-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}


.blog-post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

    .blog-post-date i {
        font-size: 12px;
        color: #154abf;
    }

.blog-post-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-link:hover .blog-post-title {
    color: #154abf;
}


.no-posts {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-style: italic;
}


@media (max-width: 1199px) {
    .blog-post-thumbnail {
        width: 90px;
        min-width: 90px;
        height: 90px;
    }

    .blog-post-title {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .blog-post-single {
        margin-bottom: 15px;
    }

    .blog-post-link {
        padding: 12px;
        gap: 12px;
    }

    .blog-post-thumbnail {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }

    .sidebar-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}
 
.blog-post-thumbnail {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iI2YwZjBmMCIvPjx0ZXh0IHg9IjUwIiB5PSI1MCIgZm9udC1mYW1pbHk9IkFyaWFsIiBmb250LXNpemU9IjEyIiBmaWxsPSIjY2NjIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBkeT0iLjNlbSI+SW1hZ2U8L3RleHQ+PC9zdmc+');
}



.blog__sidebar-single-blog-image img{
    object-fit : contain !important;
}


 
.related-posts-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 50px;
}

.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #154abf;
    text-align: center;
}

.related-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .related-post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

    .related-post-card a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .related-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 20px;
}

.related-post-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

    .related-post-date i {
        margin-right: 5px;
    }

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #154abf;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.blog-content {
    line-height: 1.8;
    font-size: 16px;
}

    .blog-content h3 {
        margin-top: 30px;
        margin-bottom: 15px;
        color: #154abf;
    }

    .blog-content p {
        margin-bottom: 20px;
    }

    .blog-content ul {
        margin: 20px 0;
        padding-left: 25px;
    }

    .blog-content li {
        margin-bottom: 10px;
    }

.blog-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
