/* Blog Common Styles */
.yo-blog-hero {
    background-image: url('../images/blog/blog-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.yo-blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.yo-blog-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.yo-blog-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.yo-blog-hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}

.yo-blog-search {
    max-width: 600px;
    margin: 0 auto;
}

.yo-blog-search form {
    display: flex;
    position: relative;
}

.yo-blog-search input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
}

.yo-blog-search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 60px;
    background-color: #97ae76;
    border: none;
    border-radius: 0 50px 50px 0;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yo-blog-search button:hover {
    background-color: #7e9150;
}

.yo-section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.yo-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: #97ae76;
}

/* Blog Posts Styles */
.yo-featured-posts-wrapper {
    margin-bottom: 60px;
}

.yo-featured-post {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.yo-featured-post-image {
    width: 50%;
    position: relative;
}

.yo-featured-post-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.yo-featured-post-content {
    width: 50%;
    padding: 40px;
}

.yo-post-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: #97ae76;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}

.yo-post-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.yo-post-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.yo-post-meta {
    display: flex;
    margin-bottom: 20px;
}

.yo-post-date, .yo-post-author, .yo-post-comments {
    margin-right: 20px;
    color: #777;
    font-size: 14px;
}

.yo-post-date i, .yo-post-author i, .yo-post-comments i {
    margin-right: 5px;
    color: #97ae76;
}

.yo-post-link {
    display: inline-flex;
    align-items: center;
    color: #97ae76;
    font-weight: 600;
    transition: all 0.3s ease;
}

.yo-post-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.yo-post-link:hover {
    color: #7e9150;
}

.yo-post-link:hover i {
    transform: translateX(5px);
}

.yo-blog-post {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.yo-blog-post:hover {
    transform: translateY(-5px);
}

.yo-blog-post-image {
    position: relative;
}

.yo-blog-post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.yo-post-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yo-post-date .day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #333;
}

.yo-post-date .month {
    font-size: 12px;
    text-transform: uppercase;
    color: #777;
}

.yo-blog-post-content {
    padding: 25px;
}

.yo-post-categories {
    margin-bottom: 10px;
}

.yo-post-categories a {
    display: inline-block;
    padding: 3px 10px;
    background-color: #97ae76;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.yo-post-categories a:hover {
    background-color: #7e9150;
}

.yo-blog-post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.yo-blog-post-title a {
    color: #333;
    transition: all 0.3s ease;
}

.yo-blog-post-title a:hover {
    color: #97ae76;
}

.yo-post-excerpt {
    margin-bottom: 15px;
    color: #666;
}

.yo-read-more {
    display: inline-flex;
    align-items: center;
    color: #97ae76;
    font-weight: 600;
    transition: all 0.3s ease;
}

.yo-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.yo-read-more:hover {
    color: #7e9150;
}

.yo-read-more:hover i {
    transform: translateX(3px);
}

/* Sidebar Styles */
.yo-blog-sidebar {
    margin-bottom: 30px;
}

.yo-sidebar-widget {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.yo-widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.yo-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #97ae76;
}

.yo-about-widget img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.yo-social-links {
    display: flex;
    margin-top: 15px;
}

.yo-social-links a {
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.yo-social-links a:hover {
    background-color: #97ae76;
    color: #fff;
}

.yo-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yo-category-list li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.yo-category-list li:last-child {
    border-bottom: none;
}

.yo-category-list li a {
    color: #555;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.yo-category-list li a:hover {
    color: #97ae76;
}

.yo-popular-post {
    display: flex;
    margin-bottom: 15px;
}

.yo-popular-post:last-child {
    margin-bottom: 0;
}

.yo-popular-post-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.yo-popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.yo-popular-post-content h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
}

.yo-popular-post-content h4 a {
    color: #333;
    transition: all 0.3s ease;
}

.yo-popular-post-content h4 a:hover {
    color: #97ae76;
}

.yo-newsletter-form {
    position: relative;
}

.yo-newsletter-form input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 0 20px;
    font-size: 14px;
}

.yo-newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 46px;
    padding: 0 20px;
    background-color: #97ae76;
    border: none;
    color: #fff;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yo-newsletter-form button:hover {
    background-color: #7e9150;
}

.yo-tags-cloud {
    display: flex;
    flex-wrap: wrap;
}

.yo-tags-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f5f5f5;
    border-radius: 3px;
    color: #555;
    margin: 0 5px 10px 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.yo-tags-cloud a:hover {
    background-color: #97ae76;
    color: #fff;
}

/* Pagination */
.yo-blog-pagination {
    margin-top: 50px;
    text-align: center;
}

.yo-blog-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.yo-blog-pagination ul li {
    margin: 0 5px;
}

