/* Blog Styles */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-content {
    margin-bottom: 40px;
}

/* Blog Post Card */
.news-block-one {
    margin-bottom: 30px;
}

.news-block-one .inner-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-block-one .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-block-one .image-holder {
    position: relative;
    overflow: hidden;
}

.news-block-one .image-holder img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-block-one .inner-box:hover .image-holder img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b35;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-block-one .lower-content {
    padding: 25px;
}

.news-block-one .post-meta {
    margin-bottom: 15px;
}

.news-block-one .post-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.news-block-one .post-meta li {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}

.news-block-one .post-meta i {
    margin-right: 5px;
    color: #ff6b35;
}

.news-block-one h4 {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.4;
}

.news-block-one h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-block-one h4 a:hover {
    color: #ff6b35;
}

.news-block-one .text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-block-one .category {
    margin-bottom: 15px;
}

.news-block-one .category a {
    background: #f0f0f0;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-block-one .category a:hover {
    background: #ff6b35;
    color: #fff;
}

.news-block-one .read-more {
    text-align: right;
}

.news-block-one .read-more a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-block-one .read-more a:hover {
    color: #333;
}

.news-block-one .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-block-one .read-more a:hover i {
    transform: translateX(3px);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.widget-title h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

/* Search Widget */
.search-form .form-group {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6b35;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #333;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list li.active a {
    color: #ff6b35;
    font-weight: 600;
}

.categories-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #ff6b35;
}

.categories-list .count {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Recent Posts Widget */
.post-list .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.post-list .post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-list .post-item .image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.post-list .post-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-list .post-item .content h5 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-list .post-item .content h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-list .post-item .content h5 a:hover {
    color: #ff6b35;
}

.post-list .post-item .content .date {
    font-size: 12px;
    color: #666;
}

/* Blog Detail */
.blog-detail-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-detail-content .inner-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.blog-detail-content .post-meta {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-detail-content .post-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-detail-content .post-meta li {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.blog-detail-content .post-meta i {
    margin-right: 8px;
    color: #ff6b35;
}

.blog-detail-content .image-holder {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-detail-content .image-holder img {
    width: 100%;
    height: auto;
}

.blog-detail-content h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.3;
}

.blog-detail-content .text-content {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.blog-detail-content .text-content h3 {
    font-size: 20px;
    margin: 25px 0 15px 0;
    color: #333;
}

.blog-detail-content .text-content p {
    margin-bottom: 15px;
}

.blog-detail-content .text-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.blog-detail-content .text-content li {
    margin-bottom: 8px;
}

/* Tags */
.post-tags {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list li a {
    background: #f0f0f0;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags-list li a:hover {
    background: #ff6b35;
    color: #fff;
}

/* Share Buttons */
.post-share {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-share h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    color: #666;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links li a:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.related-posts .sec-title h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

/* Search Results */
.search-results-header {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-results-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.search-results-header p {
    color: #666;
    margin: 0;
}

/* No Posts */
.no-posts {
    background: #fff;
    border-radius: 10px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-posts h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.no-posts p {
    color: #666;
    margin-bottom: 25px;
}

.search-suggestions {
    margin: 25px 0;
    text-align: left;
    display: inline-block;
}

.search-suggestions h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    color: #666;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.search-suggestions li:before {
    content: "•";
    color: #ff6b35;
    position: absolute;
    left: 0;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pagination li {
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 12px 16px;
    background: #fff;
    color: #666;
    text-decoration: none;
    border-right: 1px solid #eee;
    transition: all 0.3s ease;
}

.pagination li:last-child a,
.pagination li:last-child span {
    border-right: none;
}

.pagination li a:hover,
.pagination li span.current {
    background: #ff6b35;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-section {
        padding: 40px 0;
    }
    
    .blog-detail-section {
        padding: 40px 0;
    }
    
    .blog-detail-content .inner-box {
        padding: 25px;
    }
    
    .blog-detail-content h2 {
        font-size: 22px;
    }
    
    .news-block-one .post-meta ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .related-posts {
        padding: 20px;
    }
} 