/* Category Page Styles */

/* Breadcrumb Description */
.breadcrumb__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Subcategories Section */
.subcategories-section {
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.subcategories-section .section-title {
    font-size: 28px;
    color: #1a202c;
    font-weight: 600;
}

.subcategory-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.subcategory-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.subcategory-card .card-icon {
    width: 60px;
    height: 60px;
    background: #f0f7f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.subcategory-card:hover .card-icon {
    background: #006233;
    color: #fff;
}

.subcategory-card .card-icon i {
    font-size: 24px;
    color: #006233;
    transition: all 0.3s ease;
}

.subcategory-card:hover .card-icon i {
    color: #fff;
}

.subcategory-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a202c;
}

.subcategory-card .post-count {
    font-size: 14px;
    color: #666;
}

/* Blog Post Items */
.blog-post-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post-item:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.blog-post-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.blog-post-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-post-item:hover .blog-post-thumb img {
    transform: scale(1.05);
}

.blog-post-thumb .post-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #006233;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.blog-post-thumb .post-date .day {
    font-size: 24px;
    line-height: 1;
}

.blog-post-thumb .post-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.blog-post-content {
    padding: 30px;
}

.blog-post-content .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.blog-post-content .post-meta i {
    margin-right: 5px;
    color: #006233;
}

.blog-post-content .post-meta a {
    color: #666;
    text-decoration: none;
}

.blog-post-content .post-meta a:hover {
    color: #006233;
}

.blog-post-content .post-title {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-post-content .post-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-content .post-title a:hover {
    color: #006233;
}

.blog-post-content .post-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-post-content .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #006233;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-post-content .read-more-btn:hover {
    gap: 15px;
}

/* Category Stats Widget */
.category-stats-widget {
    background: linear-gradient(135deg, #006233 0%, #004d26 100%);
    color: #fff !important;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.category-stats-widget .widget-title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

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

.stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.stats-list .label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
}

.stats-list .label i {
    color: #fff !important;
}

.stats-list .value {
    font-size: 20px;
    font-weight: 600;
    color: #fff !important;
}

/* No Posts Found */
.no-posts-found {
    padding: 80px 0;
}

.no-posts-found h3 {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 15px;
}

.no-posts-found p {
    color: #666;
    font-size: 16px;
}

/* Widget Category List */
.widget__category li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.widget__category li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget__category li a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.widget__category li a:hover {
    color: #006233;
}

.widget__category li a i {
    margin-right: 10px;
    font-size: 12px;
    transition: margin 0.3s ease;
}

.widget__category li a:hover i {
    margin-right: 15px;
}

.widget__category li .count {
    font-size: 13px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 991px) {
    .blog-post-item .row {
        margin: 0;
    }
    
    .blog-post-item [class*="col-"] {
        padding: 0;
    }
    
    .blog-post-thumb img {
        height: 200px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post-content .post-title {
        font-size: 18px;
    }
    
    .subcategory-card {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .blog-post-content .post-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .blog-post-content .post-title {
        font-size: 16px;
    }
    
    .blog-post-content .post-excerpt {
        font-size: 14px;
    }
    
    .category-stats-widget {
        padding: 20px;
    }
    
    .stats-list .value {
        font-size: 16px;
    }
}