.yo-blog-pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
}

.yo-blog-pagination ul li a.active,
.yo-blog-pagination ul li a:hover {
    background-color: #97ae76;
    color: #fff;
}

/* Newsletter Section */
.yo-blog-newsletter-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    margin-top: 80px;
}

.yo-blog-newsletter-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 50px;
}

.yo-newsletter-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.yo-newsletter-form-inline {
    position: relative;
}

.yo-newsletter-form-inline input {
    width: 100%;
    height: 54px;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    padding: 0 150px 0 25px;
    font-size: 16px;
}

.yo-newsletter-form-inline button {
    position: absolute;
    right: 4px;
    top: 4px;
    height: 46px;
    padding: 0 25px;
    background-color: #97ae76;
    border: none;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yo-newsletter-form-inline button:hover {
    background-color: #7e9150;
}

/* Setup Notice */
.yo-blog-setup-notice {
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 50px 0;
    text-align: center;
}

.yo-notice-icon {
    font-size: 50px;
    color: #97ae76;
    margin-bottom: 20px;
}

.yo-blog-setup-notice h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.yo-notice-steps {
    text-align: left;
    max-width: 500px;
    margin: 20px auto 0;
}

.yo-notice-steps ol {
    padding-left: 20px;
}

/* Single Post Styles */
.yo-single-blog-breadcrumb {
    background-color: #f9f9f9;
    padding: 30px 0;
    margin-bottom: 60px;
}

.single-post-wrapper {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.post-head {
    margin-bottom: 30px;
}

.post-title {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.3;
}

.post-featured-image {
    margin-bottom: 30px;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.post-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2, 
.post-content h3, 
.post-content h4 {
    margin: 30px 0 15px;
}

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

.post-content li {
    margin-bottom: 10px;
}

.post-share {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin: 30px 0;
}

.share-title {
    font-weight: 600;
    margin-right: 15px;
}

.social-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin-right: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #555;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.social-links li:nth-child(1) a:hover {
    background-color: #3b5998;
}

.social-links li:nth-child(2) a:hover {
    background-color: #1da1f2;
}

.social-links li:nth-child(3) a:hover {
    background-color: #bd081c;
}

.post-author-info {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
}

.author-avatar {
    width: 100px;
    height: 100px;
    margin-right: 25px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.author-info p {
    color: #666;
    margin-bottom: 15px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    color: #555;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background-color: #97ae76;
    color: #fff;
}

.related-posts {
    margin: 50px 0;
}

.related-post-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.related-post-item:hover {
    transform: translateY(-5px);
}

.related-post-item .post-thumb {
    height: 180px;
}

.related-post-item .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-item .post-name {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.related-post-item .post-name a {
    color: #333;
    transition: all 0.3s ease;
}

.related-post-item .post-name a:hover {
    color: #97ae76;
}

.related-post-item .post-date {
    padding: 0 15px 15px;
    font-size: 13px;
    color: #777;
}

.comments-section {
    margin: 50px 0 20px;
}

.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 70px;
    height: 70px;
    margin-right: 20px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.comment-date {
    font-size: 13px;
    color: #777;
}

.comment-text p {
    color: #555;
    margin: 0;
}

.no-comments {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.comment-form-wrapper {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #97ae76;
    outline: none;
}

.comment-form textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    padding: 12px 30px;
    background-color: #97ae76;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #7e9150;
}

.yo-search-form {
    position: relative;
}

.yo-search-form input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 0 50px 0 20px;
    font-size: 14px;
}

.yo-search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 46px;
    width: 46px;
    background-color: transparent;
    border: none;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yo-search-form button:hover {
    color: #97ae76;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .yo-featured-post {
        flex-direction: column;
    }
    
    .yo-featured-post-image,
    .yo-featured-post-content {
        width: 100%;
    }
    
    .yo-featured-post-image img {
        height: 300px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .yo-blog-hero {
        padding: 80px 0;
    }
    
    .yo-blog-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .yo-blog-hero {
        padding: 60px 0;
    }
    
    .yo-blog-hero-title {
        font-size: 30px;
    }
    
    .yo-featured-post-content {
        padding: 25px;
    }
    
    .yo-featured-post-image img {
        height: 250px;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .yo-blog-newsletter-container {
        padding: 30px;
    }
    
    .yo-newsletter-form-inline button {
        position: static;
        width: 100%;
        margin-top: 10px;
        border-radius: 50px;
    }
    
    .yo-newsletter-form-inline input {
        padding: 0 25px;
    }
    
    .post-author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto 15px;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin: 0 auto 15px;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-date {
        margin-top: 5px;
    }
} 