/* Category Grid Layout Styles */

.category-grid-post {
    margin-bottom: 35px;
    transition: all 0.3s ease;
}

.category-grid-post .alith_news_img {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 5px;
}

.category-grid-post .alith_news_img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-grid-post:hover .alith_news_img img {
    transform: scale(1.08);
}

.category-grid-post .post_meta_categories_label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 6px 18px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 3px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.category-grid-post .post-content {
    padding: 0 10px;
}

.category-grid-post .alith_post_title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 60px;
}

.category-grid-post .alith_post_title a {
    color: #2d3e50;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-grid-post .alith_post_title a:hover {
    color: #ff6b6b;
}

.category-grid-post .post_author_details {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    color: #8c8c8c;
}

.category-grid-post .post_author_details span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.category-grid-post .post_author_details i {
    margin-right: 5px;
}

.category-grid-post .post_excerpt {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Breadcrumb Styling */
.breadcrumb_nav {
    padding: 12px 0;
    margin-bottom: 20px;
}

.breadcrumb_nav ul {
    margin: 0;
    padding: 0;
}

.breadcrumb_nav ul li {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb_nav ul li a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb_nav ul li a:hover {
    color: #ee5a6f;
    text-decoration: underline;
}

.breadcrumb_nav ul li.active strong {
    color: #2d3e50;
    font-weight: 500;
}

/* Pagination Styling */
.pagination-wrapper {
    margin: 40px 0;
    text-align: center;
}

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

.pagination li {
    margin: 0 3px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 14px;
    color: #2d3e50;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination li a:hover {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.pagination li.active span {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* Sidebar Enhancements */
.sidebar_right .sidebar-widget {
    margin-bottom: 35px;
}

.sidebar_right .widget-title-cover {
    margin-bottom: 20px;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 10px;
}

.sidebar_right .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3e50;
    margin: 0;
}

.sidebar_right .widget-title span {
    position: relative;
    padding-right: 10px;
}

/* Search Form Styling */
.sidebar-widget .search-form {
    position: relative;
}

.sidebar-widget .search-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.sidebar-widget .search-field:focus {
    border-color: #ff6b6b;
}

.sidebar-widget .search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 7px 20px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.sidebar-widget .search-submit:hover {
    background: #ee5a6f;
}

/* Popular Articles Styling */
.latest_style_1_item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.latest_style_1_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest_style_1_item .item-count {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b6b;
    margin-right: 15px;
    min-width: 25px;
}

.latest_style_1_item .alith_post_title_small a {
    color: #2d3e50;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest_style_1_item .alith_post_title_small a:hover {
    color: #ff6b6b;
}

.latest_style_1_item .meta {
    font-size: 12px;
    color: #8c8c8c;
    margin-top: 5px;
}

.latest_style_1_item .meta span {
    margin-right: 10px;
}

/* Trending Posts Styling */
.latest_style_2_item_first {
    margin-bottom: 25px;
}

.latest_style_2_item_first .alith_post_thumb_big {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 15px;
}

.latest_style_2_item_first .alith_post_thumb_big img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest_style_2_item_first:hover .alith_post_thumb_big img {
    transform: scale(1.08);
}

.latest_style_2_item {
    display: flex;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.latest_style_2_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest_style_2_item .alith_news_img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 3px;
}

.latest_style_2_item .alith_news_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest_style_2_item:hover .alith_news_img img {
    transform: scale(1.1);
}

.latest_style_2_item .alith_post_title {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.latest_style_2_item .alith_post_title a {
    color: #2d3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest_style_2_item .alith_post_title a:hover {
    color: #ff6b6b;
}

/* Categories List Styling */
.bottom_menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bottom_menu li {
    margin-bottom: 12px;
}

.bottom_menu li a {
    color: #2d3e50;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.bottom_menu li a:hover {
    background: #f8f9fa;
    color: #ff6b6b;
    padding-left: 18px;
}

.bottom_menu li a.active {
    background: #ff6b6b;
    color: white;
}

.bottom_menu li a i {
    margin-right: 8px;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-grid-post .alith_post_title {
        min-height: auto;
        font-size: 18px;
    }
    
    .category-grid-post .alith_news_img img {
        height: 200px;
    }
}

/* Empty State */
.alert {
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.alert-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    color: #004085;
}


