

  body {
    font-family: 'Vazir', Tahoma, sans-serif !important;
  }
        .sidebar {
            background: #fff;
            padding: 15px;
            border-radius: 12px;
            box-shadow: 0 1px 6px rgb(0 0 0 / 0.1);
            margin-bottom: 20px;
            height: auto;
        }
        .search-btn {
            background-color: #3E4095;
            border: none;
            color: white;
            padding: 7px 12px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
        }
        .search-btn:hover {
            background-color: #3E4095;
        }
        .post-item {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
            cursor: pointer;
            align-items: center;
            transition: color 0.3s ease;
            color: #333;
        }
        .post-item:hover {
            color: #3E4095;
        }
        .post-item img {
            width: 50px;
            height: 40px;
            border-radius: 6px;
            object-fit: cover;
        }
        .post-item span {
            font-size: 0.9rem;
            color: inherit;
        }
        .category-list li {
            padding: 5px 0;
            font-weight: 600;
            cursor: pointer;
            color: #222;
            transition: color 0.3s ease;
        }
        .category-list li:hover {
            color: #3E4095;
        }
        .category-list li span.badge {
            background-color: #3E4095;
            color: #fff;
            font-weight: 600;
            margin-left: 8px;
            font-size: 0.8rem;
        }
       
       .card-custom {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 1px 12px rgb(0 0 0 / 0.12);
    cursor: pointer;
    text-align: center;
    transition: none; 
}

.card-custom:hover {
   
    transform: none;
}

.card-img-top {
    border-radius: 20px 20px 0 0 !important;
    object-fit: cover;
    height: 45vh;
    width: 100%;
    transition: transform 0.3s ease;
}

.card-custom:hover .card-img-top {
    transform: scale(1.1);
}


.card-body-custom {
    padding: 10px 15px;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffffed;
    transition: none;
    background-color: black;
}
       
        .pagination .page-item .page-link {
            color: #3E4095;
            font-weight: 700;
            border-radius: 12px;
            border: 1.5px solid #3E4095;
            width: 35px;
            height: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .pagination .page-item.active .page-link {
            background-color: #3E4095;
            color: #fff;
            border: 1.5px solid #3E4095;
        }
        .pagination .page-item .page-link:hover {
            background-color: #3E4095;
            color: #fff;
        }
       
        @media(min-width: 768px) {
            main {
                order: 1 !important; 
            }
            aside {
                order: 2 !important; 
            }
        }
 