.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-thumbnail {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

.blog-thumbnail img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-thumbnail:hover img {
    transform: scale(1.05);
}

.blog-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-meta span {
    margin-right: 1rem;
}

.blog-meta i {
    margin-right: 0.3rem;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-categories .badge {
    transition: background-color 0.3s ease;
    margin-right: 0.5rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.blog-categories .badge:hover {
    background-color: #0056b3 !important;
}

.blog-read-more {
    transition: all 0.3s ease;
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.blog-read-more:hover {
    color: #0056b3;
    transform: translateX(5px);
}

.card-title {
    margin-bottom: 1rem;
}

.card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #007bff;
}

@media (max-width: 767px) {
    .blog-thumbnail {
        aspect-ratio: 16/9;
    }
}

/* Single Post Styles */
.blog-single {
    max-width: 100%;
    margin: 0 auto;
}

.blog-single .post-thumbnail {
    margin: 0px;
}

.blog-single .post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.blog-single .entry-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.blog-single .post-meta {
    color: #666;
    font-size: 0.95rem;
}

.blog-single .post-meta a {
    color: #007bff;
    text-decoration: none;
}

.blog-single .post-meta a:hover {
    color: #0056b3;
}

.blog-single .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.blog-single .entry-content p {
    margin-bottom: 1.5rem;
}

.blog-single .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}

.blog-single .post-tags .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.blog-single .post-tags .badge:hover {
    background-color: #0056b3 !important;
    transform: translateY(-2px);
}

.blog-single .post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.blog-single .post-navigation a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 45%;
}

.blog-single .post-navigation a:hover {
    color: #007bff;
}

.blog-single .post-navigation .nav-previous i {
    margin-right: 0.5rem;
}

.blog-single .post-navigation .nav-next i {
    margin-left: 0.5rem;
}

@media (max-width: 767px) {
    .blog-single .entry-title {
        font-size: 2rem;
    }
    
    .blog-single .post-thumbnail {
        margin: -1rem -1rem 1.5rem;
    }
    
    .blog-single .post-navigation a {
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.blog-sidebar .widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-sidebar .widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
}

.blog-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar ul li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-sidebar a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-sidebar a:hover {
    color: #007bff;
}

/* Recent Posts Widget */
.widget_recent_entries .post-date {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Categories Widget */
.widget_categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories .count {
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
    color: #666;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 0.5rem;
}

.widget_search .search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.widget_search .search-submit {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget_search .search-submit:hover {
    background: #0056b3;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.widget_tag_cloud .tag-cloud-link {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 0.9rem !important;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget_tag_cloud .tag-cloud-link:hover {
    background: #007bff;
    color: #fff;
}

@media (max-width: 991px) {
    .blog-sidebar {
        margin-top: 3rem;
        position: static;
    }
} 