/* Blog Listing Styles */
.blog-hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.blog-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-listing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.blog-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-post-image-link {
    display: block;
    text-decoration: none;
}

.blog-post-image {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    overflow: hidden;
}

.blog-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #667eea;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}

.blog-post-content {
    padding: 30px;
}

.blog-post-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.blog-post-meta span i {
    margin-right: 6px;
}

.blog-post-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.blog-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #667eea;
}

.blog-post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
    display: none;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-widget {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.blog-widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.blog-search-widget {
    padding: 20px;
}

.blog-search-form {
    position: relative;
}

.blog-search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.blog-search-input:focus {
    outline: none;
    border-color: #667eea;
}

.blog-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #667eea;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-search-btn:hover {
    background: #5568d3;
}

.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.blog-category-list li:last-child {
    border-bottom: none;
}

.blog-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-category-list a:hover {
    color: #667eea;
    padding-left: 8px;
}

.blog-category-list span {
    color: #999;
    font-size: 13px;
}

.blog-popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-popular-post {
    display: flex;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.blog-popular-post:hover {
    transform: translateX(4px);
}

.blog-popular-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.blog-popular-post-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.blog-popular-date {
    font-size: 12px;
    color: #999;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    color: #333;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: #667eea;
    color: #fff;
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
}

.blog-pagination .pagination {
    justify-content: center;
    gap: 8px;
}

.blog-pagination .page-link {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
    color: #333;
    font-weight: 500;
}

.blog-pagination .page-item.active .page-link {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
}

.blog-pagination .page-link:hover {
    background: #f8f9fa;
    color: #667eea;
}