/* Blog Page Styles */

.blog-page {
    padding: 120px 0 90px;
}

/* Blog List Styles */
.news-block.style-three {
    transition: all 0.3s ease;
}

.news-block.style-three:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-block .image-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.news-block .image-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-block:hover .image-box img {
    transform: scale(1.05);
}

.news-block .info-box {
    position: absolute;
    bottom: 0px;
    left: 20px;
    background: rgba(14, 164, 118, 0.9);
    color: white;
    padding: 5px 5px;
    border-radius: 5px;
}

.news-block .category a {
    display: inline-block;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: #0ea476;
    transition: all 0.3s ease;
}

.news-block .category a:hover {
    background: #0ea476;
    color: white;
}

.news-block .author-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.news-block .author-info {
    display: flex;
    align-items: center;
}

.news-block .author-image {
    margin-right: 15px;
}

.news-block .author-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Blog Detail Styles */
.blog-single-post .image-box {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-single-post .post-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-single-post .post-info i {
    margin-right: 5px;
    color: #0ea476;
}

.blog-single-post .summary-box {
    background: #f8f9fa;
    border-left: 4px solid #0ea476;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.blog-content {
    line-height: 1.8;
    color: #333;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
}

.blog-content p {
    margin-bottom: 15px;
}

.blog-content ul,
.blog-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

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

.blog-gallery .fancybox-image {
    cursor: pointer;
}

.blog-gallery img {
    transition: all 0.3s ease;
}

.blog-gallery img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.post-share-options .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.post-share-options .social-links a:hover {
    background: #0ea476;
    color: white;
}

.related-posts .news-block {
    transition: all 0.3s ease;
}

.related-posts .news-block:hover {
    transform: translateY(-5px);
}

.comments-area .comment {
    transition: all 0.3s ease;
}

.comments-area .comment:hover {
    background: #f8f9fa;
}

/* Sidebar Styles */
.sidebar-widget.search-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.sidebar-widget.search-box input {
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    padding: 12px 20px;
    width: calc(100% - 50px);
    float: left;
}

.sidebar-widget.search-box button {
    width: 50px;
    height: 46px;
    background: #0ea476;
    border: none;
    border-radius: 0 5px 5px 0;
    color: white;
    cursor: pointer;
    float: left;
    transition: all 0.3s ease;
}

.sidebar-widget.search-box button:hover {
    background: #0c8d63;
}

.blog-categories-widget li {
    transition: all 0.3s ease;
}

.blog-categories-widget li:hover {
    background: #0ea476 !important;
}

.blog-categories-widget li:hover a {
    color: white !important;
}

.blog-categories-widget li.current {
    background: #0ea476 !important;
}

.blog-categories-widget li.current a {
    color: white !important;
}

.news-widget .single-news {
    transition: all 0.3s ease;
}

.news-widget .single-news:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.contact-widget-two {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.contact-widget-two .image {
    height: 200px;
    overflow: hidden;
}

.contact-widget-two .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-widget-two .contact-info {
    padding: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-page {
        padding: 80px 0 50px;
    }
    
    .news-block .image-box img {
        height: 300px;
    }
    
    .news-block .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .news-block .author-box .theme-btn {
        margin-top: 15px;
    }
}

@media (max-width: 575px) {
    .blog-page {
        padding: 60px 0 40px;
    }
    
    .news-block .image-box img {
        height: 250px;
    }
    
    .post-share-options {
        flex-direction: column !important;
    }
    
    .post-share-options .tags,
    .post-share-options .social-links {
        margin-bottom: 15px;
    }
}
